Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unable to drop, trade, set up a shop, or duey
#60
It depends on how they coded it obviously. If they don't even perform boundary checks like negative numbers they're probably shoddy with other checks too.

Take input from player = x
Check if player has more than x * allcure price mesos if not then stop transaction
take away x * allcure price mesos from player
give player x allcures

If you enter a negative number for x it'd pass the meso check. If there's no second check when giving all cures (and why would you 'cause its giving not taking), it could just fail silently on the giving part.
Reply


Messages In This Thread
Unable to drop, trade, set up a shop, or duey - by happylight - 2010-07-13, 05:33 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)