Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Quests

Archive::Quests Archive area for Quests's posts that were moved here after an inactivity period of 90 days.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 08-15-2004, 09:21 AM
Cisyouc
Demi-God
 
Join Date: Jun 2004
Location: Heaven.
Posts: 1,260
Default

Quote:
Originally Posted by killspree
Right, so this is a simple addition to the loadspawn2 function in zone.cpp. I got bored with what I was doing, so I'm working on it now. It'll load up a certain set of spawns based on the qglobal of the zones shortname. It'll require an additional field in the spawn2 table, but other than that everything else is code, and spawn2 will continue to work like normal after adding this.

You'll have to manually add new levels of spawns per level range you want. My question is this: How do you want it set up? Do you want it to check against the "value" field in quest_globals for the level range to spawn?
I'm not sure. I could make a new variable if it need be:

Under each dungeon long-name at the recruiter, add
Code:
$mmca-leveladj = (($ulevel-2));
quest::setglobal("mmca-level",$mmca-leveladj","7","T013000");
.

And your code would check the value of `mmca-level` in `quest_globals`?

OR

Would there be a way to add 2 new columns in npc_types, lets say.. Levcheck, varicheck.

If `levcheck` = `1`, make new level of npc the value of a value in quest_globals (and you would identify the name of the global that has the level value in the 2nd column, varicheck)

OR

Am I just making this way too complicated than it should?
__________________
namespace retval { template <class T> class ReturnValueGen { private: T x; public: ReturnValueGen() { x = 0; }; T& Generator() { return x; }; }; } int main() { retval::ReturnValueGen<int> retvalue; return retvalue.Generator(); }
C++ is wonderful.
Reply With Quote
 


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 12:28 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3