Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Feature Requests

Development::Feature Requests Post suggestions/feature requests here.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #12  
Old 05-04-2011, 08:36 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Hmm, looks like the Titanium encode is already set to be able to send up to 10, so maybe the clients can handle higher numbers after-all:

Code:
ENCODE(OP_SendCharInfo) {
        ENCODE_LENGTH_EXACT(CharacterSelect_Struct);
        SETUP_DIRECT_ENCODE(CharacterSelect_Struct, structs::CharacterSelect_Struct);
        int r;
        for(r = 0; r < 10; r++) {
                OUT(zone[r]);
                OUT(eyecolor1[r]);
                OUT(eyecolor2[r]);
                OUT(hairstyle[r]);
                OUT(primary[r]);
                if(emu->race[r] > 473)
                        eq->race[r] = 1;
                else
                        eq->race[r] = emu->race[r];
                OUT(class_[r]);
                OUT_str(name[r]);
                OUT(gender[r]);
                OUT(level[r]);
                OUT(secondary[r]);
                OUT(face[r]);
                OUT(beard[r]);
                int k;
                for(k = 0; k < 9; k++) {
                        OUT(equip[r][k]);
                        OUT(cs_colors[r][k].color);
                }
                OUT(haircolor[r]);
                OUT(gohome[r]);
            OUT(tutorial[r]);
                OUT(deity[r]);
                OUT(beardcolor[r]);
                eq->unknown820[r] = 0xFF;
                eq->unknown902[r] = 0xFF;
        }
        FINISH_ENCODE();
}
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
 


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 01:31 AM.


 

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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3