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 05-06-2015, 08:32 AM
serivoth1234
Sarnak
 
Join Date: Aug 2009
Location: bum f*#k egypt
Posts: 37
Default Determining a spell

Okay I have a question, is there a way to determine if a spell was actually cast from a player that can normally cast the spell or if it were cast from a clicky item?
Reply With Quote
  #2  
Old 05-06-2015, 02:48 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

https://github.com/EQEmu/Server/blob...pells.cpp#L255

The inventory slot is sent from the client if it is a click-based casting..otherwise, it sends -1 (0xFFFFFFFF) to indicate it was a spell.

Note that spell slot is not the same as inventory slot.
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #3  
Old 05-06-2015, 05:44 PM
serivoth1234
Sarnak
 
Join Date: Aug 2009
Location: bum f*#k egypt
Posts: 37
Default

Excellent, thank you for pointing that out to me.
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 08:01 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