Think this won't work. As I understand your checkstuck() will only interupt the Mainfarm(1) with another Mainfarm(2). After this Mainfarm(2) is done it will try to continue the mainfarm(1) where it was interupted which will not work because youre at the outpost.
As i know it is not that easy in autoit to end a function with another function. The checkstuck() funktion does not abort the mainfarm(1) in this case, only "pauses" it.
Correct me if i'm wrong
You're probably right, my coding ability isn't great lol the function works and the choice of how long the timer also works, you may be right about it not resetting and starting again properly though, not sure where you're getting the two different mains from though?
HowTo:
Simply place the item in the top left of inventory (Bag-1, Slot-1)and select "Initilize" then "Search"
You can also choose the specific bag and slot number to search additional items in inventory.
"I needed something simple to find a lot of Model_ID's quickly and wanted it clean and easy to read. Hope this helps you as much as it did me."
~RiflemanX
u know tool box ? he do the same .. xD no flame ty for the work
You're probably right, my coding ability isn't great lol the function works and the choice of how long the timer also works, you may be right about it not resetting and starting again properly though, not sure where you're getting the two different mains from though?
there are no different mains. i numbered them for better understanding.
Mainfarm(1) is the one startet simply by pressing "start"
Mainfarm(2) is the one startet by the Checkstuck function
Tried a similar solution for the death-counter. but it didnt work because it ended like i described. if you start a function 2 in a funktion 1, function 2 will end if finished and after that function 1 will continue until finished
Take the function out and add if statements to each line for the timeout and else a return function to exit the mainfarm? Thought it would be better the way I did but now I think I understand
The Oldy is right with his statements.
I would recommend to take a look at the vaettir farm bot. There you can see the function cancels with a return in basically every function
Hope it helped.
(btw. Iam using the vaettir bot as a basis for every bot I write for myself) - had no problems in recent times so far
So after trying various different methods that ended up being useless, probably would've worked if I knew a bit more, but have put If statements in every so often to check the timeout and either carry on or return on else.
If the bot hits the timeout, it will output the 'Timeout occurred!' but wont instantly return, instead it'll wait until the next If statement.
A solution to this dilemma is using global variables and embedding them in each function to help control program flow...
Code:
Global $ExitA = False, $ExitB = False, $ExitC = False
;then in
Function 1()
if $Death = 1 then $ExitA = True
if $BossAKill then $ExitB = True
; do function 1 stuff
EndFunc
;then in
Function 2()
If $ExitA or $ExitB or $ExitC Return
; do stuff
;
EndFunc
Can someone explik me how to change the Vaetir bot for Run as Monk with this build : OwcU4QY6pPP8Id2BkACRyi3D5BA
or i dont get the good build maybe
The Bot is done around a build and only for this build (as Assa/Mesmer) : OwVUI2h5lPP8Id2BkAiAvpLBTAA
You can try as Mesmer/Assa but not with a Monk/Assa for the moment...
But, you can take a look on some lines who need to change (and it's not the only ones) like for the :
Quote:
; ==== Build ====
Global Const $SkillBarTemplate = "OwVUI2h5lPP8Id2BkAiAvpLBTAA"
; declare skill numbers to make the code WAY more readable (UseSkill($sf) is better than UseSkill(2))
Global Const $paradox = 1
Global Const $sf = 2
Global Const $shroud = 3
Global Const $wayofperf = 4
Global Const $hos = 5
Global Const $wastrel = 6
Global Const $echo = 7
Global Const $channeling = 8
; Store skills energy cost
Global $skillCost[9]
$skillCost[$paradox] = 15
$skillCost[$sf] = 5
$skillCost[$shroud] = 10
$skillCost[$wayofperf] = 5
$skillCost[$hos] = 5
$skillCost[$wastrel] = 5
$skillCost[$echo] = 15
$skillCost[$channeling] = 5
;~ Skill IDs
Global Const $SKILL_ID_SHROUD = 1031
Global Const $SKILL_ID_CHANNELING = 38
Global Const $SKILL_ID_ARCHANE_ECHO = 75
Global Const $SKILL_ID_WASTREL_DEMISE = 1335
Good luck
Cheers
PS :
Quote:
at GW wiki
For survivors and beginners unfamiliar with the run
Changelog V3.0 ((March the 6th 2019) by Bibopp :
- Update Stuck Elementals (Norn)
- updated Sell Function
Changelog V2.9 ((March the 3th 2019) by Bibopp :
- added combo selection character for quick connection
- Added Activation/Deactivation HardMode
- Added Select CheckBox (Spirits mode or Free)
- If you check the bot will be in ritualist mode.
# For characters who don’t have Faction.
- Slot 1: Enchantment, after Free Build
- Updated to a newer GWA2 library version.
- At last all works, all tested. updated (March the 7th 2019)
Hello,
I've updated the scripts and they now work perfectly.
It was mainly replacing existing files from other bots:
AddsOn.au3
CommonFunction.au3
GWA2.au3
GWA2_Headers.au3
Sell_.au3
And adding the include of Sell_.au3 in the main bot.
Code:
#include "Sell_.au3"
ps: I do not own the rights of those scripts, the owner is .
I've updated the scripts and they now work perfectly.
It was mainly replacing existing files from other bots:
AddsOn.au3
CommonFunction.au3
GWA2.au3
GWA2_Headers.au3
Sell_.au3
And adding the include of Sell_.au3 in the main bot.
Code:
#include "Sell_.au3"
ps: I do not own the rights of those scripts, the owner is .
Enjoy!
Using the deld, the sell to merch wasn't working so chucked in the functions from the vsf bot into the sell.au3; So ignore me, the change districts part seems to be buggy.
Last Chaos GuardianS - New 2019 Server (Opening 12 January 2019) 01/27/2019 - Last Chaos Private Server - 180 Replies https://www.youtube.com/watch?v=kCfwdUoPHu0
Website Coming Soon
Server Information
Start level :1
Max level:165
Experience:x2
Skill Points:x3