[NEW] Money Anti-Cheat idea (help with writing)
#1

So everyone has a problem with Anti-Cheat right?

I'm getting pretty good with this scripting stuff and starting to understand how it is working. But I have an idea for
an Anti-Money cheat!

Ok so here is how it will work

IF getplayermoney OR getplayercash SENT "THIS IS OK" to the ANTI-CHEAT the ANTI-CHEAT will allow this to happen
and do nothing about it.

IF getplayermoney OR getplayercash DID NOT SEND "THIS IS OK" to the ANTI-CHEAT the ANTI-CHEAT will NOT allow this to happen and reverse the money (like normal anti cheats just if it was +500 it will -500)

I'm not sure if I explained myself correctly but if ANYONE knows how I can write this in code then we have ourselves a beauty of an Anti-Cheat!

That has gotta be +1 right there!!
Reply
#2

Basically what you're implying is an idea that has already been done: server-side money. Have a search around the showroom for some examples.
Reply
#3

Well no this hasn't already been done because server-side money is totaly different to what I'm saying. I'm saying ANY function IG that is sending "THIS IS OK" to the anti-cheat money detector it will not detect it.. ANYTHING else it will detect

Do you understand where this idea is totaly different?
Reply
#4

this could (and already has) be done via f.ex. GVars: increment the SetPVarInt(playerid,"Money",GetPVarInt(playedrid," Money"));, and by the "host" AC script, read out the PVar again, and set the player cash accordingly.
given that, it implicates the same concept: security.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)