Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Feature Requests

Development::Feature Requests Post suggestions/feature requests here.

Reply
 
Thread Tools Display Modes
  #1  
Old 04-26-2008, 04:10 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default sub EVENT_AGRO_CLEARED

The idea for this event is to allow for something to happen when an NPC loses agro. I think it could have multiple uses. The reason I thought of it is I would like to reset an event if players lose or if agro is cleared, but I can't find any other way to do it. I thought this could be helpful for anyone writing complex events, but it would probably be used mainly by custom servers.

I have an event that will banish characters away from a named if they haven't started the event. This would allow the event to be reset in the case that players lost the event.

I can probably find other ways to do it, but the best way would be if there was an event that occurred when agro was lost.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #2  
Old 04-26-2008, 04:41 AM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

You mean... like EVENT_COMBAT? Or are you looking for something that it can't do?
Reply With Quote
  #3  
Old 04-26-2008, 05:37 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Sorry, I am not familiar with that event. What does it do exactly? I have checked the quest lexicon and the wiki here:

http://www.eqemulator.net/wiki/wikka...=QuestTutorial

But I didn't see anything that looked like it could do what I wanted. If event_combat will let me do something when the mob leaves combat, then that should work.

I need to have some NPCs set to send a signal to another NPC if they leave combat/lose agro.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #4  
Old 04-26-2008, 06:49 AM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

It basically is called when you initiate combat with a npc and leave combat. It exports $combat_state 1 for entering combat 0 for leaving combat. Or at least that is the idea.
Reply With Quote
  #5  
Old 04-27-2008, 05:37 PM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

Updated the wiki to include sub EVENT_COMBAT and the two new events in the new build.
Reply With Quote
  #6  
Old 05-05-2008, 04:56 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

I finally got around to testing this and it worked just as I needed. I was curious if there was a way to use it to actually reset combat mode on an NPC. Something like this:
Code:
If ($signal == 1 ) { quest::combat_state (0); }
If not, no biggie though. I could only think of a few rare cases where that might be useful.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #7  
Old 05-05-2008, 05:11 AM
AndMetal
Developer
 
Join Date: Mar 2007
Location: Ohio
Posts: 648
Default

Quote:
Originally Posted by trevius View Post
I was curious if there was a way to use it to actually reset combat mode on an NPC.
Wouldn't that be the same as clearing all aggro? If so, you can use this:
Code:
$mob->WhipeHateList()
__________________
GM-Impossible of 'A work in progress'
A non-legit PEQ DB server
How to create your own non-legit server

My Contributions to the Wiki
Reply With Quote
  #8  
Old 05-05-2008, 07:52 AM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default

There's very little (if anything) that you "can't" do - especially with this emulator. I've always found a way to work around things even if it was not in the source.

A lot of things here are still left undone because some people think "it can't be done", so they went overlooked.

In the past few days I've discovered more about this than I have in the past months. Surprising how much simple stuff is still undone - almost like there was an "alien race" of Devs that were here before, and left all these things they started behind
Reply With Quote
  #9  
Old 05-05-2008, 08:58 AM
Sakrateri's Avatar
Sakrateri
Dragon
 
Join Date: Mar 2004
Location: England
Posts: 776
Default

There was no flash of white light, You do not remember anything of what you just said.
__________________
KhepriGames

Game Gallery

My Forums

Reply With Quote
  #10  
Old 05-05-2008, 03:13 PM
AndMetal
Developer
 
Join Date: Mar 2007
Location: Ohio
Posts: 648
Default

Quote:
Originally Posted by Angelox View Post
In the past few days I've discovered more about this than I have in the past months. Surprising how much simple stuff is still undone - almost like there was an "alien race" of Devs that were here before, and left all these things they started behind
Hence why I've been working on the ST quests quite a bit

Unfortunately, there are some issues I keep running into that mean I'll probably have to redo some of the spawns as "special" spawns for everything to work as intended, which I didn't really want to do.

Quote:
Originally Posted by Sakrateri View Post
There was no flash of white light, You do not remember anything of what you just said.
This is completely off topic, but I saw an X-Files movie poster at the movie theater on Saturday
__________________
GM-Impossible of 'A work in progress'
A non-legit PEQ DB server
How to create your own non-legit server

My Contributions to the Wiki
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 09:42 AM.


 

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