Re: [Release] My PKClear Guard source :P
Quote:
Originally Posted by
coNsept
GCFireWorkSend is my function
here is it:
DataSendNear (Thanks to Sobieh's Sources 'DGE SOURCES')
Code:
void Messages::DataSendNear(int aIndex, unsigned char* Packet, int Len)
{
User *lpObj = new User();
lpObj->Init(aIndex);
int MyMap = lpObj->Map;
int MyX = lpObj->PosX;
int MyY = lpObj->PosY;
for (int i=6400; i<7400; i++)
{
if (gObjIsConnected(i))
{
lpObj->Init(i);
int Map = lpObj->Map;
int X = lpObj->PosX;
int Y = lpObj->PosY;
if (MyMap == Map)
if (X < (MyX + 6) && X > (MyX - 6))
if (Y < (MyY + 6) && Y > (MyY - 6))
DataSend(i, Packet, Len);
}
}
}
not needed, use MsgSendV2
Re: [Release] My PKClear Guard source :P
sry guys i know its old topic...but..
can i ask where i must insert these code ?...
i'm newbie sry =(
i need it please !
Re: [Release] My PKClear Guard source :P
Quote:
Originally Posted by
DesmondMiles
sry guys i know its old topic...but..
can i ask where i must insert these code ?...
i'm newbie sry =(
i need it please !
im new too.. but this about "gs moding" or adding custom functions to gs
and usually u make a dll and hook to gameserver :)
i have 3 or 4 days reading this forum (and sinrepacks)... and u should start to read instead asking those kind of question :)