EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development: Custom Code (https://www.eqemulator.org/forums/forumdisplay.php?f=665)
-   -   Bypassing / alterring Is Equippable checks? (https://www.eqemulator.org/forums/showthread.php?t=43305)

Xanathol 05-13-2021 12:30 PM

Bypassing / alterring Is Equippable checks?
 
I wanted to experiment with some custom code to allow equipping of gear that a character does not otherwise meet the restrictions for in special circumstances (class, race, deity). I'm strictly using the RoF client.

In order to test this out, I went into EQ::ItemData::IsEquipable and commented everything out - simply return true, always.

Evenso, upon testing, I still get "Your class, deity, and/or race may not equip %s", item->name. I've been all over the code, setting a few breakpoints, and I cannot see where this is happening server side.

Is this still client side restricted or am I missing something to get this to work?

Thanks!

EQDencelle 05-13-2021 12:36 PM

the lines you commented out are just the server side checks, there are also client side checks and such.

why bypass this anyways? why not just alter the items in the database to allow what ever classes you want or all classes?

Xanathol 05-13-2021 01:33 PM

Quote:

Originally Posted by EQDencelle (Post 266661)
the lines you commented out are just the server side checks, there are also client side checks and such.

why bypass this anyways? why not just alter the items in the database to allow what ever classes you want or all classes?

Thanks for the confirmation.

Why? Ex: custom code where one could quest to obtain the ability to use gear of another class / race / etc. Lots of applications for it but if the client is halting it, its doa.


All times are GMT -4. The time now is 08:02 PM.

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