Merge runelite-scripts into runelite-client
This commit is contained in:
1
runelite-client/src/main/scripts/BankSearchFilter.hash
Normal file
1
runelite-client/src/main/scripts/BankSearchFilter.hash
Normal file
@@ -0,0 +1 @@
|
||||
FD851583852C34596F250D63AEDB0A13B294129108A9DB52B6BDF2D51EDA0BFC
|
||||
69
runelite-client/src/main/scripts/BankSearchFilter.rs2asm
Normal file
69
runelite-client/src/main/scripts/BankSearchFilter.rs2asm
Normal file
@@ -0,0 +1,69 @@
|
||||
.id 279
|
||||
.int_stack_count 1
|
||||
.string_stack_count 0
|
||||
.int_var_count 1
|
||||
.string_var_count 2
|
||||
load_string ""
|
||||
sstore 0
|
||||
load_string ""
|
||||
sstore 1
|
||||
invoke 514
|
||||
load_int 1
|
||||
if_icmpeq LABEL8
|
||||
jump LABEL34
|
||||
LABEL8:
|
||||
invoke 280
|
||||
sstore 1
|
||||
sload 1
|
||||
string_length
|
||||
load_int 0
|
||||
if_icmpgt LABEL15
|
||||
jump LABEL34
|
||||
LABEL15:
|
||||
iload 0
|
||||
load_int -1
|
||||
if_icmpne LABEL19
|
||||
jump LABEL23
|
||||
LABEL19:
|
||||
iload 0
|
||||
get_item_name
|
||||
tolowercase
|
||||
sstore 0
|
||||
LABEL1337: ; check if the bank tags plugin is active
|
||||
load_int 1 ; true
|
||||
load_int 0 ; load active boolean
|
||||
load_string "bankTagsActive" ; push event name
|
||||
runelite_callback ; invoke callback
|
||||
if_icmpeq LABEL1338 ; if the plugin is active then jump to the label that decides if the
|
||||
; item should be shown
|
||||
jump LABEL23 ; if the plugin is not active then jump to the normal label
|
||||
LABEL1338: ; let the bank tag plugin decide if the item should be shown
|
||||
load_int 0 ; load return value
|
||||
iload 0 ; load item id
|
||||
sload 0 ; load item name
|
||||
sload 1 ; load search string
|
||||
load_string "bankSearchFilter" ; push event name
|
||||
runelite_callback ; invoke callback
|
||||
pop_int ; pop item id
|
||||
pop_string ; pop search string
|
||||
pop_string ; pop item name
|
||||
return ; return value
|
||||
LABEL23:
|
||||
sload 0
|
||||
sload 1
|
||||
load_int 0
|
||||
string_indexof_from
|
||||
load_int -1
|
||||
if_icmpne LABEL30
|
||||
jump LABEL32
|
||||
LABEL30:
|
||||
load_int 1
|
||||
return
|
||||
LABEL32:
|
||||
load_int 0
|
||||
return
|
||||
LABEL34:
|
||||
load_int 1
|
||||
return
|
||||
load_int -1
|
||||
return
|
||||
1
runelite-client/src/main/scripts/BankSearchLayout.hash
Normal file
1
runelite-client/src/main/scripts/BankSearchLayout.hash
Normal file
@@ -0,0 +1 @@
|
||||
F07CC5D08A4651B7BC2CC748DC17A6B6FB46A47A530BE9710067D9C46D45237A
|
||||
874
runelite-client/src/main/scripts/BankSearchLayout.rs2asm
Normal file
874
runelite-client/src/main/scripts/BankSearchLayout.rs2asm
Normal file
@@ -0,0 +1,874 @@
|
||||
.id 277
|
||||
.int_stack_count 13
|
||||
.string_stack_count 0
|
||||
.int_var_count 30
|
||||
.string_var_count 1
|
||||
get_varbit 5102
|
||||
load_int 1
|
||||
if_icmpeq LABEL4
|
||||
jump LABEL8
|
||||
LABEL4:
|
||||
load_int 0
|
||||
iload 10
|
||||
widget_put_hidden_widget
|
||||
jump LABEL13
|
||||
LABEL8:
|
||||
load_int 1
|
||||
iload 10
|
||||
widget_put_hidden_widget
|
||||
iload 12
|
||||
invoke 41
|
||||
LABEL13:
|
||||
get_varbit 5364
|
||||
load_int 1
|
||||
if_icmpeq LABEL17
|
||||
jump LABEL24
|
||||
LABEL17:
|
||||
load_int 37
|
||||
load_int 37
|
||||
load_int 1
|
||||
load_int 0
|
||||
iload 5
|
||||
widget_put_size_widget
|
||||
jump LABEL30
|
||||
LABEL24:
|
||||
load_int 0
|
||||
load_int 37
|
||||
load_int 1
|
||||
load_int 0
|
||||
iload 5
|
||||
widget_put_size_widget
|
||||
LABEL30:
|
||||
load_int 1
|
||||
iload 11
|
||||
widget_put_hidden_widget
|
||||
iload 11
|
||||
widget_unset_children
|
||||
load_int 0
|
||||
istore 13
|
||||
get_varbit 4170
|
||||
load_int 3
|
||||
if_icmpeq LABEL41
|
||||
jump LABEL74
|
||||
LABEL41:
|
||||
get_varbit 4171
|
||||
load_int 0
|
||||
if_icmpgt LABEL69
|
||||
get_varbit 4172
|
||||
load_int 0
|
||||
if_icmpgt LABEL69
|
||||
get_varbit 4173
|
||||
load_int 0
|
||||
if_icmpgt LABEL69
|
||||
get_varbit 4174
|
||||
load_int 0
|
||||
if_icmpgt LABEL69
|
||||
get_varbit 4175
|
||||
load_int 0
|
||||
if_icmpgt LABEL69
|
||||
get_varbit 4176
|
||||
load_int 0
|
||||
if_icmpgt LABEL69
|
||||
get_varbit 4177
|
||||
load_int 0
|
||||
if_icmpgt LABEL69
|
||||
get_varbit 4178
|
||||
load_int 0
|
||||
if_icmpgt LABEL69
|
||||
get_varbit 4179
|
||||
load_int 0
|
||||
if_icmpgt LABEL69
|
||||
jump LABEL72
|
||||
LABEL69:
|
||||
load_int 0
|
||||
istore 13
|
||||
jump LABEL74
|
||||
LABEL72:
|
||||
load_int 1
|
||||
istore 13
|
||||
LABEL74:
|
||||
load_int 0
|
||||
istore 14
|
||||
iload 13
|
||||
load_int 1
|
||||
if_icmpeq LABEL80
|
||||
jump LABEL110
|
||||
LABEL80:
|
||||
load_int 1
|
||||
iload 9
|
||||
widget_put_hidden_widget
|
||||
load_int 11
|
||||
istore 14
|
||||
load_int 0
|
||||
load_int 26
|
||||
load_int 1
|
||||
load_int 1
|
||||
iload 1
|
||||
widget_put_size_widget
|
||||
load_int 374
|
||||
load_int 39
|
||||
load_int 0
|
||||
load_int 1
|
||||
iload 3
|
||||
widget_put_size_widget
|
||||
load_int 16
|
||||
load_int 39
|
||||
load_int 0
|
||||
load_int 1
|
||||
iload 4
|
||||
widget_put_size_widget
|
||||
load_int 30
|
||||
load_int 48
|
||||
load_int 2
|
||||
load_int 0
|
||||
iload 2
|
||||
widget_put_position_widget
|
||||
jump LABEL137
|
||||
LABEL110:
|
||||
load_int 0
|
||||
iload 9
|
||||
widget_put_hidden_widget
|
||||
load_int 0
|
||||
load_int 0
|
||||
load_int 1
|
||||
load_int 1
|
||||
iload 1
|
||||
widget_put_size_widget
|
||||
load_int 374
|
||||
load_int 81
|
||||
load_int 0
|
||||
load_int 1
|
||||
iload 3
|
||||
widget_put_size_widget
|
||||
load_int 16
|
||||
load_int 81
|
||||
load_int 0
|
||||
load_int 1
|
||||
iload 4
|
||||
widget_put_size_widget
|
||||
load_int 12
|
||||
load_int 42
|
||||
load_int 2
|
||||
load_int 0
|
||||
iload 2
|
||||
widget_put_position_widget
|
||||
LABEL137:
|
||||
iload 4
|
||||
iload 3
|
||||
invoke 231
|
||||
load_int 816
|
||||
istore 15
|
||||
load_int 816
|
||||
load_int 9
|
||||
load_int 3
|
||||
imul
|
||||
iadd
|
||||
istore 16
|
||||
LABEL148:
|
||||
iload 15
|
||||
iload 16
|
||||
if_icmple LABEL152
|
||||
jump LABEL165
|
||||
LABEL152:
|
||||
iload 3
|
||||
iload 15
|
||||
widget_load_child
|
||||
load_int 1
|
||||
if_icmpeq LABEL158
|
||||
jump LABEL160
|
||||
LABEL158:
|
||||
load_int 1
|
||||
widget_put_hidden
|
||||
LABEL160:
|
||||
iload 15
|
||||
load_int 1
|
||||
iadd
|
||||
istore 15
|
||||
jump LABEL148
|
||||
LABEL165:
|
||||
load_int 0
|
||||
istore 15
|
||||
load_int 8
|
||||
load_int 1
|
||||
isub
|
||||
istore 17
|
||||
iload 3
|
||||
widget_get_width_widget
|
||||
load_int 8
|
||||
load_int 36
|
||||
imul
|
||||
isub
|
||||
iload 17
|
||||
idiv
|
||||
istore 18
|
||||
load_int -1
|
||||
istore 19
|
||||
load_int 0
|
||||
istore 20
|
||||
load_int 0
|
||||
istore 21
|
||||
load_int 0
|
||||
istore 22
|
||||
load_int 0
|
||||
istore 23
|
||||
load_int -1
|
||||
istore 24
|
||||
load_int 0
|
||||
istore 25
|
||||
load_string ""
|
||||
sstore 0
|
||||
get_varbit 4150
|
||||
load_int 0
|
||||
if_icmple LABEL203
|
||||
get_varbit 4150
|
||||
load_int 9
|
||||
if_icmpgt LABEL203
|
||||
jump LABEL652
|
||||
LABEL203:
|
||||
iload 15
|
||||
load_int 816
|
||||
if_icmplt LABEL207
|
||||
jump LABEL232
|
||||
LABEL207:
|
||||
iload 3
|
||||
iload 15
|
||||
widget_load_child
|
||||
load_int 1
|
||||
if_icmpeq LABEL213
|
||||
jump LABEL215
|
||||
LABEL213:
|
||||
load_int 1
|
||||
widget_put_hidden
|
||||
LABEL215:
|
||||
load_int 95
|
||||
iload 15
|
||||
get_itemcontainer_itemid
|
||||
load_int -1
|
||||
if_icmpne LABEL221
|
||||
jump LABEL227
|
||||
LABEL221:
|
||||
iload 23
|
||||
load_int 1
|
||||
iadd
|
||||
iload 15
|
||||
istore 24
|
||||
istore 23
|
||||
LABEL227:
|
||||
iload 15
|
||||
load_int 1
|
||||
iadd
|
||||
istore 15
|
||||
jump LABEL203
|
||||
LABEL232:
|
||||
get_varbit 4171
|
||||
get_varbit 4172
|
||||
iadd
|
||||
get_varbit 4173
|
||||
iadd
|
||||
get_varbit 4174
|
||||
iadd
|
||||
get_varbit 4175
|
||||
iadd
|
||||
get_varbit 4176
|
||||
iadd
|
||||
get_varbit 4177
|
||||
iadd
|
||||
get_varbit 4178
|
||||
iadd
|
||||
get_varbit 4179
|
||||
iadd
|
||||
istore 25
|
||||
iload 25
|
||||
load_int 0
|
||||
if_icmple LABEL254
|
||||
jump LABEL258
|
||||
LABEL254:
|
||||
load_int 816
|
||||
load_int 1
|
||||
isub
|
||||
istore 24
|
||||
LABEL258:
|
||||
iload 25
|
||||
iload 24
|
||||
load_int 1
|
||||
iadd
|
||||
load_int 0
|
||||
iload 3
|
||||
iload 4
|
||||
iload 10
|
||||
iload 11
|
||||
iload 12
|
||||
iload 14
|
||||
iload 18
|
||||
iload 17
|
||||
iload 13
|
||||
invoke 509
|
||||
istore 20
|
||||
istore 22
|
||||
iload 21
|
||||
iload 20
|
||||
iadd
|
||||
istore 21
|
||||
load_int 0
|
||||
istore 15
|
||||
get_varbit 4171
|
||||
load_int 0
|
||||
if_icmpgt LABEL285
|
||||
jump LABEL315
|
||||
LABEL285:
|
||||
load_int 1
|
||||
iload 3
|
||||
iload 22
|
||||
invoke 510
|
||||
istore 14
|
||||
iload 15
|
||||
iload 15
|
||||
get_varbit 4171
|
||||
iadd
|
||||
load_int 1
|
||||
iload 3
|
||||
iload 4
|
||||
iload 10
|
||||
iload 11
|
||||
iload 12
|
||||
iload 14
|
||||
iload 18
|
||||
iload 17
|
||||
iload 13
|
||||
invoke 509
|
||||
istore 20
|
||||
istore 22
|
||||
iload 21
|
||||
iload 20
|
||||
iadd
|
||||
istore 21
|
||||
iload 15
|
||||
get_varbit 4171
|
||||
iadd
|
||||
istore 15
|
||||
LABEL315:
|
||||
get_varbit 4172
|
||||
load_int 0
|
||||
if_icmpgt LABEL319
|
||||
jump LABEL349
|
||||
LABEL319:
|
||||
load_int 2
|
||||
iload 3
|
||||
iload 22
|
||||
invoke 510
|
||||
istore 14
|
||||
iload 15
|
||||
iload 15
|
||||
get_varbit 4172
|
||||
iadd
|
||||
load_int 2
|
||||
iload 3
|
||||
iload 4
|
||||
iload 10
|
||||
iload 11
|
||||
iload 12
|
||||
iload 14
|
||||
iload 18
|
||||
iload 17
|
||||
iload 13
|
||||
invoke 509
|
||||
istore 20
|
||||
istore 22
|
||||
iload 21
|
||||
iload 20
|
||||
iadd
|
||||
istore 21
|
||||
iload 15
|
||||
get_varbit 4172
|
||||
iadd
|
||||
istore 15
|
||||
LABEL349:
|
||||
get_varbit 4173
|
||||
load_int 0
|
||||
if_icmpgt LABEL353
|
||||
jump LABEL383
|
||||
LABEL353:
|
||||
load_int 3
|
||||
iload 3
|
||||
iload 22
|
||||
invoke 510
|
||||
istore 14
|
||||
iload 15
|
||||
iload 15
|
||||
get_varbit 4173
|
||||
iadd
|
||||
load_int 3
|
||||
iload 3
|
||||
iload 4
|
||||
iload 10
|
||||
iload 11
|
||||
iload 12
|
||||
iload 14
|
||||
iload 18
|
||||
iload 17
|
||||
iload 13
|
||||
invoke 509
|
||||
istore 20
|
||||
istore 22
|
||||
iload 21
|
||||
iload 20
|
||||
iadd
|
||||
istore 21
|
||||
iload 15
|
||||
get_varbit 4173
|
||||
iadd
|
||||
istore 15
|
||||
LABEL383:
|
||||
get_varbit 4174
|
||||
load_int 0
|
||||
if_icmpgt LABEL387
|
||||
jump LABEL417
|
||||
LABEL387:
|
||||
load_int 4
|
||||
iload 3
|
||||
iload 22
|
||||
invoke 510
|
||||
istore 14
|
||||
iload 15
|
||||
iload 15
|
||||
get_varbit 4174
|
||||
iadd
|
||||
load_int 4
|
||||
iload 3
|
||||
iload 4
|
||||
iload 10
|
||||
iload 11
|
||||
iload 12
|
||||
iload 14
|
||||
iload 18
|
||||
iload 17
|
||||
iload 13
|
||||
invoke 509
|
||||
istore 20
|
||||
istore 22
|
||||
iload 21
|
||||
iload 20
|
||||
iadd
|
||||
istore 21
|
||||
iload 15
|
||||
get_varbit 4174
|
||||
iadd
|
||||
istore 15
|
||||
LABEL417:
|
||||
get_varbit 4175
|
||||
load_int 0
|
||||
if_icmpgt LABEL421
|
||||
jump LABEL451
|
||||
LABEL421:
|
||||
load_int 5
|
||||
iload 3
|
||||
iload 22
|
||||
invoke 510
|
||||
istore 14
|
||||
iload 15
|
||||
iload 15
|
||||
get_varbit 4175
|
||||
iadd
|
||||
load_int 5
|
||||
iload 3
|
||||
iload 4
|
||||
iload 10
|
||||
iload 11
|
||||
iload 12
|
||||
iload 14
|
||||
iload 18
|
||||
iload 17
|
||||
iload 13
|
||||
invoke 509
|
||||
istore 20
|
||||
istore 22
|
||||
iload 21
|
||||
iload 20
|
||||
iadd
|
||||
istore 21
|
||||
iload 15
|
||||
get_varbit 4175
|
||||
iadd
|
||||
istore 15
|
||||
LABEL451:
|
||||
get_varbit 4176
|
||||
load_int 0
|
||||
if_icmpgt LABEL455
|
||||
jump LABEL485
|
||||
LABEL455:
|
||||
load_int 6
|
||||
iload 3
|
||||
iload 22
|
||||
invoke 510
|
||||
istore 14
|
||||
iload 15
|
||||
iload 15
|
||||
get_varbit 4176
|
||||
iadd
|
||||
load_int 6
|
||||
iload 3
|
||||
iload 4
|
||||
iload 10
|
||||
iload 11
|
||||
iload 12
|
||||
iload 14
|
||||
iload 18
|
||||
iload 17
|
||||
iload 13
|
||||
invoke 509
|
||||
istore 20
|
||||
istore 22
|
||||
iload 21
|
||||
iload 20
|
||||
iadd
|
||||
istore 21
|
||||
iload 15
|
||||
get_varbit 4176
|
||||
iadd
|
||||
istore 15
|
||||
LABEL485:
|
||||
get_varbit 4177
|
||||
load_int 0
|
||||
if_icmpgt LABEL489
|
||||
jump LABEL519
|
||||
LABEL489:
|
||||
load_int 7
|
||||
iload 3
|
||||
iload 22
|
||||
invoke 510
|
||||
istore 14
|
||||
iload 15
|
||||
iload 15
|
||||
get_varbit 4177
|
||||
iadd
|
||||
load_int 7
|
||||
iload 3
|
||||
iload 4
|
||||
iload 10
|
||||
iload 11
|
||||
iload 12
|
||||
iload 14
|
||||
iload 18
|
||||
iload 17
|
||||
iload 13
|
||||
invoke 509
|
||||
istore 20
|
||||
istore 22
|
||||
iload 21
|
||||
iload 20
|
||||
iadd
|
||||
istore 21
|
||||
iload 15
|
||||
get_varbit 4177
|
||||
iadd
|
||||
istore 15
|
||||
LABEL519:
|
||||
get_varbit 4178
|
||||
load_int 0
|
||||
if_icmpgt LABEL523
|
||||
jump LABEL553
|
||||
LABEL523:
|
||||
load_int 8
|
||||
iload 3
|
||||
iload 22
|
||||
invoke 510
|
||||
istore 14
|
||||
iload 15
|
||||
iload 15
|
||||
get_varbit 4178
|
||||
iadd
|
||||
load_int 8
|
||||
iload 3
|
||||
iload 4
|
||||
iload 10
|
||||
iload 11
|
||||
iload 12
|
||||
iload 14
|
||||
iload 18
|
||||
iload 17
|
||||
iload 13
|
||||
invoke 509
|
||||
istore 20
|
||||
istore 22
|
||||
iload 21
|
||||
iload 20
|
||||
iadd
|
||||
istore 21
|
||||
iload 15
|
||||
get_varbit 4178
|
||||
iadd
|
||||
istore 15
|
||||
LABEL553:
|
||||
get_varbit 4179
|
||||
load_int 0
|
||||
if_icmpgt LABEL557
|
||||
jump LABEL587
|
||||
LABEL557:
|
||||
load_int 9
|
||||
iload 3
|
||||
iload 22
|
||||
invoke 510
|
||||
istore 14
|
||||
iload 15
|
||||
iload 15
|
||||
get_varbit 4179
|
||||
iadd
|
||||
load_int 9
|
||||
iload 3
|
||||
iload 4
|
||||
iload 10
|
||||
iload 11
|
||||
iload 12
|
||||
iload 14
|
||||
iload 18
|
||||
iload 17
|
||||
iload 13
|
||||
invoke 509
|
||||
istore 20
|
||||
istore 22
|
||||
iload 21
|
||||
iload 20
|
||||
iadd
|
||||
istore 21
|
||||
iload 15
|
||||
get_varbit 4179
|
||||
iadd
|
||||
istore 15
|
||||
LABEL587:
|
||||
invoke 514
|
||||
load_int 1
|
||||
if_icmpeq LABEL591
|
||||
jump LABEL632
|
||||
LABEL591:
|
||||
invoke 280
|
||||
sstore 0
|
||||
sload 0
|
||||
string_length
|
||||
load_int 0
|
||||
if_icmpgt LABEL598
|
||||
jump LABEL617
|
||||
LABEL598:
|
||||
load_string "Showing items: "
|
||||
load_string "<col=ff0000>"
|
||||
sload 0
|
||||
load_string "</col>"
|
||||
string_append 4
|
||||
iload 6
|
||||
widget_put_text_widget
|
||||
get_varc 5
|
||||
load_int 11
|
||||
if_icmpeq LABEL609
|
||||
jump LABEL616
|
||||
LABEL609:
|
||||
load_string "Show items whose names contain the following text: ("
|
||||
iload 21
|
||||
int_to_string
|
||||
load_string " found)"
|
||||
string_append 3
|
||||
iload 21 ; load number of matches
|
||||
load_string "setSearchBankInputTextFound" ; load event name
|
||||
runelite_callback ; invoke callback
|
||||
pop_int ; pop number of matches
|
||||
load_int 10616868
|
||||
widget_put_text_widget
|
||||
LABEL616:
|
||||
jump LABEL631
|
||||
LABEL617:
|
||||
load_string "Showing items: "
|
||||
load_string "<col=ff0000>"
|
||||
load_string "*"
|
||||
load_string "</col>"
|
||||
string_append 4
|
||||
iload 6
|
||||
widget_put_text_widget
|
||||
get_varc 5
|
||||
load_int 11
|
||||
if_icmpeq LABEL628
|
||||
jump LABEL631
|
||||
LABEL628:
|
||||
load_string "Show items whose names contain the following text:"
|
||||
load_string "setSearchBankInputText" ; load event name
|
||||
runelite_callback ; invoke callback
|
||||
load_int 10616868
|
||||
widget_put_text_widget
|
||||
LABEL631:
|
||||
jump LABEL635
|
||||
LABEL632:
|
||||
load_string "The Bank of RuneScape"
|
||||
iload 6
|
||||
widget_put_text_widget
|
||||
LABEL635:
|
||||
iload 0
|
||||
iload 1
|
||||
iload 2
|
||||
iload 3
|
||||
iload 4
|
||||
iload 5
|
||||
iload 6
|
||||
iload 7
|
||||
iload 8
|
||||
iload 9
|
||||
iload 10
|
||||
iload 11
|
||||
iload 12
|
||||
iload 22
|
||||
iload 23
|
||||
invoke 505
|
||||
return
|
||||
LABEL652:
|
||||
invoke 514
|
||||
load_int 1
|
||||
if_icmpeq LABEL656
|
||||
jump LABEL659
|
||||
LABEL656:
|
||||
load_int 1
|
||||
load_int 1
|
||||
invoke 299
|
||||
LABEL659:
|
||||
load_int -1
|
||||
istore 26
|
||||
load_int -1
|
||||
istore 27
|
||||
get_varbit 4150
|
||||
invoke 513
|
||||
istore 27
|
||||
istore 26
|
||||
load_int 0
|
||||
istore 28
|
||||
load_int 0
|
||||
istore 29
|
||||
LABEL671:
|
||||
iload 15
|
||||
load_int 816
|
||||
if_icmplt LABEL675
|
||||
jump LABEL753
|
||||
LABEL675:
|
||||
iload 3
|
||||
iload 15
|
||||
widget_load_child
|
||||
load_int 1
|
||||
if_icmpeq LABEL681
|
||||
jump LABEL748
|
||||
LABEL681:
|
||||
load_int 95
|
||||
iload 15
|
||||
get_itemcontainer_itemid
|
||||
istore 19
|
||||
iload 19
|
||||
load_int -1
|
||||
if_icmpne LABEL689
|
||||
jump LABEL693
|
||||
LABEL689:
|
||||
iload 23
|
||||
load_int 1
|
||||
iadd
|
||||
istore 23
|
||||
LABEL693:
|
||||
iload 15
|
||||
iload 26
|
||||
if_icmpge LABEL697
|
||||
jump LABEL746
|
||||
LABEL697:
|
||||
iload 15
|
||||
iload 27
|
||||
if_icmplt LABEL701
|
||||
jump LABEL746
|
||||
LABEL701:
|
||||
load_int 0
|
||||
widget_put_hidden
|
||||
iload 19
|
||||
load_int 95
|
||||
iload 15
|
||||
get_itemcontainer_stacksize
|
||||
iload 3
|
||||
iload 4
|
||||
iload 10
|
||||
iload 11
|
||||
iload 12
|
||||
invoke 278
|
||||
iload 29
|
||||
load_int 36
|
||||
imul
|
||||
istore 22
|
||||
iload 28
|
||||
load_int 36
|
||||
iload 18
|
||||
iadd
|
||||
imul
|
||||
iload 22
|
||||
load_int 0
|
||||
load_int 0
|
||||
widget_put_position
|
||||
iload 22
|
||||
load_int 32
|
||||
iadd
|
||||
istore 22
|
||||
iload 28
|
||||
iload 17
|
||||
if_icmplt LABEL734
|
||||
jump LABEL739
|
||||
LABEL734:
|
||||
iload 28
|
||||
load_int 1
|
||||
iadd
|
||||
istore 28
|
||||
jump LABEL745
|
||||
LABEL739:
|
||||
load_int 0
|
||||
iload 29
|
||||
load_int 1
|
||||
iadd
|
||||
istore 29
|
||||
istore 28
|
||||
LABEL745:
|
||||
jump LABEL748
|
||||
LABEL746:
|
||||
load_int 1
|
||||
widget_put_hidden
|
||||
LABEL748:
|
||||
iload 15
|
||||
load_int 1
|
||||
iadd
|
||||
istore 15
|
||||
jump LABEL671
|
||||
LABEL753:
|
||||
get_varbit 4170
|
||||
load_int 2
|
||||
if_icmpeq LABEL757
|
||||
jump LABEL767
|
||||
LABEL757:
|
||||
load_string "Tab "
|
||||
load_int 105
|
||||
load_int 115
|
||||
load_int 207
|
||||
get_varbit 4150
|
||||
get_enum_value
|
||||
string_append 2
|
||||
iload 6
|
||||
widget_put_text_widget
|
||||
jump LABEL773
|
||||
LABEL767:
|
||||
load_string "Tab "
|
||||
get_varbit 4150
|
||||
int_to_string
|
||||
string_append 2
|
||||
iload 6
|
||||
widget_put_text_widget
|
||||
LABEL773:
|
||||
iload 0
|
||||
iload 1
|
||||
iload 2
|
||||
iload 3
|
||||
iload 4
|
||||
iload 5
|
||||
iload 6
|
||||
iload 7
|
||||
iload 8
|
||||
iload 9
|
||||
iload 10
|
||||
iload 11
|
||||
iload 12
|
||||
iload 22
|
||||
iload 23
|
||||
invoke 505
|
||||
return
|
||||
1
runelite-client/src/main/scripts/ChatboxInput.hash
Normal file
1
runelite-client/src/main/scripts/ChatboxInput.hash
Normal file
@@ -0,0 +1 @@
|
||||
7D172258726F2B866D2EFFB0F2E401D0551A377DCA7F72CCD8839AC88B3EA6A2
|
||||
51
runelite-client/src/main/scripts/ChatboxInput.rs2asm
Normal file
51
runelite-client/src/main/scripts/ChatboxInput.rs2asm
Normal file
@@ -0,0 +1,51 @@
|
||||
.id 96
|
||||
.int_stack_count 1
|
||||
.string_stack_count 1
|
||||
.int_var_count 1
|
||||
.string_var_count 1
|
||||
sload 0 ; load input
|
||||
iload 0 ; load chat type
|
||||
load_string "chatboxInput" ; event name
|
||||
runelite_callback ; invoke callback
|
||||
pop_int ; pop chat type
|
||||
string_length ; get string length of chat message
|
||||
load_int 0 ; load 0
|
||||
if_icmpne LABEL100 ; if length is not 0, continue
|
||||
return
|
||||
LABEL100:
|
||||
get_varbit 4394
|
||||
load_int 1
|
||||
if_icmpeq LABEL4
|
||||
jump LABEL24
|
||||
LABEL4:
|
||||
iload 0
|
||||
load_int 1
|
||||
if_icmpeq LABEL8
|
||||
jump LABEL16
|
||||
LABEL8:
|
||||
get_localplayer_name
|
||||
load_string ": "
|
||||
load_string "<col=2020ef>"
|
||||
sload 0
|
||||
load_string "</col>"
|
||||
string_append 5
|
||||
send_game_message
|
||||
jump LABEL23
|
||||
LABEL16:
|
||||
get_localplayer_name
|
||||
load_string ": "
|
||||
load_string "<col=0000ff>"
|
||||
sload 0
|
||||
load_string "</col>"
|
||||
string_append 5
|
||||
send_game_message
|
||||
LABEL23:
|
||||
jump LABEL27
|
||||
LABEL24:
|
||||
sload 0
|
||||
iload 0
|
||||
chatbox_input
|
||||
LABEL27:
|
||||
get_gamecycle
|
||||
put_varc 61
|
||||
return
|
||||
67
runelite-client/src/main/scripts/ChatboxInputHandler.rs2asm
Normal file
67
runelite-client/src/main/scripts/ChatboxInputHandler.rs2asm
Normal file
@@ -0,0 +1,67 @@
|
||||
; Copyright (c) 2018 Abex
|
||||
; All rights reserved.
|
||||
;
|
||||
; Redistribution and use in source and binary forms, with or without
|
||||
; modification, are permitted provided that the following conditions are met:
|
||||
;
|
||||
; 1. Redistributions of source code must retain the above copyright notice, this
|
||||
; list of conditions and the following disclaimer.
|
||||
; 2. Redistributions in binary form must reproduce the above copyright notice,
|
||||
; this list of conditions and the following disclaimer in the documentation
|
||||
; and/or other materials provided with the distribution.
|
||||
;
|
||||
; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
; ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
; WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
; DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
||||
; ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
; (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||
; ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
; (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
; SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
;;
|
||||
; Keylistener for ChatboxInputInit
|
||||
;
|
||||
; Script 112 Normal keylistener
|
||||
;
|
||||
; @param int pressedKey
|
||||
; @param int typedKey
|
||||
;;
|
||||
|
||||
.id 10002
|
||||
.int_stack_count 1
|
||||
.string_stack_count 1
|
||||
.int_var_count 2
|
||||
.string_var_count 1
|
||||
|
||||
; Discard zero presses
|
||||
iload 0
|
||||
load_int 0
|
||||
if_icmpeq LABEL1
|
||||
|
||||
; Call runelite
|
||||
iload 0
|
||||
get_varc_string 22
|
||||
load_string "chatboxInputHandler"
|
||||
runelite_callback
|
||||
istore 0
|
||||
put_varc_string 22
|
||||
|
||||
; Check return value
|
||||
iload 0
|
||||
load_int 1
|
||||
if_icmpne LABEL0
|
||||
|
||||
; Close the dialog
|
||||
load_int 1
|
||||
load_int 1
|
||||
invoke 299
|
||||
|
||||
; Update UI
|
||||
LABEL0:
|
||||
load_string ""
|
||||
invoke 222
|
||||
LABEL1:
|
||||
return
|
||||
84
runelite-client/src/main/scripts/ChatboxInputInit.rs2asm
Normal file
84
runelite-client/src/main/scripts/ChatboxInputInit.rs2asm
Normal file
@@ -0,0 +1,84 @@
|
||||
; Copyright (c) 2018 Abex
|
||||
; All rights reserved.
|
||||
;
|
||||
; Redistribution and use in source and binary forms, with or without
|
||||
; modification, are permitted provided that the following conditions are met:
|
||||
;
|
||||
; 1. Redistributions of source code must retain the above copyright notice, this
|
||||
; list of conditions and the following disclaimer.
|
||||
; 2. Redistributions in binary form must reproduce the above copyright notice,
|
||||
; this list of conditions and the following disclaimer in the documentation
|
||||
; and/or other materials provided with the distribution.
|
||||
;
|
||||
; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
; ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
; WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
; DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
||||
; ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
; (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||
; ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
; (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
; SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
;;
|
||||
; Creates a chatbox text input
|
||||
;
|
||||
; @param String Prompt text
|
||||
; @param String Default value
|
||||
;
|
||||
; Script 752 GE input panel
|
||||
; Script 103-111 various input panels
|
||||
; Script 74 validates input
|
||||
; script 112 key callback
|
||||
;;
|
||||
|
||||
.id 10001
|
||||
.int_stack_count 0
|
||||
.string_stack_count 2
|
||||
.int_var_count 0
|
||||
.string_var_count 2
|
||||
|
||||
; Hide the chat pane
|
||||
invoke 677
|
||||
|
||||
; Set current value
|
||||
sload 1
|
||||
put_varc_string 22
|
||||
|
||||
; Set text
|
||||
sload 0
|
||||
load_int 10616868 ; 162:36
|
||||
widget_put_text_widget
|
||||
|
||||
; Init the widgets
|
||||
load_string ""
|
||||
invoke 222
|
||||
|
||||
; Register the key listener
|
||||
load_int 10002
|
||||
load_int -2147483639 ; typedKey
|
||||
load_string "i"
|
||||
load_int 10616869
|
||||
widget_put_key_listener_widget
|
||||
|
||||
; Restore the chatbox on exit
|
||||
load_int 299
|
||||
load_int 1
|
||||
load_int 1
|
||||
load_string "ii"
|
||||
load_int 10616869
|
||||
widget_put_dialog_abort_listener_widget
|
||||
|
||||
; 70% sure this opens the keyboard on mobile
|
||||
invoke 1972
|
||||
load_int 1
|
||||
if_icmpeq LABEL25
|
||||
jump LABEL26
|
||||
LABEL25:
|
||||
load_int 1
|
||||
load_int 10
|
||||
invoke 1983
|
||||
LABEL26:
|
||||
|
||||
return
|
||||
1
runelite-client/src/main/scripts/CommandScript.hash
Normal file
1
runelite-client/src/main/scripts/CommandScript.hash
Normal file
@@ -0,0 +1 @@
|
||||
75212151145D5ED7A15389181C1F953B696D0E4C3CB223BEF404343CB403554B
|
||||
323
runelite-client/src/main/scripts/CommandScript.rs2asm
Normal file
323
runelite-client/src/main/scripts/CommandScript.rs2asm
Normal file
@@ -0,0 +1,323 @@
|
||||
.id 73
|
||||
.int_stack_count 2
|
||||
.string_stack_count 0
|
||||
.int_var_count 5
|
||||
.string_var_count 0
|
||||
load_int 10616876
|
||||
widget_get_hidden_widget
|
||||
load_int 1
|
||||
if_icmpeq LABEL9
|
||||
load_int 10616877
|
||||
widget_get_hidden_widget
|
||||
load_int 1
|
||||
if_icmpeq LABEL9
|
||||
jump LABEL10
|
||||
LABEL9:
|
||||
return
|
||||
LABEL10:
|
||||
get_varc 203
|
||||
load_int 0
|
||||
if_icmpeq LABEL22
|
||||
get_varc 203
|
||||
load_int -1
|
||||
if_icmpeq LABEL22
|
||||
load_int -1
|
||||
load_int 162
|
||||
invoke 1701
|
||||
load_int 0
|
||||
if_icmpeq LABEL22
|
||||
jump LABEL23
|
||||
LABEL22:
|
||||
return
|
||||
LABEL23:
|
||||
get_varc_string 1
|
||||
string_length
|
||||
istore 2
|
||||
load_int 0
|
||||
istore 3
|
||||
load_int 0
|
||||
istore 4
|
||||
invoke 1972
|
||||
load_int 1
|
||||
if_icmpeq LABEL34
|
||||
jump LABEL40
|
||||
LABEL34:
|
||||
get_varc 41
|
||||
load_int 4
|
||||
if_icmpeq LABEL38
|
||||
jump LABEL40
|
||||
LABEL38:
|
||||
load_int 1
|
||||
istore 4
|
||||
LABEL40:
|
||||
get_rights
|
||||
load_int 0
|
||||
if_icmpgt LABEL44
|
||||
jump LABEL46
|
||||
LABEL44:
|
||||
load_int 1
|
||||
istore 3
|
||||
LABEL46:
|
||||
iload 3
|
||||
load_int 1
|
||||
if_icmpeq LABEL50
|
||||
jump LABEL61
|
||||
LABEL50:
|
||||
load_string "`"
|
||||
iload 1
|
||||
string_indexof
|
||||
load_int -1
|
||||
if_icmpne LABEL56
|
||||
jump LABEL61
|
||||
LABEL56:
|
||||
iload 2
|
||||
load_int 0
|
||||
if_icmpeq LABEL60
|
||||
jump LABEL61
|
||||
LABEL60:
|
||||
return
|
||||
LABEL61:
|
||||
iload 0
|
||||
load_int 84
|
||||
if_icmpeq LABEL65
|
||||
jump LABEL182
|
||||
LABEL65:
|
||||
invoke 1984
|
||||
iload 2
|
||||
load_int 0
|
||||
if_icmpgt LABEL70
|
||||
jump LABEL181
|
||||
LABEL70:
|
||||
get_varc_string 1
|
||||
load_string "/"
|
||||
load_int 0
|
||||
string_indexof_from
|
||||
load_int 0
|
||||
if_icmpeq LABEL80
|
||||
iload 4
|
||||
load_int 1
|
||||
if_icmpeq LABEL80
|
||||
jump LABEL115
|
||||
LABEL80:
|
||||
get_clanchatcount
|
||||
load_int 0
|
||||
if_icmpgt LABEL84
|
||||
jump LABEL111
|
||||
LABEL84:
|
||||
iload 2
|
||||
load_int 1
|
||||
if_icmple LABEL88
|
||||
jump LABEL89
|
||||
LABEL88:
|
||||
return
|
||||
LABEL89:
|
||||
get_varbit 4394
|
||||
load_int 1
|
||||
if_icmpeq LABEL93
|
||||
jump LABEL99
|
||||
LABEL93:
|
||||
get_clanchatcount
|
||||
load_int 0
|
||||
if_icmpgt LABEL97
|
||||
jump LABEL98
|
||||
LABEL97:
|
||||
part_clanchat
|
||||
LABEL98:
|
||||
jump LABEL110
|
||||
LABEL99:
|
||||
iload 4
|
||||
load_int 1
|
||||
if_icmpeq LABEL103
|
||||
jump LABEL107
|
||||
LABEL103:
|
||||
load_string "/"
|
||||
get_varc_string 1
|
||||
concat_string
|
||||
put_varc_string 1
|
||||
LABEL107:
|
||||
get_varc_string 1
|
||||
load_int 2
|
||||
invoke 96
|
||||
LABEL110:
|
||||
jump LABEL114
|
||||
LABEL111:
|
||||
get_varc_string 1
|
||||
load_int 0
|
||||
invoke 96
|
||||
LABEL114:
|
||||
jump LABEL177
|
||||
LABEL115:
|
||||
get_varc_string 1
|
||||
load_string "::"
|
||||
load_int 0
|
||||
string_indexof_from
|
||||
load_int 0
|
||||
if_icmpeq LABEL122
|
||||
jump LABEL174
|
||||
LABEL122:
|
||||
iload 2
|
||||
load_int 2
|
||||
if_icmpgt LABEL126
|
||||
jump LABEL170
|
||||
LABEL126:
|
||||
get_varc_string 1
|
||||
load_string "::toggleroof"
|
||||
load_int 0
|
||||
string_indexof_from
|
||||
load_int 0
|
||||
if_icmpeq LABEL133
|
||||
jump LABEL147
|
||||
LABEL133:
|
||||
get_hideroofs
|
||||
load_int 1
|
||||
if_icmpeq LABEL137
|
||||
jump LABEL142
|
||||
LABEL137:
|
||||
load_int 0
|
||||
set_hideroofs
|
||||
load_string "Roofs will only be removed selectively."
|
||||
send_game_message
|
||||
jump LABEL146
|
||||
LABEL142:
|
||||
load_int 1
|
||||
set_hideroofs
|
||||
load_string "Roofs are now all hidden."
|
||||
send_game_message
|
||||
LABEL146:
|
||||
jump LABEL169
|
||||
LABEL147:
|
||||
get_varc_string 1
|
||||
load_string "::bank"
|
||||
load_int 0
|
||||
string_indexof_from
|
||||
load_int 0
|
||||
if_icmpeq LABEL154
|
||||
load_string "runeliteCommand" ; load callback name
|
||||
runelite_callback ; invoke callback
|
||||
jump LABEL158
|
||||
LABEL154:
|
||||
load_string "Hey, everyone, I just tried to do something very silly!"
|
||||
load_int 0
|
||||
invoke 96
|
||||
jump LABEL169
|
||||
LABEL158:
|
||||
get_varc_string 1
|
||||
invoke 224
|
||||
put_varc_string 1
|
||||
get_varc_string 1
|
||||
string_length
|
||||
istore 2
|
||||
get_varc_string 1
|
||||
load_int 2
|
||||
iload 2
|
||||
string_substring
|
||||
run_command
|
||||
LABEL169:
|
||||
jump LABEL173
|
||||
LABEL170:
|
||||
get_varc_string 1
|
||||
load_int 0
|
||||
invoke 96
|
||||
LABEL173:
|
||||
jump LABEL177
|
||||
LABEL174:
|
||||
get_varc_string 1
|
||||
load_int 0
|
||||
invoke 96
|
||||
LABEL177:
|
||||
get_varc_string 1
|
||||
invoke 77
|
||||
load_string ""
|
||||
put_varc_string 1
|
||||
LABEL181:
|
||||
jump LABEL250
|
||||
LABEL182:
|
||||
iload 0
|
||||
load_int 104
|
||||
if_icmpeq LABEL186
|
||||
jump LABEL192
|
||||
LABEL186:
|
||||
iload 3
|
||||
load_int 1
|
||||
if_icmpeq LABEL190
|
||||
jump LABEL191
|
||||
LABEL190:
|
||||
invoke 75
|
||||
LABEL191:
|
||||
jump LABEL250
|
||||
LABEL192:
|
||||
iload 0
|
||||
load_int 105
|
||||
if_icmpeq LABEL196
|
||||
jump LABEL202
|
||||
LABEL196:
|
||||
iload 3
|
||||
load_int 1
|
||||
if_icmpeq LABEL200
|
||||
jump LABEL201
|
||||
LABEL200:
|
||||
invoke 76
|
||||
LABEL201:
|
||||
jump LABEL250
|
||||
LABEL202:
|
||||
iload 0
|
||||
load_int 80
|
||||
if_icmpeq LABEL206
|
||||
jump LABEL244
|
||||
LABEL206:
|
||||
get_varc_string
|
||||
string_length
|
||||
load_int 0
|
||||
if_icmpgt LABEL211
|
||||
jump LABEL231
|
||||
LABEL211:
|
||||
get_varc_string
|
||||
is_friend
|
||||
load_int 1
|
||||
if_icmpeq LABEL216
|
||||
jump LABEL219
|
||||
LABEL216:
|
||||
get_varc_string
|
||||
invoke 107
|
||||
return
|
||||
LABEL219:
|
||||
get_varc 60
|
||||
get_gamecycle
|
||||
if_icmpgt LABEL223
|
||||
jump LABEL224
|
||||
LABEL223:
|
||||
return
|
||||
LABEL224:
|
||||
get_gamecycle
|
||||
load_int 50
|
||||
iadd
|
||||
put_varc 60
|
||||
load_string "That player was not found on your Friends list."
|
||||
send_game_message
|
||||
return
|
||||
LABEL231:
|
||||
get_varc 60
|
||||
get_gamecycle
|
||||
if_icmpgt LABEL235
|
||||
jump LABEL236
|
||||
LABEL235:
|
||||
return
|
||||
LABEL236:
|
||||
get_gamecycle
|
||||
load_int 50
|
||||
iadd
|
||||
put_varc 60
|
||||
load_string "You haven't received any messages to which you can reply."
|
||||
send_game_message
|
||||
return
|
||||
jump LABEL250
|
||||
LABEL244:
|
||||
get_varc_string 1
|
||||
load_int 0
|
||||
iload 0
|
||||
iload 1
|
||||
invoke 74
|
||||
put_varc_string 1
|
||||
LABEL250:
|
||||
invoke 223
|
||||
return
|
||||
@@ -0,0 +1 @@
|
||||
36E6536190084AD0420E92E64AC53C3614DB124A2E0F31D42B36E6622F46BDDE
|
||||
45
runelite-client/src/main/scripts/OpenBankSearchInput.rs2asm
Normal file
45
runelite-client/src/main/scripts/OpenBankSearchInput.rs2asm
Normal file
@@ -0,0 +1,45 @@
|
||||
.id 300
|
||||
.int_stack_count 0
|
||||
.string_stack_count 0
|
||||
.int_var_count 0
|
||||
.string_var_count 1
|
||||
get_varc 11
|
||||
load_int 1
|
||||
if_icmpeq LABEL4
|
||||
jump LABEL5
|
||||
LABEL4:
|
||||
close_window
|
||||
LABEL5:
|
||||
invoke 677
|
||||
load_string "Show items whose names contain the following text:"
|
||||
load_string "setSearchBankInputText" ; load event name
|
||||
runelite_callback ; invoke callback
|
||||
load_int 10616868
|
||||
widget_put_text_widget
|
||||
load_int 11
|
||||
put_varc 5
|
||||
load_string ""
|
||||
invoke 222
|
||||
load_string ""
|
||||
sstore 0
|
||||
load_int 112
|
||||
load_int -2147483640
|
||||
load_int -2147483639
|
||||
sload 0
|
||||
load_string "izs"
|
||||
load_int 10616869
|
||||
widget_put_key_listener_widget
|
||||
load_int 138
|
||||
load_string ""
|
||||
load_int 10616869
|
||||
widget_put_dialog_abort_listener_widget
|
||||
invoke 1972
|
||||
load_int 1
|
||||
if_icmpeq LABEL30
|
||||
jump LABEL33
|
||||
LABEL30:
|
||||
load_int 0
|
||||
load_int 80
|
||||
invoke 1983
|
||||
LABEL33:
|
||||
return
|
||||
@@ -0,0 +1 @@
|
||||
50800C21315097170DBEB2E7EFBDD59D4FF95D23835128D998B4D26083B8FE12
|
||||
541
runelite-client/src/main/scripts/OptionsPanelRebuilder.rs2asm
Normal file
541
runelite-client/src/main/scripts/OptionsPanelRebuilder.rs2asm
Normal file
@@ -0,0 +1,541 @@
|
||||
.id 909
|
||||
.int_stack_count 2
|
||||
.string_stack_count 0
|
||||
.int_var_count 17
|
||||
.string_var_count 0
|
||||
load_int 73
|
||||
load_int 73
|
||||
iload 1
|
||||
load_int 10551298
|
||||
get_enum_value
|
||||
istore 2
|
||||
load_int 73
|
||||
load_int 73
|
||||
iload 1
|
||||
load_int 10551306
|
||||
get_enum_value
|
||||
istore 3
|
||||
load_int 73
|
||||
load_int 73
|
||||
iload 1
|
||||
load_int 10551301
|
||||
get_enum_value
|
||||
istore 4
|
||||
load_int 73
|
||||
load_int 73
|
||||
iload 1
|
||||
load_int 10551308
|
||||
get_enum_value
|
||||
istore 5
|
||||
load_int 103
|
||||
load_int 105
|
||||
load_int 1960
|
||||
iload 1
|
||||
get_enum_value
|
||||
istore 6
|
||||
load_int 103
|
||||
load_int 105
|
||||
load_int 1961
|
||||
iload 1
|
||||
get_enum_value
|
||||
istore 7
|
||||
load_int 103
|
||||
load_int 105
|
||||
load_int 1135
|
||||
iload 1
|
||||
get_enum_value
|
||||
istore 8
|
||||
load_int 103
|
||||
load_int 105
|
||||
load_int 1136
|
||||
iload 1
|
||||
get_enum_value
|
||||
istore 9
|
||||
load_int 0
|
||||
istore 10
|
||||
load_int 0
|
||||
istore 11
|
||||
load_int 0
|
||||
istore 12
|
||||
load_int 0
|
||||
istore 13
|
||||
load_int 0
|
||||
istore 14
|
||||
load_int 0
|
||||
istore 15
|
||||
get_varbit 4606
|
||||
load_int 0
|
||||
if_icmpne LABEL64
|
||||
jump LABEL222
|
||||
LABEL64:
|
||||
get_varbit 4606
|
||||
load_int 2
|
||||
if_icmpeq LABEL68
|
||||
jump LABEL82
|
||||
LABEL68:
|
||||
load_int 256
|
||||
load_int 180
|
||||
6200
|
||||
load_int 256
|
||||
load_int 180
|
||||
set_zoom_distance
|
||||
load_int 0
|
||||
load_int 0
|
||||
load_int 0
|
||||
load_int 0
|
||||
6202
|
||||
load_int 50
|
||||
set_camera_focal_point_height
|
||||
jump LABEL95
|
||||
LABEL82:
|
||||
load_int 256
|
||||
load_int 256
|
||||
6200
|
||||
load_int 256
|
||||
load_int 256
|
||||
set_zoom_distance
|
||||
load_int 256
|
||||
load_int 256
|
||||
load_int 256
|
||||
load_int 256
|
||||
6202
|
||||
load_int 50
|
||||
set_camera_focal_point_height
|
||||
LABEL95:
|
||||
iload 2
|
||||
load_int -1
|
||||
if_icmpne LABEL99
|
||||
jump LABEL221
|
||||
LABEL99:
|
||||
iload 3
|
||||
load_int -1
|
||||
if_icmpne LABEL103
|
||||
jump LABEL221
|
||||
LABEL103:
|
||||
get_viewport_size
|
||||
istore 11
|
||||
istore 10
|
||||
iload 10
|
||||
iload 11
|
||||
load_int 0
|
||||
load_int 0
|
||||
iload 2
|
||||
widget_put_size_widget
|
||||
invoke 1972
|
||||
load_int 0
|
||||
if_icmpeq LABEL116
|
||||
jump LABEL122
|
||||
LABEL116:
|
||||
iload 10
|
||||
iload 11
|
||||
load_int 0
|
||||
load_int 0
|
||||
iload 3
|
||||
widget_put_size_widget
|
||||
LABEL122:
|
||||
iload 4
|
||||
load_int -1
|
||||
if_icmpne LABEL126
|
||||
jump LABEL211
|
||||
LABEL126:
|
||||
iload 5
|
||||
load_int -1
|
||||
if_icmpne LABEL130
|
||||
jump LABEL211
|
||||
LABEL130:
|
||||
iload 0
|
||||
widget_get_width_widget
|
||||
istore 12
|
||||
iload 0
|
||||
widget_get_height_widget
|
||||
istore 13
|
||||
iload 12
|
||||
iload 10
|
||||
isub
|
||||
istore 14
|
||||
iload 13
|
||||
iload 11
|
||||
isub
|
||||
istore 15
|
||||
iload 14
|
||||
load_int 0
|
||||
if_icmplt LABEL148
|
||||
jump LABEL150
|
||||
LABEL148:
|
||||
load_int 0
|
||||
istore 14
|
||||
LABEL150:
|
||||
iload 15
|
||||
load_int 0
|
||||
if_icmplt LABEL154
|
||||
jump LABEL156
|
||||
LABEL154:
|
||||
load_int 0
|
||||
istore 15
|
||||
LABEL156:
|
||||
iload 8
|
||||
iload 14
|
||||
load_int 2
|
||||
idiv
|
||||
isub
|
||||
iload 9
|
||||
iload 15
|
||||
load_int 2
|
||||
idiv
|
||||
isub
|
||||
istore 9
|
||||
istore 8
|
||||
iload 8
|
||||
load_int 0
|
||||
if_icmplt LABEL172
|
||||
jump LABEL174
|
||||
LABEL172:
|
||||
load_int 0
|
||||
istore 8
|
||||
LABEL174:
|
||||
iload 9
|
||||
load_int 0
|
||||
if_icmplt LABEL178
|
||||
jump LABEL180
|
||||
LABEL178:
|
||||
load_int 0
|
||||
istore 9
|
||||
LABEL180:
|
||||
iload 6
|
||||
iload 8
|
||||
iadd
|
||||
iload 7
|
||||
iload 9
|
||||
iadd
|
||||
load_int 1
|
||||
load_int 1
|
||||
iload 4
|
||||
widget_put_size_widget
|
||||
iload 6
|
||||
iload 8
|
||||
iadd
|
||||
iload 7
|
||||
iload 9
|
||||
iadd
|
||||
load_int 1
|
||||
load_int 1
|
||||
iload 5
|
||||
widget_put_size_widget
|
||||
iload 1
|
||||
load_int 73
|
||||
load_int 73
|
||||
iload 1
|
||||
load_int 10551307
|
||||
get_enum_value
|
||||
iload 5
|
||||
iload 8
|
||||
iload 9
|
||||
invoke 910
|
||||
jump LABEL221
|
||||
LABEL211:
|
||||
iload 1
|
||||
load_int 73
|
||||
load_int 73
|
||||
iload 1
|
||||
load_int 10551307
|
||||
get_enum_value
|
||||
iload 3
|
||||
load_int 0
|
||||
load_int 0
|
||||
invoke 910
|
||||
LABEL221:
|
||||
jump LABEL333
|
||||
LABEL222:
|
||||
load_int 0
|
||||
load_int 0
|
||||
6200
|
||||
load_int 0
|
||||
load_int 0
|
||||
load_int 0
|
||||
load_int 0
|
||||
6202
|
||||
get_varc 73
|
||||
load_int 195
|
||||
load_string "fixedOuterZoomLimit"
|
||||
runelite_callback
|
||||
if_icmpge LABEL234
|
||||
jump LABEL250
|
||||
LABEL234:
|
||||
get_varc 73
|
||||
load_int 700
|
||||
load_string "fixedInnerZoomLimit"
|
||||
runelite_callback
|
||||
if_icmple LABEL238
|
||||
jump LABEL250
|
||||
LABEL238:
|
||||
get_varc 74
|
||||
load_int 175
|
||||
load_string "resizableOuterZoomLimit"
|
||||
runelite_callback
|
||||
if_icmpge LABEL242
|
||||
jump LABEL250
|
||||
LABEL242:
|
||||
get_varc 74
|
||||
load_int 715
|
||||
load_string "resizableInnerZoomLimit"
|
||||
runelite_callback
|
||||
if_icmple LABEL246
|
||||
jump LABEL250
|
||||
LABEL246:
|
||||
get_varc 73
|
||||
get_varc 74
|
||||
invoke 42
|
||||
jump LABEL253
|
||||
LABEL250:
|
||||
load_int 256
|
||||
load_int 320
|
||||
invoke 42
|
||||
LABEL253:
|
||||
get_viewport_size
|
||||
istore 11
|
||||
istore 10
|
||||
iload 2
|
||||
load_int -1
|
||||
if_icmpne LABEL260
|
||||
jump LABEL333
|
||||
LABEL260:
|
||||
iload 3
|
||||
load_int -1
|
||||
if_icmpne LABEL264
|
||||
jump LABEL333
|
||||
LABEL264:
|
||||
iload 10
|
||||
iload 11
|
||||
load_int 0
|
||||
load_int 0
|
||||
iload 2
|
||||
widget_put_size_widget
|
||||
invoke 1972
|
||||
load_int 0
|
||||
if_icmpeq LABEL274
|
||||
jump LABEL280
|
||||
LABEL274:
|
||||
iload 10
|
||||
iload 11
|
||||
load_int 0
|
||||
load_int 0
|
||||
iload 3
|
||||
widget_put_size_widget
|
||||
LABEL280:
|
||||
iload 4
|
||||
load_int -1
|
||||
if_icmpne LABEL284
|
||||
jump LABEL323
|
||||
LABEL284:
|
||||
iload 5
|
||||
load_int -1
|
||||
if_icmpne LABEL288
|
||||
jump LABEL323
|
||||
LABEL288:
|
||||
iload 6
|
||||
iload 8
|
||||
iadd
|
||||
iload 7
|
||||
iload 9
|
||||
iadd
|
||||
load_int 1
|
||||
load_int 1
|
||||
iload 4
|
||||
widget_put_size_widget
|
||||
invoke 1972
|
||||
load_int 0
|
||||
if_icmpeq LABEL302
|
||||
jump LABEL312
|
||||
LABEL302:
|
||||
iload 6
|
||||
iload 8
|
||||
iadd
|
||||
iload 7
|
||||
iload 9
|
||||
iadd
|
||||
load_int 1
|
||||
load_int 1
|
||||
iload 5
|
||||
widget_put_size_widget
|
||||
LABEL312:
|
||||
iload 1
|
||||
load_int 73
|
||||
load_int 73
|
||||
iload 1
|
||||
load_int 10551307
|
||||
get_enum_value
|
||||
iload 5
|
||||
iload 8
|
||||
iload 9
|
||||
invoke 910
|
||||
jump LABEL333
|
||||
LABEL323:
|
||||
iload 1
|
||||
load_int 73
|
||||
load_int 73
|
||||
iload 1
|
||||
load_int 10551307
|
||||
get_enum_value
|
||||
iload 3
|
||||
load_int 0
|
||||
load_int 0
|
||||
invoke 910
|
||||
LABEL333:
|
||||
load_int 73
|
||||
load_int 73
|
||||
iload 1
|
||||
load_int 10551309
|
||||
get_enum_value
|
||||
istore 16
|
||||
iload 16
|
||||
load_int -1
|
||||
if_icmpne LABEL343
|
||||
jump LABEL387
|
||||
LABEL343:
|
||||
invoke 1972
|
||||
load_int 0
|
||||
if_icmpeq LABEL347
|
||||
jump LABEL381
|
||||
LABEL347:
|
||||
iload 16
|
||||
widget_get_index_widget
|
||||
load_int 1
|
||||
if_icmpeq LABEL352
|
||||
jump LABEL381
|
||||
LABEL352:
|
||||
get_varc 173
|
||||
load_int -2
|
||||
if_icmpeq LABEL356
|
||||
jump LABEL363
|
||||
LABEL356:
|
||||
load_int 512
|
||||
load_int 0
|
||||
load_int 0
|
||||
load_int 1
|
||||
iload 16
|
||||
widget_put_size_widget
|
||||
jump LABEL380
|
||||
LABEL363:
|
||||
get_varc 173
|
||||
load_int -3
|
||||
if_icmpeq LABEL367
|
||||
jump LABEL374
|
||||
LABEL367:
|
||||
load_int 0
|
||||
load_int 0
|
||||
load_int 1
|
||||
load_int 1
|
||||
iload 16
|
||||
widget_put_size_widget
|
||||
jump LABEL380
|
||||
LABEL374:
|
||||
load_int 512
|
||||
load_int 334
|
||||
load_int 0
|
||||
load_int 0
|
||||
iload 16
|
||||
widget_put_size_widget
|
||||
LABEL380:
|
||||
jump LABEL387
|
||||
LABEL381:
|
||||
load_int 512
|
||||
load_int 334
|
||||
load_int 0
|
||||
load_int 0
|
||||
iload 16
|
||||
widget_put_size_widget
|
||||
LABEL387:
|
||||
load_int 73
|
||||
load_int 73
|
||||
iload 1
|
||||
load_int 10551311
|
||||
get_enum_value
|
||||
istore 16
|
||||
iload 16
|
||||
load_int -1
|
||||
if_icmpne LABEL397
|
||||
jump LABEL463
|
||||
LABEL397:
|
||||
load_int 73
|
||||
load_int 73
|
||||
iload 1
|
||||
load_int 10551303
|
||||
get_enum_value
|
||||
widget_get_index_widget
|
||||
load_int 1
|
||||
if_icmpeq LABEL406
|
||||
jump LABEL446
|
||||
LABEL406:
|
||||
get_varbit 4692
|
||||
load_int 0
|
||||
if_icmpne LABEL410
|
||||
jump LABEL428
|
||||
LABEL410:
|
||||
invoke 1972
|
||||
load_int 1
|
||||
if_icmpeq LABEL414
|
||||
jump LABEL421
|
||||
LABEL414:
|
||||
load_int 215
|
||||
load_int 4
|
||||
load_int 2
|
||||
load_int 0
|
||||
iload 16
|
||||
widget_put_position_widget
|
||||
jump LABEL427
|
||||
LABEL421:
|
||||
load_int 0
|
||||
load_int 0
|
||||
load_int 2
|
||||
load_int 0
|
||||
iload 16
|
||||
widget_put_position_widget
|
||||
LABEL427:
|
||||
jump LABEL445
|
||||
LABEL428:
|
||||
invoke 1972
|
||||
load_int 1
|
||||
if_icmpeq LABEL432
|
||||
jump LABEL439
|
||||
LABEL432:
|
||||
load_int 215
|
||||
load_int 28
|
||||
load_int 2
|
||||
load_int 0
|
||||
iload 16
|
||||
widget_put_position_widget
|
||||
jump LABEL445
|
||||
LABEL439:
|
||||
load_int 0
|
||||
load_int 36
|
||||
load_int 2
|
||||
load_int 0
|
||||
iload 16
|
||||
widget_put_position_widget
|
||||
LABEL445:
|
||||
jump LABEL463
|
||||
LABEL446:
|
||||
invoke 1972
|
||||
load_int 1
|
||||
if_icmpeq LABEL450
|
||||
jump LABEL457
|
||||
LABEL450:
|
||||
load_int 215
|
||||
load_int 4
|
||||
load_int 2
|
||||
load_int 0
|
||||
iload 16
|
||||
widget_put_position_widget
|
||||
jump LABEL463
|
||||
LABEL457:
|
||||
load_int 0
|
||||
load_int 0
|
||||
load_int 2
|
||||
load_int 0
|
||||
iload 16
|
||||
widget_put_position_widget
|
||||
LABEL463:
|
||||
iload 0
|
||||
iload 1
|
||||
invoke 920
|
||||
return
|
||||
@@ -0,0 +1 @@
|
||||
3DAFC5BFBE17305C5FA503EB6D749299500F9FAF6549309649C3AC5CEC4A8FCC
|
||||
@@ -0,0 +1,84 @@
|
||||
.id 1048
|
||||
.int_stack_count 3
|
||||
.string_stack_count 0
|
||||
.int_var_count 8
|
||||
.string_var_count 0
|
||||
; locals
|
||||
; 2 bar size
|
||||
get_varbit 4606
|
||||
load_int 0
|
||||
if_icmpne LABEL4
|
||||
jump LABEL5
|
||||
LABEL4:
|
||||
return
|
||||
LABEL5:
|
||||
load_int 320
|
||||
istore 3
|
||||
load_int 256
|
||||
istore 4
|
||||
iload 1
|
||||
widget_get_width_widget
|
||||
iload 0
|
||||
widget_get_width_widget
|
||||
isub
|
||||
istore 5
|
||||
load_int 0
|
||||
iload 2
|
||||
invoke 1045
|
||||
istore 2
|
||||
iload 1
|
||||
widget_get_width_widget
|
||||
iload 0
|
||||
widget_get_width_widget
|
||||
isub
|
||||
iload 2
|
||||
invoke 1046
|
||||
istore 2
|
||||
load_int 715
|
||||
load_string "resizableInnerZoomLimit"
|
||||
runelite_callback
|
||||
load_int 175
|
||||
load_string "resizableOuterZoomLimit"
|
||||
runelite_callback
|
||||
isub
|
||||
istore 6 ; resizable delta
|
||||
load_int 700
|
||||
load_string "fixedInnerZoomLimit"
|
||||
runelite_callback
|
||||
load_int 195
|
||||
load_string "fixedOuterZoomLimit"
|
||||
runelite_callback
|
||||
isub
|
||||
istore 7 ; fixed delta
|
||||
iload 2
|
||||
iload 6
|
||||
imul
|
||||
iload 5
|
||||
idiv
|
||||
iload 6
|
||||
load_string "zoomLinToExp"
|
||||
runelite_callback
|
||||
pop_int
|
||||
load_int 175
|
||||
load_string "resizableOuterZoomLimit"
|
||||
runelite_callback
|
||||
iadd
|
||||
istore 3
|
||||
iload 2
|
||||
iload 7
|
||||
imul
|
||||
iload 5
|
||||
idiv
|
||||
iload 7
|
||||
load_string "zoomLinToExp"
|
||||
runelite_callback
|
||||
pop_int
|
||||
load_int 195
|
||||
load_string "fixedOuterZoomLimit"
|
||||
runelite_callback
|
||||
iadd
|
||||
istore 4
|
||||
iload 4
|
||||
iload 3
|
||||
invoke 42
|
||||
return
|
||||
@@ -0,0 +1 @@
|
||||
B647D7F843A97037CCE521FD54988CFD554F9C217849E522B5FA9815540A3124
|
||||
@@ -0,0 +1,83 @@
|
||||
.id 1049
|
||||
.int_stack_count 0
|
||||
.string_stack_count 0
|
||||
.int_var_count 6
|
||||
.string_var_count 0
|
||||
; locals
|
||||
; 0 resizableZoomRange
|
||||
; 1 fixedZoomRange
|
||||
; 2 bar size
|
||||
load_int 715
|
||||
load_string "resizableInnerZoomLimit"
|
||||
runelite_callback
|
||||
load_int 175
|
||||
load_string "resizableOuterZoomLimit"
|
||||
runelite_callback
|
||||
isub
|
||||
istore 0
|
||||
load_int 700
|
||||
load_string "fixedInnerZoomLimit"
|
||||
runelite_callback
|
||||
load_int 195
|
||||
load_string "fixedOuterZoomLimit"
|
||||
runelite_callback
|
||||
isub
|
||||
istore 1
|
||||
load_int 17104905
|
||||
widget_get_width_widget
|
||||
load_int 17104910
|
||||
widget_get_width_widget
|
||||
isub
|
||||
istore 2
|
||||
load_int 0
|
||||
istore 3
|
||||
load_int 0
|
||||
istore 4
|
||||
get_viewport_size
|
||||
istore 4
|
||||
istore 3
|
||||
load_int 0
|
||||
istore 5
|
||||
iload 3
|
||||
load_int 334
|
||||
if_icmpgt LABEL27
|
||||
jump LABEL36
|
||||
LABEL27:
|
||||
get_varc 74
|
||||
load_int 175
|
||||
load_string "resizableOuterZoomLimit"
|
||||
runelite_callback
|
||||
isub
|
||||
iload 0
|
||||
load_string "zoomExpToLin"
|
||||
runelite_callback
|
||||
pop_int
|
||||
iload 2
|
||||
imul
|
||||
iload 0
|
||||
idiv
|
||||
istore 5
|
||||
jump LABEL44
|
||||
LABEL36:
|
||||
get_varc 73
|
||||
load_int 195
|
||||
load_string "fixedOuterZoomLimit"
|
||||
runelite_callback
|
||||
isub
|
||||
iload 1
|
||||
load_string "zoomExpToLin"
|
||||
runelite_callback
|
||||
pop_int
|
||||
iload 2
|
||||
imul
|
||||
iload 1
|
||||
idiv
|
||||
istore 5
|
||||
LABEL44:
|
||||
iload 5
|
||||
load_int 0
|
||||
load_int 0
|
||||
load_int 0
|
||||
load_int 17104910
|
||||
widget_put_position_widget
|
||||
return
|
||||
1
runelite-client/src/main/scripts/PrivateMessage.hash
Normal file
1
runelite-client/src/main/scripts/PrivateMessage.hash
Normal file
@@ -0,0 +1 @@
|
||||
36262759CFFFD94A6495B6BFA9B86C859921C5CE0340E465B1878461417A2470
|
||||
280
runelite-client/src/main/scripts/PrivateMessage.rs2asm
Normal file
280
runelite-client/src/main/scripts/PrivateMessage.rs2asm
Normal file
@@ -0,0 +1,280 @@
|
||||
.id 681
|
||||
.int_stack_count 0
|
||||
.string_stack_count 0
|
||||
.int_var_count 2
|
||||
.string_var_count 1
|
||||
get_varc 5
|
||||
load_int 14
|
||||
if_icmpeq LABEL4
|
||||
jump LABEL7
|
||||
LABEL4:
|
||||
load_int 1
|
||||
put_varc 66
|
||||
return
|
||||
LABEL7:
|
||||
load_int -1
|
||||
istore 0
|
||||
load_string ""
|
||||
sstore 0
|
||||
get_varc_string 22
|
||||
string_length
|
||||
istore 1
|
||||
iload 1
|
||||
load_int 0
|
||||
if_icmpgt LABEL18
|
||||
jump LABEL193
|
||||
LABEL18:
|
||||
get_varc 5
|
||||
switch
|
||||
1: LABEL21
|
||||
2: LABEL44
|
||||
3: LABEL44
|
||||
4: LABEL23
|
||||
5: LABEL23
|
||||
6: LABEL44
|
||||
7: LABEL110
|
||||
8: LABEL114
|
||||
9: LABEL120
|
||||
10: LABEL123
|
||||
11: LABEL185
|
||||
12: LABEL142
|
||||
13: LABEL160
|
||||
15: LABEL120
|
||||
16: LABEL190
|
||||
jump LABEL192
|
||||
LABEL21:
|
||||
return
|
||||
jump LABEL192
|
||||
LABEL23:
|
||||
get_ignorecount
|
||||
load_int 0
|
||||
if_icmplt LABEL27
|
||||
jump LABEL30
|
||||
LABEL27:
|
||||
load_string "Unable to update ignore list - system busy."
|
||||
send_game_message
|
||||
jump LABEL43
|
||||
LABEL30:
|
||||
get_varc 5
|
||||
load_int 4
|
||||
if_icmpeq LABEL34
|
||||
jump LABEL37
|
||||
LABEL34:
|
||||
get_varc_string 22
|
||||
add_ignore
|
||||
jump LABEL43
|
||||
LABEL37:
|
||||
get_varc 5
|
||||
load_int 5
|
||||
if_icmpeq LABEL41
|
||||
jump LABEL43
|
||||
LABEL41:
|
||||
get_varc_string 22
|
||||
remove_ignore
|
||||
LABEL43:
|
||||
jump LABEL192
|
||||
LABEL44:
|
||||
get_friendcount
|
||||
load_int 0
|
||||
if_icmplt LABEL48
|
||||
jump LABEL51
|
||||
LABEL48:
|
||||
load_string "Unable to complete action - system busy."
|
||||
send_game_message
|
||||
jump LABEL109
|
||||
LABEL51:
|
||||
get_varc 5
|
||||
load_int 2
|
||||
if_icmpeq LABEL55
|
||||
jump LABEL58
|
||||
LABEL55:
|
||||
get_varc_string 22
|
||||
add_friend
|
||||
jump LABEL109
|
||||
LABEL58:
|
||||
get_varc 5
|
||||
load_int 3
|
||||
if_icmpeq LABEL62
|
||||
jump LABEL65
|
||||
LABEL62:
|
||||
get_varc_string 22
|
||||
remove_friend
|
||||
jump LABEL109
|
||||
LABEL65:
|
||||
get_varc 5
|
||||
load_int 6
|
||||
if_icmpeq LABEL69
|
||||
jump LABEL109
|
||||
LABEL69:
|
||||
get_varc 203
|
||||
load_int 0
|
||||
if_icmpeq LABEL76
|
||||
get_varc 203
|
||||
load_int -1
|
||||
if_icmpeq LABEL76
|
||||
jump LABEL82
|
||||
LABEL76:
|
||||
load_int 1
|
||||
load_int 1
|
||||
invoke 299
|
||||
load_string "You must set a name before you can chat."
|
||||
send_game_message
|
||||
return
|
||||
LABEL82:
|
||||
5005
|
||||
load_int 2
|
||||
if_icmpeq LABEL86
|
||||
jump LABEL97
|
||||
LABEL86:
|
||||
5000
|
||||
load_int 1
|
||||
5016
|
||||
chatfilter_update
|
||||
invoke 178
|
||||
invoke 553
|
||||
istore 0
|
||||
iload 0
|
||||
invoke 84
|
||||
iload 0
|
||||
invoke 89
|
||||
LABEL97:
|
||||
get_varbit 4394
|
||||
load_int 1
|
||||
if_icmpeq LABEL101
|
||||
jump LABEL104
|
||||
LABEL101:
|
||||
get_varc_string 23
|
||||
remove_friend
|
||||
jump LABEL107
|
||||
LABEL104:
|
||||
get_varc_string 23
|
||||
get_varc_string 22
|
||||
load_string "privateMessage" ; load event name
|
||||
load_int 0 ; whether or not to skip
|
||||
runelite_callback ; invoke callback
|
||||
load_int 1
|
||||
if_icmpeq LABEL107 ; if skipped, do not message
|
||||
privmsg
|
||||
LABEL107:
|
||||
get_gamecycle
|
||||
put_varc 61
|
||||
LABEL109:
|
||||
jump LABEL192
|
||||
LABEL110:
|
||||
get_varc_string 22
|
||||
invoke 212
|
||||
numeric_input
|
||||
jump LABEL192
|
||||
LABEL114:
|
||||
get_varc_string 22
|
||||
string_remove_html
|
||||
put_varc_string 128
|
||||
get_varc_string 22
|
||||
string_input_1
|
||||
jump LABEL192
|
||||
LABEL120:
|
||||
get_varc_string 22
|
||||
string_input_2
|
||||
jump LABEL192
|
||||
LABEL123:
|
||||
get_varc 203
|
||||
load_int 0
|
||||
if_icmpeq LABEL130
|
||||
get_varc 203
|
||||
load_int -1
|
||||
if_icmpeq LABEL130
|
||||
jump LABEL136
|
||||
LABEL130:
|
||||
load_int 1
|
||||
load_int 1
|
||||
invoke 299
|
||||
load_string "You must set a name before you can chat."
|
||||
send_game_message
|
||||
return
|
||||
LABEL136:
|
||||
get_varc_string 22
|
||||
string_remove_html
|
||||
put_varc_string 129
|
||||
get_varc_string 22
|
||||
join_clanchat
|
||||
jump LABEL192
|
||||
LABEL142:
|
||||
iload 1
|
||||
load_int 10
|
||||
if_icmpgt LABEL146
|
||||
jump LABEL152
|
||||
LABEL146:
|
||||
get_varc_string 22
|
||||
load_int 0
|
||||
load_int 9
|
||||
string_substring
|
||||
sstore 0
|
||||
jump LABEL154
|
||||
LABEL152:
|
||||
get_varc_string 22
|
||||
sstore 0
|
||||
LABEL154:
|
||||
sload 0
|
||||
tolowercase
|
||||
5021
|
||||
invoke 553
|
||||
invoke 84
|
||||
jump LABEL192
|
||||
LABEL160:
|
||||
get_varc 203
|
||||
load_int 0
|
||||
if_icmpeq LABEL167
|
||||
get_varc 203
|
||||
load_int -1
|
||||
if_icmpeq LABEL167
|
||||
jump LABEL173
|
||||
LABEL167:
|
||||
load_int 1
|
||||
load_int 1
|
||||
invoke 299
|
||||
load_string "You must set a name before you can chat."
|
||||
send_game_message
|
||||
return
|
||||
LABEL173:
|
||||
get_varc_string 22
|
||||
load_int 0
|
||||
put_varc 62
|
||||
put_varc_string 28
|
||||
invoke 95
|
||||
load_int 552
|
||||
load_int -2147483645
|
||||
load_int 1
|
||||
load_string "I1"
|
||||
load_int 10616843
|
||||
widget_put_render_listener_widget
|
||||
jump LABEL192
|
||||
LABEL185:
|
||||
load_int 0
|
||||
load_int 1
|
||||
invoke 299
|
||||
return
|
||||
jump LABEL192
|
||||
LABEL190:
|
||||
get_varc_string 22
|
||||
invoke 2061
|
||||
LABEL192:
|
||||
jump LABEL199
|
||||
LABEL193:
|
||||
get_varc 5
|
||||
switch
|
||||
16: LABEL198
|
||||
7: LABEL196
|
||||
8: LABEL196
|
||||
9: LABEL196
|
||||
15: LABEL196
|
||||
jump LABEL199
|
||||
LABEL196:
|
||||
return
|
||||
jump LABEL199
|
||||
LABEL198:
|
||||
return
|
||||
LABEL199:
|
||||
load_int 1
|
||||
load_int 1
|
||||
invoke 299
|
||||
return
|
||||
@@ -0,0 +1 @@
|
||||
E9536E0A6FD51C058A40D644FD0AD28A93778FD53873601DCCE04C97DD835BB0
|
||||
@@ -0,0 +1,91 @@
|
||||
.id 42
|
||||
.int_stack_count 2
|
||||
.string_stack_count 0
|
||||
.int_var_count 6
|
||||
.string_var_count 0
|
||||
get_varbit 4606
|
||||
load_int 0
|
||||
if_icmpne LABEL4
|
||||
jump LABEL5
|
||||
LABEL4:
|
||||
return
|
||||
LABEL5:
|
||||
load_int 700
|
||||
load_string "fixedInnerZoomLimit"
|
||||
runelite_callback
|
||||
iload 0
|
||||
invoke 1046
|
||||
istore 0
|
||||
load_int 195
|
||||
load_string "fixedOuterZoomLimit"
|
||||
runelite_callback
|
||||
iload 0
|
||||
invoke 1045
|
||||
istore 0
|
||||
load_int 715
|
||||
load_string "resizableInnerZoomLimit"
|
||||
runelite_callback
|
||||
iload 1
|
||||
invoke 1046
|
||||
istore 1
|
||||
load_int 175
|
||||
load_string "resizableOuterZoomLimit"
|
||||
runelite_callback
|
||||
iload 1
|
||||
invoke 1045
|
||||
istore 1
|
||||
iload 0
|
||||
iload 1
|
||||
set_zoom_distance
|
||||
load_int 0
|
||||
istore 2
|
||||
load_int 0
|
||||
istore 3
|
||||
get_viewport_size
|
||||
istore 3
|
||||
istore 2
|
||||
iload 3
|
||||
load_int 334
|
||||
isub
|
||||
istore 4
|
||||
iload 4
|
||||
load_int 0
|
||||
if_icmplt LABEL39
|
||||
jump LABEL42
|
||||
LABEL39:
|
||||
load_int 0
|
||||
istore 4
|
||||
jump LABEL48
|
||||
LABEL42:
|
||||
iload 4
|
||||
load_int 100
|
||||
if_icmpgt LABEL46
|
||||
jump LABEL48
|
||||
LABEL46:
|
||||
load_int 100
|
||||
istore 4
|
||||
LABEL48:
|
||||
iload 0
|
||||
iload 1
|
||||
iload 0
|
||||
isub
|
||||
iload 4
|
||||
imul
|
||||
load_int 100
|
||||
idiv
|
||||
iadd
|
||||
istore 5
|
||||
load_int 25
|
||||
load_int 25
|
||||
iload 5
|
||||
imul
|
||||
load_int 256
|
||||
idiv
|
||||
iadd
|
||||
set_camera_focal_point_height
|
||||
iload 0
|
||||
iload 1
|
||||
put_varc 74
|
||||
put_varc 73
|
||||
invoke 1049
|
||||
return
|
||||
34
runelite-client/src/main/scripts/SendPrivateMessage.rs2asm
Normal file
34
runelite-client/src/main/scripts/SendPrivateMessage.rs2asm
Normal file
@@ -0,0 +1,34 @@
|
||||
; Copyright (c) 2018 Adam <Adam@sigterm.info>
|
||||
; All rights reserved.
|
||||
;
|
||||
; Redistribution and use in source and binary forms, with or without
|
||||
; modification, are permitted provided that the following conditions are met:
|
||||
;
|
||||
; 1. Redistributions of source code must retain the above copyright notice, this
|
||||
; list of conditions and the following disclaimer.
|
||||
; 2. Redistributions in binary form must reproduce the above copyright notice,
|
||||
; this list of conditions and the following disclaimer in the documentation
|
||||
; and/or other materials provided with the distribution.
|
||||
;
|
||||
; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
; ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
; WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
; DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
||||
; ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
; (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||
; ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
; (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
; SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
.id 10004
|
||||
.int_stack_count 0
|
||||
.string_stack_count 2
|
||||
.int_var_count 0
|
||||
.string_var_count 2
|
||||
|
||||
; Send a private message
|
||||
sload 0
|
||||
sload 1
|
||||
privmsg
|
||||
return
|
||||
1
runelite-client/src/main/scripts/SetBankItemMenu.hash
Normal file
1
runelite-client/src/main/scripts/SetBankItemMenu.hash
Normal file
@@ -0,0 +1 @@
|
||||
99623BD5CD95F5C19641A0BD0764B85E0322A58AADD8412C94B81B5C33FE1C07
|
||||
192
runelite-client/src/main/scripts/SetBankItemMenu.rs2asm
Normal file
192
runelite-client/src/main/scripts/SetBankItemMenu.rs2asm
Normal file
@@ -0,0 +1,192 @@
|
||||
.id 278
|
||||
.int_stack_count 7
|
||||
.string_stack_count 0
|
||||
.int_var_count 7
|
||||
.string_var_count 0
|
||||
iload 0
|
||||
load_int -1
|
||||
if_icmpne LABEL4
|
||||
jump LABEL147
|
||||
LABEL4:
|
||||
widget_put_actions_null
|
||||
iload 0
|
||||
load_int 20594
|
||||
if_icmpeq LABEL9
|
||||
jump LABEL33
|
||||
LABEL9:
|
||||
iload 0
|
||||
load_int -1
|
||||
1200
|
||||
load_int 7
|
||||
load_string "Clear-All"
|
||||
widget_put_action
|
||||
load_int 8
|
||||
load_string "Clear"
|
||||
widget_put_action
|
||||
load_int 0
|
||||
widget_put_opacity
|
||||
load_int 285
|
||||
load_int -2147483645
|
||||
load_int -2147483643
|
||||
load_int -2147483642
|
||||
load_int -2147483641
|
||||
load_int 0
|
||||
iload 3
|
||||
iload 4
|
||||
iload 5
|
||||
iload 6
|
||||
load_string "IiIiiIIII"
|
||||
widget_put_drag_release_listener
|
||||
jump LABEL128
|
||||
LABEL33:
|
||||
iload 0
|
||||
4209
|
||||
iload 0
|
||||
if_icmpne LABEL38
|
||||
jump LABEL59
|
||||
LABEL38:
|
||||
iload 0
|
||||
load_int 0
|
||||
1200
|
||||
load_int 8
|
||||
load_string "Release"
|
||||
widget_put_action
|
||||
load_int 120
|
||||
widget_put_opacity
|
||||
load_int 285
|
||||
load_int -2147483645
|
||||
load_int -2147483643
|
||||
load_int -2147483642
|
||||
load_int -2147483641
|
||||
load_int 120
|
||||
iload 3
|
||||
iload 4
|
||||
iload 5
|
||||
iload 6
|
||||
load_string "IiIiiIIII"
|
||||
widget_put_drag_release_listener
|
||||
jump LABEL128
|
||||
LABEL59:
|
||||
iload 0
|
||||
iload 1
|
||||
1200
|
||||
invoke 1972
|
||||
load_int 1
|
||||
if_icmpeq LABEL66
|
||||
jump LABEL72
|
||||
LABEL66:
|
||||
load_int 1
|
||||
load_string "Withdraw-"
|
||||
invoke 2227
|
||||
concat_string
|
||||
widget_put_action
|
||||
jump LABEL75
|
||||
LABEL72:
|
||||
load_int 1 ; if the bank tags plugin is not active this will not get changed and thus
|
||||
; overridden by the Withdraw-1 option
|
||||
load_string "Edit-tags" ; push menu action name
|
||||
iload 0 ; push item id
|
||||
widget_get_index ; push the item index for setting the widget flag
|
||||
load_string "setBankItemMenu" ; push event name
|
||||
runelite_callback ; invoke callback
|
||||
pop_int ; pop widget index
|
||||
pop_int ; pop item id
|
||||
widget_put_action ; add edit tags menu action
|
||||
load_int 1
|
||||
load_string "Withdraw-1"
|
||||
widget_put_action
|
||||
LABEL75:
|
||||
load_int 2
|
||||
load_string "Withdraw-5"
|
||||
widget_put_action
|
||||
load_int 3
|
||||
load_string "Withdraw-10"
|
||||
widget_put_action
|
||||
get_varbit 3960
|
||||
load_int 0
|
||||
if_icmpgt LABEL85
|
||||
jump LABEL91
|
||||
LABEL85:
|
||||
load_int 4
|
||||
load_string "Withdraw-"
|
||||
get_varbit 3960
|
||||
int_to_string
|
||||
string_append 2
|
||||
widget_put_action
|
||||
LABEL91:
|
||||
load_int 5
|
||||
load_string "Withdraw-X"
|
||||
widget_put_action
|
||||
load_int 6
|
||||
load_string "Withdraw-All"
|
||||
widget_put_action
|
||||
load_int 7
|
||||
load_string "Withdraw-All-but-1"
|
||||
widget_put_action
|
||||
get_varbit 6347
|
||||
load_int 0
|
||||
if_icmpgt LABEL104
|
||||
jump LABEL107
|
||||
LABEL104:
|
||||
load_int 8
|
||||
load_string "Withdraw-1"
|
||||
widget_put_action
|
||||
LABEL107:
|
||||
get_varbit 3755
|
||||
load_int 0
|
||||
if_icmpeq LABEL111
|
||||
jump LABEL114
|
||||
LABEL111:
|
||||
load_int 9
|
||||
load_string "Placeholder"
|
||||
widget_put_action
|
||||
LABEL114:
|
||||
load_int 0
|
||||
widget_put_opacity
|
||||
load_int 285
|
||||
load_int -2147483645
|
||||
load_int -2147483643
|
||||
load_int -2147483642
|
||||
load_int -2147483641
|
||||
load_int 0
|
||||
iload 3
|
||||
iload 4
|
||||
iload 5
|
||||
iload 6
|
||||
load_string "IiIiiIIII"
|
||||
widget_put_drag_release_listener
|
||||
LABEL128:
|
||||
load_int 10
|
||||
load_string "Examine"
|
||||
widget_put_action
|
||||
load_string "<col=ff9040>"
|
||||
iload 0
|
||||
get_item_name
|
||||
load_string "</col>"
|
||||
string_append 3
|
||||
widget_put_name
|
||||
load_int 284
|
||||
load_int -2147483645
|
||||
load_int -2147483643
|
||||
load_int -2147483647
|
||||
load_int -2147483646
|
||||
iload 3
|
||||
load_int 0
|
||||
load_string "IiiiIi"
|
||||
widget_put_drag_start_listener
|
||||
jump LABEL159
|
||||
LABEL147:
|
||||
load_int 255
|
||||
widget_put_opacity
|
||||
load_int 6512
|
||||
load_int 1
|
||||
1200
|
||||
widget_put_actions_null
|
||||
load_int -1
|
||||
load_string ""
|
||||
widget_put_drag_start_listener
|
||||
load_int -1
|
||||
load_string ""
|
||||
widget_put_drag_release_listener
|
||||
LABEL159:
|
||||
return
|
||||
37
runelite-client/src/main/scripts/null.rs2asm
Normal file
37
runelite-client/src/main/scripts/null.rs2asm
Normal file
@@ -0,0 +1,37 @@
|
||||
; Copyright (c) 2018 Abex
|
||||
; All rights reserved.
|
||||
;
|
||||
; Redistribution and use in source and binary forms, with or without
|
||||
; modification, are permitted provided that the following conditions are met:
|
||||
;
|
||||
; 1. Redistributions of source code must retain the above copyright notice, this
|
||||
; list of conditions and the following disclaimer.
|
||||
; 2. Redistributions in binary form must reproduce the above copyright notice,
|
||||
; this list of conditions and the following disclaimer in the documentation
|
||||
; and/or other materials provided with the distribution.
|
||||
;
|
||||
; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
; ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
; WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
; DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
||||
; ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
; (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||
; ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
; (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
; SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
;;
|
||||
; Does nothing
|
||||
;
|
||||
; This is used to eat events when you want a menu action attached to it
|
||||
; because you need an op listener attached to it for it to work
|
||||
;;
|
||||
|
||||
.id 10003
|
||||
.int_stack_count 0
|
||||
.string_stack_count 0
|
||||
.int_var_count 0
|
||||
.string_var_count 0
|
||||
|
||||
return
|
||||
Reference in New Issue
Block a user