rl-client: update cs2 overlay opcodes

This commit is contained in:
Max Weber
2021-05-21 13:20:41 -06:00
committed by Adam
parent 04884beac0
commit cb0d98bbc8
11 changed files with 71 additions and 71 deletions

View File

@@ -765,7 +765,7 @@ LABEL681:
jump LABEL726 jump LABEL726
LABEL685: LABEL685:
get_varc_string 359 ; Skip truncating of varcstr 22 by not calling 280 get_varc_string 359 ; Skip truncating of varcstr 22 by not calling 280
lowercase ; instead get the var directly and lowercase it lowercase ; instead get the var directly and lowercase it
sstore 0 sstore 0
sload 0 sload 0
string_length string_length

View File

@@ -111,11 +111,11 @@
iload 19 iload 19
iload 20 iload 20
sconst "iiiIIIIIIIIIIIIIIIII" sconst "iiiIIIIIIIIIIIIIIIII"
cc_setonop cc_setonop
iload 0 ; button component id iload 0 ; button component id
iload 1 ; 0-9 iload 1 ; 0-9
sconst "bankpinButtonSetup" sconst "bankpinButtonSetup"
runelite_callback runelite_callback
pop_int ; 0-9 pop_int ; 0-9
pop_int ; button component id pop_int ; button component id
return return

View File

@@ -208,19 +208,19 @@ LABEL165:
iconst 126 iconst 126
istore 20 istore 20
iconst 0 iconst 0
3801 activeclansettings_find_affined
iconst 1 iconst 1
if_icmpeq LABEL202 if_icmpeq LABEL202
jump LABEL222 jump LABEL222
LABEL202: LABEL202:
iconst 0 iconst 0
3851 activeclanchannel_find_affined
iconst 1 iconst 1
if_icmpeq LABEL207 if_icmpeq LABEL207
jump LABEL222 jump LABEL222
LABEL207: LABEL207:
sload 0 sload 0
3860 activeclanchannel_getuserslot
istore 17 istore 17
iload 17 iload 17
iconst -1 iconst -1
@@ -228,10 +228,10 @@ LABEL207:
jump LABEL217 jump LABEL217
LABEL214: LABEL214:
iload 17 iload 17
3857 activeclanchannel_getuserrank
istore 18 istore 18
LABEL217: LABEL217:
3853 activeclanchannel_getrankkick
iconst 2956 iconst 2956
invoke 4456 invoke 4456
istore 20 istore 20
@@ -562,20 +562,20 @@ LABEL432:
jump LABEL942 jump LABEL942
LABEL458: LABEL458:
iconst 0 iconst 0
3801 activeclansettings_find_affined
iconst 1 iconst 1
if_icmpeq LABEL463 if_icmpeq LABEL463
jump LABEL583 jump LABEL583
LABEL463: LABEL463:
iconst 0 iconst 0
3851 activeclanchannel_find_affined
iconst 1 iconst 1
if_icmpeq LABEL468 if_icmpeq LABEL468
jump LABEL583 jump LABEL583
LABEL468: LABEL468:
sload 12 sload 12
removetags removetags
3860 activeclanchannel_getuserslot
istore 17 istore 17
iload 17 iload 17
iconst -1 iconst -1
@@ -583,7 +583,7 @@ LABEL468:
jump LABEL549 jump LABEL549
LABEL476: LABEL476:
iload 17 iload 17
3857 activeclanchannel_getuserrank
invoke 4302 invoke 4302
istore 16 istore 16
sstore 16 sstore 16
@@ -732,19 +732,19 @@ LABEL583:
LABEL612: LABEL612:
jump LABEL942 jump LABEL942
LABEL613: LABEL613:
3800 activeclansettings_find_listened
iconst 1 iconst 1
if_icmpeq LABEL617 if_icmpeq LABEL617
jump LABEL736 jump LABEL736
LABEL617: LABEL617:
3850 activeclanchannel_find_listened
iconst 1 iconst 1
if_icmpeq LABEL621 if_icmpeq LABEL621
jump LABEL736 jump LABEL736
LABEL621: LABEL621:
sload 12 sload 12
removetags removetags
3860 activeclanchannel_getuserslot
istore 17 istore 17
iload 17 iload 17
iconst -1 iconst -1
@@ -752,7 +752,7 @@ LABEL621:
jump LABEL702 jump LABEL702
LABEL629: LABEL629:
iload 17 iload 17
3857 activeclanchannel_getuserrank
invoke 4302 invoke 4302
istore 16 istore 16
sstore 16 sstore 16
@@ -897,14 +897,14 @@ LABEL765:
jump LABEL942 jump LABEL942
LABEL766: LABEL766:
iconst 0 iconst 0
3851 activeclanchannel_find_affined
iconst 1 iconst 1
if_icmpeq LABEL771 if_icmpeq LABEL771
jump LABEL796 jump LABEL796
LABEL771: LABEL771:
sconst "[" sconst "["
sload 7 sload 7
3852 activeclanchannel_getclanname
sconst "</col>" sconst "</col>"
sconst "]" sconst "]"
join_string 5 join_string 5
@@ -950,14 +950,14 @@ LABEL796:
LABEL815: LABEL815:
jump LABEL942 jump LABEL942
LABEL816: LABEL816:
3850 activeclanchannel_find_listened
iconst 1 iconst 1
if_icmpeq LABEL820 if_icmpeq LABEL820
jump LABEL845 jump LABEL845
LABEL820: LABEL820:
sconst "[" sconst "["
sload 7 sload 7
3852 activeclanchannel_getclanname
sconst "</col>" sconst "</col>"
sconst "]" sconst "]"
join_string 5 join_string 5
@@ -1080,7 +1080,7 @@ LABEL928:
iload 10 ; The id of the messageNode of the message being built iload 10 ; The id of the messageNode of the message being built
sconst "" sconst ""
sconst "addTimestamp" sconst "addTimestamp"
runelite_callback runelite_callback
pop_int ; pop message id pop_int ; pop message id
sload 14 sload 14
join_string 2 ; prepend the timestamp join_string 2 ; prepend the timestamp
@@ -1207,20 +1207,20 @@ LABEL1017:
jump LABEL1050 jump LABEL1050
LABEL1021: LABEL1021:
iconst 0 iconst 0
3851 activeclanchannel_find_affined
iconst 1 iconst 1
if_icmpeq LABEL1026 if_icmpeq LABEL1026
jump LABEL1050 jump LABEL1050
LABEL1026: LABEL1026:
sload 12 sload 12
removetags removetags
3860 activeclanchannel_getuserslot
istore 17 istore 17
iload 17 iload 17
iconst -1 iconst -1
if_icmpeq LABEL1038 if_icmpeq LABEL1038
iload 17 iload 17
3857 activeclanchannel_getuserrank
iconst -1 iconst -1
if_icmple LABEL1038 if_icmple LABEL1038
jump LABEL1050 jump LABEL1050

View File

@@ -53,7 +53,7 @@ LABEL31:
sload 0 sload 0
iload 0 iload 0
iconst 0 iconst 0
5010 chat_sendclan
jump LABEL39 jump LABEL39
LABEL36: LABEL36:
sload 0 sload 0

View File

@@ -275,12 +275,12 @@ LABEL226:
if_icmpeq LABEL230 if_icmpeq LABEL230
jump LABEL260 jump LABEL260
LABEL230: LABEL230:
3800 activeclansettings_find_listened
iconst 1 iconst 1
if_icmpeq LABEL234 if_icmpeq LABEL234
jump LABEL257 jump LABEL257
LABEL234: LABEL234:
3850 activeclanchannel_find_listened
iconst 1 iconst 1
if_icmpeq LABEL238 if_icmpeq LABEL238
jump LABEL257 jump LABEL257
@@ -292,7 +292,7 @@ LABEL238:
LABEL242: LABEL242:
return return
LABEL243: LABEL243:
3803 activeclansettings_getallowunaffined
iconst 1 iconst 1
if_icmpeq LABEL247 if_icmpeq LABEL247
jump LABEL254 jump LABEL254
@@ -321,7 +321,7 @@ LABEL260:
jump LABEL307 jump LABEL307
LABEL264: LABEL264:
iconst 0 iconst 0
3851 activeclanchannel_find_affined
iconst 1 iconst 1
if_icmpeq LABEL269 if_icmpeq LABEL269
jump LABEL304 jump LABEL304
@@ -340,7 +340,7 @@ LABEL277:
LABEL278: LABEL278:
chat_playername chat_playername
removetags removetags
3860 activeclanchannel_getuserslot
istore 7 istore 7
iload 7 iload 7
iconst -1 iconst -1
@@ -348,8 +348,8 @@ LABEL278:
jump LABEL298 jump LABEL298
LABEL286: LABEL286:
iload 7 iload 7
3857 activeclanchannel_getuserrank
3854 activeclanchannel_getranktalk
if_icmpge LABEL291 if_icmpge LABEL291
jump LABEL298 jump LABEL298
LABEL291: LABEL291:

View File

@@ -35,7 +35,7 @@ LABEL24:
iload 3 iload 3
sconst "destroyOnOpKey" ; load event name sconst "destroyOnOpKey" ; load event name
runelite_callback ; invoke callback runelite_callback ; invoke callback
pop_int pop_int
iconst 2266 iconst 2266
iconst 1 iconst 1
iconst 0 iconst 0

View File

@@ -7,13 +7,13 @@
invoke 41 invoke 41
get_varbit 4439 get_varbit 4439
iconst 1 iconst 1
sub sub
istore 7 istore 7
iconst 105 iconst 105
iconst 118 iconst 118
iconst 150 iconst 150
iload 7 iload 7
enum enum
istore 8 istore 8
iload 8 iload 8
iconst -1 iconst -1
@@ -22,19 +22,19 @@
LABEL16: LABEL16:
iconst 1 iconst 1
iload 2 iload 2
if_sethide if_sethide
iconst 0 iconst 0
iload 3 iload 3
if_sethide if_sethide
iconst 1 iconst 1
iload 4 iload 4
if_sethide if_sethide
iconst 1 iconst 1
iload 5 iload 5
if_sethide if_sethide
iload 0 iload 0
iload 1 iload 1
cc_find cc_find
iconst 1 iconst 1
if_icmpeq LABEL34 if_icmpeq LABEL34
jump LABEL36 jump LABEL36
@@ -42,16 +42,16 @@ LABEL34:
sconst "Grand Exchange" sconst "Grand Exchange"
sconst "setGETitle" ; sconst "setGETitle" ;
runelite_callback ; runelite_callback ;
cc_settext cc_settext
LABEL36: LABEL36:
return return
LABEL37: LABEL37:
iconst 0 iconst 0
iload 2 iload 2
if_sethide if_sethide
iconst 0 iconst 0
iload 2 iload 2
if_settrans if_settrans
iload 7 iload 7
stockmarket_isofferempty stockmarket_isofferempty
iconst 1 iconst 1
@@ -60,42 +60,42 @@ LABEL37:
LABEL48: LABEL48:
iconst 1 iconst 1
iload 3 iload 3
if_sethide if_sethide
iconst 1 iconst 1
iload 4 iload 4
if_sethide if_sethide
iconst 0 iconst 0
iload 5 iload 5
if_sethide if_sethide
iload 0 iload 0
iload 1 iload 1
cc_find cc_find
iconst 1 iconst 1
if_icmpeq LABEL63 if_icmpeq LABEL63
jump LABEL65 jump LABEL65
LABEL63: LABEL63:
sconst "Grand Exchange: Set up offer" sconst "Grand Exchange: Set up offer"
cc_settext cc_settext
LABEL65: LABEL65:
return return
LABEL66: LABEL66:
iconst 1 iconst 1
iload 3 iload 3
if_sethide if_sethide
iconst 0 iconst 0
iload 4 iload 4
if_sethide if_sethide
iconst 1 iconst 1
iload 5 iload 5
if_sethide if_sethide
iload 0 iload 0
iload 1 iload 1
cc_find cc_find
iconst 1 iconst 1
if_icmpeq LABEL81 if_icmpeq LABEL81
jump LABEL83 jump LABEL83
LABEL81: LABEL81:
sconst "Grand Exchange: Offer status" sconst "Grand Exchange: Offer status"
cc_settext cc_settext
LABEL83: LABEL83:
return return

View File

@@ -5,7 +5,7 @@
.string_var_count 0 .string_var_count 0
iconst 896 iconst 896
sconst "innerZoomLimit" sconst "innerZoomLimit"
runelite_callback runelite_callback
iconst 128 iconst 128
sconst "outerZoomLimit" sconst "outerZoomLimit"
runelite_callback runelite_callback
@@ -13,7 +13,7 @@
istore 5 istore 5
iconst 896 iconst 896
sconst "innerZoomLimit" sconst "innerZoomLimit"
runelite_callback runelite_callback
iconst 128 iconst 128
sconst "outerZoomLimit" sconst "outerZoomLimit"
runelite_callback runelite_callback
@@ -40,7 +40,7 @@ LABEL25:
get_varc_int 74 get_varc_int 74
iconst 128 iconst 128
sconst "outerZoomLimit" sconst "outerZoomLimit"
runelite_callback runelite_callback
sub sub
iload 7 iload 7
multiply multiply
@@ -52,7 +52,7 @@ LABEL34:
get_varc_int 73 get_varc_int 73
iconst 128 iconst 128
sconst "outerZoomLimit" sconst "outerZoomLimit"
runelite_callback runelite_callback
sub sub
iload 7 iload 7
multiply multiply

View File

@@ -11,8 +11,8 @@
iconst 0 iconst 0
iload 0 iload 0
iconst 25 iconst 25
sconst "scrollWheelZoomIncrement" sconst "scrollWheelZoomIncrement"
runelite_callback runelite_callback
multiply multiply
sub sub
istore 1 istore 1

View File

@@ -212,7 +212,7 @@ LABEL177:
if_setnoclickthrough if_setnoclickthrough
iconst 1 iconst 1
iconst 10616867 iconst 10616867
2006 if_setnoscrollthrough
LABEL183: LABEL183:
iconst 0 iconst 0
istore 4 istore 4

View File

@@ -18,13 +18,13 @@ LABEL10:
return return
LABEL11: LABEL11:
; switch on op index ; switch on op index
iload 0 iload 0
switch switch
1: LOOK_NORTH 1: LOOK_NORTH
2: LOOK_SOUTH 2: LOOK_SOUTH
3: LOOK_EAST 3: LOOK_EAST
4: LOOK_WEST 4: LOOK_WEST
jump LABEL10 jump LABEL10
LOOK_NORTH: LOOK_NORTH:
iconst 0 iconst 0
istore 1 istore 1
@@ -48,10 +48,10 @@ LOOK:
sound_synth sound_synth
iconst 225 iconst 225
sconst "lookPreservePitch" sconst "lookPreservePitch"
runelite_callback runelite_callback
iconst 5 iconst 5
randominc randominc
add add
iload 1 ; load target angle iload 1 ; load target angle
cam_forceangle cam_forceangle
return return