Question about casino
#1

Hey guys,
is there any idea, how to detect player money after playing some games on casino? (roulette, BJ, etc)
I can't save players money after won or lose on casino games, because i used server sided money.
Reply
#2

You can add a timer that checks the players money every minute or so and see if that has changed while they are inside the casino interior. However, this might make it possible to money-hack inside the casino if people find out.
Reply
#3

Quote:
Originally Posted by mamorunl
Посмотреть сообщение
You can add a timer that checks the players money every minute or so and see if that has changed while they are inside the casino interior. However, this might make it possible to money-hack inside the casino if people find out.
Hmmm, You're right, that's was nice idea but, it can exploited. is there any script to detect if players start playing games on casino?

Thanks btw.
Reply
#4

If the player is in casino and if the player is in range of point, coordinates of the game, radius 1/2/3 SA units and then if player is using key
Reply
#5

Quote:
Originally Posted by LMaxCo
Посмотреть сообщение
Hmmm, You're right, that's was nice idea but, it can exploited. is there any script to detect if players start playing games on casino?

Thanks btw.
The problem is that everything can be exploited, even if you add several checks. If you do what bgedition said, then they can still exploit it. The chances are getting smaller, though.

You could see if a player has entered a game by key-press. If the player loses money (his bet) you can use that as a guide for the winnings. He can either lose money again (betting again, because he lost his last one) or gain the double amount of money from his winnings.

You can make the money-hacking chances smaller and smaller with this kind of programming, but it takes a lot of effort to create a script that checks everything.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)