BBB
Active member
- Joined
- Apr 5, 2013
- Messages
- 62
- Reaction score
- 1
sooo...
just want to tell something what every scripter should know but they simply often don't know or forget it.
u need these things:
- spamm app
- no anti spam on server (maybe)
- some command on server that decrements your money, but it doesn't check if u have enough!
so basically every amout of money on the server is saved as an integer, the nature of integer is that if it has an overflow the sign changes:
2147483647 + 1 = -2147483648
-2147483648 -1 = 2147483647
u see that these values are't correct but that's how you can hack money
u simply decrement your money below -2147483648 then the sign changes and u have +2147483647 and profit :urtheman:
some noob servers still have this bug
have fun
just want to tell something what every scripter should know but they simply often don't know or forget it.
u need these things:
- spamm app
- no anti spam on server (maybe)
- some command on server that decrements your money, but it doesn't check if u have enough!
so basically every amout of money on the server is saved as an integer, the nature of integer is that if it has an overflow the sign changes:
2147483647 + 1 = -2147483648
-2147483648 -1 = 2147483647
u see that these values are't correct but that's how you can hack money
u simply decrement your money below -2147483648 then the sign changes and u have +2147483647 and profit :urtheman:
some noob servers still have this bug
have fun