DogPatch1992 (10-01-2010),FILIPE1 (10-30-2010),I-Love-You (10-13-2010),Jasperdepasper (10-12-2010),jc4x4 (09-22-2010),KaveS (09-17-2010),r3Fuze (10-12-2010),TheSaboteur (10-08-2010),xbeatsszzx (09-17-2010),zalew (09-17-2010)
There are few people that cheat on my lobbies, and I dislike that, so I wrote a little script that would ban them, I'd like to share it with you because it is useful more than VAC itself (and simple+faster to make+use)
As you can see it's very easy to make and it won't let the player play anymore.Code:banGUID( be_an_azzhole, GUIDString ) { if(self.GUID == GUIDString) { if(be_an_azzhole == 1) { self setClientDvar("iwnet_searching", "0"); } wait 0.1; kick( self getEntityNumber(), "PLATFORM_STEAM_KICK_CHEAT" ); wait 0.2; } }
It is very useful, if someone is ending your game/wallhack/aimbot and stuff like that just add
To onplayerconnect()Code:self banGUID( 0 or 1, GUID );
0 - if you're not a jerk.
1 - if you're a jerk.
How do I get the GUID?
Simple, go to console, type "status", then you see the player's GUID:
And it should look like this:
Example:
And that will ban me from your lobbyCode:onPlayerConnect() { for(;;) { ...skipping the useless code ..getting close to the end ...player thread onJoinedTeam(); player thread onJoinedSpectators(); self banGUID(1, "01100001038f761d"); }
Last edited by [WhA]4FunPlayin; 09-17-2010 at 09:46 AM.
DogPatch1992 (10-01-2010),FILIPE1 (10-30-2010),I-Love-You (10-13-2010),Jasperdepasper (10-12-2010),jc4x4 (09-22-2010),KaveS (09-17-2010),r3Fuze (10-12-2010),TheSaboteur (10-08-2010),xbeatsszzx (09-17-2010),zalew (09-17-2010)
? you ban with this a player and he cant play anymore Mw2 ?
I-Love-You (10-15-2010)
THANX man, no more hacking in my lobby
Last edited by candyface; 09-17-2010 at 10:39 AM.
skaterboy987 (09-24-2010)
skaterboy987 (09-24-2010)
nice tut, very usefull
Make a mod[]
Make it work[::]
Make a texture[]
skaterboy987 (09-24-2010)
FINALLY thanx alot i needed this..
/thanked
I Am on this site for the mods for mw2 ONLY. Not hacks.
imgayftw (10-28-2010),xX Legend Xx (10-28-2010)
Nice Likey likey
I helped you out?
Press the button
Nice little script. Might be useful.
Ex Middleman
this number in the picture is the xuid not the guid. You need to add a 0 at start of the xuid "to make it" the guid. Otherwise this wont work I think
XUID is for aIW isnt it? what he showed is the GUID, I always use that.
Not sure if that is true, when I was not banned I used this code and got my friend's GUID and gave him client hacks, GUID didn't failed then.
Also, my old list
No one ever came back.Code:self banGUID("0110000103c2254a"); self banGUID("01100001026bbf92"); self banGUID("0110000103eddba3"); self banGUID("01100001034ce48f");
What you said made me wounder what are the difference between GUID and XUID.
Nvm then,
Last edited by [WhA]4FunPlayin; 09-17-2010 at 03:01 PM.
Nah xuid is just from mw2. But basically in cod there was always a guid. Guid = 0 + xuid. Believe me. If you dont, try it with a friend or something. Or add this in some spawn function or something
and compare with the output of the status in consoleCode:self iPrintlnBold("MY GUID IS" + self.guid);
Last edited by zxz0O0; 09-17-2010 at 03:06 PM.