![]() |
|
|
|
#1
|
||||
|
The database isn't the issue, it is the operation of the perl that handles quests. Time for a little perl 101 I think!
Code:
if (plugin::check_handin(\%itemcount, 10032 => 2, 10000 => 1)) {
quest::say("Here is your prize - a lambent star ruby.");
quest::summonitem(10117);
quest::faction(320,5);
quest::faction(291,-15);
}
None of us on the project were familiar enough with perl when we started, or the emulator in general to be able to see this possible caveat. But as a rule, the system just doesn't allow for quest chains out of the box. I've never tested this hypothesis either and I might not even work how I have it laid out in my mind and not work at all. Using the plugin is what allows for item returns on a bad turn in as well and would go away. In essence it is a double edged sword and a Pandoras Box that I'm not sure we are capable of opening based on staffing levels & time requirements.
__________________
I have walked my way since the beginning of time. Sometimes I give, sometimes I take & it is mine to know which and when.
Quote:
| |||
|
|
||||
|
#2
|
||||
|
Quote:
For an NPC in the database, store 4 "inventory" fields which each would contain an item number, an iterator (that counts to 4) and (if necessary) the id of the last character to do a handin. When an item is handed in, add that item to the inventory# of the iterator, and iterate. If the iterator = 4, set it to 0. On each handin, check quest completion. If the quest is completed, summon the item, and delete the appropriate inventory items. Additionally, I would think that you could do this in such a way as to keep the majority of your quest code. Possibly writing a simple perl script or find/replace, in conjunction with some external methods, would allow you to affect the majority of the quests to be MQable. In your example: Code:
if (plugin::check_handin(\%itemcount, 10032 => 2, 10000 => 1)) {
quest::say("Here is your prize - a lambent star ruby.");
quest::summonitem(10117);
quest::faction(320,5);
quest::faction(291,-15);
}
Sorry, I'd write up a bunch of pseudo code but I don't even know where to begin with parameters like the above. I don't consider MQing really very important, so I wouldn't expect you to spend alot of time on such a fix. But if you were so inclined, an approach like the above might be worth looking into. Anyway, thanks for the early morning brain teaser. Cheers.
__________________
Kruall - Troll Shaman
Ferok - Dwarf Warrior | |||
|
|
||||
|
#3
|
|||
|
Only time i've seen multiquesting as a viable, legit method would be if someone went LD and was unable to loot a piece for the quest that would otherwise rot unless a group / guild member looted it for them with the intention to multiquest later on.
I think it's better having it the way we have it now, rather than having people camping Jboots and what not with the intention of selling the multiquest for a profit. If the above scenario happens i'm sure if someone else looted it and told a gm about what happened it could be sorted out. My only woe is that the kedge robe will be looted by casters, who then won't be able to MQ it for rogue epic when kunark comes out [You must be logged in to view images. Log in or Register.] what a waste.
__________________
Omnimorph - Enchanter
I enchant things... | ||
|
|
|||
|
#4
|
||||
|
Quote:
__________________
-----------------------
Fearstalker - Enchanter Guild Leader of <Taken> ----------------------- | |||
|
|
||||
|
#5
|
||||
|
Quote:
__________________
Kruall - Troll Shaman
Ferok - Dwarf Warrior | |||
|
|
||||
|
#6
|
||||
|
Quote:
Given that velious will, in theory be the last expansion, those farming doze will be there for a while, so if everyone in a guild has a said item they're after (some will be more popular than others obviously) but they can acquire the tears eventually. So even then i don't think it'll be that big of a hassle.
__________________
Omnimorph - Enchanter
I enchant things... | |||
|
|
||||
|
#7
|
||||
|
Quote:
By the time you can down Dozer, it quickly becomes apparent that you could be shortly farming ST talisman dragons.... and that's awfully tempting. Thats how I ended up farming faction for the guild ML after I had reached an agreement to purchase the final piece of my silver bracelet. We had been farming ST dragons and were no longer concerned with HoT quests, and were moving into NToV as well. Ugh, what a nightmare. I about flipped one night after he took an Aaryonar hit. Anyway, you're right.. it is very much the exception to the rule. Can't think of anything else quite like that.
__________________
Kruall - Troll Shaman
Ferok - Dwarf Warrior | |||
|
Last edited by Ferok; 04-01-2010 at 11:13 AM..
|
|
|||
![]() |
|
|