[Include] FoxMoney (v2) - Anti-Money-Hack (%100 Works) - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (
https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] FoxMoney (v2) - Anti-Money-Hack (%100 Works) (
/showthread.php?tid=169287)
FoxMoney (v2) - Anti-Money-Hack (%100 Works) -
PSPgamer_10 - 19.08.2010

What-is-this-again ?
After the v1 release with a Half-Working Shitty Script, i had to do a fixxed and better Version of this.
And i created this Full-working Perfect Script!
What does this ?
This Include protects %100 from MoneyHackers, and it doesn't detect Pay'n'Spray or something like that as a Money Hack (but stuntbonuses...).
If the Player cheats 500$, the 500$ will be removed from his Money.
Features
There's a Changelog in the .rar-Package, but here the list:
Quote:
*** FoxMoney v1 ***
- Initial Release.
- Half-Working shitty Script.
- Pay'n'Spray, Vehicle Mods and eat/drink-machines were gratis (free).
- Only the %20 of the cheated money were removed.
*** FoxMoney v2 ***
- Full-Working perfect Script.
- Pay'n'Spray, Vehicle Mods and the eat/drink-machines do cost now.
- Log-Function added.
- "OnPlayerCheatMoney(playerid,newmoney,oldmoney )" Callback added. (Using is optional)
- All Money Functions are replaced with new money functions (you mustn't change anything, plug&play)
- For Money Checking is now another Callback used, not OnPlayerUpdate
- MoneyCheck-Time is settable (time in seconds).
- I %100 guarantee, ALL of the Cheated money will be removed, no chance to hack Money.
|
Callback
There's a new Callback: "OnPlayerCheatMoney(playerid,newmoney,oldmoney )"
It's really useful, if you want to kick Moneyhackers:
[pwn]public OnPlayerCheatMoney(playerid, newmoney, oldmoney)
{
new pname[MAX_PLAYER_NAME],string[128],cheatedmoney=newmoney-oldmoney;
GetPlayerName(playerid,pname,sizeof(pname));
format(string,sizeof(string),"[FoxMoney] Player %s got kicked because he tried to Cheat %d$",pname,cheatedmoney);
SendClientMessageToAll(0xFFFFFF,string);
Kick(playerid);
return 1;
}[/pwn]
You CAN use this Callback, but you MUSTN'T.
Installation
Installation is pretty easy.
You must only add "#include <foXmoney_v2>" in your Script!
Download
Pastebin foXmoney.inc - Pastebin.de
Download FoxMoney_v2.rar - RapidShare
Download FoxMoney_v2.rar - SendSpace
Download FoxMoney_v2.rar - SolidFiles
Download FoxMoney_v2.rar - iFile.it
Close
Have Fun!
Made by FoxHound aka PSPgamer aka Gцkhan Akin _
Re: FoxMoney (v2) - Anti-Money-Hack (%100 Works) -
gamer931215 - 19.08.2010
Looks good, try to make this bigger, like also anti-weapon and anti-godmode hacking maybe, then i would give it a shot to try/use on my server
Re: FoxMoney (v2) - Anti-Money-Hack (%100 Works) -
ScottCFR - 19.08.2010
Nice bro, I might use this
Re: FoxMoney (v2) - Anti-Money-Hack (%100 Works) -
Scenario - 19.08.2010
I'll be testing this...
Re: FoxMoney (v2) - Anti-Money-Hack (%100 Works) -
Hiddos - 19.08.2010
What about stunt bonusses? And casinos?
AW: FoxMoney (v2) - Anti-Money-Hack (%100 Works) -
PSPgamer_10 - 19.08.2010
If the Player gets Money without GivePlayerMoney, it'll be detected as a Cheat
Re: FoxMoney (v2) - Anti-Money-Hack (%100 Works) -
playbox12 - 19.08.2010
As you guarentee there is no way to hack money with your script, what do we get if we manage to?? :P
Re: FoxMoney (v2) - Anti-Money-Hack (%100 Works) -
ScottCFR - 19.08.2010
You could set a var is player to point (In casino), then when they leave the var resets. But, you'd have to turn stunt bouns off.
Re: FoxMoney (v2) - Anti-Money-Hack (%100 Works) -
royal_king - 19.08.2010
nice fs good work i think in my server anti-weapon system and anti-air break system will be useful but this anti-money system is not necessary for my stunt server anyway thnx
AW: Re: FoxMoney (v2) - Anti-Money-Hack (%100 Works) -
PSPgamer_10 - 20.08.2010
Quote:
Originally Posted by ScottCFR
You could set a var is player to point (In casino), then when they leave the var resets. But, you'd have to turn stunt bouns off.
|
And what, if the Player cheats in the Casino ?
& For Stuntserver wich have Stuntbonusses enabled is it unusable.