prolly something stupid i missed
can sum1 tell me what i did wrong.
----- sub EVENT_SAY { if($text=~/Hail/i) { quest::say ("xxx"); } if($text=~/xxx/i) { quest::say("xxx"); } } sub EVENT_ITEM { if($itemcount{xxxx} == 10) { quest::say("xxx"); quest::say("xxx"); quest::summonitem(xxx); } if($itemcount{xxx} == 3) { quest::say("xxx"); quest::summonitem(xxx); } } ---- if($itemcount{xxxx} == 10) - will not accept stacked items. i can change it to 4 then turn them in unstacked and it will work...ty |
Hmmm. Ill take a look at the new code for $itemcount tomorrow.
|
contrary to popular belief.. the item count code still dosent make stacking allowed on handins... not that this would be hard to fix, but thats how it is right now.
|
Oh? Becuase $itemcount worked with stacked items in the old system im positive, we used to have to tell people on evolution 1 TO stack them.
|
if by old quest system, you mean the .qst thing, then I buy that. but heres the perl code to deal with it, and theres just no way it supports stacked items. Been this way since I got here at least.
Code:
string hashname = packagename + std::string("::itemcount"); |
Hmmmm.
Don't know what to say. I could have sworn... Oh well. :P |
and I take back my statement that it should be trivial to change, because you would have to invent a path for the item counts to get into the Event() handler from the trading code, and as far as I can see, there just isnt such a path right now, nor an easy way to add one without jacking with the Event() prototype, which I dont think is a good solution.
|
All times are GMT -4. The time now is 06:35 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.