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

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 06-07-2009, 10:35 AM
realityincarnate
Developer
 
Join Date: Dec 2007
Posts: 122
Default

I've got a scripting system in place for charms that seems to work (although my testing is a little limited since I never have more than three of us on my server at once). I added a new parse->event call that takes an ItemInst* as an argument and handled calculating the multiple via perl and a $questitem->SetMultiple() function. I made a derived class from ItemInst that stored a pointer to a scaled version of the item, so that scaling only needed to be done when the multiplier actually changed. So far, I have working scripts for the Charm of the Emerald Warrior, Charm of the Brotherhood, and Charm of Exotic Speech. I never did figure out how the server is supposed to send the scaling factor to the client, so I just had it send the scaled item instead of the full stats.

I meant to post that stuff a couple of weeks ago, but the new scripting and derived ItemInst led so naturally into intelligent item scripts that I started working on that, and the whole thing got complicated very quickly. If you want, I can try to seperate out the charm stuff and post what I have.
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 07:56 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3