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

Development: Custom Code This is for code thatdoes not emulate live and wont be added to the official code.

Reply
 
Thread Tools Display Modes
  #1  
Old 05-13-2021, 12:30 PM
Xanathol
Sarnak
 
Join Date: Oct 2009
Posts: 52
Default 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!
Reply With Quote
  #2  
Old 05-13-2021, 12:36 PM
EQDencelle
Fire Beetle
 
Join Date: Feb 2018
Posts: 5
Default

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?
Reply With Quote
  #3  
Old 05-13-2021, 01:33 PM
Xanathol
Sarnak
 
Join Date: Oct 2009
Posts: 52
Default

Quote:
Originally Posted by EQDencelle View Post
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.
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 06: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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3