|
From: <fra...@us...> - 2014-11-22 01:35:54
|
Revision: 835
http://sourceforge.net/p/seq/svn/835
Author: fransick
Date: 2014-11-22 01:35:45 +0000 (Sat, 22 Nov 2014)
Log Message:
-----------
Fixed playerProfile struct
Modified Paths:
--------------
showeq/trunk/src/zonemgr.cpp
Modified: showeq/trunk/src/zonemgr.cpp
===================================================================
--- showeq/trunk/src/zonemgr.cpp 2014-11-21 23:06:32 UTC (rev 834)
+++ showeq/trunk/src/zonemgr.cpp 2014-11-22 01:35:45 UTC (rev 835)
@@ -315,6 +315,7 @@
player->profile.sSpellBook[i] = netStream.readInt32();
}
+ // Mem Spell Slots
int spellMemSlots = netStream.readUInt32NC();
for (int i = 0; i < spellMemSlots; i++) {
player->profile.sMemSpells[i] = netStream.readInt32();
@@ -356,20 +357,20 @@
player->profile.aa_assigned = netStream.readUInt32NC();
// Unknown
- netStream.skipBytes(16);
+ netStream.skipBytes(20);
player->profile.aa_unspent = netStream.readUInt32NC();
// Unknown
netStream.skipBytes(2);
-/*
+
// Bandolier
- netStream.skipBytes(1319);
+ netStream.skipBytes(996);
// Potion Belt
- netStream.skipBytes(160);
-*/
+ netStream.skipBytes(153);
+/*
int bandolierCount = netStream.readUInt32NC();
for (int i = 0; i < bandolierCount; i++) {
name = netStream.readText();
@@ -419,9 +420,9 @@
player->profile.potionBelt[i].itemId = netStream.readUInt32NC();
player->profile.potionBelt[i].icon = netStream.readUInt32NC();
}
-
+*/
// Unknown
- netStream.skipBytes(84);
+ netStream.skipBytes(72);
player->profile.endurance = netStream.readUInt32NC();
@@ -490,7 +491,7 @@
// Unknown
netStream.skipBytes(12);
- // Something (89 ints)
+ // Something (164 ints)
int sCount11 = netStream.readUInt32NC();
for (int i = 0; i < sCount11; i++) {
netStream.skipBytes(8);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|