| Mirage Source http://miragesource.net/forums/ |
|
| Item Equip Requirements Fix ( * 2 Bug) http://miragesource.net/forums/viewtopic.php?f=210&t=1695 |
Page 1 of 1 |
| Author: | JokeofWeek [ Thu Apr 19, 2007 9:21 pm ] |
| Post subject: | Item Equip Requirements Fix ( * 2 Bug) |
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 : 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 |
|
| Author: | William [ Fri Apr 20, 2007 9:15 am ] |
| Post subject: | |
Weird, how could I not have noticed this one. Well done. |
|
| Author: | Lea [ Sun Jul 13, 2008 12:01 pm ] |
| Post subject: | Re: Item Equip Requirements Fix ( * 2 Bug) |
This has not yet been fixed in MSE 2.3 I'll let DFA know and bump for anyone else. |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|