@@ -287,7 +287,7 @@ public final class Client extends GameShell {
287287 @ ObfuscatedName ("mb.bb" )
288288 public static long field1843 ;
289289 @ ObfuscatedName ("vb.vb" )
290- public static long field3132 = 0L ;
290+ public static long loginSeed = 0L ;
291291 @ ObfuscatedName ("g.i" )
292292 public static int menuX ;
293293 @ ObfuscatedName ("pc.a" )
@@ -817,7 +817,7 @@ public final class Client extends GameShell {
817817 @ ObfuscatedName ("td.n" )
818818 public static int camLookAtRate ;
819819 @ ObfuscatedName ("td.r" )
820- public static int field2949 ;
820+ public static int targetComId ;
821821 @ ObfuscatedName ("ga.B" )
822822 public static JagString [] chatScreenName = new JagString [100 ];
823823 @ ObfuscatedName ("a.jb" )
@@ -2779,7 +2779,7 @@ public static void getPlayerPosExtended(ClientPlayer arg0, int arg1, int arg2) {
27792779 arg0 .spotanimId = -1 ;
27802780 }
27812781 arg0 .spotanimFrame = 0 ;
2782- arg0 .field1984 = var21 >> 16 ;
2782+ arg0 .spotanimHeight = var21 >> 16 ;
27832783 if (arg0 .spotanimLastCycle > loopCycle ) {
27842784 arg0 .spotanimFrame = -1 ;
27852785 }
@@ -5437,7 +5437,7 @@ public static void getNpcPosExtended() {
54375437 int var6 = in .g4 ();
54385438 var2 .spotanimCycle = 0 ;
54395439 var2 .spotanimLastCycle = (var6 & 0xFFFF ) + loopCycle ;
5440- var2 .field1984 = var6 >> 16 ;
5440+ var2 .spotanimHeight = var6 >> 16 ;
54415441 var2 .spotanimFrame = 0 ;
54425442 if (var2 .spotanimLastCycle > loopCycle ) {
54435443 var2 .spotanimFrame = -1 ;
@@ -7307,7 +7307,7 @@ public static void doAction(int arg0) {
73077307 if (var3 == 37 ) {
73087308 // OPHELDT
73097309 out .p1Enc (21 );
7310- out .p4_alt1 (field2949 );
7310+ out .p4_alt1 (targetComId );
73117311 out .p4_alt2 (var2 );
73127312 out .p2 (var4 );
73137313 out .p2 (var1 );
@@ -7364,7 +7364,7 @@ public static void doAction(int arg0) {
73647364 crossY = ClientMouseListener .mouseClickY ;
73657365 // OPPLAYERT
73667366 out .p1Enc (221 );
7367- out .p4_alt3 (field2949 );
7367+ out .p4_alt3 (targetComId );
73687368 out .p2_alt1 (var4 );
73697369 }
73707370 }
@@ -7549,7 +7549,7 @@ public static void doAction(int arg0) {
75497549 out .p1Enc (168 );
75507550 out .p2_alt1 (var4 );
75517551 out .p2_alt2 (mapBuildBaseX + var1 );
7552- out .p4_alt3 (field2949 );
7552+ out .p4_alt3 (targetComId );
75537553 out .p2 (mapBuildBaseZ + var2 );
75547554 }
75557555 if (var3 == 23 ) {
@@ -7708,7 +7708,7 @@ public static void doAction(int arg0) {
77087708 targetVerb = var35 .targetVerb ;
77097709 targetMask = var35 .targetMask ;
77107710 useMode = 0 ;
7711- field2949 = var2 ;
7711+ targetComId = var2 ;
77127712 field1384 = JagString .join (new JagString []{field2564 , var35 .targetBase , field1393 });
77137713 if (targetMask == 16 ) {
77147714 redrawIcons = true ;
@@ -7813,7 +7813,7 @@ public static void doAction(int arg0) {
78137813 // OPNPCT
78147814 out .p1Enc (253 );
78157815 out .p2 (var4 );
7816- out .p4_alt3 (field2949 );
7816+ out .p4_alt3 (targetComId );
78177817 }
78187818 }
78197819 if (var3 == 45 || var3 == 51 || var3 == 13 || var3 == 35 ) {
@@ -7896,7 +7896,7 @@ public static void doAction(int arg0) {
78967896 out .p1Enc (225 );
78977897 out .p2 (var4 >> 14 & 0x7FFF );
78987898 out .p2_alt3 (var2 + mapBuildBaseZ );
7899- out .p4_alt3 (field2949 );
7899+ out .p4_alt3 (targetComId );
79007900 out .p2_alt1 (mapBuildBaseX + var1 );
79017901 }
79027902 if (var3 == 25 ) {
@@ -8399,12 +8399,12 @@ public static void loginPoll() {
83998399 }
84008400 if (in .pos == 8 ) {
84018401 in .pos = 0 ;
8402- field3132 = in .g8 ();
8402+ loginSeed = in .g8 ();
84038403 loginStep = 5 ;
84048404 }
84058405 }
84068406 if (loginStep == 5 ) {
8407- int [] var5 = new int []{(int ) (Math .random () * 9.9999999E7D ), (int ) (Math .random () * 9.9999999E7D ), (int ) (field3132 >> 32 ), (int ) field3132 };
8407+ int [] var5 = new int []{(int ) (Math .random () * 9.9999999E7D ), (int ) (Math .random () * 9.9999999E7D ), (int ) (loginSeed >> 32 ), (int ) loginSeed };
84088408 out .pos = 0 ;
84098409 out .p1 (10 );
84108410 out .p4 (var5 [0 ]);
0 commit comments