timestamp: use steam client chat timestamp support
The chat building scripts have variables now for message timestamp, so we can just assign our timestamp to those instead.
This commit is contained in:
@@ -343,9 +343,9 @@ LABEL319:
|
||||
jump LABEL1598
|
||||
LABEL323:
|
||||
iload 10
|
||||
5031
|
||||
chat_gethistoryex_byuid
|
||||
istore 21
|
||||
sstore 18
|
||||
sstore 18 ; timestamp
|
||||
istore 15
|
||||
sstore 15
|
||||
sstore 14
|
||||
@@ -390,9 +390,11 @@ LABEL341:
|
||||
jump LABEL1594
|
||||
LABEL355:
|
||||
iload 10 ; message uid
|
||||
sload 18 ; message timestamp
|
||||
sconst "chatMessageBuilding"
|
||||
runelite_callback
|
||||
pop_int ; pop uid
|
||||
sstore 18 ; message timestamp
|
||||
iload 11
|
||||
switch
|
||||
1: LABEL358
|
||||
|
||||
@@ -381,9 +381,9 @@ LABEL344:
|
||||
jump LABEL566
|
||||
LABEL350:
|
||||
iload 12
|
||||
5031
|
||||
chat_gethistoryex_byuid
|
||||
istore 15
|
||||
sstore 2
|
||||
sstore 2 ; timestamp
|
||||
istore 14
|
||||
sstore 0
|
||||
sstore 3
|
||||
@@ -413,9 +413,11 @@ CHAT_FILTER:
|
||||
jump LABEL562
|
||||
LABEL368:
|
||||
iload 12 ; message uid
|
||||
sload 2 ; message timestamp
|
||||
sconst "chatMessageBuilding"
|
||||
runelite_callback
|
||||
pop_int
|
||||
pop_int
|
||||
sstore 2 ; message timestamp
|
||||
iload 18
|
||||
switch
|
||||
3: LABEL371
|
||||
|
||||
Reference in New Issue
Block a user