add stipend backoff timer to prevent repeated stipend attempts when server lies about quest readiness
Some checks failed
/ test (push) Failing after 18s
Some checks failed
/ test (push) Failing after 18s
This commit is contained in:
parent
b50a96957b
commit
67be466cdf
4 changed files with 234 additions and 6 deletions
113
met/neftet.met
113
met/neftet.met
|
|
@ -11,7 +11,7 @@ n
|
|||
n
|
||||
n
|
||||
n
|
||||
302
|
||||
303
|
||||
i
|
||||
20
|
||||
i
|
||||
|
|
@ -873,6 +873,43 @@ n
|
|||
s
|
||||
e
|
||||
s
|
||||
testvar[stipendBackoffSeconds]
|
||||
TABLE
|
||||
2
|
||||
k
|
||||
v
|
||||
n
|
||||
n
|
||||
1
|
||||
s
|
||||
e
|
||||
s
|
||||
setvar[stipendBackoffSeconds, 86400]
|
||||
s
|
||||
Default
|
||||
i
|
||||
21
|
||||
i
|
||||
7
|
||||
TABLE
|
||||
2
|
||||
K
|
||||
V
|
||||
n
|
||||
n
|
||||
1
|
||||
i
|
||||
26
|
||||
TABLE
|
||||
2
|
||||
k
|
||||
v
|
||||
n
|
||||
n
|
||||
1
|
||||
s
|
||||
e
|
||||
s
|
||||
testvar[serviceCheckInterval]
|
||||
TABLE
|
||||
2
|
||||
|
|
@ -3620,7 +3657,7 @@ K
|
|||
V
|
||||
n
|
||||
n
|
||||
1
|
||||
2
|
||||
i
|
||||
26
|
||||
TABLE
|
||||
|
|
@ -3634,6 +3671,50 @@ s
|
|||
e
|
||||
s
|
||||
getqueststatus[`stipendtimer_0812`]==1
|
||||
i
|
||||
21
|
||||
TABLE
|
||||
2
|
||||
K
|
||||
V
|
||||
n
|
||||
n
|
||||
1
|
||||
i
|
||||
2
|
||||
TABLE
|
||||
2
|
||||
K
|
||||
V
|
||||
n
|
||||
n
|
||||
2
|
||||
i
|
||||
26
|
||||
TABLE
|
||||
2
|
||||
k
|
||||
v
|
||||
n
|
||||
n
|
||||
1
|
||||
s
|
||||
e
|
||||
s
|
||||
testvar[stipendBackoffClock]
|
||||
i
|
||||
26
|
||||
TABLE
|
||||
2
|
||||
k
|
||||
v
|
||||
n
|
||||
n
|
||||
1
|
||||
s
|
||||
e
|
||||
s
|
||||
stopwatchelapsedseconds[getvar[stipendBackoffClock]]<getvar[stipendBackoffSeconds]
|
||||
s
|
||||
service_stipend
|
||||
s
|
||||
|
|
@ -3857,7 +3938,7 @@ K
|
|||
V
|
||||
n
|
||||
n
|
||||
5
|
||||
7
|
||||
i
|
||||
2
|
||||
s
|
||||
|
|
@ -3882,6 +3963,32 @@ n
|
|||
s
|
||||
e
|
||||
s
|
||||
setvar[stipendBackoffClock, stopwatchcreate[]]
|
||||
i
|
||||
7
|
||||
TABLE
|
||||
2
|
||||
k
|
||||
v
|
||||
n
|
||||
n
|
||||
1
|
||||
s
|
||||
e
|
||||
s
|
||||
stopwatchstart[getvar[stipendBackoffClock]]
|
||||
i
|
||||
7
|
||||
TABLE
|
||||
2
|
||||
k
|
||||
v
|
||||
n
|
||||
n
|
||||
1
|
||||
s
|
||||
e
|
||||
s
|
||||
touchvar[stipendNavLoaded]
|
||||
i
|
||||
4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue