Page 1 of 5 123 ... LastLast
Results 1 to 15 of 65

Thread: 3/15 - CTD Issues

  1. #1
    Administrator
    Join Date
    Sep 2005
    Posts
    357

    3/15 - CTD Issues

    Latest patch looks to have changed structs again and is causing seqfault. I struggle a bit more with struct changes so hoping someone smarter than me is able to take a look at the playerprofile struct. Once stable, more than happy to go about fixing any changed opcodes.

    Pehaps the FTP will bring a few more back to these boards! One can hope right?

    Edit: Adding 128 bytes to the end of the playerprofile struct has eliminated the immediate CTD on zoning. Will see about digging into the changes more this weekend.
    Last edited by fransick; 03-16-2012 at 08:49 AM.

  2. #2
    Developer
    Join Date
    Nov 2007
    Posts
    539

    Re: 3/15 - CTD Issues

    From updating myseq offsets, it looks like they changed the size of the items from 12 to 16. I will start looking at structs in about an hour. I have a little free time today.

    Razzle

  3. #3
    Administrator
    Join Date
    Sep 2005
    Posts
    357

    Re: 3/15 - CTD Issues

    By no means complete, but the following patch got maps and skittles and stopped SegFaulting for me. It's a diff against the latest SVN (revision 760) that Razzle just recently uploaded.

    Code:
    diff -rubp /root/seq/showeq/ /showeq-current/ 
    diff -rubp /root/seq/showeq/conf/zoneopcodes.xml showeq-current/conf/zoneopcodes.xml
    --- showeq-current/conf/zoneopcodes.xml    2012-03-17 09:54:54.871986279 -0400
    +++ showeq/conf/zoneopcodes.xml    2012-03-17 09:16:53.000000000 -0400
    @@ -9,11 +9,11 @@
             <comment>Position updates</comment>
             <payload dir="server" typename="uint8_t" sizechecktype="none"/>
         </opcode>
    -    <opcode id="45d7" name="OP_MovementHistory" updated="12/17/11">
    +    <opcode id="1910" name="OP_MovementHistory" updated="03/16/12">
             <comment></comment>
             <payload dir="client" typename="uint8_t" sizechecktype="none"/>
         </opcode>
    -    <opcode id="0CAE" name="OP_DeleteSpawn" updated="11/16/11">
    +    <opcode id="28c7" name="OP_DeleteSpawn" updated="03/16/12">
             <comment>old DeleteSpawnCode</comment>
             <payload dir="both" typename="deleteSpawnStruct" sizechecktype="match"/>
         </opcode>
    @@ -26,7 +26,7 @@
             <comment>GuildMOTD</comment>
             <payload dir="server" typename="guildMOTDStruct" sizechecktype="none"/>
         </opcode>
    -    <opcode id="0C54" name="OP_InspectAnswer" updated="11/15/11">
    +    <opcode id="0c54" name="OP_InspectAnswer" updated="03/16/12">
             <comment>old InspectDataCode</comment>
             <payload dir="both" typename="inspectDataStruct" sizechecktype="match"/>
         </opcode>
    @@ -34,7 +34,7 @@
             <comment>Coords in a zone that will port you to another zone</comment>
             <payload dir="server" typename="zonePointsStruct" sizechecktype="none"/>
         </opcode>
    -    <opcode id="3EDC" name="OP_TargetMouse" updated="11/15/11">
    +    <opcode id="3edc" name="OP_TargetMouse" updated="03/16/12">
             <comment>Targeting a person - old ClientTargetCode</comment>
             <payload dir="both" typename="clientTargetStruct" sizechecktype="match"/>
         </opcode>
    @@ -46,23 +46,23 @@
             <payload dir="server" typename="groupFollowStruct" sizechecktype="match"/>
             <comment>You join a group</comment>
         </opcode>
    -    <opcode id="44C2" name="OP_GroupFollow2" updated="11/15/11">
    +    <opcode id="74e9" name="OP_GroupFollow2" updated="03/16/12">
             <payload dir="server" typename="groupFollowStruct" sizechecktype="match"/>
             <comment>Player joins your group</comment>
         </opcode>
    -    <opcode id="7139" name="OP_GroupUpdate" updated="11/15/11">
    +    <opcode id="367f" name="OP_GroupUpdate" updated="03/16/12">
             <payload dir="server" typename="uint8_t" sizechecktype="none"/>
             <comment>Variable length packet with group member names</comment>
         </opcode>
    -    <opcode id="74E9" name="OP_GroupDisband" updated="11/15/11">
    +    <opcode id="367b" name="OP_GroupDisband" updated="03/16/12">
             <comment>You disband from group</comment>
             <payload dir="server" typename="groupDisbandStruct" sizechecktype="match"/>
         </opcode>
    -    <opcode id="3C58" name="OP_GroupDisband2" updated="11/15/11">
    +    <opcode id="4b82" name="OP_GroupDisband2" updated="03/16/12">
             <comment>Other disbands from group</comment>
             <payload dir="server" typename="groupDisbandStruct" sizechecktype="match"/>
         </opcode>
    -    <opcode id="4B82" name="OP_GroupLeader" updated="11/15/11">
    +    <opcode id="5fe3" name="OP_GroupLeader" updated="03/16/12">
             <comment>Group leader change</comment>
             <payload dir="server" typename="groupLeaderChangeStruct" sizechecktype="match"/>
         </opcode>
    @@ -78,7 +78,7 @@
             <comment>old FormattedMessageCode</comment>
             <payload dir="server" typename="formattedMessageStruct" sizechecktype="none"/>
         </opcode>
    -    <opcode id="0E24" name="OP_SpawnDoor" updated="11/15/11">
    +    <opcode id="7113" name="OP_SpawnDoor" updated="03/16/12">
             <comment>old DoorSpawnsCode</comment>
             <payload dir="server" typename="doorStruct" sizechecktype="modulus"/>
         </opcode>
    @@ -108,7 +108,7 @@
             <payload dir="server" typename="groupInviteStruct" sizechecktype="match"/>
             <comment>You got invited to a group</comment>
         </opcode>
    -    <opcode id="3288" name="OP_GroupInvite" updated="11/15/11">
    +    <opcode id="3288" name="OP_GroupInvite" updated="03/16/12">
             <payload dir="both" typename="groupInviteStruct" sizechecktype="none"/>
             <comment>You invite or get invited</comment>
         </opcode>
    @@ -154,7 +154,7 @@
             <comment>Server updating on hunger/thirst</comment>
             <payload dir="server" typename="staminaStruct" sizechecktype="match"/>
         </opcode>
    -    <opcode id="70C6" name="OP_Consider" updated="11/16/11">
    +    <opcode id="70c6" name="OP_Consider" updated="03/16/12">
             <comment>old ConsiderCode</comment>
             <payload dir="both" typename="considerStruct" sizechecktype="match"/>
         </opcode>
    @@ -170,19 +170,19 @@
             <comment></comment>
             <payload dir="server" typename="none" sizechecktype="match"/>
         </opcode>
    -    <opcode id="2736" name="OP_GroupInvite2" updated="11/15/11">
    +    <opcode id="5251" name="OP_GroupInvite2" updated="03/16/12">
             <payload dir="client" typename="groupInviteStruct" sizechecktype="match"/>
             <comment>You're inviting someone and you are grouped</comment>
         </opcode>
    -    <opcode id="6C16" name="OP_GroupCancelInvite" updated="11/15/11">
    +    <opcode id="2736" name="OP_GroupCancelInvite" updated="03/16/12">
             <payload dir="both" typename="groupDeclineStruct" sizechecktype="match"/>
             <comment>Declining to join a group</comment>
         </opcode>
    -    <opcode id="4118" name="OP_NewZone" updated="11/16/11">
    +    <opcode id="43ac" name="OP_NewZone" updated="03/16/12">
             <comment>old NewZoneCode</comment>
             <payload dir="server" typename="newZoneStruct" sizechecktype="match"/>
         </opcode>
    -    <opcode id="5C85" name="OP_GroundSpawn" updated="11/15/11">
    +    <opcode id="33e5" name="OP_GroundSpawn" updated="03/16/12">
             <comment>old MakeDropCode</comment>
             <payload dir="server" typename="makeDropStruct" sizechecktype="none"/>
             <payload dir="client" typename="uint8_t" sizechecktype="none"/>
    @@ -191,7 +191,7 @@
             <comment>old ExpUpdateCode</comment>
             <payload dir="server" typename="expUpdateStruct" sizechecktype="match"/>
         </opcode>
    -    <opcode id="58c5" name="OP_RemoveSpawn" updated="11/16/11">
    +    <opcode id="3164" name="OP_RemoveSpawn" updated="03/16/12">
             <comment>Remove spawn from zone</comment>
         <payload dir="both" typename="removeSpawnStruct" sizechecktype="none"/>
         </opcode>
    @@ -199,16 +199,16 @@
             <comment>old NewCorpseCode</comment>
             <payload dir="server" typename="newCorpseStruct" sizechecktype="match"/>
         </opcode>
    -    <opcode id="33E5" name="OP_ClickObject" updated="11/15/11">
    +    <opcode id="5f0d" name="OP_ClickObject" updated="03/16/12">
             <comment>old RemDropCode</comment>
             <payload dir="both" typename="remDropStruct" sizechecktype="match"/>
         </opcode>
    -    <opcode id="7F9E" name="OP_Action" updated="11/15/11">
    +    <opcode id="1b85" name="OP_Action" updated="03/16/12">
             <comment></comment>
             <payload dir="both" typename="actionStruct" sizechecktype="match"/>
             <payload dir="both" typename="actionAltStruct" sizechecktype="match"/>
         </opcode>
    -    <opcode id="3EA8" name="OP_Action2" updated="11/15/11">
    +    <opcode id="631a" name="OP_Action2" updated="03/16/12">
             <comment>old ActionCode</comment>
             <payload dir="both" typename="action2Struct" sizechecktype="match"/>
         </opcode>
    @@ -216,7 +216,7 @@
             <comment>Spawn being illusioned (changing forms)</comment>
             <payload dir="both" typename="spawnIllusionStruct" sizechecktype="match"/>
         </opcode>
    -    <opcode id="8543" name="OP_BuffFadeMsg" updated="11/15/11">
    +    <opcode id="3887" name="OP_BuffFadeMsg" updated="03/16/12">
             <comment>old SpellFadeCode</comment>
             <payload dir="both" typename="spellFadedStruct" sizechecktype="none"/>
         </opcode>
    @@ -228,7 +228,7 @@
             <comment>old MemSpellCode</comment>
             <payload dir="both" typename="memSpellStruct" sizechecktype="match"/>
         </opcode>
    -    <opcode id="3164" name="OP_Emote" updated="11/15/11">
    +    <opcode id="0000" name="OP_Emote" updated="11/15/11">
             <comment>old EmoteTextCode</comment>
             <payload dir="both" typename="emoteTextStruct" sizechecktype="none"/>
         </opcode>
    @@ -309,13 +309,13 @@
         <opcode id="4e99" name="OP_Claims" updated="12/17/11">
             <comment>Contents of claims window</comment>
         </opcode>
    -    <opcode id="2864" name="OP_PollQuestions" updated="12/17/11">
    +    <opcode id="47b3" name="OP_PollQuestions" updated="03/16/12">
             <comment>SOE in-game player poll questions</comment>
         </opcode>
    -    <opcode id="0f6d" name="OP_PollResponses" updated="12/17/11">
    +    <opcode id="a1e6" name="OP_PollResponses" updated="03/16/12">
             <comment>Poll response choices</comment>
         </opcode>
    -    <opcode id="2071" name="OP_ShroudProgression" updated="12/17/11">
    +    <opcode id="064d" name="OP_ShroudProgression" updated="03/16/12">
             <comment>Unlocked shrouds</comment>
         </opcode>
         <opcode id="01e5" name="OP_Fellowship" updated="12/17/11">
    @@ -324,7 +324,7 @@
         <opcode id="4274" name="OP_ExpandedGuildInfo" updated="12/17/11">
             <comment>Variable length guild ranks and other misc guild data</comment>
         </opcode>
    -    <opcode id="6255" name="OP_GuildBank" updated="12/17/11">
    +    <opcode id="7b22" name="OP_GuildBank" updated="03/16/12">
             <comment>Guild bank contents</comment>
         </opcode>
         <opcode id="1d40" name="OP_OpenTradeskillContainer" updated="12/17/11">
    @@ -360,7 +360,7 @@
         <opcode id="71fb" name="OP_TributeUpdate" updated="03/14/07">
             <comment>Tribute information</comment>
         </opcode>
    -    <opcode id="4849" name="OP_ItemPlayerPacket" updated="11/15/11">
    +    <opcode id="6cfe" name="OP_ItemPlayerPacket" updated="03/16/12">
             <comment>Inventory/bank items coming over during zone</comment>
             <payload dir="server" typename="uint8_t" sizechecktype="none"/>
         </opcode>
    @@ -440,7 +440,7 @@
         <opcode id="61ac" name="OP_LoadSpellSet" updated="02/13/07">
             <comment>/mem spellsetname</comment>
         </opcode>
    -    <opcode id="2683" name="OP_InspectRequest" updated="12/17/11">
    +    <opcode id="2683" name="OP_InspectRequest" updated="03/16/12">
             <comment>old InspectRequestCode</comment>
         </opcode>
         <opcode id="1B7B" name="OP_GetGuildMOTD" updated="12/17/11">
    diff -rubp showeq/src/everquest.h showeq-current/src/everquest.h
    --- showeq-current/src/everquest.h    2012-03-17 09:54:57.945934074 -0400
    +++ showeq/src/everquest.h    2012-03-16 21:03:27.203892766 -0400
    @@ -816,8 +816,8 @@ struct charProfileStruct
     /*28502*/ uint8_t   guildAutoconsent;   // 0=off, 1=on
     /*28503*/ uint8_t   unknown26759[5];    // ***Placeholder (6/29/2005)
     /*28508*/ uint32_t  showhelm;           // 0=no, 1=yes
    -/*28512*/ uint8_t   unknown26768[1048]; // ***Placeholder (2/13/2007)
    -/*29560*/
    +/*28512*/ uint8_t   unknown26768[1176]; // ***Placeholder (2/13/2007) changed from 1048 to 1176 3/16/2012
    +/*29688*/
     };
     
     #if 0
    @@ -2198,7 +2198,7 @@ struct leadExpUpdateStruct
     
     /*
     ** Player Spawn Update
    -** Length: 19 Octets
    +** Length: 23 Octets
     ** OpCode: SpawnUpdateCode
     */
     
    @@ -2209,8 +2209,8 @@ struct SpawnUpdateStruct
     /*0004*/ int16_t  arg1;                   // first option
     /*0006*/ int16_t  arg2;                   // second option
     /*0008*/ uint8_t  arg3;                   // third option?
    -/*0009*/ uint8_t unknown0009[10];
    -/*0019*/
    +/*0009*/ uint8_t unknown0009[14];
    +/*0023*/
     };
     
     /*
    Still have a fair number of opcodes to verify. Waiting in the hopes someone will update the PlayerProfile struct before going full on trying to piece together the opcodes. Your mileage may vary...

    Fransick

  4. #4
    Developer
    Join Date
    Nov 2007
    Posts
    539

    Re: 3/15 - CTD Issues

    I took some packet captures and will start on structs later. I am kind of slow since i don't do this often. But i took some pre-patch data so i should be able to work them out pretty quick. Just getting time to look at them is the trick.

    Razzle

  5. #5
    Developer
    Join Date
    Nov 2007
    Posts
    539

    Re: 3/15 - CTD Issues

    Quick? Ha! I guess quick was dependent on the structs being all correct prior to the patch. Ok, the critical stuff lined up where it needs to be originally. Can get it realigned with all the important stuff. I see how stuff is off. Much is related to adding the prestige flags to items. So gonna work through it and try to fix some of the places other things are off while I am at it. Taking a guess on some stuff, but working on making it better.

    Razzle

  6. #6
    Administrator
    Join Date
    Sep 2005
    Posts
    357

    Re: 3/15 - CTD Issues

    Quote Originally Posted by Razzle View Post
    Quick? Ha! I guess quick was dependent on the structs being all correct prior to the patch. Ok, the critical stuff lined up where it needs to be originally. Can get it realigned with all the important stuff. I see how stuff is off. Much is related to adding the prestige flags to items. So gonna work through it and try to fix some of the places other things are off while I am at it. Taking a guess on some stuff, but working on making it better.

    Razzle
    Wish I were more help here... structs are not my forte. Perhaps with them fixed they'll make more sense and I'll be able to figure out enough to be useful. Good luck!

    fransick
    Last edited by fransick; 03-18-2012 at 07:12 AM. Reason: Bad grammar!

  7. #7
    Developer
    Join Date
    Nov 2007
    Posts
    539

    Re: 3/15 - CTD Issues

    I got most of player profile struct worked out. Only part left is to determine if length of lastname was increased from 32 to 36 or if there is just a new value after the lastname. I will decompile the exe later tonight and find out for sure.

    But i got the rest of the struct to align.

    Will post some changes later. The two year old got up from nap early so my time was up.

    Razzle

  8. #8
    Developer
    Join Date
    Oct 2010
    Posts
    219

    Re: 3/15 - CTD Issues

    This is what I've figured out for changes to playerProfileStruct and subsequently to charProfileStruct. Still some opcodes to be found, things aren't dying properly.

    Code:
    *** showeq-5.13.10.4.virgin/src/everquest.h    Sun Mar  4 15:07:47 2012
    --- showeq-5.13.10.4/src/everquest.h    Sun Mar 18 22:09:31 2012
    ***************
    *** 682,737 ****
      /*00229*/ uint8_t   eyecolor2;          // Player right eye color
      /*00230*/ uint8_t   hairstyle;          // Player hair style
      /*00231*/ uint8_t   beard;              // Player beard type
    ! /*00232*/ uint8_t unknown00232[22];
    ! /*00254*/ uint32_t  item_material[9];   // Item texture/material of worn items
    ! /*00290*/ uint8_t unknown00290[222];
    ! /*00512*/ Color_Struct item_tint[9];    // RR GG BB 00
    ! /*00548*/ AA_Array  aa_array[MAX_AA];   // AAs
    ! /*04148*/ uint32_t  points;             // Unspent Practice points
    ! /*04152*/ uint32_t  MANA;               // Current MANA
    ! /*04156*/ uint32_t  curHp;              // Current HP without +HP equipment
    ! /*04160*/ uint32_t  STR;                // Strength
    ! /*04164*/ uint32_t  STA;                // Stamina
    ! /*04168*/ uint32_t  CHA;                // Charisma
    ! /*04172*/ uint32_t  DEX;                // Dexterity
    ! /*04176*/ uint32_t  INT;                // Intelligence
    ! /*04180*/ uint32_t  AGI;                // Agility
    ! /*04184*/ uint32_t  WIS;                // Wisdom
    ! /*04188*/ uint8_t   face;               // Player face
    ! /*04189*/ uint8_t unknown04189[175];
    ! /*04364*/ int32_t   sSpellBook[720];    // List of the Spells in spellbook
    ! /*07244*/ int32_t   sMemSpells[MAX_SPELL_SLOTS]; // List of spells memorized
    ! /*07292*/ uint8_t unknown07292[20];
    ! /*07312*/ uint32_t  platinum;           // Platinum Pieces on player
    ! /*07316*/ uint32_t  gold;               // Gold Pieces on player
    ! /*07320*/ uint32_t  silver;             // Silver Pieces on player
    ! /*07324*/ uint32_t  copper;             // Copper Pieces on player
    ! /*07328*/ uint32_t  platinum_cursor;    // Platinum Pieces on cursor
    ! /*07332*/ uint32_t  gold_cursor;        // Gold Pieces on cursor
    ! /*07336*/ uint32_t  silver_cursor;      // Silver Pieces on cursor
    ! /*07340*/ uint32_t  copper_cursor;      // Copper Pieces on cursor
    ! /*07344*/ uint32_t  skills[MAX_KNOWN_SKILLS]; // List of skills
    ! /*07744*/ uint32_t  innateSkills[25];
    ! /*07844*/ uint8_t unknown07844[16];
    ! /*07860*/ uint32_t  toxicity;           // Potion Toxicity (15=too toxic, each potion adds 3)
    ! /*07864*/ uint32_t  thirst;             // Drink (ticks till next drink)
    ! /*07868*/ uint32_t  hunger;             // Food (ticks till next eat)
    ! /*07872*/ uint8_t unknown07872[20];
    ! /*07892*/ spellBuff buffs[MAX_BUFFS];   // Buffs currently on the player
    ! /*11588*/ uint32_t  disciplines[MAX_DISCIPLINES]; // Known disciplines
    ! /*11988*/ uint8_t unknown10932[400];
    ! /*12188*/ uint32_t recastTimers[MAX_RECAST_TYPES]; // Timers (GMT of last use)
    ! /*12468*/ uint8_t unknown11412[480];
    ! /*12948*/ uint32_t  endurance;          // Current endurance
    ! /*12952*/ uint32_t  aa_spent;           // Number of spent AA points (including glyphs)
    ! /*12956*/ uint32_t  aa_assigned;        // Number of points currently assigned to AAs
    ! /*12960*/ uint32_t unknown11904[4];
    ! /*12976*/ uint32_t  aa_unspent;         // Unspent AA points
    ! /*12980*/ uint8_t unknown11924[4];
    ! /*12984*/ BandolierStruct bandoliers[MAX_BANDOLIERS]; // bandolier contents
    ! /*19384*/ InlineItem potionBelt[MAX_POTIONS_IN_BELT]; // potion belt
    ! /*19744*/ uint8_t unknown18008[92];
    ! /*19836*/
      };
      
      /*
    --- 682,737 ----
      /*00229*/ uint8_t   eyecolor2;          // Player right eye color
      /*00230*/ uint8_t   hairstyle;          // Player hair style
      /*00231*/ uint8_t   beard;              // Player beard type
    ! /*00232*/ uint8_t unknown00232[110];
    ! /*00342*/ uint32_t  item_material[9];   // Item texture/material of worn items
    ! /*00378*/ uint8_t unknown00290[222];
    ! /*00600*/ Color_Struct item_tint[9];    // RR GG BB 00
    ! /*00636*/ AA_Array  aa_array[MAX_AA];   // AAs
    ! /*04236*/ uint32_t  points;             // Unspent Practice points
    ! /*04240*/ uint32_t  MANA;               // Current MANA
    ! /*04244*/ uint32_t  curHp;              // Current HP without +HP equipment
    ! /*04248*/ uint32_t  STR;                // Strength
    ! /*04252*/ uint32_t  STA;                // Stamina
    ! /*04256*/ uint32_t  CHA;                // Charisma
    ! /*04260*/ uint32_t  DEX;                // Dexterity
    ! /*04264*/ uint32_t  INT;                // Intelligence
    ! /*04268*/ uint32_t  AGI;                // Agility
    ! /*04272*/ uint32_t  WIS;                // Wisdom
    ! /*04276*/ uint8_t   face;               // Player face
    ! /*04277*/ uint8_t unknown04189[211];
    ! /*04488*/ int32_t   sSpellBook[720];    // List of the Spells in spellbook
    ! /*07368*/ int32_t   sMemSpells[MAX_SPELL_SLOTS]; // List of spells memorized
    ! /*07416*/ uint8_t unknown07292[20];
    ! /*07436*/ uint32_t  platinum;           // Platinum Pieces on player
    ! /*07440*/ uint32_t  gold;               // Gold Pieces on player
    ! /*07444*/ uint32_t  silver;             // Silver Pieces on player
    ! /*07448*/ uint32_t  copper;             // Copper Pieces on player
    ! /*07452*/ uint32_t  platinum_cursor;    // Platinum Pieces on cursor
    ! /*07456*/ uint32_t  gold_cursor;        // Gold Pieces on cursor
    ! /*07460*/ uint32_t  silver_cursor;      // Silver Pieces on cursor
    ! /*07464*/ uint32_t  copper_cursor;      // Copper Pieces on cursor
    ! /*07468*/ uint32_t  skills[MAX_KNOWN_SKILLS]; // List of skills
    ! /*07868*/ uint32_t  innateSkills[25];
    ! /*07968*/ uint8_t unknown07844[16];
    ! /*07984*/ uint32_t  toxicity;           // Potion Toxicity (15=too toxic, each potion adds 3)
    ! /*07988*/ uint32_t  thirst;             // Drink (ticks till next drink)
    ! /*07992*/ uint32_t  hunger;             // Food (ticks till next eat)
    ! /*07996*/ uint8_t unknown07872[20];
    ! /*08016*/ spellBuff buffs[MAX_BUFFS];   // Buffs currently on the player
    ! /*11712*/ uint32_t  disciplines[MAX_DISCIPLINES]; // Known disciplines
    ! /*12112*/ uint8_t unknown10932[400];
    ! /*12512*/ uint32_t recastTimers[MAX_RECAST_TYPES]; // Timers (GMT of last use)
    ! /*12592*/ uint8_t unknown11412[480];
    ! /*13072*/ uint32_t  endurance;          // Current endurance
    ! /*13076*/ uint32_t  aa_spent;           // Number of spent AA points (including glyphs)
    ! /*13080*/ uint32_t  aa_assigned;        // Number of points currently assigned to AAs
    ! /*13084*/ uint32_t unknown11904[4];
    ! /*13100*/ uint32_t  aa_unspent;         // Unspent AA points
    ! /*13104*/ uint8_t unknown11924[4];
    ! /*13108*/ BandolierStruct bandoliers[MAX_BANDOLIERS]; // bandolier contents
    ! /*19508*/ InlineItem potionBelt[MAX_POTIONS_IN_BELT]; // potion belt
    ! /*19868*/ uint8_t unknown18008[92];
    ! /*19960*/
      };
      
      /*
    ***************
    *** 743,823 ****
      {
      /*00000*/ uint32_t  checksum;           //
      /*00004*/ playerProfileStruct profile;  // Profile
    ! /*19836*/ char      name[64];           // Name of player
    ! /*19900*/ char      lastName[32];       // Last name of player
    ! /*19932*/ uint8_t   unknown18196[8];    //***Placeholder (1/18/2006)
    ! /*19940*/ int32_t   guildID;            // guildID
    ! /*19944*/ uint32_t  birthdayTime;       // character birthday
    ! /*19948*/ uint32_t  lastSaveTime;       // character last save time
    ! /*19952*/ uint32_t  timePlayedMin;      // time character played
    ! /*19956*/ uint8_t unknown18220[4];
    ! /*19960*/ uint8_t   pvp;                // 1=pvp, 0=not pvp
    ! /*19961*/ uint8_t   anon;               // 2=roleplay, 1=anon, 0=not anon
    ! /*19962*/ uint8_t   gm;                 // 0=no, 1=yes (guessing!)
    ! /*19963*/ int8_t    guildstatus;        // 0=member, 1=officer, 2=guildleader
    ! /*19964*/ uint8_t unknown18228[16];
    ! /*19980*/ uint32_t  exp;                // Current Experience
    ! /*19984*/ uint8_t unknown18240[12];
    ! /*19996*/ uint8_t   languages[MAX_KNOWN_LANGS]; // List of languages    ccc
    ! /*20022*/ uint8_t unknown18277[6];      // All 0x00 (language buffer?)
    ! /*20028*/ float     y;                  // Players y position
    ! /*20032*/ float     x;                  // Players x position
    ! /*20036*/ float     z;                  // Players z position
    ! /*20040*/ float     heading;            // Players heading
    ! /*20044*/ uint32_t  standState;         // 0x64 = stand
    ! /*20048*/ uint32_t  platinum_bank;      // Platinum Pieces in Bank
    ! /*20052*/ uint32_t  gold_bank;          // Gold Pieces in Bank
    ! /*20056*/ uint32_t  silver_bank;        // Silver Pieces in Bank
    ! /*20060*/ uint32_t  copper_bank;        // Copper Pieces in Bank
    ! /*20064*/ uint32_t  platinum_shared;    // Shared platinum pieces    ccc
    ! /*20068*/ uint8_t unknown18324[2124];   // Added 1088 for HoT
    ! /*22192*/ uint32_t  expansions;         // Bitmask for expansions    ccc
    ! /*22196*/ uint8_t unknown20452[12];
    ! /*22208*/ uint32_t  autosplit;          // 0 = off, 1 = on        ccc
    ! /*22212*/ uint8_t unknown20468[16];
    ! /*22228*/ uint16_t  zoneId;             // see zones.h            ccc
    ! /*22230*/ uint16_t  zoneInstance;       // Instance id    ccc
    ! /*22232*/ uint8_t unknown20486[992];
    ! /*23224*/ uint32_t  leadAAActive;       // 0 = leader AA off, 1 = leader AA on    ccc
    ! /*23228*/ uint8_t unknown21484[4];
    ! /*23232*/ uint32_t  ldon_guk_points;    // Earned GUK points        ccc
    ! /*23236*/ uint32_t  ldon_mir_points;    // Earned MIR points        ccc
    ! /*23240*/ uint32_t  ldon_mmc_points;    // Earned MMC points        ccc
    ! /*23244*/ uint32_t  ldon_ruj_points;    // Earned RUJ points        ccc
    ! /*23248*/ uint32_t  ldon_tak_points;    // Earned TAK points        ccc
    ! /*23252*/ uint32_t  ldon_avail_points;  // Available LDON points    ccc
    ! /*23256*/ uint8_t unknown21512[144];
    ! /*23400*/ uint32_t  tributeTime;        // Time remaining on tribute (millisecs)    ccc
    ! /*23404*/ uint32_t  careerTribute;      // Total favor points for this char        ccc
    ! /*23408*/ uint32_t  unknown21656;       // *** Placeholder                ccc
    ! /*23412*/ uint32_t  currentTribute;     // Current tribute points            ccc
    ! /*23416*/ uint32_t  unknown21664;       // *** Placeholder
    ! /*23420*/ uint32_t  tributeActive;      // 0 = off, 1=on
    ! /*23424*/ TributeStruct tributes[MAX_TRIBUTES]; // Current tribute loadout        ccc
    ! /*23464*/ uint8_t unknown21712[84];    // Added 208 bytes for HoT BETA            ccc
    ! /*23548*/ float     expGroupLeadAA;     // Current group lead exp points        ccc
    ! /*23552*/ uint32_t unknown21808;
    ! /*23556*/ float     expRaidLeadAA;      // Current raid lead AA exp points        ccc
    ! /*23560*/ uint32_t unknown21816;
    ! /*23564*/ uint32_t  groupLeadAAUnspent; // Unspent group lead AA points            ccc
    ! /*23568*/ uint32_t  raidLeadAAUnspent;  // Unspent raid lead AA points            ccc
    ! /*23572*/ uint32_t  leadershipAAs[MAX_LEAD_AA]; // Leader AA ranks            ccc
    ! /*23700*/ uint8_t unknown21956[128];
    ! /*23828*/ uint32_t  airRemaining;       // Air supply (seconds)                ccc
    ! /*23832*/ uint8_t unknown22088[4608];
    ! /*28440*/ uint32_t  expAA;              // Exp earned in current AA point        ccc
    ! /*28444*/ uint8_t unknown26700[40];
    ! /*28484*/ uint32_t  currentRadCrystals; // Current count of radiant crystals        ccc
    ! /*28488*/ uint32_t  careerRadCrystals;  // Total count of radiant crystals ever        ccc
    ! /*28492*/ uint32_t  currentEbonCrystals;// Current count of ebon crystals        ccc
    ! /*28496*/ uint32_t  careerEbonCrystals; // Total count of ebon crystals ever        ccc
    ! /*28500*/ uint8_t   groupAutoconsent;   // 0=off, 1=on
    ! /*28501*/ uint8_t   raidAutoconsent;    // 0=off, 1=on
    ! /*28502*/ uint8_t   guildAutoconsent;   // 0=off, 1=on
    ! /*28503*/ uint8_t   unknown26759[5];    // ***Placeholder (6/29/2005)
    ! /*28508*/ uint32_t  showhelm;           // 0=no, 1=yes
    ! /*28512*/ uint8_t   unknown26768[1048]; // ***Placeholder (2/13/2007)
    ! /*29560*/
      };
      
      #if 0
    --- 743,824 ----
      {
      /*00000*/ uint32_t  checksum;           //
      /*00004*/ playerProfileStruct profile;  // Profile
    ! /*19960*/ char      name[64];           // Name of player
    ! /*20024*/ char      lastName[32];       // Last name of player
    ! /*20056*/ uint8_t   unknown18196[12];    //***Placeholder (1/18/2006)
    ! /*20068*/ int32_t   guildID;            // guildID
    ! /*20072*/ uint32_t  birthdayTime;       // character birthday
    ! /*20076*/ uint32_t  unknown20076;
    ! /*20080*/ uint32_t  lastSaveTime;       // character last save time
    ! /*20084*/ uint32_t  timePlayedMin;      // time character played
    ! /*20088*/ uint8_t unknown18220[5];
    ! /*20093*/ uint8_t   pvp;                // 1=pvp, 0=not pvp
    ! /*20094*/ uint8_t   anon;               // 2=roleplay, 1=anon, 0=not anon
    ! /*20095*/ uint8_t   gm;                 // 0=no, 1=yes (guessing!)
    ! /*20096*/ int8_t    guildstatus;        // 0=member, 1=officer, 2=guildleader
    ! /*20097*/ uint8_t unknown18228[11];
    ! /*20108*/ uint32_t  exp;                // Current Experience
    ! /*20112*/ uint8_t unknown18240[12];
    ! /*20124*/ uint8_t   languages[MAX_KNOWN_LANGS]; // List of languages
    ! /*20150*/ uint8_t unknown18277[6];      // All 0x00 (language buffer?)
    ! /*20156*/ float     y;                  // Players y position
    ! /*20160*/ float     x;                  // Players x position
    ! /*20164*/ float     z;                  // Players z position
    ! /*20168*/ float     heading;            // Players heading
    ! /*20172*/ uint32_t  standState;         // 0x64 = stand
    ! /*20176*/ uint32_t  platinum_bank;      // Platinum Pieces in Bank
    ! /*20180*/ uint32_t  gold_bank;          // Gold Pieces in Bank
    ! /*20184*/ uint32_t  silver_bank;        // Silver Pieces in Bank
    ! /*20188*/ uint32_t  copper_bank;        // Copper Pieces in Bank
    ! /*20192*/ uint32_t  platinum_shared;    // Shared platinum pieces
    ! /*20196*/ uint8_t unknown18324[2124];   // Added 1088 for HoT
    ! /*22320*/ uint32_t  expansions;         // Bitmask for expansions
    ! /*22324*/ uint8_t unknown20452[12];
    ! /*22336*/ uint32_t  autosplit;          // 0 = off, 1 = on
    ! /*22340*/ uint8_t unknown20468[16];
    ! /*22356*/ uint16_t  zoneId;             // see zones.h
    ! /*22358*/ uint16_t  zoneInstance;       // Instance id
    ! /*22360*/ uint8_t unknown20486[992];
    ! /*23352*/ uint32_t  leadAAActive;       // 0 = leader AA off, 1 = leader AA on
    ! /*23356*/ uint8_t unknown21484[4];
    ! /*23360*/ uint32_t  ldon_guk_points;    // Earned GUK points
    ! /*23364*/ uint32_t  ldon_mir_points;    // Earned MIR points
    ! /*23368*/ uint32_t  ldon_mmc_points;    // Earned MMC points
    ! /*23372*/ uint32_t  ldon_ruj_points;    // Earned RUJ points
    ! /*23376*/ uint32_t  ldon_tak_points;    // Earned TAK points
    ! /*23380*/ uint32_t  ldon_avail_points;  // Available LDON points
    ! /*23384*/ uint8_t unknown21512[144];
    ! /*23528*/ uint32_t  tributeTime;        // Time remaining on tribute (millisecs)
    ! /*23532*/ uint32_t  careerTribute;      // Total favor points for this char
    ! /*23536*/ uint32_t  unknown21656;       // *** Placeholder
    ! /*23540*/ uint32_t  currentTribute;     // Current tribute points
    ! /*23544*/ uint32_t  unknown21664;       // *** Placeholder
    ! /*23548*/ uint32_t  tributeActive;      // 0 = off, 1=on
    ! /*23552*/ TributeStruct tributes[MAX_TRIBUTES]; // Current tribute loadout
    ! /*23592*/ uint8_t unknown21712[84];    // Added 208 bytes for HoT BETA
    ! /*23676*/ float     expGroupLeadAA;     // Current group lead exp points
    ! /*23680*/ uint32_t unknown21808;
    ! /*23684*/ float     expRaidLeadAA;      // Current raid lead AA exp points
    ! /*23688*/ uint32_t unknown21816;
    ! /*23692*/ uint32_t  groupLeadAAUnspent; // Unspent group lead AA points
    ! /*23696*/ uint32_t  raidLeadAAUnspent;  // Unspent raid lead AA points
    ! /*23700*/ uint32_t  leadershipAAs[MAX_LEAD_AA]; // Leader AA ranks
    ! /*23828*/ uint8_t unknown21956[128];
    ! /*23956*/ uint32_t  airRemaining;       // Air supply (seconds)
    ! /*23960*/ uint8_t unknown22088[4608];
    ! /*28568*/ uint32_t  expAA;              // Exp earned in current AA point
    ! /*28572*/ uint8_t unknown26700[40];
    ! /*28612*/ uint32_t  currentRadCrystals; // Current count of radiant crystals
    ! /*28616*/ uint32_t  careerRadCrystals;  // Total count of radiant crystals ever
    ! /*28620*/ uint32_t  currentEbonCrystals;// Current count of ebon crystals
    ! /*28624*/ uint32_t  careerEbonCrystals; // Total count of ebon crystals ever
    ! /*28628*/ uint8_t   groupAutoconsent;   // 0=off, 1=on
    ! /*28629*/ uint8_t   raidAutoconsent;    // 0=off, 1=on
    ! /*28630*/ uint8_t   guildAutoconsent;   // 0=off, 1=on
    ! /*28631*/ uint8_t   unknown26759[5];    // ***Placeholder (6/29/2005)
    ! /*28636*/ uint32_t  showhelm;           // 0=no, 1=yes
    ! /*28640*/ uint8_t   unknown26768[1048]; // ***Placeholder (2/13/2007)
    ! /*29688*/
      };
      
      #if 0

  9. #9
    Developer
    Join Date
    Nov 2007
    Posts
    539

    Re: 3/15 - CTD Issues

    I would almost swear Newby copied that off my computer downstairs. Spot on what i had for player profile.

    Razzle

  10. #10
    Developer
    Join Date
    Oct 2010
    Posts
    219

    Re: 3/15 - CTD Issues

    You should change your password more often.

  11. #11
    Developer
    Join Date
    Nov 2007
    Posts
    539

    Re: 3/15 - CTD Issues

    I got the spawnstruct all worked out.

    Will get a patch up later so others can use. Then after we get through filling in opcodes and are happy will put up a tarball.

    Razzle

  12. #12
    Administrator
    Join Date
    Sep 2005
    Posts
    357

    Re: 3/15 - CTD Issues

    I am away this week on business but can work on opcodes this coming weekend if that helps. thanks for all the struct work!

    fransick

  13. #13
    Registered User
    Join Date
    Mar 2003
    Posts
    5

    Re: 3/15 - CTD Issues

    Been ages since I was around using SEQ, but now I started to play a bit again. You say you will get patches up later, where can those be found? Or are they only for a chosen few to test?

  14. #14
    Developer
    Join Date
    Nov 2007
    Posts
    539

    Re: 3/15 - CTD Issues

    I can update here so all can get. We don't have a dedicated developer on this part of project. Mostly it is a group effort. I know i have only gotten about three hours to work on this since patch. I usually only help when others get stuck. I will try to help get svn updated and tarballs posted as i have time. Life is pretty busy lately so mostly i just help.

    Razzle

  15. #15
    Registered User
    Join Date
    May 2004
    Posts
    41

    Re: 3/15 - CTD Issues

    Erick467, you can get the pre patch tar ball at http://www.showeq.net/forums/showthr...6477#post46477 then make the changes in Fransick's patch and Newby's diff in this thread. It will get you up and running, although you will see some structure errors and corpses don't show the x when they are dead.

Thread Information

Users Browsing this Thread

There are currently 3 users browsing this thread. (0 members and 3 guests)

Posting Permissions

You may post new threads
You may post replies
You may post attachments
You may edit your posts
HTML code is Off
vB code is On
Smilies are On
[IMG] code is On