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
LABEL685:
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
sload 0
string_length

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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