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)

Reply
 
Thread Tools Display Modes
  #1  
Old 06-28-2013, 09:22 AM
noudess
Discordant
 
Join Date: Sep 2012
Location: Upstate NY
Posts: 274
Default

Anyone? I could try and get the old packet sniffer out on live, but I'd much rather work on content. I guess its possible there is no packet to update only the duration?
Reply With Quote
  #2  
Old 06-28-2013, 10:19 PM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

You're calling it in more than guild lobby, it's also being called when you have duration inc focus. I'm not sure about the restacking effects.
Reply With Quote
  #3  
Old 06-30-2013, 02:39 AM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

I've tried to reproduce the stacking issue on titanium and have basically not gotten it to stack like described in GH. Using bravery I'm still at the exact same hp as when i cast it.
Reply With Quote
  #4  
Old 07-09-2013, 10:17 AM
noudess
Discordant
 
Join Date: Sep 2012
Location: Upstate NY
Posts: 274
Default

Interesting.

Strip off all your buffs. Check HP. Cast bravery. Bravery should add hp as per spell description. Here, I see it added correctly, and then the next time the function gets called, it goes up again until it hits some cap.

Perhaps you need to try with a char who's HP are not near or already capped? Try with a low level. Any buff with a slot 2 effect has this bug. If I let this code work outside the GL, spells like SoW leapfrog up and people move faster.

On my side, maybe I need to get your lastest versions of the files?
Reply With Quote
  #5  
Old 07-09-2013, 04:27 PM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

I sorta reproduced it but it only stacked once.

I changed the duration packet function to:

Code:
	EQApplicationPacket* outapp;
	outapp = new EQApplicationPacket(OP_Buff, sizeof(SpellBuffFade_Struct));
	SpellBuffFade_Struct* sbf = (SpellBuffFade_Struct*) outapp->pBuffer;

	sbf->entityid = GetID();
	sbf->slot = -1;
	sbf->spellid = spell_id;
	sbf->slotid = 0;
	sbf->effect = inlevel > 0 ? inlevel : GetLevel();
	sbf->level = 0;
	sbf->bufffade = 0;
	sbf->duration = duration;
	FastQueuePacket(&outapp);
Though I'm fairly certain level / effect are swapped on some clients so gotta look into that but that seemed to work for titanium.
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 01:50 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