The RoF2 client is now enabled by default. It is almost caught up to RoF Client compatibility.

This commit is contained in:
Trevius
2014-12-06 14:38:34 -06:00
parent 60563aead6
commit 97a34b5793
9 changed files with 61 additions and 42 deletions
+2 -4
View File
@@ -17,8 +17,7 @@ void RegisterAllPatches(EQStreamIdentifier &into) {
SoD::Register(into);
Underfoot::Register(into);
RoF::Register(into);
// Uncomment the line below to enable RoF2 Client
//RoF2::Register(into);
RoF2::Register(into);
}
void ReloadAllPatches() {
@@ -28,6 +27,5 @@ void ReloadAllPatches() {
SoD::Reload();
Underfoot::Reload();
RoF::Reload();
// Uncomment the line below to enable RoF2 Client
//RoF2::Reload();
RoF2::Reload();
}
+10 -10
View File
@@ -2045,15 +2045,6 @@ namespace RoF2
outapp->WriteUInt32(emu->skills[r]);
}
// deprecated
// Write zeroes for the rest of the skills
/*
for(uint32 r = 0; r < structs::MAX_PP_SKILL - MAX_PP_SKILL; r++)
{
outapp->WriteUInt32(emu->skills[r]);
}
*/
outapp->WriteUInt32(25); // Unknown count
for (uint32 r = 0; r < 25; r++)
@@ -2334,7 +2325,6 @@ namespace RoF2
outapp->WriteUInt8(emu->pvp);
outapp->WriteUInt8(0); // Unknown
outapp->WriteUInt8(emu->gm);
outapp->WriteUInt32(emu->guild_id);
outapp->WriteUInt8(0); // Unknown - observed 1 in a live packet.
outapp->WriteUInt32(0); // Unknown - observed 1 in a live packet.
@@ -2349,6 +2339,7 @@ namespace RoF2
outapp->WriteUInt32(emu->silver_bank);
outapp->WriteUInt32(emu->copper_bank);
// Commenting out for RoF Test
outapp->WriteUInt32(0); // Unknown
outapp->WriteUInt32(0); // Unknown
outapp->WriteUInt32(0); // Unknown
@@ -2396,6 +2387,13 @@ namespace RoF2
outapp->WriteUInt32(0); // Unknown
outapp->WriteUInt32(0); // Unknown
/*
// Begin RoF2 Test
for (uint32 r = 0; r < 1000; r++)
outapp->WriteUInt8(0); // Unknown
// End RoF2 Test
// Block of 121 unknown bytes
for (uint32 r = 0; r < 121; r++)
outapp->WriteUInt8(0); // Unknown
@@ -2537,6 +2535,8 @@ namespace RoF2
outapp->WriteUInt32(0); // Unknown
outapp->WriteUInt32(0); // Unknown
*/
outapp->WriteUInt8(emu->groupAutoconsent);
outapp->WriteUInt8(emu->raidAutoconsent);
outapp->WriteUInt8(emu->guildAutoconsent);
+3 -3
View File
@@ -1205,7 +1205,7 @@ union
/*00000*/ uint8 unknown_rof52[82]; //
/*00000*/ uint32 unknown_rof53; // Seen 50
uint8 unknown_rof54[1325]; // Unknown Section
/*00000*/ uint8 unknown_rof54[1325]; // Unknown Section
// Bottom of Struct:
/*00000*/ uint8 groupAutoconsent; // 0=off, 1=on
@@ -2833,8 +2833,8 @@ struct Door_Struct
/*0085*/ uint8 unknown0085; // seen 1 or 0 or rarely 2C or 90 or ED or 2D or A1
/*0086*/ uint8 unknown0086; // seen 0 or rarely FF or FE or 10 or 5A or 82
/*0087*/ uint8 unknown0087; // seen 0 or rarely 02 or 7C
/*0088*/ uint8 unknown0088[8]; // mostly 0s, the last 3 bytes are something tho
/*0096*/
/*0088*/ uint8 unknown0088[12]; // mostly 0s, the last 3 bytes are something tho
/*0100*/
};
struct DoorSpawns_Struct {