Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Runtime 6 - Overflow ?
#3
JUst add a small checK:

Code:
If  invslot < 0 or invslot > MAX_INV then exit sub
if itemnum < 0 or itemnum > MAX_ITEMS then exit sub
This will solve the error but if you get problems you should dig more into were it starts etc.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)