View Single Post
  #6  
Old 01-07-2018, 08:28 PM
Darkscis
Sarnak
 
Join Date: Mar 2015
Posts: 62
Default

Quote:
Originally Posted by Lane View Post
That is insane! Wow! How complicated it is it to code a requirement of a stat to wear an item? I had a similar idea but no clue where to start.

Also that would be a change that would effect all players or would they need to download X and X file to get it working properly ?
Well that question really boils down to how familiar you are with C++ and the eqemu code. I spent a lot of time mucking about doing custom changes in the past so I knew the layout pretty well. I never got around to finishing it, but it was relatively straight forward. The only things I had left to finish was updating the cursor image correctly when an item was not able to be equipped (can be seen in video) and then having some way of checking each slot after each item change (ie, if you remove something that gives +15 STR you need to re-check each item to make sure it is still equippable).

As for that change itself, its completely server side so no need to distribute files for that particular feature. The way I did it did need to change the database schema slightly though, as I needed 2 new fields in the items table for required stat and required stat amount.

Quote:
Originally Posted by demonstar55 View Post
That would probably work out much nicer if someone implemented evolving items (base item has no race/class, can't equip, if you have the stats it evolves into something you can equip :P)

But not knowing enough about evolving items, I'm not sure if that would be doable, you might have to actually have them equipped first ...
I don't know anything about the evolving items either as it was after my time on live, so not sure how they would work out. I basically just hacked and slashed at the code to see if it was even possible, which it is

As to an easier/nicer way than the way I did it, most likely as I am only self taught. I certainly am no C professional. I would probably have ended up scrapping all the changes I did and re-doing it neatly as I figured out better ways to handle things anyway.
Reply With Quote