Los Santos Street Wars
Would you like to react to this message? Create an account in a few clicks or log in to continue.



 
HomeUser Control PanelHome__LS-SW__Latest imagesRegisterLog in

 

 Server Anticheat

Go down 
2 posters
AuthorMessage
Silver_Dragon
Regular Member
Regular Member
Silver_Dragon


Posts : 23
Points : 33
Reputation : 3
Join date : 2013-08-12
Age : 27
Location : Germany
In-game username : Silver_Dragon

Server Anticheat Empty
PostSubject: Server Anticheat   Server Anticheat Icon_minitimeSat Jan 24, 2015 11:31 am

DISCLAMER: I dont say the Anticheat sucks it is a bug report.

Edit: i fagott to add a command that send the Text. (derp Very Happy Busted)

Hello,
I have found some glitch in the antiwepaonhax.

2 Example's:

Picture from 24.01.2015 12:30

or "[SYSTEM]: PlayerX got Baned for Weaponhacks(560) #a%ยง\)"


I dont know waht is cause but i think it try to show the Weaponname.

I have a script code that works fine


_______

Code:


public OnPlayerUpdate(playerid) // or use a Timer, OnPlayerUpdate can cause laggs on some players
{
new CurrWeapon[MAX_PLAYERS]; // Var.

CurrWeapon[playerid] = GetPlayerWeapon(playerid); // Get's the current holding Weapon from the player.

if(CurrWeapon[playerid] == WEAPON_MINIGUN || CurrWeapon[playerid] == WEAPON_KNIFE || CurrWeapon[playerid] == WEAPON_ROCKETLAUNCHER) //Not allowed Guns(like Minigun, RocketLAUNCHER,Knife)
{
new WeaponText[100];
format(WeaponText,sizeof(WeaponText),"[System]: %s has been Baned for Weaponhacks (WeaponID: %i)",PlayerName(playerid),CurrWeapon[playerid]); // can Mod the Text it shows (ONLY the weaponid)
BanEx(playerid,"Weaponhax"); //Baned!
SendClientMessageToAll(COLOR,WeaponText); //Send The Text (COLOR = Haxcolor pick with samp colorpicker)
}
else {return 1;} // If not "Hacking" nothing will happens to the Player.

return 1;
}

stock PlayerName(playerid) // Gets the Name of the Player, usefull!
{
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,sizeof(name));
return name;
}



___________

This code Bans the Player if the hack a "Locked" Gun. It shows like this:

"[System]: PlayerX has been Baned for Weaponhacks (WeaponID: 38)".

i hope its usefull. I look forward to reading all your comments

-Silver Very Happy


Last edited by Silver_Dragon on Sun Jan 25, 2015 8:29 am; edited 5 times in total
Back to top Go down
http://pastebin.com/u/Silver_Dragon
PunkLorD
Head Administrator
Head  Administrator
PunkLorD


Posts : 833
Points : 1096
Reputation : 21
Join date : 2012-05-09
Age : 25
Location : Qatar

Server Anticheat Empty
PostSubject: Re: Server Anticheat   Server Anticheat Icon_minitimeSat Jan 24, 2015 2:19 pm

Wrong section man, moved this to "Bug report". And also, I think Faqahat is already well aware of this and would fix it eventually in the upcoming versions.
Back to top Go down
Silver_Dragon
Regular Member
Regular Member
Silver_Dragon


Posts : 23
Points : 33
Reputation : 3
Join date : 2013-08-12
Age : 27
Location : Germany
In-game username : Silver_Dragon

Server Anticheat Empty
PostSubject: Re: Server Anticheat   Server Anticheat Icon_minitimeSat Jan 24, 2015 7:29 pm

@PunkLord, ty for the reply.

Today (24.01.15) it says "baned for Weaponhack(0) // Weaponid 0 = Fist 0.o

but good to know that it will be (mabye) fixet soon.
Back to top Go down
http://pastebin.com/u/Silver_Dragon
Sponsored content





Server Anticheat Empty
PostSubject: Re: Server Anticheat   Server Anticheat Icon_minitime

Back to top Go down
 
Server Anticheat
Back to top 
Page 1 of 1
 Similar topics
-
» SERVER OFF ?
» what happens with server
» Server bug
» i ban from the server
» i ban from the server

Permissions in this forum:You cannot reply to topics in this forum
Los Santos Street Wars :: LS Street Wars :: Bugs Report :: Bugs Related to LS-SW 11 Version-
Jump to: