- Joined
- Sep 15, 2006
- Messages
- 218
- Reaction score
- 0
/fairy - Spawns a fairy to buff you!
/fairy - Spawns a fairy to buff you (FIXED! Now other people can see your fairy!)
Use: /fairy # (1 = Add fairy, 0 = Kill fairy)
-- Made by m4rvel & Fixed by IaguCool
OPEN: gmcmds.cpp
FIND:
AFTER, ADD:
OPEN: worldpackets.cpp
ADD (END OF THE FILE):
CLOSE FILE: worldpackets.cpp
OPEN FILE: worldsockets.h
FIND:
AFTER, ADD:
/fairy - Spawns a fairy to buff you (FIXED! Now other people can see your fairy!)
Use: /fairy # (1 = Add fairy, 0 = Kill fairy)
-- Made by m4rvel & Fixed by IaguCool
OPEN: gmcmds.cpp
FIND:
Code:
else if (strcmp(command, "ann")==0)
{
return pakGMAnn(thisclient, P);
}
Code:
else if (strcmp(command, "fairy")==0)
{
if ((tmp = strtok_s(NULL, " ", &next_token))==NULL) return true; unsigned mode=atoi(tmp);
return pakFairy( thisclient, mode);
}
ADD (END OF THE FILE):
Code:
// -----------------------------------------------------------------------------------------
// GM: Fairy
// -----------------------------------------------------------------------------------------
bool CWorldServer::pakFairy( CWorldClient* thisclient, int mode )
{
BEGINPACKET( pak, 0x7dc );
ADDBYTE( pak, mode );
ADDWORD( pak, thisclient->clientid );
SendToVisible( &pak, thisclient );
return true;
}
OPEN FILE: worldsockets.h
FIND:
Code:
bool pakGMAnn ( CWorldClient* thisclient, CPacket* P );
Code:
bool pakFairy( CWorldClient* thisclient, int mode );
Last edited:

