Project 1999

Go Back   Project 1999 > Blue Community > Blue Server Chat

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 04-01-2010, 09:46 AM
Aeolwind Aeolwind is offline
Developer

Aeolwind's Avatar

Join Date: Oct 2009
Location: Watauga, TN
Posts: 1,641
Send a message via AIM to Aeolwind Send a message via MSN to Aeolwind Send a message via Yahoo to Aeolwind
Default

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);
	}
this is a standard turn in, lambent star ruby. It checks for all the items to be turned in at once. Now, it might be possible to enable chaining of quests, but it would require a rewrite of -every- quest in the game, which is several thousand. It would involve adding a global variable for each item turned in for the NPC and then cycling that variable out when the last item is turned in... This could also change writing a quest from probably 30 minutes to several hours.

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:
Originally Posted by Nilbog
If all the polls I have done up until now fully counted, you would be playing on some abomination of a PVP server with 2-10 boxing based on votes from people named xcm234nv and adfa234.
  #2  
Old 04-01-2010, 10:18 AM
Ferok Ferok is offline
Fire Giant


Join Date: Mar 2010
Location: Long Island, NY
Posts: 521
Send a message via AIM to Ferok
Default

Quote:
Originally Posted by Aeolwind [You must be logged in to view images. Log in or Register.]
It would involve adding a global variable for each item turned in for the NPC and then cycling that variable out when the last item is turned in... This could also change writing a quest from probably 30 minutes to several hours.
Just throwing out some ideas here, I totally understand what you're saying. Perhaps I'm being naive here - I'm not real familiar with perl. I'm just looking at this from possibly a different angle. Obviously, no offense is meant.

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);
	}
Creating a method here called check_inventory which takes the same parameters as "check_handin" would allow for easy replace all. Then, all you need is a method called "add_to_inventory" which gets triggered every time something is handed in (subsequently, the check function should be called... as I assume it already is.) Within the check function, delete the appropriate items from the inventory when the check succeeds (and obviously return true).

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  
Old 04-01-2010, 10:18 AM
Omnimorph Omnimorph is offline
Planar Protector

Omnimorph's Avatar

Join Date: Feb 2010
Posts: 1,022
Default

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  
Old 04-01-2010, 10:29 AM
Striiker Striiker is offline
Fire Giant

Striiker's Avatar

Join Date: Mar 2010
Location: USA
Posts: 776
Default

Quote:
Originally Posted by Omnimorph [You must be logged in to view images. Log in or Register.]
..

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.

..
I also am in favor of no multi-questing. It opens up a lot of content which in the past was perma-camped by people seeking to make a lot of profit. Yes, this is not a classic configuration but it also addresses an issue which significantly interfered with the game for many people. I would chalk this one up to being on par with multi-boxing in that it should not be permitted (even if a solution was easily attainable). I am sure Verant would have preferred this to what was in the game as it better fit their vision. SOE on the other hand would have probably preferred to sell multi-quest items through some online store.. [You must be logged in to view images. Log in or Register.]
__________________
-----------------------
Fearstalker - Enchanter
Guild Leader of <Taken>
-----------------------
  #5  
Old 04-01-2010, 10:34 AM
Ferok Ferok is offline
Fire Giant


Join Date: Mar 2010
Location: Long Island, NY
Posts: 521
Send a message via AIM to Ferok
Default

Quote:
Originally Posted by Striiker [You must be logged in to view images. Log in or Register.]
I also am in favor of no multi-questing. It opens up a lot of content which in the past was perma-camped by people seeking to make a lot of profit. Yes, this is not a classic configuration but it also addresses an issue which significantly interfered with the game for many people. I would chalk this one up to being on par with multi-boxing in that it should not be permitted (even if a solution was easily attainable). I am sure Verant would have preferred this to what was in the game as it better fit their vision. SOE on the other hand would have probably preferred to sell multi-quest items through some online store.. [You must be logged in to view images. Log in or Register.]
MQing was pretty essential if you farmed Dozekar now that I think about it. I can't think of anything else in Velious/Kunark/Classic that was so multi-rare-drop dependent though. Anyway, you'd be wasting an awful lot of components if you werent able to MQ some stuff in HoT.
__________________
Kruall - Troll Shaman
Ferok - Dwarf Warrior
  #6  
Old 04-01-2010, 11:01 AM
Omnimorph Omnimorph is offline
Planar Protector

Omnimorph's Avatar

Join Date: Feb 2010
Posts: 1,022
Default

Quote:
Originally Posted by Ferok [You must be logged in to view images. Log in or Register.]
MQing was pretty essential if you farmed Dozekar now that I think about it. I can't think of anything else in Velious/Kunark/Classic that was so multi-rare-drop dependent though. Anyway, you'd be wasting an awful lot of components if you werent able to MQ some stuff in HoT.
Quite true, i remember having a shit load of those tears and what not in my bank. But i think that's more of a case of being the exception to the rule, rather than abolishing the rule for an exception.

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  
Old 04-01-2010, 11:09 AM
Ferok Ferok is offline
Fire Giant


Join Date: Mar 2010
Location: Long Island, NY
Posts: 521
Send a message via AIM to Ferok
Default

Quote:
Originally Posted by Omnimorph [You must be logged in to view images. Log in or Register.]
Quite true, i remember having a shit load of those tears and what not in my bank. But i think that's more of a case of being the exception to the rule, rather than abolishing the rule for an exception.

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.
I think HoT is usually a short-lived fascination for most guilds. You're pretty limited to Zlandicar, Vindicator, Statue, and Dozekar if you're in this niche, as you need to maintain ally dragons in order to turn in HoT quests.

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..
Closed Thread


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:28 PM.


Everquest is a registered trademark of Daybreak Game Company LLC.
Project 1999 is not associated or affiliated in any way with Daybreak Game Company LLC.
Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.