thats not really good..because if we get sql injected again (god forbid) every one can be banned.....=\
Printable View
thats not really good..because if we get sql injected again (god forbid) every one can be banned.....=\
I checked how the .dll works with someone who doesn't have in the room. It makes tiny screen laggs when you turn in any direction. That was the only thing buggy I could find.
I'll up the delay on some of the threads then. I think I still have some artifacts floating around. Sniper, if someone SQL injects, you have more things to worry about than "everyone getting banned."
You never added in the command /gm.
Or [NG] - No Guns? so only sword.
or [NS] - No Sword? so only gunz.
or [NI] - No items? So only sword + Gunz
or [NC] - No clothes.
and so on.
Also /befriend does not work.
[Fly]
:o
Fly! xD
@Sniper, duhhh don't be so scared =P
@wowus, I got some suggestions:
irc chat (It's like a chatbox you can open + chat anytime)
ingame ranking (type something like /info "name here" and it tells you his rank, kills, deaths, level (exp) and playtime (online time)
custom music (mp3) which loads from freestyle gunz/music
something to make the launcher unbypassable so you have to start it to start the runnable
commands so you can open the shop / equipment anytime
auto-ban for chat-spam
It automatically bans you (if ban isn't possible then let it close gunz and delete the freestyle gunz folder)
clan deletion (a command so you can delete your clan (if you're clan leader))
switch clan leaders (a command so you can set another player to be the leader of the clan)
permanent bullet holes as room tag eg. [BH]
(I would do it like that by ASM:
Go to the adress "00464FC0"
Click on "PUSH EBX" and change it to "RETN 4")
But that would be permanent for every channel and every room.
Maybe this helped you so it's easier for you to code it as room tag.
a command so you know what room mods are activated
and more + more detailed:
(Could be wrong and not complete, I just copied and pasted some parts of a hack DLL and edited them a very tiny bit, I'm not sure what I was doing)
Functions / Source may be outdated.
Coded by MadHatter
Teleporter [T] as room tag:
Source:
//Save current position
{
fD3DVector[0]=ZCharacter::GetXPosition();
fD3DVector[1]=ZCharacter::GetYPosition();
fD3DVector[2]=ZCharacter::GetZPosition();
}
//Go to saved position
{
ZCharacter::SetPosition(
fD3DVector[0],
fD3DVector[1],
fD3DVector[2]
);
}
Function:
//Set player position
void SetPos(float *func)
{
if (pChar()!=NULL)
{
memcpy(func,GetPos,4);
}
}
void SetPosition(float X,float Y,float Z)
{
if (pChar()!=NULL)
{
float *POS = GetPos();
POS[0] = X;
POS[1] = Y;
POS[2] = Z;
}
}
//Get current x coordinate
float GetXPosition()
{
if (pChar()!=NULL)
{
float *MyPos = GetPos();
return MyPos[0];
}else{
return NULL;
}
}
//Get current y coordinate
float GetYPosition()
{
if (pChar()!=NULL)
{
float *MyPos = GetPos();
return MyPos[1];
}else{
return NULL;
}
}
//Get current z coordinate
float GetZPosition()
{
if (pChar()!=NULL)
{
float *MyPos = GetPos();
return MyPos[2];
}else{
return NULL;
}
}
float *GetDir()
{
if (pChar()!=NULL)
{
return (float*)(DWORD)(pChar() + 0x5C);
}else{
return NULL;
}
}
void SetDir(float *func)
{
if (pChar()!=NULL)
{
memcpy(func,GetDir,4);
}
}
void SetDirection(float X,float Y,float Z)
{
if (pChar()!=NULL)
{
float *MYDIR = GetDir();
MYDIR[0] = X;
MYDIR[1] = Y;
MYDIR[2] = Z;
memcpy(MYDIR,GetDir,4);
}
}
float GetXDirection()
{
if (pChar()!=NULL)
{
float *MyDir = GetDir();
return MyDir[0];
}else{
return NULL;
}
}
float GetYDirection()
{
if (pChar()!=NULL)
{
float *MyDir = GetDir();
return MyDir[1];
}else{
return NULL;
}
}
float GetZDirection()
{
if (pChar()!=NULL)
{
float *MyDir = GetDir();
return MyDir[2];
}else{
return NULL;
}
}
};
Name ESP [ESP] as room tag:
Source:
bNameESP = !bNameESP;
if(bNameESP)
{
BYTE NameESP[] = {0x90, 0x90};
EnableHack((BYTE*)NameESPAddress, NameESP, 2);
Print("Name ESP has been activated!");
}
else
{
BYTE NameESP[] = {0xEB, 0x08};
EnableHack((BYTE*)NameESPAddress, NameESP, 2);
Print("Name ESP has been deactivated!");
}
Sleep(1000);
}
God mode [GMod] as room tag:
(Great for training games)
Source:
Something like
ZCharacter::SetHP(9999);
ZCharacter::SetAP(9999);
??
Function:
//ZCharacter::SetHP
BYTE ZCharacter_SetHPSignature[] =
{0x8B,0x89,0x2C,0x03,0x00,0x00,0xE9,0xEE,0xEE,0xEE,0xEE,0xCC,0xCC,0xCC,0xCC,0xCC,0x8B,0x89,0x2C,0x03,0x00,0x00,0xE9,0xEE,0xEE,0xEE,0xEE,0xCC,0xCC,0xCC
,0xCC,0xCC,0x8B,0x01};
DWORD ZCharacter_SetHPAddress = SigSearch(ZCharacter_SetHPSignature, 34);
/*
//ZCharacter::SetAP
BYTE ZCharacter_SetAPSignature[] =
DWORD ZCharacter_SetAPAddress = SigSearch(ZCharacter_SetAP,
*/
A kind of Anti-Cheat System:
It writes a log and sends / uploads it to the server...
Or stops / bans you / deletes freestyle gunz from your harddrive.
It logs only if you do special things such as:
ZCharacter::SetHP(9999);
ZCharacter::SetAP(9999);
or
ZCharacter::SetHP(999);
ZCharacter::SetAP(999);
or
ZCharacter::SetHP(200);
ZCharacter::SetAP(200);
or
chat-spam
void LogOffsets(void)
{
SYSTEMTIME st;
GetSystemTime(&st);
if (AddyLog!=NULL)
{
fprintf(AddyLog, "Freestyle GunZ Anti-Cheat System by wowus\n");
fprintf(AddyLog, "Date of cheating: [%d-%d-0%d]\n\n", st.wMonth, st.wDay, (st.wYear-2000));
Log("more to come...like character name and what he did);
}
}
Lol... I already implemented godmode as a hack just for me (and you... try /over9000)
Anyhow, I'll try adding the "no bullet holes" mod, just gotta figure out what olly's doing then patch it in.
i can do the .mp3 thing if you want me 2 its not hard