Project 1999

Go Back   Project 1999 > Server Issues > Resolved Issues

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 11-23-2009, 06:32 PM
ammut ammut is offline
Kobold


Join Date: Nov 2009
Posts: 123
Default necro pet issues

Now that you fixed the melee dmg absorption issue, could the devs make good of their words and fix the pet dual wield bug as well as the necro pet heal spell line please.
  #2  
Old 11-23-2009, 07:00 PM
Aeolwind Aeolwind is offline
Developer

Aeolwind's Avatar

Join Date: Oct 2009
Location: Watauga, TN
Posts: 1,641
Send a message via AIM to Aeolwind Send a message via MSN to Aeolwind Send a message via Yahoo to Aeolwind
Default

Next on the list! Promise. Just a matter of someone with C++ experience having the time to get it tweaked.
  #3  
Old 11-23-2009, 07:48 PM
Haynar Haynar is offline
Developer

Haynar's Avatar

Join Date: Oct 2009
Location: West of the Mississippi
Posts: 2,955
Default

What are the dual wield issues?

I had an EQEmu server set up, and I was testing with higher level pets and they dual wielded just fine.

Is it some pets or all with problems?

I looked at the code before, and saw some possible issues. But then I tested a pet before changes, and he was dual wielding when I gave him weapons to use.

Haynar
  #4  
Old 11-23-2009, 09:16 PM
Aeolwind Aeolwind is offline
Developer

Aeolwind's Avatar

Join Date: Oct 2009
Location: Watauga, TN
Posts: 1,641
Send a message via AIM to Aeolwind Send a message via MSN to Aeolwind Send a message via Yahoo to Aeolwind
Default

They don't duel wield early enough.
  #5  
Old 11-23-2009, 09:54 PM
Dolalin Dolalin is offline
Planar Protector

Dolalin's Avatar

Join Date: Oct 2009
Location: UK
Posts: 2,564
Default

Sorry, repost from another thread, but this is I believe where the issue lies.

Currently the source for the DW check is this:

mobai.cpp:1271
Code:
//can only dual weild without a weapon if your a monk
if((GetEquipment(MATERIAL_SECONDARY) != 0 && GetLevel() > 39) || myclass == MONK || myclass == MONKGM) {
That means, only if your pet's actual level is over 39 will it dual wield. Well we have to add a special exception for lower level pets.

The situation we aim to achieve is that:

Pets summoned with 29-39th spells will dual-wield if given weapons (if offhand is not empty). Pets with 44th and 49th spells should dual wield without weapons.

Changing the check to this should achieve that goal:

Code:
if((GetEquipment(MATERIAL_SECONDARY) != 0 && GetLevel() > 39) || (GetOwner() != NULL && GetEquipment(MATERIAL_SECONDARY) != 0 && GetLevel() > 24) || (GetOwner() != NULL && GetLevel() > 37) || myclass == MONK || myclass == MONKGM) {
Added two new conditions based on the return of GetOwner() (if returns non-null, I'm a pet), and GetLevel() (self-explanatory).

Only one question: What are the lowest level 29 and 44 pets? I THINK they're 25 and 38 respectively but I could be wrong.
Last edited by Dolalin; 11-23-2009 at 11:22 PM..
  #6  
Old 11-23-2009, 09:54 PM
Haynar Haynar is offline
Developer

Haynar's Avatar

Join Date: Oct 2009
Location: West of the Mississippi
Posts: 2,955
Default

Dolalin posted changes that should work.

I think that lowest level 29 pet, goes to 24, but not positive.
Last edited by Haynar; 11-23-2009 at 09:58 PM..
Closed Thread


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 04:55 AM.


Everquest is a registered trademark of Daybreak Game Company LLC.
Project 1999 is not associated or affiliated in any way with Daybreak Game Company LLC.
Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.