View Full Version : SoF food bug
Andrew80k
03-21-2009, 12:10 AM
Trev,
Food consumption is way out of whack. I consumed 20 food in 20 minutes. This may be a minor adjustment somewhere, but I don't really have time to look that much into it.
trevius
03-21-2009, 04:23 AM
Yeah, that is most likely due to Stamina not being sent to the client properly, so it keeps thinking it needs to eat more :P I will add it to the list of things to work on. Been knocking out issues 1 at a time, and have gotten a ton done already. At least it is getting close to being done! Thanks for the report.
Andrew80k
03-21-2009, 12:43 PM
Add water to this, but I assume it's part of the larger problem.
trevius
03-22-2009, 04:51 PM
I got this fixed. Just had the wrong opcode for stamina, which is what is sent to the client to tell it how hungry/thirsty it is. Since it wasn't getting updates, it was just consuming both every minute or so. Seems to be working fine with the new opcode. I will update the SVN soon, but it isn't worth it just to update 1 opcode. So, I will put it in with the next bigger fix I get done.
Here is the correct opcode for it if you want to update your patch_SoF.conf file manually yourself and test it out:
OP_Stamina=0x7120
Give that a try and see if it works better for you.
Wtg Trev, starving the client, shame on you.
provocating
06-07-2009, 02:13 PM
Just letting you know I have the SoF opcodes from CVS with this entry and still have the food / water bug. I just purchased 20 water / rations and around 3 minutes later I am down to 13 water / ration.
OP_Stamina=0x7120 #SEQ 12/04/08 0x45E2 0x7120 0x389D
provocating
06-07-2009, 02:38 PM
Oh, and this may help, not sure.
[Error] Consuming from empty slot 289
[Error] Consuming from empty slot 290
[Error] Consuming from empty slot 289
[Error] Consuming from empty slot 290
[Error] Consuming from empty slot 289
[Error] Consuming from empty slot 290
[Error] Consuming from empty slot 289
[Error] Consuming from empty slot 290
[Error] Consuming from empty slot 289
[Error] Consuming from empty slot 290
[Error] Consuming from empty slot 289
[Error] Consuming from empty slot 290
[Error] Consuming from empty slot 289
[Error] Consuming from empty slot 290
[Error] Consuming from empty slot 289
[Error] Consuming from empty slot 290
[Error] Consuming from empty slot 289
trevius
06-07-2009, 05:13 PM
Oh, maybe it is just missing a slot encode then. I will check that out tonight :)
provocating
06-07-2009, 09:27 PM
If you are looking into this, I also posted in another thread my friend noticed his items also were missing. It looks from the debug I posted, the items were actually consumed like food....but I could be wrong.
[Debug] [INVENTORY__SLOTS] Ellisar: Src slot 30 has item Crushed Onyx Sapphire (25841) with 1 charges in it.
[Debug] [INVENTORY__SLOTS] Ellisar: Dest slot 312 has item Crushed Onyx Sapphire (25841) with 2 charges in it.
[Debug] [INVENTORY__SLOTS] Ellisar: Move from 30 to 312 with stack size 1. dest has 2/20 charges
[Debug] [INVENTORY__SLOTS] Ellisar: Dest (312) now has 3 charges, source (30) was entirely consumed. (1 moved)
trevius
06-07-2009, 10:32 PM
You know your char is getting hungry when they start eating Gems!
I am going to look into this tonight as long as I have time. Would be nice to get all of the misc slot issues worked out once and for all. This would be SO much easier if we could define slots based on what SoF uses, but that isn't really an option if we are going to have both clients at once.
provocating
06-07-2009, 11:22 PM
Bah, who needs Titanium..../ducks
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.