runelite-client: script update / outdated rework (thanks TomC)

This commit is contained in:
therealunull
2020-10-29 13:09:29 -04:00
parent 2946f1f472
commit de82f4ade2
84 changed files with 261 additions and 181 deletions

View File

@@ -836,8 +836,6 @@ LABEL729:
iload 10
iload 11
iload 28
sconst "addLastRow"
runelite_callback
iload 29
iload 12
iload 13

View File

@@ -0,0 +1 @@
7AA081A68C6157F9B74DDB6B04F00B1691113941EED8996A4DEABF643F45EA25

View File

@@ -47,165 +47,189 @@ LABEL23:
get_varbit 8119
iconst 1
if_icmpeq LABEL42
jump LABEL146
jump LABEL155
LABEL42:
invoke 3160
iconst 1
if_icmpeq LABEL46
jump LABEL51
LABEL46:
sconst "<img=22>"
chat_playername
join_string 2
sstore 2
jump LABEL59
LABEL51:
iconst 105
iconst 115
iconst 1894
get_varbit 1777
enum
chat_playername
enum
chat_playername
join_string 2
sstore 2
LABEL59:
iload 4
iconst 1
if_icmpeq LABEL54
jump LABEL58
LABEL54:
if_icmpeq LABEL63
jump LABEL67
LABEL63:
sload 2
sconst "<img=19>"
append
append
sstore 2
LABEL58:
LABEL67:
sload 2
sconst ": "
sload 0
sload 1
sconst "</col>"
join_string 4
append
append
sstore 2
iload 2
iconst 80
if_icmplt LABEL70
jump LABEL77
LABEL70:
if_icmplt LABEL79
jump LABEL86
LABEL79:
sload 2
sload 0
sconst "*"
sconst "</col>"
join_string 3
append
append
sstore 2
LABEL77:
LABEL86:
sload 2
iconst 2147483647
iconst 495
parawidth
parawidth
istore 3
iload 4
iconst 1
if_icmpeq LABEL86
jump LABEL103
LABEL86:
if_icmpeq LABEL95
jump LABEL112
LABEL95:
iconst 60
iconst 5
iload 3
add
add
invoke 1045
iconst 30
iconst 0
iconst 0
iconst 10616871
if_setsize
if_setsize
iconst 0
iconst 0
iconst 0
iconst 2
iconst 10616871
if_setposition
jump LABEL115
LABEL103:
if_setposition
jump LABEL124
LABEL112:
iconst 0
iconst 30
iconst 0
iconst 1
iconst 10616871
if_setsize
if_setsize
iconst 0
iconst 0
iconst 0
iconst 2
iconst 10616871
if_setposition
LABEL115:
if_setposition
LABEL124:
iload 3
iconst 10616890
if_getwidth
if_icmpgt LABEL120
jump LABEL126
LABEL120:
if_getwidth
if_icmpgt LABEL129
jump LABEL135
LABEL129:
iconst 2
iconst 2
iconst 0
iconst 10616890
if_settextalign
jump LABEL131
LABEL126:
if_settextalign
jump LABEL140
LABEL135:
iconst 0
iconst 2
iconst 0
iconst 10616890
if_settextalign
LABEL131:
if_settextalign
LABEL140:
iconst 10616890
if_clearops
if_clearops
iconst -1
sconst ""
iconst 10616890
if_setonmouserepeat
if_setonmouserepeat
iconst -1
sconst ""
iconst 10616890
if_setonmouseleave
if_setonmouseleave
iconst -1
sconst ""
iconst 10616890
if_setonop
jump LABEL187
LABEL146:
if_setonop
jump LABEL205
LABEL155:
invoke 3160
iconst 1
if_icmpeq LABEL159
jump LABEL164
LABEL159:
sconst "<img=22>"
sconst " You must set a name before you can chat."
join_string 2
sstore 2
jump LABEL172
LABEL164:
iconst 105
iconst 115
iconst 1894
get_varbit 1777
enum
enum
sconst " You must set a name before you can chat."
join_string 2
sstore 2
LABEL172:
iconst 1
iconst 2
iconst 0
iconst 10616890
if_settextalign
if_settextalign
iconst 10
sconst "Configure"
iconst 10616890
if_setop
if_setop
sconst "<col=ff9040>"
sconst "Display name"
sconst "</col>"
join_string 3
iconst 10616890
if_setopbase
if_setopbase
iconst 45
iconst -2147483645
iload 1
sconst "Ii"
iconst 10616890
if_setonmouserepeat
if_setonmouserepeat
iconst 45
iconst -2147483645
iload 0
sconst "Ii"
iconst 10616890
if_setonmouseleave
if_setonmouseleave
iconst 489
iconst -2147483644
iconst 1024
sconst "ii"
iconst 10616890
if_setonop
LABEL187:
if_setonop
LABEL205:
sload 2
iconst 10616890
if_settext

View File

@@ -53,7 +53,7 @@ LABEL35:
istore 4
LABEL37:
staffmodlevel
iconst -1
iconst 0
if_icmpgt LABEL41
jump LABEL43
LABEL41:

View File

@@ -0,0 +1 @@
1CCC672616971AEB7A1E4C00885367CEFC75A873DD22A37BE99652F2DA107653

View File

@@ -277,28 +277,28 @@ LABEL253:
get_varc_int 73
iconst 128
sconst "outerZoomLimit"
runelite_callback
runelite_callback
if_icmpge LABEL262
jump LABEL278
LABEL262:
get_varc_int 73
iconst 896
sconst "innerZoomLimit"
runelite_callback
runelite_callback
if_icmple LABEL266
jump LABEL278
LABEL266:
get_varc_int 74
iconst 128
sconst "outerZoomLimit"
runelite_callback
runelite_callback
if_icmpge LABEL270
jump LABEL278
LABEL270:
get_varc_int 74
iconst 896
sconst "innerZoomLimit"
runelite_callback
runelite_callback
if_icmple LABEL274
jump LABEL278
LABEL274:
@@ -329,17 +329,17 @@ LABEL292:
iconst 0
iconst 0
iload 2
if_setsize
if_setsize
iload 10
iload 14
sub
sub
iload 11
iload 15
sub
sub
iconst 0
iconst 0
iload 3
if_setsize
if_setsize
iload 4
iconst -1
if_icmpne LABEL312
@@ -355,39 +355,39 @@ LABEL316:
iconst 0
iconst 0
iload 4
if_setposition
if_setposition
iload 6
iload 7
iconst 0
iconst 0
iload 5
if_setposition
if_setposition
iload 6
iload 8
add
add
iload 7
iload 9
add
add
iconst 1
iconst 1
iload 4
if_setsize
if_setsize
iload 6
iload 8
add
add
iload 7
iload 9
add
add
iconst 1
iconst 1
iload 5
if_setsize
if_setsize
iload 1
iconst 73
iconst 73
iload 1
iconst 10551309
enum
enum
iload 5
iload 8
iload 9
@@ -399,7 +399,7 @@ LABEL359:
iconst 73
iload 1
iconst 10551309
enum
enum
iload 3
iconst 0
iconst 0
@@ -409,7 +409,7 @@ LABEL369:
iconst 73
iload 1
iconst 10551311
enum
enum
istore 18
iload 18
iconst -1
@@ -422,7 +422,7 @@ LABEL379:
jump LABEL417
LABEL383:
iload 18
if_hassub
if_hassub
iconst 1
if_icmpeq LABEL388
jump LABEL417
@@ -437,7 +437,7 @@ LABEL392:
iconst 0
iconst 1
iload 18
if_setsize
if_setsize
jump LABEL416
LABEL399:
get_varc_int 173
@@ -450,7 +450,7 @@ LABEL403:
iconst 1
iconst 1
iload 18
if_setsize
if_setsize
jump LABEL416
LABEL410:
iconst 512
@@ -458,7 +458,7 @@ LABEL410:
iconst 0
iconst 0
iload 18
if_setsize
if_setsize
LABEL416:
jump LABEL423
LABEL417:
@@ -467,13 +467,13 @@ LABEL417:
iconst 0
iconst 0
iload 18
if_setsize
if_setsize
LABEL423:
iconst 73
iconst 73
iload 1
iconst 10551313
enum
enum
istore 18
iconst 0
istore 19
@@ -487,9 +487,9 @@ LABEL437:
iconst 73
iconst 73
iload 1
iconst 10551305
enum
if_hassub
iconst 10551304
enum
if_hassub
iconst 1
if_icmpeq LABEL446
jump LABEL455
@@ -518,13 +518,13 @@ LABEL459:
LABEL463:
iconst 182
iconst 4
add
add
istore 19
jump LABEL472
LABEL468:
iconst 120
iconst 4
add
add
istore 19
LABEL472:
jump LABEL475
@@ -537,12 +537,12 @@ LABEL475:
iconst 2
iconst 0
iload 18
if_setposition
if_setposition
LABEL481:
iconst 73
iconst 73
iload 1
iconst 10551305
iconst 10551304
enum
istore 18
iconst 0

View File

@@ -6,15 +6,15 @@
iconst 1
iconst 0
sconst "scrollWheelZoom"
runelite_callback
runelite_callback
if_icmpeq LABEL18
iconst 0
iload 0
iconst 25
sconst "scrollWheelZoomIncrement"
sconst "scrollWheelZoomIncrement"
runelite_callback
multiply
sub
sub
istore 1
iconst 512
istore 2
@@ -30,21 +30,21 @@ LABEL14:
if_icmpne LABEL18
jump LABEL19
LABEL18:
return
return
LABEL19:
viewport_getfov
viewport_getfov
istore 2
istore 3
iload 3
iload 1
add
add
istore 3
iload 2
iload 1
add
add
istore 2
iload 3
iload 2
invoke 42
LABEL33:
return
return

View File

@@ -0,0 +1 @@
1EDA8CA79506CC62A192A844B88AC924BAD3060D9E32150C43458E135908329B

View File

@@ -11,27 +11,24 @@
get_varbit 5314
iconst 1
if_icmpeq LABEL9
jump LABEL17
jump LABEL14
LABEL9:
iconst 111
iconst 105
iconst 906
iconst 94
iconst 3
inv_getobj
enum
inv_getobj
invoke 3648
istore 1
LABEL17:
LABEL14:
iload 1
iconst 0
if_icmple LABEL21
jump LABEL31
LABEL21:
if_icmple LABEL18
jump LABEL28
LABEL18:
iconst 1 ; What we compare the boolean with
iconst 0 ; Boolean
sconst "drawSpecbarAnyway"
runelite_callback
if_icmpeq LABEL41
if_icmpeq LABEL38 ; change this
iconst 1
iconst 38862883
if_sethide
@@ -42,57 +39,57 @@ LABEL21:
iconst 38862850
if_setsize
return
LABEL31:
LABEL28:
invoke 1972
iconst 1
if_icmpeq LABEL35
jump LABEL41
LABEL35:
if_icmpeq LABEL32
jump LABEL38
LABEL32:
iconst 190
iconst 16
iconst 0
iconst 0
iconst 38862850
if_setsize
LABEL41:
LABEL38:
iconst 0
istore 2
iconst 38862883
if_gethide
iconst 1
if_icmpeq LABEL48
jump LABEL50
LABEL48:
if_icmpeq LABEL45
jump LABEL47
LABEL45:
iconst 1
istore 2
LABEL50:
LABEL47:
iconst 0
iconst 38862883
if_sethide
get_varp 301
iconst 0
if_icmpgt LABEL57
jump LABEL61
LABEL57:
if_icmpgt LABEL54
jump LABEL58
LABEL54:
iconst 16776960
iconst 38862888
if_setcolour
jump LABEL64
LABEL61:
jump LABEL61
LABEL58:
iconst 16
iconst 38862888
if_setcolour
LABEL64:
LABEL61:
get_varp 300
istore 3
iload 3
iconst 0
if_icmplt LABEL70
jump LABEL72
LABEL70:
if_icmplt LABEL67
jump LABEL69
LABEL67:
iconst 0
istore 3
LABEL72:
LABEL69:
sconst "Special Attack: "
iload 3
iconst 10
@@ -106,31 +103,24 @@ LABEL72:
iload 3
iload 2
invoke 189
iconst 38862884
iconst 0
invoke 835
pop_int ; Specbar is fully built here
iload 1
iconst 0
if_icmple RETURN ; Return if the weapon isn't supposed to have a spec
jump CONTINUE ; Idk why I'm doing it like this but it's the jagex way
RETURN:
return
CONTINUE:
iload 3
iload 1
if_icmpge LABEL89
jump LABEL93
LABEL89:
if_icmpge LABEL86
jump LABEL90
LABEL86:
iconst 3767611
iconst 38862887
if_setcolour
jump LABEL96
LABEL93:
jump LABEL93
LABEL90:
iconst 12907
iconst 38862887
if_setcolour
LABEL96:
LABEL93:
iconst 38862884
iconst 0
invoke 835
pop_int
iconst 94
iconst 3
inv_getobj
@@ -141,11 +131,8 @@ LABEL96:
iload 4
enum
sconst " ("
iconst 111
iconst 105
iconst 906
iload 4
enum
invoke 3648
iconst 10
div
tostring
@@ -154,13 +141,13 @@ LABEL96:
sstore 0
iload 4
switch
22737: LABEL124
22740: LABEL124
22743: LABEL124
22731: LABEL124
22734: LABEL124
jump LABEL132
LABEL124:
22737: LABEL118
22740: LABEL118
22743: LABEL118
22731: LABEL118
22734: LABEL118
jump LABEL126
LABEL118:
iconst 111
iconst 115
iconst 1739
@@ -169,64 +156,61 @@ LABEL124:
sconst " 5-100% "
join_string 2
sstore 0
LABEL132:
LABEL126:
get_varbit 5712
iconst 0
if_icmpeq LABEL136
jump LABEL201
LABEL136:
if_icmpeq LABEL130
jump LABEL192
LABEL130:
iload 4
iconst 11235
if_icmpeq LABEL152
if_icmpeq LABEL146
iload 4
iconst 20408
if_icmpeq LABEL152
if_icmpeq LABEL146
iload 4
iconst 12765
if_icmpeq LABEL152
if_icmpeq LABEL146
iload 4
iconst 12768
if_icmpeq LABEL152
if_icmpeq LABEL146
iload 4
iconst 12767
if_icmpeq LABEL152
jump LABEL185
LABEL152:
if_icmpeq LABEL146
jump LABEL176
LABEL146:
iconst 94
iconst 13
inv_getobj
iconst 11212
if_icmpeq LABEL173
if_icmpeq LABEL167
iconst 94
iconst 13
inv_getobj
iconst 11227
if_icmpeq LABEL173
if_icmpeq LABEL167
iconst 94
iconst 13
inv_getobj
iconst 11228
if_icmpeq LABEL173
if_icmpeq LABEL167
iconst 94
iconst 13
inv_getobj
iconst 11229
if_icmpeq LABEL173
jump LABEL185
LABEL173:
if_icmpeq LABEL167
jump LABEL176
LABEL167:
sconst "Descent of Dragons: Deal a double attack with dragon arrows that inflicts up to 50% more damage (minimum damage of 8 per hit). ("
iconst 111
iconst 105
iconst 906
iload 4
enum
invoke 3648
iconst 10
div
tostring
sconst "%)"
join_string 3
sstore 0
LABEL185:
LABEL176:
iconst 526
iconst -2147483645
iconst -1
@@ -242,11 +226,11 @@ LABEL185:
sconst "I"
iconst 38862883
if_setonmouseleave
jump LABEL205
LABEL201:
jump LABEL196
LABEL192:
iconst -1
sconst ""
iconst 38862883
if_setonmouserepeat
LABEL205:
LABEL196:
return

View File

@@ -1 +0,0 @@
B840A83E8560C8EB17205E2B98F1D9CD25FBC390562E8A5A437B692EEA6D8F15

View File

@@ -1 +0,0 @@
70481539CCDB751DD4627EE8F4765D6D5BFD331E32E51B73946913C3CE17D942

View File

@@ -1 +0,0 @@
3444503072AEE70EEB53938C1FDC826A7530B62BB5FAB65402A22BAB08D7B76D