Skip to content

Instantly share code, notes, and snippets.

View Lillecarl's full-sized avatar
🦕
Dinosaurs are a lie!

Ujp8LfXBJ6wCPR Lillecarl

🦕
Dinosaurs are a lie!
View GitHub Profile
@Lillecarl
Lillecarl / Wayward_Ancestor.xml
Last active December 16, 2015 02:19
Leveling from 85 to 90 if you want. But i use it because of the green & blue droprates.
<?xml version="1.0" encoding="utf-8"?>
<HBProfile>
<Name>Wayward Ancestor</Name>
<MinDurability>0.4</MinDurability>
<MinFreeBagSlots>1</MinFreeBagSlots>
<MinLevel>85</MinLevel>
<MaxLevel>91</MaxLevel>
<MailGrey>False</MailGrey>
bool ChatHandler::HandleWarpCommand(char* args)
{
// Based on a concept by Pwntzyou
if (!*args)
return false;
Player* _player = m_session->GetPlayer();
char* direction = ExtractQuotedOrLiteralArg(&args);
if (!direction)
// LilleCarl made this based on code from Pwntzyou. So fuck you.
#include "Chat.h"
#include "Language.h"
#include "Player.h"
#include "ScriptMgr.h"
#include "Opcodes.h"
#include "Common.h"
#define MSG_COLOR_MAGENTA "|cffff00ff"
bool ChatHandler::HandleWarpCommand(char* args)
{
// Based on a concept by Pwntzyou
if (!*args)
return false;
Player* _player = m_session->GetPlayer();
char* direction = ExtractQuotedOrLiteralArg(&args);
if (!direction)
struct StructName
{
StructName() : guid(0), starttime(0), endtime(0) {}
uint64 guid;
uint32 starttime;
uint32 endtime;
};
@Lillecarl
Lillecarl / readme.txt
Last active October 10, 2023 21:30
Linux mangos/trinitycore restarter, made for *nix handicapped people. Creds to Dufernst for coming up with some ideas :). Thanks google for bash syntax... xD
To run wowadmin you must specify your servers locations inside the script and set the proper names.
The reason i use "oldname" and "newname" for worlserver binary is because you might want to run more then 1 realm, then you set up 2 wowadmin.sh clones, same authserver config, but different worldserver path and "newnames". This will make multirealming on linux very simple.
reports/suggestions? comment here or email: lillecarl RETARDEDA gmail.com
This gist will be updated when the restarter is. Regards
NEEDED PACKAGES:
* - Now its time for **UPDATED** conversational spanish with grimlock
* -
* - Las ardillas. Me persiguen. Quieren mis tuercas pero no pueden tenerlas.
* -
* - no habla? the squirrels. they chase me. they want my nuts but they
* - can not have them.
* -
* - El gato en mi pantalones, quiere mi burrito. Pero el no puede
* - tenerlo. No compartire con el.
* -
struct MANGOS_DLL_DECL npc_snowballerAI : public Scripted_NoMovementAI
{
npc_snowballerAI(Creature* pCreature) : Scripted_NoMovementAI(pCreature){}
typedef UNORDERED_MAP<ObjectGuid, int16> NearbyMap;
NearbyMap m_NearbyMap;
uint32 m_Timer;
void Reset() {}
@Lillecarl
Lillecarl / gist:5542814
Last active December 17, 2015 03:19 — forked from anonymous/gist:5542804
#include "ScriptPCH.h"
struct Rochet2
{
uint8 icon;
std::string name;
uint32 HK, titleID;
};
// {icon, "title name", honored_kills, titleID}
@Lillecarl
Lillecarl / playerstartitem.py
Last active November 16, 2016 21:10
A tool by <miceiken> to generate playercreateinfo_items entries. Stored here just to not get lost
def enum(**enums):
return type('Enum', (), enums)
WoWRace = enum(
HUMAN = 1,
ORC = 2,
DWARF = 3,
NIGHTELF = 4,
UNDEAD = 5,
TAUREN = 6,