23.04.2009, 19:36
u are still using the old money addres, that makes this system vurnable.
i saw someone posting a topic that there isnt a way to do it otherwise.
u are wrong about that. there is 1 way that is completely secure, but takes up a little more coding then this.
basicly, u are using a timer for checking the money values. while this COULD eat massive amounts of memory, resulting crash.
note that ur code isnt complete, since it is possible to fill the gaps of the stunt bonuses, sprunk machines and burger shots etc. i am currently working on what i am talking about, but i dont know if i am going to release it...
anyways, for the moment, its good. or not since its intended for roleplay, which most use vending machines and stuff.
also, to improof ur current code, u can use interior worlds.
for example burger shot:
there is a specified interior world for burger shots.
well i know there isnt any meal with an higher price then 100.
so when a player is in that interior world and its gained money is higher then 100, it is meaning he cheats., since u cannot have stuntbonusses in that interior world because vehicles cannot move there.
since all other real payments are covered up with the costum function giveplayercash, u dont need to worry about money thats given programmatic.
for stunt bonusses, i dont remember well, but isnt it possible to disable/enable per player?
u can always create ur own mechanism for stunt bonusses.
and i happen to see this last post, about custom weapon shops.
no need, simply adept this current code to the interior world and prices.
note to Luxeon: no it isnt weird at all. its more then clever to test your own server its strength.
if u want to have a secure server, its only possible to know if u can hack yourself, or someone close by who can do it for you.and many of u people got the wrong idea about hacking. u are probably instantly thinking of people are using motifications in any way, and therefore ruining the game. most of u call them hackers.
wrong call. they arent called hackers, but scriptkiddies. there is no such thing as a evil hacker. since an hacker is educated and got better stuff to do, like finding security holes in like firewalls for money on assignment ( legal ).
and i highly doubt a scriptkiddie will script anything, since they simply download a excisting working trainer on the internet.
if anyone find itself a hacker, u may meet yourself the following points:
most likely knows programming ( i am not talking about scripting, as u should know the diffrence )
is not being illegal with skills, ( like cracking, deassembling, reverse engineering, hacking )
you get paid to do your job? ( a hacker can be out of work, but hey )
anyways if u do not meet these terms, u are not an hacker, but a scriptkiddie.
also note that, pawno is a game scripting langauge, not a programming langauge.
anyways back to topic:
nice work, keep it up!
i saw someone posting a topic that there isnt a way to do it otherwise.
u are wrong about that. there is 1 way that is completely secure, but takes up a little more coding then this.
basicly, u are using a timer for checking the money values. while this COULD eat massive amounts of memory, resulting crash.
note that ur code isnt complete, since it is possible to fill the gaps of the stunt bonuses, sprunk machines and burger shots etc. i am currently working on what i am talking about, but i dont know if i am going to release it...
anyways, for the moment, its good. or not since its intended for roleplay, which most use vending machines and stuff.
also, to improof ur current code, u can use interior worlds.
for example burger shot:
there is a specified interior world for burger shots.
well i know there isnt any meal with an higher price then 100.
so when a player is in that interior world and its gained money is higher then 100, it is meaning he cheats., since u cannot have stuntbonusses in that interior world because vehicles cannot move there.
since all other real payments are covered up with the costum function giveplayercash, u dont need to worry about money thats given programmatic.
for stunt bonusses, i dont remember well, but isnt it possible to disable/enable per player?
u can always create ur own mechanism for stunt bonusses.
and i happen to see this last post, about custom weapon shops.
no need, simply adept this current code to the interior world and prices.
note to Luxeon: no it isnt weird at all. its more then clever to test your own server its strength.
if u want to have a secure server, its only possible to know if u can hack yourself, or someone close by who can do it for you.and many of u people got the wrong idea about hacking. u are probably instantly thinking of people are using motifications in any way, and therefore ruining the game. most of u call them hackers.
wrong call. they arent called hackers, but scriptkiddies. there is no such thing as a evil hacker. since an hacker is educated and got better stuff to do, like finding security holes in like firewalls for money on assignment ( legal ).
and i highly doubt a scriptkiddie will script anything, since they simply download a excisting working trainer on the internet.
if anyone find itself a hacker, u may meet yourself the following points:
most likely knows programming ( i am not talking about scripting, as u should know the diffrence )
is not being illegal with skills, ( like cracking, deassembling, reverse engineering, hacking )
you get paid to do your job? ( a hacker can be out of work, but hey )
anyways if u do not meet these terms, u are not an hacker, but a scriptkiddie.
also note that, pawno is a game scripting langauge, not a programming langauge.
anyways back to topic:
nice work, keep it up!