19-04-2007, 09:21 PM
This is a very simple bug fix that I noticed while I was working on my repair system. Basically, what it does is, let's say you don't have enough strength to use an item, it tels you you need double the actual requirements. Let's say you need 30 strength to use a weapon, it tells you that you need 60!
Now this is a very simple bug! In your packet "useitem" on the server side, look for :
And change that to :
And then, look for :
And change that to :
And then, look for :
And change it to :
There you go, all fixed for a silly bug
Now this is a very simple bug! In your packet "useitem" on the server side, look for :
Code:
Call PlayerMsg(Index, "Your defense is to low to wear this armor! Required DEF (" & n * 2 & ")", BrightRed)
And change that to :
Code:
Call PlayerMsg(Index, "Your defense is to low to wear this armor! Required DEF (" & n & ")", BrightRed)
And then, look for :
Code:
Call PlayerMsg(Index, "Your strength is to low to hold this weapon! Required STR (" & n * 2 & ")", BrightRed)
And change that to :
Code:
Call PlayerMsg(Index, "Your strength is to low to hold this weapon! Required STR (" & n & ")", BrightRed)
And then, look for :
Code:
Call PlayerMsg(Index, "Your speed coordination is to low to wear this helmet! Required SPEED (" & n * 2 & ")", BrightRed)
And change it to :
Code:
Call PlayerMsg(Index, "Your speed coordination is to low to wear this helmet! Required SPEED (" & n & ")", BrightRed)
There you go, all fixed for a silly bug
