SA-MP Forums Archive
[Include] Server-sided Money - Stop money hackers! NEW RELEASE(v6) - 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] Server-sided Money - Stop money hackers! NEW RELEASE(v6) (/showthread.php?tid=96418)

Pages: 1 2


Server-sided Money - Stop money hackers! NEW RELEASE(v6) - x-cutter - 08.09.2009

Server-sided Money - Stop money hackers! v6 RELEASED

It's been a while since this script is around and I decided to update it, fixing many bugs and making the code cleaner/faster. It is now that I bring you Server-sided Money V6!

This script will make your server use server-sided money. Confused? This script actually works by saving a player's money into his own playermoney variable. Money is only modified when GivePlayerMoney or ResetPlayerMoney is called, so any other money being added will result in nothing.

How to use it?
Quote:

Use: Add #include <servermoneyGM> right under #include <a_samp> in your gamemode.
For all the filterscripts you use, add #include <servermoneyFS> to them,
right below #include <a_samp> as usual.

You'll have to add public OnPlayerHaveExtraCash(playerid,extramoney) to your gamemode with
all the other callbacks. This callback will get called WHENEVER a certain player
acquires at least $100 of hacked money, so, for example a player entering a taxi will
not get suspected (as I think entering a taxi gives a player $10-$20).

v6.0:
Major bugfixes
Speed improvement
Added compatibility with vending machines, ammu-nations, fast-food shops, etc. Casinos are still not compatible.

Known issues
The script is not compatible with Stunt Bonuses! Be careful when you allow players into the casino. If they loose, their money won't be affected but if they win, the callback OnPlayerHaveExtraMoney will be called! So you should find a way to disable them/warn your players.

*NOTE: Don't forget to add the includes into your pawno/include folder! (foreach and YSI aswell!)

Download:

.ZIP FILE: http://solidfiles.com/d/cbe3b/

CREDITS TO: ******, for y_hooks & foreach

PLEASE REPORT IF YOU HAVE BUGS! Thanks


Re: [Include] Server Side Money - Stop money hackers! [0.2X/0.3] - x-cutter - 08.09.2009

Updated to v.1.1 .

I figured out that some things around timers were wrong. Please re-download!
The include won't work if you use v.1.0!


Re: [Include] Server Side Money - Stop money hackers! [0.2X/0.3] - gszyclon - 08.09.2009

cool


Re: [Include] Server Side Money - Stop money hackers! [0.2X/0.3] - DokerJr - 08.09.2009

Man good !

i am use this incude in my server !
Ideal include for cheaters

when someone puts their money!
then be reset as they were

I filmed a little with a hack

http://solidfiles.com/d/SXWA

recommend


Re: [Include] Server Side Money - Stop money hackers! [0.2X/0.3] - Norn - 08.09.2009

I don't see a download link


Re: [Include] Server Side Money - Stop money hackers! [0.2X/0.3] - DokerJr - 08.09.2009

hey norn

download


Re: [Include] Server Side Money - Stop money hackers! [0.2X/0.3] - Norn - 08.09.2009

That link won't load plus he said no mirrors.


Re: [Include] Server Side Money - Stop money hackers! [0.2X/0.3] - ДitisOnHuora - 08.09.2009

Quote:

Warning: if you use this, make sure you have no GivePlayerMoney functions in your filterscripts!!!!!!

Then what should i do then?


Re: [Include] Server Side Money - Stop money hackers! [0.2X/0.3] - zikit232 - 08.09.2009

TENKS


Re: [Include] Server Side Money - Stop money hackers! [0.2X/0.3] - x-cutter - 08.09.2009

Quote:
Originally Posted by gszyclon
cool
Quote:
Originally Posted by ► DokerJr ◄
Man good !

i am use this incude in my server !
Ideal include for cheaters

when someone puts their money!
then be reset as they were

I filmed a little with a hack

http://solidfiles.com/d/SXWA

recommend
Thanks

Quote:
Originally Posted by zikit232
TENKS
No problem (means thanks, yes??)

Quote:
Originally Posted by Norn
I don't see a download link
You just need to click on the image displaying solidfiles.
PS: DokerJR just posted the same link as the one in my post, not a mirror


Re: [Include] Server Side Money - Stop money hackers! [0.2X/0.3] - mr.b - 09.09.2009

but if my filterscript uses giveplayermoney what can i do


Re: [Include] Server Side Money - Stop money hackers! [0.2X/0.3] - x-cutter - 09.09.2009

I will soon make a version for filterscripts


Re: [INC]Server Side Money2.0 - Stop money hackers! Now supporting [FS]! [0.2X/0.3] - x-cutter - 09.09.2009

UPDATED TO VERSION 2.0!

New features:
- Support for Filtersripts!
- Added OnPlayerExtraMoney(playerid,extraamount) so you can kick or warn a player if he apparently have hacked money!
WARNING: The hacked money could be stunt bonus or something else though. Be careful of how you use this callback!



Re: [Include] Server Side Money - Stop money hackers! [0.2X/0.3] - Norn - 09.09.2009

Quote:
Originally Posted by X Cutter
Quote:
Originally Posted by gszyclon
cool
Quote:
Originally Posted by ► DokerJr ◄
Man good !

i am use this incude in my server !
Ideal include for cheaters

when someone puts their money!
then be reset as they were

I filmed a little with a hack

http://solidfiles.com/d/SXWA

recommend
Thanks

Quote:
Originally Posted by zikit232
TENKS
No problem (means thanks, yes??)

Quote:
Originally Posted by Norn
I don't see a download link
You just need to click on the image displaying solidfiles.
PS: DokerJR just posted the same link as the one in my post, not a mirror
Solidfiles was down when i posted, otherwise i would have known.


Re: [Include] Server Side Money - Stop money hackers! [0.2X/0.3] - x-cutter - 09.09.2009

Quote:
Originally Posted by Norn
Quote:
Originally Posted by X Cutter
Quote:
Originally Posted by gszyclon
cool
Quote:
Originally Posted by ► DokerJr ◄
Man good !

i am use this incude in my server !
Ideal include for cheaters

when someone puts their money!
then be reset as they were

I filmed a little with a hack

http://solidfiles.com/d/SXWA

recommend
Thanks

Quote:
Originally Posted by zikit232
TENKS
No problem (means thanks, yes??)

Quote:
Originally Posted by Norn
I don't see a download link
You just need to click on the image displaying solidfiles.
PS: DokerJR just posted the same link as the one in my post, not a mirror
Solidfiles was down when i posted, otherwise i would have known.
Must not have been down a lot of time then cause I checked often and I didn't notice it.


Re: [INC]Server Side Money2.0 - Stop money hackers! Now supporting [FS]! [0.2X/0.3] - mr.b - 09.09.2009

thanks


Re: [INC]Server Side Money2.0 - Stop money hackers! Now supporting [FS]! [0.2X/0.3] - x-cutter - 09.09.2009

no problem, just trying to get more people to use my script


Re: [INC]Server Side Money2.0 - Stop money hackers! Now supporting [FS]! [0.2X/0.3] - mr.b - 11.09.2009

bug when a player dies his money is not restored



Re: [INC]Server Side Money2.0 - Stop money hackers! Now supporting [FS]! [0.2X/ - MisterTickle - 11.09.2009

How exactly does this work?


Re: [INC]Server Side Money2.0 - Stop money hackers! Now supporting [FS]! [0.2X/0.3] - zikit232 - 11.09.2009

There is a bug in TaB Write me Tcsf but Mitht life write to me $ 0 and only 0 for Edie?