From 67be466cdf2d552a6bd5dcc09adbb30b83c104e6 Mon Sep 17 00:00:00 2001 From: Erik Date: Mon, 6 Apr 2026 13:57:13 +0200 Subject: [PATCH] add stipend backoff timer to prevent repeated stipend attempts when server lies about quest readiness --- af/bore.af | 7 +++ af/neftet.af | 7 +++ met/bore.met | 113 +++++++++++++++++++++++++++++++++++++++++++++++-- met/neftet.met | 113 +++++++++++++++++++++++++++++++++++++++++++++++-- 4 files changed, 234 insertions(+), 6 deletions(-) diff --git a/af/bore.af b/af/bore.af index d7fb8dc..6d98867 100644 --- a/af/bore.af +++ b/af/bore.af @@ -64,6 +64,8 @@ STATE: {hunt} ~~ { DO: DoAll DoExpr {setvar[serviceClock,stopwatchcreate[]]} DoExpr {stopwatchstart[getvar[serviceClock]]} + IF: Not Expr {testvar[stipendBackoffSeconds]} + DO: DoExpr {setvar[stipendBackoffSeconds, 86400]} IF: Death DO: DoAll Chat {/a I died! But I will comeback!} @@ -289,6 +291,9 @@ STATE: {service_decide} ~~ { DoExpr {clearvar[bellaBackoffClock]} IF: All Expr {getqueststatus[`stipendtimer_0812`]==1} + Not All + Expr {testvar[stipendBackoffClock]} + Expr {stopwatchelapsedseconds[getvar[stipendBackoffClock]]