SA-MP Forums Archive
[Include] Simple,Fast Anti-Money Hack with FilterScript support - 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] Simple,Fast Anti-Money Hack with FilterScript support (/showthread.php?tid=189607)

Pages: 1 2


Simple,Fast Anti-Money Hack with FilterScript support - wups - 12.11.2010

Anti-Money Hack v1.1

Overview:

Hello, i was bored today, and all those lame anti-money hacks make me sick, so i decided to create one.
This one is made as simple as it could be, thus making it fast and accurate.
However, it doesn't support stunt bonuses, wins at a casino or any other money you can get client side.
Also, it haves filterscript support.


Instructions:

1.Download the package.
2.Unrar the files to /pawn/includes/
3.Include <moneyhax> to your gamemode(after #include <a_samp> and <foreach> if you use it).
4.Inlcude <moneyhax_FS> to all of your filterscripts, that use money functions.




Credits:

wups.



Download:

And finaly, the download link:
HERE

Mirrors are always accepted.



Last thing:

You are free to use this script however you want. Also you can remove the credits if that makes you feel better.
Suggestions are appreciated.




Re: Simple,Fast Anti-Money Hack with FilterScript support - Brian_Furious - 12.11.2010

Its pretty cool, and it works ...good job


Re: Simple,Fast Anti-Money Hack with FilterScript support - dark_clown - 12.11.2010

loooks coooool


Re: Simple,Fast Anti-Money Hack with FilterScript support - Scenario - 12.11.2010

I'm sorry, but this is kind of pointless. There are MANY of them, released and working. I don't see why you had to go make another one.

This forum requires that you wait 120 seconds between posts. Please try again in 29 seconds. -- One day... I'm going to literally hack your ass off this forum!


Re: Simple,Fast Anti-Money Hack with FilterScript support - wups - 12.11.2010

Show me a good one please.


Re: Simple,Fast Anti-Money Hack with FilterScript support - Gh0sT_ - 12.11.2010

So, if i play casino, i didnt get banned?!


Re: Simple,Fast Anti-Money Hack with FilterScript support - Brian_Furious - 12.11.2010

Quote:
Originally Posted by RealCop228
View Post
This forum requires that you wait 120 seconds between posts. Please try again in 29 seconds. -- One day... I'm going to literally hack your ass off this forum!
Me too man, me too :S


Re: Simple,Fast Anti-Money Hack with FilterScript support - wups - 12.11.2010

No, you just won't win any money. It will show you that you win, but will take it later.


Re: Simple,Fast Anti-Money Hack with FilterScript support - martiins2 - 12.11.2010

I don`t work! I hack money but don`t remove!


Re: Simple,Fast Anti-Money Hack with FilterScript support - wups - 12.11.2010

it doesn't remove momentaly(after 30secs by default), but you can't buy anything serverside with hacked money


Re: Simple,Fast Anti-Money Hack with FilterScript support - Scenario - 12.11.2010

The whole point of "server side money" is so even if you hack money, it won't work.


Re: Simple,Fast Anti-Money Hack with FilterScript support - sekol - 18.01.2011

Maan, 30 seconds is damn long. Cheater could spawn some money and buy ie house before it takes his money. If i'll change it to 1sec, it will lag my server?


Re: Simple,Fast Anti-Money Hack with FilterScript support - wups - 18.01.2011

Quote:
Originally Posted by sekol
Посмотреть сообщение
Maan, 30 seconds is damn long. Cheater could spawn some money and buy ie house before it takes his money. If i'll change it to 1sec, it will lag my server?
Thats the point of server side money. Even if he makes money, he couldn't buy anything with it.
The timer could be 30sec or 5 mins.. whatever.
It wouldn't lag your server, but i wouldn't suggest doing that, because it is pointless.


Re: Simple,Fast Anti-Money Hack with FilterScript support - PowerPC603 - 18.01.2011

Quote:
Originally Posted by sekol
Посмотреть сообщение
Maan, 30 seconds is damn long. Cheater could spawn some money and buy ie house before it takes his money. If i'll change it to 1sec, it will lag my server?
On my server, I have set it inside the speedometer.
Creating a new timer for every player just to update his money is a bit pointless

This speedometer timer runs every 500ms.
When you hack money, you only see it for maximum 500ms, then the money on client side is resetted to the money at server side again, making the hack pointless.

Just create a timer that runs every 500ms:
pawn Код:
new Money[MAX_PLAYERS];

public OnPlayerConnect(playerid)
{
    SetTimerEx("MoneyTimer", 500, true, "i", playerid);

    return 1;
}

forward MoneyTimer(playerid);
public MoneyTimer(playerid)
{
    ResetPlayerMoney(playerid);
    GivePlayerMoney(playerid, Money[playerid]);
}
Whenever you want to give the player some money, add that value to the value in the Money array:
pawn Код:
Money[playerid] = Money[playerid] + payment;
Even when setting the speedometer to update every 500ms, it doesn't lag.
It's only 2 instructions after all (ResetPlayerMoney and GivePlayerMoney) that are executed every 500ms.


Re: Simple,Fast Anti-Money Hack with FilterScript support - PowerPC603 - 18.01.2011

Quote:
Originally Posted by wups
Посмотреть сообщение
Thats the point of server side money. Even if he makes money, he couldn't buy anything with it.
The timer could be 30sec or 5 mins.. whatever.
It wouldn't lag your server, but i wouldn't suggest doing that, because it is pointless.
But he could tune his vehicle for free at modding garages.
Unless you make custom modding garages that use server-sided money to buy them.


Re: Simple,Fast Anti-Money Hack with FilterScript support - wups - 18.01.2011

Quote:
Originally Posted by PowerPC603
Посмотреть сообщение
But he could tune his vehicle for free at modding garages.
Unless you make custom modding garages that use server-sided money to buy them.
No. If you have less money client side, than you had server side, your server side money is set to client side money.


Re: Simple,Fast Anti-Money Hack with FilterScript support - Shetch - 20.02.2011

Only problem with this is that if you include it in your GM, then your OnPlayerConnect doesnt work.


Re: Simple,Fast Anti-Money Hack with FilterScript support - wups - 21.02.2011

Quote:
Originally Posted by Shetch
Посмотреть сообщение
Only problem with this is that if you include it in your GM, then your OnPlayerConnect doesnt work.
Thanks, I made some hooking mistakes. Now everything should work!


Re: Simple,Fast Anti-Money Hack with FilterScript support - LZLo - 22.02.2011

nice


Respuesta: Simple,Fast Anti-Money Hack with FilterScript support - anonymousx - 23.02.2011

That doesnt work so good because when you give money to a player twice, the second GivePlayerMoney doesnt work.