689 lines
21 KiB
Java
689 lines
21 KiB
Java
import net.runelite.mapping.Export;
|
|
import net.runelite.mapping.Implements;
|
|
import net.runelite.mapping.ObfuscatedGetter;
|
|
import net.runelite.mapping.ObfuscatedName;
|
|
import net.runelite.mapping.ObfuscatedSignature;
|
|
import net.runelite.rs.ScriptOpcodes;
|
|
|
|
@ObfuscatedName("gv")
|
|
@Implements("ServerPacket")
|
|
public class ServerPacket {
|
|
@ObfuscatedName("z")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2126;
|
|
@ObfuscatedName("n")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2134;
|
|
@ObfuscatedName("v")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2105;
|
|
@ObfuscatedName("u")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2098;
|
|
@ObfuscatedName("r")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2113;
|
|
@ObfuscatedName("p")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2099;
|
|
@ObfuscatedName("q")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2101;
|
|
@ObfuscatedName("m")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2177;
|
|
@ObfuscatedName("y")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2103;
|
|
@ObfuscatedName("i")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2140;
|
|
@ObfuscatedName("c")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2132;
|
|
@ObfuscatedName("b")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2167;
|
|
@ObfuscatedName("o")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2107;
|
|
@ObfuscatedName("a")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2102;
|
|
@ObfuscatedName("e")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2109;
|
|
@ObfuscatedName("w")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2110;
|
|
@ObfuscatedName("t")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2111;
|
|
@ObfuscatedName("g")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2112;
|
|
@ObfuscatedName("x")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2145;
|
|
@ObfuscatedName("h")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2114;
|
|
@ObfuscatedName("s")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2115;
|
|
@ObfuscatedName("f")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2096;
|
|
@ObfuscatedName("j")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2139;
|
|
@ObfuscatedName("d")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2118;
|
|
@ObfuscatedName("l")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2119;
|
|
@ObfuscatedName("k")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2120;
|
|
@ObfuscatedName("ac")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2095;
|
|
@ObfuscatedName("az")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2122;
|
|
@ObfuscatedName("aw")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2123;
|
|
@ObfuscatedName("aa")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2124;
|
|
@ObfuscatedName("ap")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2104;
|
|
@ObfuscatedName("ar")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2133;
|
|
@ObfuscatedName("ab")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2127;
|
|
@ObfuscatedName("ax")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2128;
|
|
@ObfuscatedName("as")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2117;
|
|
@ObfuscatedName("ao")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2130;
|
|
@ObfuscatedName("al")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2159;
|
|
@ObfuscatedName("ad")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2141;
|
|
@ObfuscatedName("an")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2121;
|
|
@ObfuscatedName("ai")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2106;
|
|
@ObfuscatedName("ak")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2135;
|
|
@ObfuscatedName("aq")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2136;
|
|
@ObfuscatedName("am")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2137;
|
|
@ObfuscatedName("ae")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2138;
|
|
@ObfuscatedName("av")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2100;
|
|
@ObfuscatedName("ah")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2129;
|
|
@ObfuscatedName("ag")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2174;
|
|
@ObfuscatedName("aj")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2182;
|
|
@ObfuscatedName("ay")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2168;
|
|
@ObfuscatedName("au")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2144;
|
|
@ObfuscatedName("af")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2142;
|
|
@ObfuscatedName("at")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2146;
|
|
@ObfuscatedName("bx")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2147;
|
|
@ObfuscatedName("bh")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2148;
|
|
@ObfuscatedName("bd")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2149;
|
|
@ObfuscatedName("bm")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2150;
|
|
@ObfuscatedName("bv")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2151;
|
|
@ObfuscatedName("bj")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2152;
|
|
@ObfuscatedName("bs")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2153;
|
|
@ObfuscatedName("bz")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2154;
|
|
@ObfuscatedName("bc")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2155;
|
|
@ObfuscatedName("bk")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2156;
|
|
@ObfuscatedName("ba")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2097;
|
|
@ObfuscatedName("bn")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2158;
|
|
@ObfuscatedName("be")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2157;
|
|
@ObfuscatedName("bu")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2160;
|
|
@ObfuscatedName("bi")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2161;
|
|
@ObfuscatedName("bb")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2162;
|
|
@ObfuscatedName("bt")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2163;
|
|
@ObfuscatedName("by")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2164;
|
|
@ObfuscatedName("bq")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2165;
|
|
@ObfuscatedName("bo")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2116;
|
|
@ObfuscatedName("br")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2143;
|
|
@ObfuscatedName("bl")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2166;
|
|
@ObfuscatedName("bf")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2169;
|
|
@ObfuscatedName("bg")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2170;
|
|
@ObfuscatedName("bw")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2171;
|
|
@ObfuscatedName("bp")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2172;
|
|
@ObfuscatedName("cz")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2173;
|
|
@ObfuscatedName("ck")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2183;
|
|
@ObfuscatedName("cv")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2175;
|
|
@ObfuscatedName("co")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2176;
|
|
@ObfuscatedName("cs")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2179;
|
|
@ObfuscatedName("cg")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2178;
|
|
@ObfuscatedName("cn")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2125;
|
|
@ObfuscatedName("cd")
|
|
@ObfuscatedSignature(
|
|
signature = "Lgv;"
|
|
)
|
|
public static final ServerPacket field2180;
|
|
@ObfuscatedName("fl")
|
|
@ObfuscatedGetter(
|
|
intValue = -302162321
|
|
)
|
|
static int field2131;
|
|
@ObfuscatedName("cy")
|
|
@ObfuscatedGetter(
|
|
intValue = -1102910255
|
|
)
|
|
@Export("id")
|
|
public final int id;
|
|
@ObfuscatedName("cj")
|
|
@ObfuscatedGetter(
|
|
intValue = -1349590603
|
|
)
|
|
@Export("length")
|
|
public final int length;
|
|
|
|
static {
|
|
field2126 = new ServerPacket(0, 6);
|
|
field2134 = new ServerPacket(1, -2);
|
|
field2105 = new ServerPacket(2, 7);
|
|
field2098 = new ServerPacket(3, -2);
|
|
field2113 = new ServerPacket(4, -2);
|
|
field2099 = new ServerPacket(5, 0);
|
|
field2101 = new ServerPacket(6, 2);
|
|
field2177 = new ServerPacket(7, -1);
|
|
field2103 = new ServerPacket(8, 4);
|
|
field2140 = new ServerPacket(9, 6);
|
|
field2132 = new ServerPacket(10, 5);
|
|
field2167 = new ServerPacket(11, 1);
|
|
field2107 = new ServerPacket(12, 8);
|
|
field2102 = new ServerPacket(13, 10);
|
|
field2109 = new ServerPacket(14, -2);
|
|
field2110 = new ServerPacket(15, -2);
|
|
field2111 = new ServerPacket(16, 0);
|
|
field2112 = new ServerPacket(17, 1);
|
|
field2145 = new ServerPacket(18, 20);
|
|
field2114 = new ServerPacket(19, 6);
|
|
field2115 = new ServerPacket(20, -1);
|
|
field2096 = new ServerPacket(21, 14);
|
|
field2139 = new ServerPacket(22, -1);
|
|
field2118 = new ServerPacket(23, -1);
|
|
field2119 = new ServerPacket(24, 6);
|
|
field2120 = new ServerPacket(25, 2);
|
|
field2095 = new ServerPacket(26, 8);
|
|
field2122 = new ServerPacket(27, 12);
|
|
field2123 = new ServerPacket(28, -2);
|
|
field2124 = new ServerPacket(29, 2);
|
|
field2104 = new ServerPacket(30, 3);
|
|
field2133 = new ServerPacket(31, -2);
|
|
field2127 = new ServerPacket(32, -2);
|
|
field2128 = new ServerPacket(33, 5);
|
|
field2117 = new ServerPacket(34, 3);
|
|
field2130 = new ServerPacket(35, 1);
|
|
field2159 = new ServerPacket(36, -2);
|
|
field2141 = new ServerPacket(37, 6);
|
|
field2121 = new ServerPacket(38, 15);
|
|
field2106 = new ServerPacket(39, 6);
|
|
field2135 = new ServerPacket(40, 6);
|
|
field2136 = new ServerPacket(41, 5);
|
|
field2137 = new ServerPacket(42, 6);
|
|
field2138 = new ServerPacket(43, 1);
|
|
field2100 = new ServerPacket(44, 2);
|
|
field2129 = new ServerPacket(45, -2);
|
|
field2174 = new ServerPacket(46, 6);
|
|
field2182 = new ServerPacket(47, 1);
|
|
field2168 = new ServerPacket(48, -2);
|
|
field2144 = new ServerPacket(49, -2);
|
|
field2142 = new ServerPacket(50, 8);
|
|
field2146 = new ServerPacket(51, 4);
|
|
field2147 = new ServerPacket(52, 0);
|
|
field2148 = new ServerPacket(53, -2);
|
|
field2149 = new ServerPacket(54, 4);
|
|
field2150 = new ServerPacket(55, 1);
|
|
field2151 = new ServerPacket(56, -2);
|
|
field2152 = new ServerPacket(57, 2);
|
|
field2153 = new ServerPacket(58, 0);
|
|
field2154 = new ServerPacket(59, -2);
|
|
field2155 = new ServerPacket(60, 2);
|
|
field2156 = new ServerPacket(61, -2);
|
|
field2097 = new ServerPacket(62, -1);
|
|
field2158 = new ServerPacket(63, 6);
|
|
field2157 = new ServerPacket(64, 4);
|
|
field2160 = new ServerPacket(65, 2);
|
|
field2161 = new ServerPacket(66, -2);
|
|
field2162 = new ServerPacket(67, 0);
|
|
field2163 = new ServerPacket(68, 6);
|
|
field2164 = new ServerPacket(69, 2);
|
|
field2165 = new ServerPacket(70, 28);
|
|
field2116 = new ServerPacket(71, -2);
|
|
field2143 = new ServerPacket(72, 2);
|
|
field2166 = new ServerPacket(73, 8);
|
|
field2169 = new ServerPacket(74, 0);
|
|
field2170 = new ServerPacket(75, 10);
|
|
field2171 = new ServerPacket(76, 0);
|
|
field2172 = new ServerPacket(77, 4);
|
|
field2173 = new ServerPacket(78, 5);
|
|
field2183 = new ServerPacket(79, 2);
|
|
field2175 = new ServerPacket(80, -1);
|
|
field2176 = new ServerPacket(81, 4);
|
|
field2179 = new ServerPacket(82, -2);
|
|
field2178 = new ServerPacket(83, 5);
|
|
field2125 = new ServerPacket(84, 7);
|
|
field2180 = new ServerPacket(85, 4);
|
|
}
|
|
|
|
ServerPacket(int var1, int var2) {
|
|
this.id = var1;
|
|
this.length = var2;
|
|
}
|
|
|
|
@ObfuscatedName("ac")
|
|
@ObfuscatedSignature(
|
|
signature = "(ILcu;ZI)I",
|
|
garbageValue = "-402041204"
|
|
)
|
|
static int method3577(int var0, Script var1, boolean var2) {
|
|
if (var0 == ScriptOpcodes.CLIENTCLOCK) {
|
|
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = Client.cycle;
|
|
return 1;
|
|
} else {
|
|
int var3;
|
|
int var4;
|
|
if (var0 == ScriptOpcodes.INV_GETOBJ) {
|
|
Interpreter.Interpreter_intStackSize -= 2;
|
|
var3 = Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize];
|
|
var4 = Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize + 1];
|
|
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = WorldMapDecoration.method344(var3, var4);
|
|
return 1;
|
|
} else if (var0 == ScriptOpcodes.INV_GETNUM) {
|
|
Interpreter.Interpreter_intStackSize -= 2;
|
|
var3 = Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize];
|
|
var4 = Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize + 1];
|
|
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = FloorUnderlayDefinition.ItemContainer_getCount(var3, var4);
|
|
return 1;
|
|
} else if (var0 == ScriptOpcodes.INV_TOTAL) {
|
|
Interpreter.Interpreter_intStackSize -= 2;
|
|
var3 = Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize];
|
|
var4 = Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize + 1];
|
|
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = WorldMapEvent.method801(var3, var4);
|
|
return 1;
|
|
} else if (var0 == ScriptOpcodes.INV_SIZE) {
|
|
var3 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize];
|
|
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = StudioGame.getInvDefinition(var3).size;
|
|
return 1;
|
|
} else if (var0 == ScriptOpcodes.STAT) {
|
|
var3 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize];
|
|
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = Client.currentLevels[var3];
|
|
return 1;
|
|
} else if (var0 == ScriptOpcodes.STAT_BASE) {
|
|
var3 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize];
|
|
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = Client.levels[var3];
|
|
return 1;
|
|
} else if (var0 == ScriptOpcodes.STAT_XP) {
|
|
var3 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize];
|
|
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = Client.experience[var3];
|
|
return 1;
|
|
} else {
|
|
int var5;
|
|
if (var0 == ScriptOpcodes.COORD) {
|
|
var3 = WorldMapRectangle.plane;
|
|
var4 = class223.baseX * 64 + (class223.localPlayer.x >> 7);
|
|
var5 = class286.baseY * 64 + (class223.localPlayer.y >> 7);
|
|
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = (var4 << 14) + var5 + (var3 << 28);
|
|
return 1;
|
|
} else if (var0 == ScriptOpcodes.COORDX) {
|
|
var3 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize];
|
|
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var3 >> 14 & 16383;
|
|
return 1;
|
|
} else if (var0 == ScriptOpcodes.COORDZ) {
|
|
var3 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize];
|
|
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var3 >> 28;
|
|
return 1;
|
|
} else if (var0 == ScriptOpcodes.COORDY) {
|
|
var3 = Interpreter.Interpreter_intStack[--Interpreter.Interpreter_intStackSize];
|
|
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var3 & 16383;
|
|
return 1;
|
|
} else if (var0 == ScriptOpcodes.MAP_MEMBERS) {
|
|
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = Client.isMembersWorld ? 1 : 0;
|
|
return 1;
|
|
} else if (var0 == ScriptOpcodes.INVOTHER_GETOBJ) {
|
|
Interpreter.Interpreter_intStackSize -= 2;
|
|
var3 = Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize] + 32768;
|
|
var4 = Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize + 1];
|
|
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = WorldMapDecoration.method344(var3, var4);
|
|
return 1;
|
|
} else if (var0 == ScriptOpcodes.INVOTHER_GETNUM) {
|
|
Interpreter.Interpreter_intStackSize -= 2;
|
|
var3 = Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize] + 32768;
|
|
var4 = Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize + 1];
|
|
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = FloorUnderlayDefinition.ItemContainer_getCount(var3, var4);
|
|
return 1;
|
|
} else if (var0 == ScriptOpcodes.INVOTHER_TOTAL) {
|
|
Interpreter.Interpreter_intStackSize -= 2;
|
|
var3 = Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize] + 32768;
|
|
var4 = Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize + 1];
|
|
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = WorldMapEvent.method801(var3, var4);
|
|
return 1;
|
|
} else if (var0 == ScriptOpcodes.STAFFMODLEVEL) {
|
|
if (Client.staffModLevel >= 2) {
|
|
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = Client.staffModLevel;
|
|
} else {
|
|
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = 0;
|
|
}
|
|
|
|
return 1;
|
|
} else if (var0 == ScriptOpcodes.REBOOTTIMER) {
|
|
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = Client.rebootTimer;
|
|
return 1;
|
|
} else if (var0 == ScriptOpcodes.MAP_WORLD) {
|
|
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = Client.worldId;
|
|
return 1;
|
|
} else if (var0 == ScriptOpcodes.RUNENERGY_VISIBLE) {
|
|
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = Client.runEnergy;
|
|
return 1;
|
|
} else if (var0 == ScriptOpcodes.RUNWEIGHT_VISIBLE) {
|
|
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = Client.weight;
|
|
return 1;
|
|
} else if (var0 == ScriptOpcodes.PLAYERMOD) {
|
|
if (Client.playerMod) {
|
|
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = 1;
|
|
} else {
|
|
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = 0;
|
|
}
|
|
|
|
return 1;
|
|
} else if (var0 == ScriptOpcodes.WORLDFLAGS) {
|
|
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = Client.worldProperties;
|
|
return 1;
|
|
} else if (var0 == ScriptOpcodes.MOVECOORD) {
|
|
Interpreter.Interpreter_intStackSize -= 4;
|
|
var3 = Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize];
|
|
var4 = Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize + 1];
|
|
var5 = Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize + 2];
|
|
int var6 = Interpreter.Interpreter_intStack[Interpreter.Interpreter_intStackSize + 3];
|
|
var3 += var4 << 14;
|
|
var3 += var5 << 28;
|
|
var3 += var6;
|
|
Interpreter.Interpreter_intStack[++Interpreter.Interpreter_intStackSize - 1] = var3;
|
|
return 1;
|
|
} else {
|
|
return 2;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|