Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Custom

Quests::Custom Custom Quests here

Reply
 
Thread Tools Display Modes
  #16  
Old 05-04-2009, 05:19 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Thanks to KLS, this script should now be obsolete:

http://code.google.com/p/projecteqem...c=svn465&r=465

__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #17  
Old 05-05-2009, 12:15 AM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

Inspired by this thread btw, in case anyone was wondering.
Reply With Quote
  #18  
Old 05-05-2009, 03:39 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

With the frequency that we use that client search quest code, I think it would make a good addition to the source if we could figure out the best way to handle it in the code for quests. I was thinking of making a new sub event similar to timers, and you would call it in a similar way. Then, it would just do a for loop on anything matching that client search name.


Code:
sub EVENT_SPAWN {
  quest::clientsearch("nearby");
}

sub EVENT_CLIENT_SEARCH {

  if ($clientsearch eq "nearby");
    // Do some distance checks and do something else to them
  }

}
Something like that.

Or, maybe just add a way to easily make a list of all clients or all NPCs in a zone. Maybe something that would look through the entity list and make a new list of whatever you are looking for. I think that would cut down the overhead of doing a FOR loop to 2000 every time. Then, it would also be nice to have a way to pull the top entity ID from the zone so instead of setting it to 2000, it could be set to whatever the actual top ID number is.

Getting a bit off topic here though. Thinking about making a new post in the features requests about it. It would be very useful if we could come up with a way to handle this easily. There are just too many uses for being able to find any client in a zone at random, or by distance, or whatever you specify. I just don't know the best way to handle it yet to start coding it.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #19  
Old 05-05-2009, 01:24 PM
KingMort
Banned
 
Join Date: Sep 2006
Posts: 841
Default

Not trying to Hijack but KLS while your on that subject could you also add functions in NPCSPECIALATTK so that mobs can be Un-Lullable, and Un-Pacifyable please ??

Thanks in advance

King
www.raidaddicts.org
Reply With Quote
  #20  
Old 05-05-2009, 09:09 PM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

I can but might wanna post it in features requests incase I forget.
Reply With Quote
Reply


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:03 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3