EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development: Custom Code (https://www.eqemulator.org/forums/forumdisplay.php?f=665)
-   -   how do I make paladins dual wield? (https://www.eqemulator.org/forums/showthread.php?t=35862)

bodi 10-13-2012 08:20 PM

how do I make paladins dual wield?
 
I've tried changing the class_skill and skill_caps tables to give dual wield to paladins on my sever, but I can't get it to be trainable at GM or even with skill set, wont accept 2nd weapon. Is this hard coded or is there a workaround? Thanks

ChaosSlayerZ 10-13-2012 09:32 PM

see this thread

http://www.eqemulator.org/forums/sho...ght=dual+wield

bodi 10-13-2012 10:48 PM

Quote:

Originally Posted by ChaosSlayerZ (Post 213304)

Not a complete link, sir.

bodi 10-13-2012 10:49 PM

nevermind, i had copied and pasted it, works when ya click it =P

bodi 10-13-2012 10:55 PM

I will try editing the mob.cpp and report back! Any tips or instructions on the scripts is welcome, but since the two tables are already in game now, hopefully just an edit of the mob.cpp will make it possible. Thanks for the link.

ChaosSlayerZ 10-13-2012 11:01 PM

np, I am still curious if it will work for Titanium

bodi 10-13-2012 11:13 PM

So, i'm editing source and then recompiling? Whew, this is dangerous!

ChaosSlayerZ 10-13-2012 11:23 PM

yeah, if you figured out what to change =)
cause I am looking at the mob.cpp and can't seem to figure out what needs to be changed...

If I am reading this right:

Code:

bool Mob::CanThisClassDualWield(void) const
{
        if (!IsClient()) {
        return(GetSkill(DUAL_WIELD) > 0);
    } else {
                const ItemInst* inst = CastToClient()->GetInv().GetItem(SLOT_PRIMARY);
                // 2HS, 2HB, or 2HP
                if (inst && inst->IsType(ItemClassCommon)) {
                        const Item_Struct* item = inst->GetItem();
                        if ((item->ItemType == ItemType2HB) || (item->ItemType == ItemType2HS) || (item->ItemType == ItemType2HPierce))
                                return false;
                } else {
                        //No weapon in hand... using hand-to-hand...
                        //only monks and beastlords? can dual wield their fists.
                        if(class_ != MONK && class_ != MONKGM && class_ != BEASTLORD && class_ != BEASTLORDGM) {
                return false;
            }
                }
               
                return (CastToClient()->HasSkill(DUAL_WIELD));        // No skill = no chance
        }
}

it checks if player has dual wield skill greater than 0, but then it just the value in DB should be enough, and nothing needs to be changed, unless I am misunderstanding something.

bodi 10-14-2012 09:30 AM

Yeah, I'm not seeing the values that I could even change to allow it.

rhyotte 10-14-2012 02:51 PM

Let me be very "'B'erry" clear....

PISS ON TITANIUM!!!! caps quite literally held down on purpose...no caps locks.. :)
Get a F'ck'n life...get UF / Hot / VoA etc... Titanium sucked ass... :)

Have a nice day :)

ChaosSlayerZ 10-14-2012 04:13 PM

Quote:

Originally Posted by rhyotte (Post 213332)
Let me be very "'B'erry" clear....

PISS ON TITANIUM!!!! caps quite literally held down on purpose...no caps locks.. :)
Get a F'ck'n life...get UF / Hot / VoA etc... Titanium sucked ass... :)

Have a nice day :)

awesome f'kin statement man! But you don't really contribute to actual coding solution titanium or not :rolleyes:

bodi 10-14-2012 04:34 PM

I can't even get it to work on UF!

I have set skill 22 to 1 in Class_Skill and created entries in skill_caps for class 3 and class_ 3. I have even #setskill 22 100 in game and still won't take a second weapon. The closest I've gotten is that if you go to skill_caps and add class 3(paladin) in class, and class 7(monk) in class_ field, you can get the GM trainer to offer the skill at 0 level, but if you try to train it, it says you will NEVER get to use this skill. That's discouraging considering its an NPC telling me that. lol

Any ideas?

Caryatis 10-14-2012 05:30 PM

Quote:

But you don't really contribute to actual coding solution
And you would know about not contributing to the code...

I will confirm it works(custom skills for classes), however you are on your own since I dont like anybody involved in this thread.

lerxst2112 10-14-2012 06:04 PM

Make sure you're not trying to equip two primary hand only weapons. If you're not and it still doesn't work then it's possible the client is hardcoded to not allow it.

bodi 10-14-2012 06:17 PM

Caryatis,
Thanks for adding your specific brand of unhelpful, acerbic condescension to this thread. I think its the most productive way to go about things, too. Look back at your recent posts to anyone; you are just a miserable prick in all of them. I'm here to help, though. There are 3 important tips I want you to remember in life from this point forward:
1) This is for fun. Lighten the f*ck up.
2) We are not the reason you don't have a girlfriend. You are.
3) Die in a fire.

Now, if anyone else has any idea how I might get this thing (dual wield to paladins) figured out, let me know. Otherwise, I have found another direction to go, even if it isn't my first choice! Thanks in advance!


All times are GMT -4. The time now is 04:53 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.