I think I got most of the code for the new slot arrangements in last night, but I still need to finish it off before putting anything on the SVN. The slot conversion stuff is a little tricky, so I am trying to get everything working without messing up one of the conversion pieces. Some pieces of code look at the actual slot that the item is allowed to be used for and some are just looking to see what slot the item is currently in. I must have done one of the conversions wrong somewhere, because currently I the items I set to be Power Source equipable are now only showing up as Ammo slot usable.
I just need to go through the changes I am working on and make sure I have each piece set to do the appropriate handling of the different slot settings. I think I have most of it set correctly, so it should be just that I am just doing a conversion somewhere that doesn't need one and it is throwing something off.
My main concern is that I get everything right, because messing up could potentially cause some issues. Hopefully it wouldn't mean any problems with normal slots, since it should mostly only be related to the Power Source or new Slot 22 handling. Though, since in Titanium slot 22 is the first open inventory slot, I am trying to make sure I don't cause problems with that. If something is wrong with the code for it, it shouldn't be hard to correct it quickly. I just don't want any items to be deleted by mistake, but I really doubt that will happen. That is really the only thing that scares me about the changes.
As soon as I get it done and tested on my test server, I will put it on the SVN as well as on Storm Haven. So, if there are going to be any issues with it, I should know within the first day so it can be corrected quickly. Basically, I am just giving a warning about trying it the first day that it goes onto the SVN. Or, at least to do a DB backup before putting it on the server. I will try to make sure all possible issues are tested, but one person testing vs a whole server testing in actual production are 2 different things :P
|