Merge remote-tracking branch 'runelite/master'

This commit is contained in:
Owain van Brakel
2019-12-05 13:18:03 +01:00
9 changed files with 535 additions and 395 deletions
@@ -11366,5 +11366,6 @@ public final class ItemID
public static final int HARMONISED_NIGHTMARE_STAFF = 24423;
public static final int VOLATILE_NIGHTMARE_STAFF = 24424;
public static final int ELDRITCH_NIGHTMARE_STAFF = 24425;
public static final int CABBAGE_24426 = 24426;
/* This file is automatically generated. Do not edit. */
}
@@ -12851,5 +12851,6 @@ public final class NullItemID
public static final int NULL_24412 = 24412;
public static final int NULL_24414 = 24414;
public static final int NULL_24415 = 24415;
public static final int NULL_24427 = 24427;
/* This file is automatically generated. Do not edit. */
}
@@ -13793,6 +13793,9 @@ public final class NullObjectID
public static final int NULL_29134 = 29134;
public static final int NULL_29135 = 29135;
public static final int NULL_29150 = 29150;
public static final int NULL_29154 = 29154;
public static final int NULL_29155 = 29155;
public static final int NULL_29156 = 29156;
public static final int NULL_29228 = 29228;
public static final int NULL_29229 = 29229;
public static final int NULL_29265 = 29265;
@@ -15349,9 +15349,6 @@ public final class ObjectID
public static final int MAHOGANY_ADVENTURE_LOG = 29151;
public static final int GILDED_ADVENTURE_LOG = 29152;
public static final int MARBLE_ADVENTURE_LOG = 29153;
public static final int BASIC_JEWELLERY_BOX = 29154;
public static final int FANCY_JEWELLERY_BOX = 29155;
public static final int ORNATE_JEWELLERY_BOX = 29156;
public static final int BOSS_LAIR_DISPLAY = 29157;
public static final int KRAKEN_DISPLAY = 29158;
public static final int ZULRAH_DISPLAY = 29159;
@@ -16927,7 +16924,7 @@ public final class ObjectID
public static final int CORPOREAL_BEAST_DISPLAY = 31921;
public static final int GILDED_ADVENTURE_LOG_31922 = 31922;
public static final int ALTAR_OF_THE_OCCULT_31923 = 31923;
public static final int ORNATE_JEWELLERY_BOX_31924 = 31924;
public static final int ORNATE_JEWELLERY_BOX = 31924;
public static final int MOUNTED_MAX_CAPE_31925 = 31925;
public static final int BURNING_BRAZIER_31926 = 31926;
public static final int PYROMANCER = 31927;
@@ -19408,5 +19405,60 @@ public final class ObjectID
public static final int DRAGON_TROPHY_DISPLAY_37487 = 37487;
public static final int DRAGON_TROPHY_DISPLAY_37488 = 37488;
public static final int DRAGON_TROPHY_DISPLAY_37489 = 37489;
public static final int BASIC_JEWELLERY_BOX = 37492;
public static final int BASIC_JEWELLERY_BOX_37493 = 37493;
public static final int BASIC_JEWELLERY_BOX_37494 = 37494;
public static final int BASIC_JEWELLERY_BOX_37495 = 37495;
public static final int BASIC_JEWELLERY_BOX_37496 = 37496;
public static final int BASIC_JEWELLERY_BOX_37497 = 37497;
public static final int BASIC_JEWELLERY_BOX_37498 = 37498;
public static final int BASIC_JEWELLERY_BOX_37499 = 37499;
public static final int BASIC_JEWELLERY_BOX_37500 = 37500;
public static final int FANCY_JEWELLERY_BOX = 37501;
public static final int FANCY_JEWELLERY_BOX_37502 = 37502;
public static final int FANCY_JEWELLERY_BOX_37503 = 37503;
public static final int FANCY_JEWELLERY_BOX_37504 = 37504;
public static final int FANCY_JEWELLERY_BOX_37505 = 37505;
public static final int FANCY_JEWELLERY_BOX_37506 = 37506;
public static final int FANCY_JEWELLERY_BOX_37507 = 37507;
public static final int FANCY_JEWELLERY_BOX_37508 = 37508;
public static final int FANCY_JEWELLERY_BOX_37509 = 37509;
public static final int FANCY_JEWELLERY_BOX_37510 = 37510;
public static final int FANCY_JEWELLERY_BOX_37511 = 37511;
public static final int FANCY_JEWELLERY_BOX_37512 = 37512;
public static final int FANCY_JEWELLERY_BOX_37513 = 37513;
public static final int FANCY_JEWELLERY_BOX_37514 = 37514;
public static final int FANCY_JEWELLERY_BOX_37515 = 37515;
public static final int FANCY_JEWELLERY_BOX_37516 = 37516;
public static final int FANCY_JEWELLERY_BOX_37517 = 37517;
public static final int FANCY_JEWELLERY_BOX_37518 = 37518;
public static final int FANCY_JEWELLERY_BOX_37519 = 37519;
public static final int ORNATE_JEWELLERY_BOX_37520 = 37520;
public static final int ORNATE_JEWELLERY_BOX_37521 = 37521;
public static final int ORNATE_JEWELLERY_BOX_37522 = 37522;
public static final int ORNATE_JEWELLERY_BOX_37523 = 37523;
public static final int ORNATE_JEWELLERY_BOX_37524 = 37524;
public static final int ORNATE_JEWELLERY_BOX_37525 = 37525;
public static final int ORNATE_JEWELLERY_BOX_37526 = 37526;
public static final int ORNATE_JEWELLERY_BOX_37527 = 37527;
public static final int ORNATE_JEWELLERY_BOX_37528 = 37528;
public static final int ORNATE_JEWELLERY_BOX_37529 = 37529;
public static final int ORNATE_JEWELLERY_BOX_37530 = 37530;
public static final int ORNATE_JEWELLERY_BOX_37531 = 37531;
public static final int ORNATE_JEWELLERY_BOX_37532 = 37532;
public static final int ORNATE_JEWELLERY_BOX_37533 = 37533;
public static final int ORNATE_JEWELLERY_BOX_37534 = 37534;
public static final int ORNATE_JEWELLERY_BOX_37535 = 37535;
public static final int ORNATE_JEWELLERY_BOX_37536 = 37536;
public static final int ORNATE_JEWELLERY_BOX_37537 = 37537;
public static final int ORNATE_JEWELLERY_BOX_37538 = 37538;
public static final int ORNATE_JEWELLERY_BOX_37539 = 37539;
public static final int ORNATE_JEWELLERY_BOX_37540 = 37540;
public static final int ORNATE_JEWELLERY_BOX_37541 = 37541;
public static final int ORNATE_JEWELLERY_BOX_37542 = 37542;
public static final int ORNATE_JEWELLERY_BOX_37543 = 37543;
public static final int ORNATE_JEWELLERY_BOX_37544 = 37544;
public static final int ORNATE_JEWELLERY_BOX_37545 = 37545;
public static final int ORNATE_JEWELLERY_BOX_37546 = 37546;
/* This file is automatically generated. Do not edit. */
}
@@ -2457,7 +2457,8 @@
1967,
22519,
22520,
24367
24367,
24426
],
"empty cup": [
1980,
@@ -1 +1 @@
B591FB2134EF9FA75FCCEC25A1FD90581D3A7AD0F1E6FBE4267C8AF6010C547C
FAA689813E3E4C1BA5A0B7DF492C6AE48DBD466C50968E97FADF4BBD42A9A166
@@ -1,7 +1,7 @@
.id 84
.int_stack_count 1
.string_stack_count 0
.int_var_count 15
.int_var_count 17
.string_var_count 13
iconst 10616890
if_getwidth
@@ -157,22 +157,26 @@ LABEL133:
sstore 11
sconst ""
sstore 12
iconst 0
istore 12
LABEL149:
iload 9
iconst -1
if_icmpne LABEL153
jump LABEL679
istore 12
iconst 0
istore 13
iconst 0
istore 14
LABEL153:
iload 8
iload 9
iconst -1
if_icmpne LABEL157
jump LABEL679
jump LABEL714
LABEL157:
iload 8
iconst -1
if_icmpne LABEL161
jump LABEL714
LABEL161:
iload 9
chat_gethistory_byuid
istore 12
istore 14
sstore 11
sstore 10
sstore 9
@@ -180,11 +184,11 @@ LABEL157:
istore 10
iload 10
sload 9
iload 12
iload 14
invoke 193
iconst 1
if_icmpeq CHAT_FILTER
jump LABEL675
jump LABEL710
CHAT_FILTER:
sload 11 ; Load the message
iconst 1 ; Gets changed to 0 if message is blocked
@@ -196,39 +200,39 @@ CHAT_FILTER:
pop_int ; Pop the messageType
iconst 1 ; 2nd half of conditional
sstore 11 ; Override the message with our filtered message
if_icmpeq LABEL172 ; Check if we are building this message
jump LABEL675 ; continue to next message, skipping this
LABEL172:
if_icmpeq LABEL176 ; Check if we are building this message
jump LABEL710 ; continue to next message, skipping this
LABEL176:
iload 10
sload 9
sload 11
iload 11
iload 2
sload 0
iload 12
iload 14
invoke 90
iconst 1
if_icmpeq LABEL183
jump LABEL675
LABEL183:
if_icmpeq LABEL187
jump LABEL710
LABEL187:
iload 10
switch
1: LABEL186
2: LABEL186
3: LABEL228
101: LABEL250
5: LABEL268
6: LABEL301
7: LABEL228
103: LABEL323
104: LABEL323
9: LABEL341
107: LABEL390
14: LABEL367
90: LABEL207
91: LABEL207
jump LABEL426
LABEL186:
1: LABEL190
2: LABEL190
3: LABEL232
101: LABEL254
5: LABEL272
6: LABEL305
7: LABEL232
103: LABEL327
104: LABEL327
9: LABEL345
107: LABEL395
14: LABEL371
90: LABEL211
91: LABEL211
jump LABEL431
LABEL190:
iload 9 ; The id of the messageNode of the message being built
sconst ""
sconst "addTimestamp"
@@ -254,8 +258,8 @@ LABEL186:
iload 4
invoke 203
istore 6
jump LABEL440
LABEL207:
jump LABEL445
LABEL211:
iload 9 ; The id of the messageNode of the message being built
sconst ""
sconst "addTimestamp"
@@ -281,8 +285,8 @@ LABEL207:
iload 4
invoke 203
istore 6
jump LABEL440
LABEL228:
jump LABEL445
LABEL232:
iload 9 ; The id of the messageNode of the message being built
sconst ""
sconst "addTimestamp"
@@ -311,8 +315,8 @@ LABEL228:
iload 4
invoke 203
istore 6
jump LABEL440
LABEL250:
jump LABEL445
LABEL254:
iload 9 ; The id of the messageNode of the message being built
sconst ""
sconst "addTimestamp"
@@ -335,8 +339,8 @@ LABEL250:
iload 4
invoke 199
istore 6
jump LABEL440
LABEL268:
jump LABEL445
LABEL272:
iload 9 ; The id of the messageNode of the message being built
sconst ""
sconst "addTimestamp"
@@ -361,9 +365,9 @@ LABEL268:
istore 6
get_varbit 1627
iconst 0
if_icmpeq LABEL289
jump LABEL300
LABEL289:
if_icmpeq LABEL293
jump LABEL304
LABEL293:
iload 11
iconst 500
add
@@ -375,9 +379,9 @@ LABEL289:
sconst "1"
iconst 10616832
if_setontimer
LABEL300:
jump LABEL440
LABEL301:
LABEL304:
jump LABEL445
LABEL305:
iload 9 ; The id of the messageNode of the message being built
sconst ""
sconst "addTimestamp"
@@ -406,8 +410,8 @@ LABEL301:
iload 4
invoke 203
istore 6
jump LABEL440
LABEL323:
jump LABEL445
LABEL327:
iload 9 ; The id of the messageNode of the message being built
sconst ""
sconst "addTimestamp"
@@ -430,8 +434,8 @@ LABEL323:
iload 4
invoke 199
istore 6
jump LABEL440
LABEL341:
jump LABEL445
LABEL345:
iload 9 ; The id of the messageNode of the message being built
sconst ""
sconst "addTimestamp"
@@ -462,10 +466,11 @@ LABEL341:
iload 4
invoke 203
istore 6
jump LABEL440
LABEL367:
jump LABEL445
LABEL371:
sload 11
invoke 2066
istore 12
sstore 12
sstore 11
sload 4
@@ -486,15 +491,15 @@ LABEL367:
iload 4
invoke 203
istore 6
jump LABEL440
LABEL390:
jump LABEL445
LABEL395:
clientclock
iload 11
sub
iconst 500
if_icmpgt LABEL396
jump LABEL411
LABEL396:
if_icmpgt LABEL401
jump LABEL416
LABEL401:
sconst "jk :P"
iload 7
iload 8
@@ -509,8 +514,8 @@ LABEL396:
iload 4
invoke 199
istore 6
jump LABEL425
LABEL411:
jump LABEL430
LABEL416:
sload 11
iload 7
iload 8
@@ -525,9 +530,9 @@ LABEL411:
iload 4
invoke 199
istore 6
LABEL425:
jump LABEL440
LABEL426:
LABEL430:
jump LABEL445
LABEL431:
sload 11
iload 7
iload 8
@@ -542,26 +547,26 @@ LABEL426:
iload 4
invoke 199
istore 6
LABEL440:
LABEL445:
iload 8
if_clearops
iload 10
switch
1: LABEL445
2: LABEL445
3: LABEL445
101: LABEL510
6: LABEL445
7: LABEL445
103: LABEL552
104: LABEL552
9: LABEL445
106: LABEL445
14: LABEL594
90: LABEL445
91: LABEL445
jump LABEL649
LABEL445:
1: LABEL450
2: LABEL450
3: LABEL450
101: LABEL515
6: LABEL450
7: LABEL450
103: LABEL557
104: LABEL557
9: LABEL450
106: LABEL450
14: LABEL599
90: LABEL450
91: LABEL450
jump LABEL684
LABEL450:
sconst "<col=ffffff>"
sload 9
sconst "</col>"
@@ -587,20 +592,20 @@ LABEL445:
removetags
compare
iconst 0
if_icmpne LABEL472
jump LABEL509
LABEL472:
iload 12
if_icmpne LABEL477
jump LABEL514
LABEL477:
iload 14
iconst 1
if_icmpeq LABEL476
jump LABEL481
LABEL476:
if_icmpeq LABEL481
jump LABEL486
LABEL481:
iconst 6
sconst "Message"
iload 8
if_setop
jump LABEL489
LABEL481:
jump LABEL494
LABEL486:
iconst 6
sconst "Add friend"
iload 8
@@ -609,33 +614,33 @@ LABEL481:
sconst "Add ignore"
iload 8
if_setop
LABEL489:
LABEL494:
iconst 8
sconst "Report"
iload 8
if_setop
iload 10
iconst 9
if_icmpeq LABEL497
jump LABEL509
LABEL497:
if_icmpeq LABEL502
jump LABEL514
LABEL502:
clan_getchatcount
iconst 0
if_icmpgt LABEL501
jump LABEL509
LABEL501:
if_icmpgt LABEL506
jump LABEL514
LABEL506:
clan_getchatrank
clan_getchatminkick
if_icmpge LABEL505
jump LABEL509
LABEL505:
if_icmpge LABEL510
jump LABEL514
LABEL510:
iconst 9
sconst "Kick"
iload 8
if_setop
LABEL509:
jump LABEL661
LABEL510:
LABEL514:
jump LABEL696
LABEL515:
sconst "<col=ffffff>"
sload 9
sconst "</col>"
@@ -660,17 +665,17 @@ LABEL510:
sconst "Accept trade"
iload 8
if_setop
iload 12
iload 14
iconst 1
if_icmpeq LABEL538
jump LABEL543
LABEL538:
if_icmpeq LABEL543
jump LABEL548
LABEL543:
iconst 6
sconst "Message"
iload 8
if_setop
jump LABEL551
LABEL543:
jump LABEL556
LABEL548:
iconst 6
sconst "Add friend"
iload 8
@@ -679,9 +684,9 @@ LABEL543:
sconst "Add ignore"
iload 8
if_setop
LABEL551:
jump LABEL661
LABEL552:
LABEL556:
jump LABEL696
LABEL557:
sconst "<col=ffffff>"
sload 9
sconst "</col>"
@@ -706,17 +711,17 @@ LABEL552:
sconst "Accept challenge"
iload 8
if_setop
iload 12
iload 14
iconst 1
if_icmpeq LABEL580
jump LABEL585
LABEL580:
if_icmpeq LABEL585
jump LABEL590
LABEL585:
iconst 6
sconst "Message"
iload 8
if_setop
jump LABEL593
LABEL585:
jump LABEL598
LABEL590:
iconst 6
sconst "Add friend"
iload 8
@@ -725,15 +730,39 @@ LABEL585:
sconst "Add ignore"
iload 8
if_setop
LABEL593:
jump LABEL661
LABEL594:
LABEL598:
jump LABEL696
LABEL599:
sload 12
string_length
iconst 0
if_icmpgt LABEL599
jump LABEL624
LABEL599:
if_icmpgt LABEL604
jump LABEL658
LABEL604:
iload 12
iconst -1
if_icmpne LABEL608
jump LABEL658
LABEL608:
iconst 105
iconst 49
iconst 2761
iload 12
enum
istore 13
clienttype
iconst 3
if_icmpne LABEL618
jump LABEL620
LABEL618:
iconst 0
istore 13
LABEL620:
iload 13
iconst 0
if_icmpeq LABEL624
jump LABEL649
LABEL624:
iconst 6
sconst "Open"
iload 8
@@ -758,8 +787,8 @@ LABEL599:
sconst "Iii"
iload 8
if_setonmouseleave
jump LABEL632
LABEL624:
jump LABEL657
LABEL649:
iconst -1
sconst ""
iload 8
@@ -768,7 +797,18 @@ LABEL624:
sconst ""
iload 8
if_setonmouseleave
LABEL632:
LABEL657:
jump LABEL666
LABEL658:
iconst -1
sconst ""
iload 8
if_setonmouserepeat
iconst -1
sconst ""
iload 8
if_setonmouseleave
LABEL666:
iconst 9
sconst "Clear history"
iload 8
@@ -782,11 +822,12 @@ LABEL632:
iconst 2064
iconst -2147483644
sload 12
sconst "is"
iload 12
sconst "isi"
iload 8
if_setonop
jump LABEL661
LABEL649:
jump LABEL696
LABEL684:
iconst -1
sconst ""
iload 8
@@ -799,7 +840,7 @@ LABEL649:
sconst ""
iload 8
if_setonmouseleave
LABEL661:
LABEL696:
iload 5
iload 6
sub
@@ -814,20 +855,20 @@ LABEL661:
iload 7
enum
istore 8
LABEL675:
LABEL710:
iload 9
chat_getprevuid
istore 9
jump LABEL149
LABEL679:
jump LABEL153
LABEL714:
iload 7
istore 13
LABEL681:
istore 15
LABEL716:
iload 8
iconst -1
if_icmpne LABEL685
jump LABEL742
LABEL685:
if_icmpne LABEL720
jump LABEL777
LABEL720:
iload 8
if_clearops
iconst -1
@@ -854,14 +895,14 @@ LABEL685:
multiply
cc_find
iconst 1
if_icmpeq LABEL713
jump LABEL717
LABEL713:
if_icmpeq LABEL748
jump LABEL752
LABEL748:
sconst ""
cc_settext
iconst 1
cc_sethide
LABEL717:
LABEL752:
iconst 10616890
iload 7
iconst 2
@@ -870,14 +911,14 @@ LABEL717:
add
cc_find
iconst 1
if_icmpeq LABEL727
jump LABEL731
LABEL727:
if_icmpeq LABEL762
jump LABEL766
LABEL762:
sconst ""
cc_settext
iconst 1
cc_sethide
LABEL731:
LABEL766:
iload 7
iconst 1
add
@@ -888,8 +929,8 @@ LABEL731:
iload 7
enum
istore 8
jump LABEL681
LABEL742:
jump LABEL716
LABEL777:
iload 5
iconst 2
sub
@@ -900,23 +941,23 @@ LABEL742:
istore 5
iconst 10616890
if_getheight
istore 14
istore 16
iload 5
iload 14
if_icmpgt LABEL757
jump LABEL759
LABEL757:
iload 16
if_icmpgt LABEL792
jump LABEL794
LABEL792:
iload 5
istore 14
LABEL759:
iload 13
istore 16
LABEL794:
iload 15
istore 7
LABEL761:
LABEL796:
iload 7
iconst 0
if_icmpgt LABEL765
jump LABEL818
LABEL765:
if_icmpgt LABEL800
jump LABEL853
LABEL800:
iload 7
iconst 1
sub
@@ -929,7 +970,7 @@ LABEL765:
istore 8
iload 8
if_gety
iload 14
iload 16
add
iconst 2
sub
@@ -947,15 +988,15 @@ LABEL765:
multiply
cc_find
iconst 1
if_icmpeq LABEL797
jump LABEL802
LABEL797:
if_icmpeq LABEL832
jump LABEL837
LABEL832:
cc_getx
iload 5
iconst 0
iconst 0
cc_setposition
LABEL802:
LABEL837:
iconst 10616890
iload 7
iconst 2
@@ -964,32 +1005,32 @@ LABEL802:
add
cc_find
iconst 1
if_icmpeq LABEL812
jump LABEL817
LABEL812:
if_icmpeq LABEL847
jump LABEL852
LABEL847:
cc_getx
iload 5
iconst 0
iconst 0
cc_setposition
LABEL817:
jump LABEL761
LABEL818:
LABEL852:
jump LABEL796
LABEL853:
iconst 0
iload 14
iload 16
iconst 10616890
if_setscrollsize
iconst 10617391
iconst 10616890
get_varc_int 7
iload 14
iload 16
get_varc_int 8
sub
add
invoke 72
iconst 10616890
if_getscrolly
iload 14
iload 16
set_varc_int 8
set_varc_int 7
return
@@ -1 +1 @@
2A7509A05B336AC79015C479B39CDB3E1D3F10A57C6B96B2162E87352B4F25A3
6F98F4F02F8A6B8B774D6B5010B7751260DB766C3E1C43F787A8BE213E7E2C3A
@@ -1,7 +1,7 @@
.id 89
.int_stack_count 1
.string_stack_count 0
.int_var_count 16
.int_var_count 18
.string_var_count 4
iconst 0
istore 1
@@ -183,24 +183,28 @@ LABEL156:
sstore 2
sconst ""
sstore 3
iconst -1
istore 15
iconst 0
istore 16
get_varc_int 55
get_varc_int 202
if_icmpge LABEL172
jump LABEL282
LABEL172:
if_icmpge LABEL176
jump LABEL317
LABEL176:
get_varc_int 55
clientclock
iconst 3000
sub
if_icmpgt LABEL178
jump LABEL282
LABEL178:
if_icmpgt LABEL182
jump LABEL317
LABEL182:
iconst 14
chat_gethistorylength
iconst 0
if_icmpgt LABEL183
jump LABEL282
LABEL183:
if_icmpgt LABEL187
jump LABEL317
LABEL187:
iconst 14
iconst 0
chat_gethistory_bytypeandline
@@ -212,11 +216,12 @@ LABEL183:
istore 12
iload 12
iconst -1
if_icmpne LABEL196
jump LABEL282
LABEL196:
if_icmpne LABEL200
jump LABEL317
LABEL200:
sload 0
invoke 2066
istore 15
sstore 3
sstore 0
iload 7
@@ -240,9 +245,33 @@ LABEL196:
sload 3
string_length
iconst 0
if_icmpgt LABEL223
jump LABEL248
LABEL223:
if_icmpgt LABEL228
jump LABEL282
LABEL228:
iload 15
iconst -1
if_icmpne LABEL232
jump LABEL282
LABEL232:
iconst 105
iconst 49
iconst 2761
iload 15
enum
istore 16
clienttype
iconst 3
if_icmpne LABEL242
jump LABEL244
LABEL242:
iconst 0
istore 16
LABEL244:
iload 16
iconst 0
if_icmpeq LABEL248
jump LABEL273
LABEL248:
iconst 6
sconst "Open"
iload 10
@@ -267,8 +296,8 @@ LABEL223:
sconst "Iii"
iload 10
if_setonmouseleave
jump LABEL256
LABEL248:
jump LABEL281
LABEL273:
iconst -1
sconst ""
iload 10
@@ -277,7 +306,18 @@ LABEL248:
sconst ""
iload 10
if_setonmouseleave
LABEL256:
LABEL281:
jump LABEL290
LABEL282:
iconst -1
sconst ""
iload 10
if_setonmouserepeat
iconst -1
sconst ""
iload 10
if_setonmouseleave
LABEL290:
iconst 9
sconst "Clear history"
iload 10
@@ -291,7 +331,8 @@ LABEL256:
iconst 2064
iconst -2147483644
sload 3
sconst "is"
iload 15
sconst "isi"
iload 10
if_setonop
iload 9
@@ -304,41 +345,41 @@ LABEL256:
iload 9
enum
istore 10
LABEL282:
LABEL317:
iload 0
istore 12
iconst 0
istore 15
istore 17
get_varp 287
iconst 1
if_icmpeq LABEL290
jump LABEL479
LABEL290:
if_icmpeq LABEL325
jump LABEL514
LABEL325:
get_varc_int 41
iconst 1337
if_icmpne LABEL297
if_icmpne LABEL332
get_varbit 4089
iconst 0
if_icmpeq LABEL297
jump LABEL479
LABEL297:
if_icmpeq LABEL332
jump LABEL514
LABEL332:
iload 12
iconst -1
if_icmpne LABEL301
jump LABEL479
LABEL301:
if_icmpne LABEL336
jump LABEL514
LABEL336:
iload 10
iconst -1
if_icmpne LABEL305
jump LABEL479
LABEL305:
if_icmpne LABEL340
jump LABEL514
LABEL340:
iload 7
iload 4
sub
iconst 57
if_icmplt LABEL311
jump LABEL479
LABEL311:
if_icmplt LABEL346
jump LABEL514
LABEL346:
iload 12
chat_gethistory_byuid
istore 14
@@ -346,19 +387,19 @@ LABEL311:
sstore 2
sstore 1
istore 13
istore 15
iload 15
istore 17
iload 17
sload 1
iload 13
iload 14
invoke 91
iconst 1
if_icmpeq CHAT_FILTER ; Jump to our new label instead
jump LABEL475
jump LABEL510
CHAT_FILTER:
sload 0 ; Load the message
iconst 1 ; Gets changed to 0 if message is blocked
iload 15 ; Load the messageType
iload 17 ; Load the messageType
iload 12 ; Load the id of the messageNode
sconst "chatFilterCheck"
runelite_callback
@@ -366,16 +407,16 @@ CHAT_FILTER:
pop_int ; Pop the messageType
iconst 1 ; 2nd half of conditional
sstore 0 ; Override the message with our filtered message
if_icmpeq LABEL327 ; Check if we are building this message
jump LABEL475
LABEL327:
iload 15
if_icmpeq LABEL362 ; Check if we are building this message
jump LABEL510
LABEL362:
iload 17
switch
3: LABEL330
6: LABEL351
7: LABEL330
jump LABEL372
LABEL330:
3: LABEL365
6: LABEL386
7: LABEL365
jump LABEL407
LABEL365:
iload 7
iload 12 ; Load the id of the messageNode
sconst "" ; Push a container for the timestamp
@@ -403,8 +444,8 @@ LABEL330:
invoke 203
add
istore 7
jump LABEL407
LABEL351:
jump LABEL442
LABEL386:
iload 7
iload 12 ; Load the id of the messageNode
sconst "" ; Push container for the timestamp
@@ -432,8 +473,8 @@ LABEL351:
invoke 203
add
istore 7
jump LABEL407
LABEL372:
jump LABEL442
LABEL407:
iload 7
iload 12 ; Load the id of the messageNode
sconst "" ; Push a container for the timestamp
@@ -441,7 +482,7 @@ LABEL372:
runelite_callback ; Invoke callback
pop_int ; Pop the id of the messageNode
sload 0 ; Load the log in/out message
join_string 2 ; Add the timestamp to the message
join_string 3 ; Add the timestamp to the message
iload 9
iload 10
iconst 10682368
@@ -456,16 +497,16 @@ LABEL372:
invoke 199
add
istore 7
iload 15
iload 17
iconst 5
if_icmpeq LABEL392
jump LABEL407
LABEL392:
if_icmpeq LABEL427
jump LABEL442
LABEL427:
get_varbit 1627
iconst 0
if_icmpeq LABEL396
jump LABEL407
LABEL396:
if_icmpeq LABEL431
jump LABEL442
LABEL431:
iload 13
iconst 500
add
@@ -477,31 +518,31 @@ LABEL396:
sconst "1"
iconst 10616832
if_setontimer
LABEL407:
LABEL442:
iload 10
if_clearops
iload 15
iload 17
iconst 3
if_icmpeq LABEL419
iload 15
if_icmpeq LABEL454
iload 17
iconst 6
if_icmpeq LABEL419
iload 15
if_icmpeq LABEL454
iload 17
iconst 7
if_icmpeq LABEL419
jump LABEL453
LABEL419:
if_icmpeq LABEL454
jump LABEL488
LABEL454:
iload 14
iconst 1
if_icmpeq LABEL423
jump LABEL428
LABEL423:
if_icmpeq LABEL458
jump LABEL463
LABEL458:
iconst 8
sconst "Message"
iload 10
if_setop
jump LABEL436
LABEL428:
jump LABEL471
LABEL463:
iconst 8
sconst "Add friend"
iload 10
@@ -510,7 +551,7 @@ LABEL428:
sconst "Add ignore"
iload 10
if_setop
LABEL436:
LABEL471:
iconst 10
sconst "Report"
iload 10
@@ -527,13 +568,13 @@ LABEL436:
sconst "is"
iload 10
if_setonop
jump LABEL457
LABEL453:
jump LABEL492
LABEL488:
iconst -1
sconst ""
iload 10
if_setonop
LABEL457:
LABEL492:
iconst -1
sconst ""
iload 10
@@ -552,17 +593,17 @@ LABEL457:
iload 9
enum
istore 10
LABEL475:
LABEL510:
iload 12
chat_getprevuid
istore 12
jump LABEL297
LABEL479:
jump LABEL332
LABEL514:
iload 10
iconst -1
if_icmpne LABEL483
jump LABEL540
LABEL483:
if_icmpne LABEL518
jump LABEL575
LABEL518:
iload 10
if_clearops
iconst -1
@@ -589,14 +630,14 @@ LABEL483:
multiply
cc_find
iconst 1
if_icmpeq LABEL511
jump LABEL515
LABEL511:
if_icmpeq LABEL546
jump LABEL550
LABEL546:
sconst ""
cc_settext
iconst 1
cc_sethide
LABEL515:
LABEL550:
iconst 10682368
iload 9
iconst 2
@@ -605,14 +646,14 @@ LABEL515:
add
cc_find
iconst 1
if_icmpeq LABEL525
jump LABEL529
LABEL525:
if_icmpeq LABEL560
jump LABEL564
LABEL560:
sconst ""
cc_settext
iconst 1
cc_sethide
LABEL529:
LABEL564:
iload 9
iconst 1
add
@@ -623,6 +664,6 @@ LABEL529:
iload 9
enum
istore 10
jump LABEL479
LABEL540:
jump LABEL514
LABEL575:
return