Can not manually eat food

General issues.
Pigdog
Posts: 20

Can not manually eat food

Post#1 » Mon Nov 07, 2011 6:30 pm

I used to be able to manually eat food to save myself from eating my better stat food. I can no longer do that I get the standard you are too full message and a red text message of Error: the item effect can not be used at this time.

BloodyMutt
Posts: 8

Re: Can not manually eat food

Post#2 » Mon Nov 07, 2011 11:05 pm

If I recall, whatever food is first in your bags gets eaten first. I may be mistaken.
Image
Image

Vaion
Posts: 3712

Re: Can not manually eat food

Post#3 » Mon Nov 07, 2011 11:35 pm

It's an easy fix. Will get addressed in a few days as I can get to it :)
Oh the fun you all are going to have in DSK3...
Simon says.. touch the green one! Nooooo BLIQUE NOT THE RED ONE! zomg you just got me "Vaion Touched"!

Pigdog
Posts: 20

Re: Can not manually eat food

Post#4 » Mon Nov 07, 2011 11:53 pm

BloodyMutt wrote:If I recall, whatever food is first in your bags gets eaten first. I may be mistaken.



No BloodyMutt. Not that my character cannot through out the day automatically eat food in my bags without me doing anything. Its that I cannot manually go "cleek" with my mouse and eat food. I have done this for several years now. I keep not good stat food in my inventory to click and eat from time to time. It helps my good stat food last a long time.

BloodyMutt
Posts: 8

Re: Can not manually eat food

Post#5 » Tue Nov 08, 2011 12:02 am

I know what you're talking about as I am having the same issue. I was giving you a temporary fix til they figured out what was up. To the best of my knowledge whichever food/water was in the first inventory slot is what gets eaten/drank first.
Image
Image

User avatar
Micah
Posts: 921

Re: Can not manually eat food

Post#6 » Tue Nov 08, 2011 1:54 am

BloodyMutt wrote:I know what you're talking about as I am having the same issue. I was giving you a temporary fix til they figured out what was up. To the best of my knowledge whichever food/water was in the first inventory slot is what gets eaten/drank first.


You are correct, the closest food/drink to the "top" of the inventory is used first. So what I do is swap them when I am exp/raiding and swap it back when I am just running around. Then I can chose which food/drink I am using.
THF GM and "Let's keep OOC clean!" Enforcer
Please read the Server Rules

BloodyMutt
Posts: 8

Re: Can not manually eat food

Post#7 » Tue Nov 08, 2011 4:16 am

Thought so, haven't played since '06 or so, memory a little rusty hehe. Look forward to the fix though as I tend to eat food as I loot it in the alt-p >.>;
Image
Image

User avatar
Trevius
Posts: 71

Re: Can not manually eat food

Post#8 » Tue Nov 08, 2011 9:00 am

This issue should only occur on SoF+ clients. I am sure it is due to the most recent update I made on the SVN to resolve some other issues with clicky items. Since food does not have an actual click effect on it, I think the fix should be pretty quick and simple. I will look into it a bit and should be able to have a working patch in place for it by tomorrow morning as long as I have time.

The error message doesn't really need to be there, but I added it in to make it easier to identify issues like this from the change. Once all of the possible issues with it are worked out, we can remove the error so it doesn't show up when doing stuff like spamming a mana stone or other instant click item.

It is probably as simple as changing this:

Code: Select all

   spell_id = item->Click.Effect;

   if
   (
      !IsValidSpell(spell_id) ||
      casting_spell_id ||
      delaytimer ||
      spellend_timer.Enabled() ||
      IsStunned() ||
      IsFeared() ||
      IsMezzed() ||
      DivineAura() ||
      (IsSilenced() && !IsDiscipline(spell_id)) ||
      (IsAmnesiad() && IsDiscipline(spell_id)) ||
      (IsDetrimentalSpell(spell_id) && !zone->CanDoCombat())
   )
   {
      Message(13, "Error: the item effect can not be used at this time");
      return;
   }


To this:

Code: Select all

   spell_id = item->Click.Effect;

   if
   (
      spell_id > 0 &&
      (
         !IsValidSpell(spell_id) ||
         casting_spell_id ||
         delaytimer ||
         spellend_timer.Enabled() ||
         IsStunned() ||
         IsFeared() ||
         IsMezzed() ||
         DivineAura() ||
         (IsSilenced() && !IsDiscipline(spell_id)) ||
         (IsAmnesiad() && IsDiscipline(spell_id)) ||
         (IsDetrimentalSpell(spell_id) && !zone->CanDoCombat())
      )
   )
   {
      Message(13, "Error: the item effect can not be used at this time");
      return;
   }


That is untested, but I think it should work. Just need to actually verify it fixes the food issue and still allows the extra checks to work for items that do have click effects on them.

Vaion
Posts: 3712

Re: Can not manually eat food

Post#9 » Tue Nov 08, 2011 3:34 pm

Thanks Trev,

Had to go a little different with the code to prevent the error message. Sent you an email with the fixes =)


And this is fixed with the next code update.
Oh the fun you all are going to have in DSK3...
Simon says.. touch the green one! Nooooo BLIQUE NOT THE RED ONE! zomg you just got me "Vaion Touched"!

ChaosSlayer
Posts: 1693

Re: Can not manually eat food

Post#10 » Tue Nov 08, 2011 5:19 pm

too bad SOE never improved the way how food is handled in EQ1, after they added a much better way to handle food in EQ2: you get stat bonuses from a food AFTER you eat it (not while it just sits in your bag). Which made a lot more sense...
Image

Return to “General”

Who is online

Users browsing this forum: No registered users and 1 guest

cron