HomeUser Control PanelHome__LS-SW__RegisterLog in

Share | 
 

 Server Anticheat

View previous topic View next topic Go down 
AuthorMessage
Silver_Dragon
Regular Member
Regular Member
avatar

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

PostSubject: Server Anticheat   Sat 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
avatar

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

PostSubject: Re: Server Anticheat   Sat 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
avatar

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

PostSubject: Re: Server Anticheat   Sat 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.

_________________________________________________________________________________________________________________
- Samp Scripter (Level: UWOTM8) (i dont own a server)
- A "Okay" Player  lol!
- In Deed Mad At Hackers  Bann
-  Hacker stays Hacker, True but /ban and Good Anticheat will take Care of it Neutral
Back to top Go down
http://pastebin.com/u/Silver_Dragon
Sponsored content




PostSubject: Re: Server Anticheat   

Back to top Go down
 
Server Anticheat
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» .^f2F-.Swemmei Recruting in server 1
» Lag playing in Taiwan server from Shanghai
» Proxy Server Taiwan: How To.
» WoW "Development" Server
» Omnos (( Maybe another name depending on server)) Sunbearer

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: