diff --git a/af/vr_helper.af b/af/vr_helper.af index b4dcaf4..62a014d 100644 --- a/af/vr_helper.af +++ b/af/vr_helper.af @@ -38,9 +38,6 @@ ~~ } STATE: {Default} - IF: Always - DO: DoAll - Chat {/vt opt set enablenav false} IF: All ChatCapture {(^(\[[A-z]+?\] |)You|.*\[^\<]*)\>.+\<\\Tell\>) .*, \"gem of knowledge (?[0-9]+)\"$} {} Expr {cnumber[getvar[capturegroup_num]]>0} @@ -59,14 +56,9 @@ STATE: {Default} ChatCapture {^(?[A-Za-z][A-Za-z0-9 ]*) gives you (?[0-9,]+) Promissory Notes\.$} {} DO: DoAll ChatExpr {\/t +getvar[capturegroup_who]+` Thank you for the `+getvar[capturegroup_amount]+` Promissory Notes`} - DoExpr {setvar[noteCount, "" + getitemcountininventorybyname["Promissory Note"]]} - ChatExpr {`/t ` + getvar[capturegroup_who] + ` test`} - ChatExpr {`/t ` + getvar[capturegroup_who] + ` I now have ` + getvar[noteCount] + `/60,000 in my backpack (via test)`} - IF: All - ItemCountGE 60000 {Promissory Note} - DO: DoAll - Chat {/a [Viridan Helper] Going for a gem run. See ya later nerds!} - SetState {coin_run} + DoExpr {setvar[noteCount, "" + getitemcountininventorybyname["Promissory Notes"]]} + ChatExpr {`/tell ` + getvar[capturegroup_who] + ` I now have ` + getvar[noteCount] + `/60,000 Promissory Notes in my backpack.`} + IF: All ItemCountLE 10 {Gem of Knowledge} SecsInStateGE 60 @@ -79,7 +71,7 @@ STATE: {Default} Chat {/a [Box Of Ten Colosseum Coins] Opening...} SetState {open_boxes} -STATE: {open_boxes} +STATE: {open_boxes} ~~ { IF: Death DO: SetState {Default} IF: ItemCountGE 1 {Box Of Ten Colosseum Coins} @@ -90,61 +82,12 @@ STATE: {open_boxes} SetState {Default} IF: Always DO: SetWatchdog 1 120 {Default} - -STATE: {open_box} +~~ } +STATE: {open_box} ~~ { IF: Death DO: SetState {Default} IF: Always DO: DoAll Chat {/ub use Box Of Ten Colosseum Coins} SetState {open_boxes} - -STATE: {ah_recall} - IF: All - Expr {testvar[navLoaded]} - NavEmpty - DO: DoAll - DoExpr {clearvar[navLoaded]} - SetState {Default} - IF: Always - DO: DoAll - DoExpr {setvar[navLoaded, 1]} - Chat {/vt nav load vr_helper_ah_recall} - Chat {/vt opt set enablenav true} - IF: Always - DO: SetWatchdog 10 120 {stuck} - -STATE: {coin_run} - IF: All - Expr {testvar[navLoaded]} - NavEmpty - DO: DoAll - DoExpr {clearvar[navLoaded]} - SetState {gem_run} - IF: Always - DO: DoAll - DoExpr {setvar[navLoaded, 1]} - Chat {/vt nav load nav_absalomsarraf} - Chat {/vt opt set enablenav true} - IF: Always - DO: SetWatchdog 10 120 {stuck} - -STATE: {gem_run} - IF: All - Expr {testvar[navLoaded]} - NavEmpty - DO: DoAll - DoExpr {clearvar[navLoaded]} - SetState {ah_recall} - IF: Always - DO: DoAll - DoExpr {setvar[navLoaded, 1]} - Chat {/vt nav load nav_colosseumcoincollector} - Chat {/vt opt set enablenav true} - IF: Always - DO: SetWatchdog 10 120 {stuck} - -STATE: {stuck} - IF: Always - DO: DoAll - SetState {ah_recall} \ No newline at end of file +~~ } \ No newline at end of file diff --git a/af/vr_helper_ah_recall.af b/af/vr_helper_ah_recall.af deleted file mode 100644 index 340d394..0000000 --- a/af/vr_helper_ah_recall.af +++ /dev/null @@ -1,34 +0,0 @@ -~~ { -~~ FOR AUTO-COMPLETION ASSISTANCE: testvar getvar setvar touchvar clearallvars clearvar getcharintprop getchardoubleprop getcharquadprop getcharboolprop getcharstringprop getisspellknown getcancastspell_hunt getcancastspell_buff getcharvital_base getcharvital_current getcharvital_buffedmax getcharskill_traininglevel getcharskill_base getcharskill_buffed getplayerlandcell getplayercoordinates coordinategetns coordinategetwe coordinategetz coordinatetostring coordinateparse coordinatedistancewithz coordinatedistanceflat wobjectgetphysicscoordinates wobjectgetname wobjectgetobjectclass wobjectgettemplatetype wobjectgetisdooropen wobjectfindnearestmonster wobjectfindnearestdoor wobjectfindnearestbyobjectclass wobjectfindininventorybytemplatetype wobjectfindininventorybyname wobjectfindininventorybynamerx wobjectgetselection wobjectgetplayer wobjectfindnearestbynameandobjectclass actiontryselect actiontryuseitem actiontryapplyitem actiontrygiveitem actiontryequipanywand actiontrycastbyid actiontrycastbyidontarget chatbox chatboxpaste statushud statushudcolored uigetcontrol uisetlabel isfalse istrue iif randint cstr strlen getobjectinternaltype cstrf stopwatchcreate stopwatchstart stopwatchstop stopwatchelapsedseconds cnumber floor ceiling round abs getworldname getitemcountininventorybyname getheading getitemcountininventorybynamerx getheadingto actiontrygiveprofile vitae getfellowshipstatus getfellowshipname getfellowshipisopen getfellowshipisleader getfellowshipleaderid getfellowshipcanrecruit getfellowid getfellowshipcount getfellowshiplocked getfellowname getfellowshipisfull sin cos tan sqrt asin acos atan atan2 sinh cosh tanh vtsetmetastate getregexmatch echo chr ord wobjectgetid wobjectgethealth wobjectfindbyid wobjectgetintprop wobjectfindnearestbytemplatetype wobjectgetopencontainer testquestflag getquestktprogress isrefreshingquests getquestktrequired getqueststatus getisday getgamehour getgamehourname getisnight getgameday getgameticks getminutesuntilday getgamemonth getgamemonthname getminutesuntilnight getgameyear uisetvisible uiviewvisible uiviewexists getgvar touchgvar getpvar touchpvar setgvar cleargvar setpvar clearpvar testgvar clearallgvars testpvar clearallpvars dictgetitem dictcreate dicthaskey dictadditem dictkeys dictremovekey dictvalues dictclear dictsize dictcopy listgetitem listpop listcreate listcontains listremove listadd listindexof listremoveat listinsert listlastindexof listclear listcopy listcount listreverse - -~~ -~~ File auto-generated by metaf, a program created by Eskarina of Morningthaw/Coldeve. -~~ Get metaf here: https://github.com/JJEII/metaf/ -~~ -~~ All recognized structural designators in a NAV-ONLY file: -~~ NAV: -~~ -~~ All recognized NAV types: -~~ circular follow -~~ linear once -~~ -~~ All recognized NAV NODE types: -~~ flw vnd -~~ pnt ptl -~~ rcl tlk -~~ pau chk -~~ cht jmp -~~ prt (deprecated in VTank) -~~ - -~~ -~~ REMEMBER THAT NAV-ONLY FILES MUST CONTAIN EXACTLY ONE NAV! -~~ } - -NAV: nav0 circular ~~ { - pau 59.3215317090352 -28.5296492894491 0.0500250021616618 5000 - cht 59.3215317090352 -28.5296492894491 0.0500250021616618 {/ah} - pau 59.3215317090352 -28.5296492894491 0.0500250021616618 25000 - pnt 59.3215317090352 -28.5296492894491 0.0500250021616618 - cht 59.3215317090352 -28.5296492894491 0.0500250021616618 {/ub face 30} -~~ } diff --git a/met/vr_helper.met b/met/vr_helper.met index f0e81c3..f713b6b 100644 --- a/met/vr_helper.met +++ b/met/vr_helper.met @@ -11,26 +11,7 @@ n n n n -23 -i -1 -i -3 -i -0 -TABLE -2 -K -V -n -n -1 -i -2 -s -/vt opt set enablenav false -s -Default +11 i 2 i @@ -207,7 +188,7 @@ K V n n -4 +3 i 8 TABLE @@ -233,7 +214,7 @@ n s e s -setvar[noteCount, "" + getitemcountininventorybyname["Promissory Note"]] +setvar[noteCount, "" + getitemcountininventorybyname["Promissory Notes"]] i 8 TABLE @@ -246,65 +227,7 @@ n s e s -`/t ` + getvar[capturegroup_who] + ` test` -i -8 -TABLE -2 -k -v -n -n -1 -s -e -s -`/t ` + getvar[capturegroup_who] + ` I now have ` + getvar[noteCount] + `/60,000 in my backpack (via test)` -s -Default -i -2 -i -3 -TABLE -2 -K -V -n -n -1 -i -12 -TABLE -2 -k -v -n -n -2 -s -n -s -Promissory Note -s -c -i -60000 -TABLE -2 -K -V -n -n -2 -i -2 -s -/a [Viridan Helper] Going for a gem run. See ya later nerds! -i -1 -s -coin_run +`/tell ` + getvar[capturegroup_who] + ` I now have ` + getvar[noteCount] + `/60,000 Promissory Notes in my backpack.` s Default i @@ -530,373 +453,3 @@ s open_boxes s open_box -i -2 -i -3 -TABLE -2 -K -V -n -n -2 -i -26 -TABLE -2 -k -v -n -n -1 -s -e -s -testvar[navLoaded] -i -7 -i -0 -TABLE -2 -K -V -n -n -2 -i -7 -TABLE -2 -k -v -n -n -1 -s -e -s -clearvar[navLoaded] -i -1 -s -Default -s -ah_recall -i -1 -i -3 -i -0 -TABLE -2 -K -V -n -n -3 -i -7 -TABLE -2 -k -v -n -n -1 -s -e -s -setvar[navLoaded, 1] -i -2 -s -/vt nav load vr_helper_ah_recall -i -2 -s -/vt opt set enablenav true -s -ah_recall -i -1 -i -9 -i -0 -TABLE -2 -k -v -n -n -3 -s -s -s -stuck -s -r -d -10 -s -t -d -120 -s -ah_recall -i -2 -i -3 -TABLE -2 -K -V -n -n -2 -i -26 -TABLE -2 -k -v -n -n -1 -s -e -s -testvar[navLoaded] -i -7 -i -0 -TABLE -2 -K -V -n -n -2 -i -7 -TABLE -2 -k -v -n -n -1 -s -e -s -clearvar[navLoaded] -i -1 -s -gem_run -s -coin_run -i -1 -i -3 -i -0 -TABLE -2 -K -V -n -n -3 -i -7 -TABLE -2 -k -v -n -n -1 -s -e -s -setvar[navLoaded, 1] -i -2 -s -/vt nav load nav_absalomsarraf -i -2 -s -/vt opt set enablenav true -s -coin_run -i -1 -i -9 -i -0 -TABLE -2 -k -v -n -n -3 -s -s -s -stuck -s -r -d -10 -s -t -d -120 -s -coin_run -i -2 -i -3 -TABLE -2 -K -V -n -n -2 -i -26 -TABLE -2 -k -v -n -n -1 -s -e -s -testvar[navLoaded] -i -7 -i -0 -TABLE -2 -K -V -n -n -2 -i -7 -TABLE -2 -k -v -n -n -1 -s -e -s -clearvar[navLoaded] -i -1 -s -ah_recall -s -gem_run -i -1 -i -3 -i -0 -TABLE -2 -K -V -n -n -3 -i -7 -TABLE -2 -k -v -n -n -1 -s -e -s -setvar[navLoaded, 1] -i -2 -s -/vt nav load nav_colosseumcoincollector -i -2 -s -/vt opt set enablenav true -s -gem_run -i -1 -i -9 -i -0 -TABLE -2 -k -v -n -n -3 -s -s -s -stuck -s -r -d -10 -s -t -d -120 -s -gem_run -i -1 -i -3 -i -0 -TABLE -2 -K -V -n -n -1 -i -1 -s -ah_recall -s -stuck diff --git a/nav/vr_helper_ah_recall.nav b/nav/vr_helper_ah_recall.nav deleted file mode 100644 index ddaf4b3..0000000 --- a/nav/vr_helper_ah_recall.nav +++ /dev/null @@ -1,32 +0,0 @@ -uTank2 NAV 1.2 -1 -5 -3 -59.3215317090352 --28.5296492894491 -0.0500250021616618 -0 -5000 -4 -59.3215317090352 --28.5296492894491 -0.0500250021616618 -0 -/ah -3 -59.3215317090352 --28.5296492894491 -0.0500250021616618 -0 -25000 -0 -59.3215317090352 --28.5296492894491 -0.0500250021616618 -0 -4 -59.3215317090352 --28.5296492894491 -0.0500250021616618 -0 -/ub face 30