Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Server Code Submissions

Reply
 
Thread Tools Display Modes
  #16  
Old 06-22-2009, 08:26 PM
Shendare
Dragon
 
Join Date: Apr 2009
Location: California
Posts: 814
Default

Nah, they start giving me a title and they'll expect me to figure out how to work the SVN for pushing my own code, and that'll get scary. :P
Reply With Quote
  #17  
Old 06-22-2009, 08:44 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

The SVN makes things so easy It's only scary the first time. After that, it's just awesome. As long as you learn a couple of suggestions to follow before doing commits, it is pretty straight forward.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #18  
Old 06-22-2009, 08:47 PM
gaeorn
Developer
 
Join Date: Apr 2009
Location: USA
Posts: 478
Default

You can also set up your own subversion repository to give you time to get used to how to use it.
Reply With Quote
  #19  
Old 06-22-2009, 09:27 PM
Shendare
Dragon
 
Join Date: Apr 2009
Location: California
Posts: 814
Default

Believe me, I am more than happy posting my diffs for someone else to test and commit, for as long as someone is willing to do it.

It's always good to have someone else to beta test one's code anyway.
Reply With Quote
  #20  
Old 06-23-2009, 08:29 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Well, I finally started messing with the wearchange packets and it was a big success. The only thing I added to the SVN so far is that #texture will now let NPCs and PCs retain their armor tint, but it proves that using wearchange will work perfectly for handling tint from in-game without requiring repops.

The only thing not working perfectly with the adjustments to #texture is that "#texture 255" is supposed to reset the target back to their original texture and it doesn't yet. I need to figure out the best way to pull that info from the database. That shouldn't be too hard, but I am not going to worry about it for a while. I may get back to it eventually, but it isn't a big deal IMO.

The only issue left with illusion packets is that they don't send size yet. I am pretty sure I know where size is in the structures, and I think it is a float. I might be able to get that figured out. If so, I will probably try to change the last argument on SendIllusionPacket from armor_tint to size. I don't think there is any reason to have armor tint in there after all, so I might as well swap it out for size while it is being removed. This is another issue that isn't very high priority, but I might get to it eventually.

Next, I will probably change the #wc command so it will update all clients instead of just the person using the command. Currently, only the one using the command actually sees the change happen and everyone else just sees the target as the same it was before.

Since that will let people change individual armor pieces on NPCs, the next thing would be to maybe add extra arguments for color for the slot being set. Then, you would use something like "#wc 1 3 200 0 100 and it would change slot 1 to plate and set the color to 200 0 100 in RGB values. It would probably also be good to have a command that will let you change an entire set tint at once, so that will probably get added soon too. I might even try to add one that lets you set tint values similar to how #fixmob works. So, it might increase or decrease part of the tint by a certain amount. Most likely, I would set it in increments of 10. Then, you could have hotkeys that do "#settint red next" to have it increase the red tint by 10. Then, just have hotkeys for each color for prev and next and you could come up with custom colors quickly.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
Reply


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:28 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