Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

Reply
 
Thread Tools Display Modes
  #1  
Old 09-08-2009, 05:29 PM
Lillu
Hill Giant
 
Join Date: Sep 2008
Posts: 204
Default

Thanks Trev! So if I understand it correctly, the trick is to transfer client id with signal, and to use signal ranges for separate responses based on the fact that Entity IDs are always lower than ~1500.
__________________
Reply With Quote
  #2  
Old 09-08-2009, 06:06 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Yeah, you basically send the signal by adding 1000 or whatever to your client's entity ID. So, if your client's entity ID was 264, the signal would be 1264. Then, the NPC that gets that signal knows that anything from 1000-3000 is a client ID and a signal to do something particular. It then subtracts 1000 from the signal ID and then has 264, which is the client's entity ID that it can no do just about anything with. If you wanted to have different responses, you could just add 1000 to the first signal, then something like 3000 to the second, 5000 to the 3rd and so on. And then you just check for ranges in EVENT_SIGNAL instead of an exact signal ID number, like I show in the example.

Lemme know if you have any problems or questions on it.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #3  
Old 09-08-2009, 06:18 PM
Lillu
Hill Giant
 
Join Date: Sep 2008
Posts: 204
Default

All clear, tested, and works like magic. Thanks!
__________________
Reply With Quote
  #4  
Old 09-08-2009, 07:08 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Nice sig I really love what you did with your hub zone there. It gets my vote for best hub zone in EQEmu
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #5  
Old 09-09-2009, 06:06 AM
Lillu
Hill Giant
 
Join Date: Sep 2008
Posts: 204
Default

Thanks Trev! Nice words from someone having an amazing custom server as yours..

(sorry for the offtopic)
__________________
Reply With Quote
Reply

Thread Tools
Display Modes

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 06:09 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