It's working but still get disconnects (code=007).
Tried both American and Europe districts (live in Europe), tried the game minimized, out of focus, in focused.
Same "problem" as before, running nice and well, and at random gets the disconnect.
Am launching via GW launcher if that can cause any problems.
Haven't got a lot of stuff to salvage right now, so testing is a pain, but my guess is that you run into the fact that at times GetPing()+600 still is too fast and server disconnects you, but its a guess, untill i have time to really test.
Salvage Bot by joeko.au3, Line 299:
Code:
Sleep(GetPing() + 600)
Change it to:
Code:
Sleep(GetPing() + 700)
Maybe even "750" or "800" if you still get Disconnects with "700" or "750".
Quickly looking over the code that was the one line that cought my attention, as this might very well be the issue.
To help explain better, say you have a Ping of 30 - 70 ms, your code ends up doing a Sleep(30-70 + 700), meaning it'll sleep for 0,73 to 0,77 seconds, so less than a second, if you bombard the server with actions/requests too often the server decides your game is acting up and it disconnects you ... anyway to get back to the numbers, lets say the server actually accepts 1 action/request pr 0,75 seconds this means that your code works when the sleep is 0,75 + seconds long, but every time you get a low Ping you end up with a 0,749 - seconds long sleep, resulting in trying to do 2 actions/requests during the 0,75 seconds, making the server Disconnect you ... note the math here is a simple example, you need to test you the exact action/request pr x seconds on your own, its just to try and explain what i think the code is doing and what i think is the issue.
Gonna farm some things to salvage so i can try and test that. But that will prob take half a day or day tomorrow.
And thanks again for all the help you given.
What was the other "code bits" you linked in post #282. the $mPing, $mMaploading,$mLoggedIn etc? and is it something you can just copy and replace in other bots or are they still in testing phase?.
Gonna farm some things to salvage so i can try and test that. But that will prob take half a day or day tomorrow.
And thanks again for all the help you given.
What was the other "code bits" you linked in post #282. the $mPing, $mMaploading,$mLoggedIn etc? and is it something you can just copy and replace in other bots or are they still in testing phase?.
No problem 8-)
About: $mPing, $mMaploading & $mLoggedIn ect (). It's already added to the "Salvage.zip" () I uploaded, but yeah should be able to edit / replace in other bots too, though these are still in testing, need time to see if the Pattern's works 100% as intended, but they should be working (from my own testing anyway).
A side note: Have posted my latest version of GWA2 in the thread "[GWA2] (+ [OmniApi]) Update 2023 ?" ()
Hello, thx for this post, bot are truelly amazing. i have a couple of questions :
The WS bot seems not to be workign for me, i can click on the bow and equip it, but when i click on lauch, games is crashing.
Is there a way to use the bot with a multi laucher? Every time i use one with a multilauchned acc, game is crashing when encountering a mod (cof dervish bot)
Hello, thx for this post, bot are truelly amazing. i have a couple of questions :
The WS bot seems not to be workign for me, i can click on the bow and equip it, but when i click on lauch, games is crashing.
Is there a way to use the bot with a multi laucher? Every time i use one with a multilauchned acc, game is crashing when encountering a mod (cof dervish bot)
Thx !
Link or Upload, can't look at code i dont have access to 8-)
Unsure about using a launcher with the bots, maybe with said bot in "hand" and link to launcher I could try to "debug" it, but might simply be an incompatability due to something the launcher does to the game, but i dont know.
Link or Upload, can't look at code i dont have access to 8-)
Unsure about using a launcher with the bots, maybe with said bot in "hand" and link to launcher I could try to "debug" it, but might simply be an incompatability due to something the launcher does to the game, but i dont know.
Bot could also be outdated in someway...
i am using the WS and Derv Bot by The Sav3r from first post on this thread. I also tried a derv bot on this thread same prob for multilauncher.
Just tested salvaging about 600 feathered crests and 700 still gave disconnects but 750 works for me so far. 750 = Salvaged around 250 feathered crests with not a single disconnect
Haven't got a lot of stuff to salvage right now, so testing is a pain, but my guess is that you run into the fact that at times GetPing()+600 still is too fast and server disconnects you, but its a guess, untill i have time to really test.
Salvage Bot by joeko.au3, Line 299:
Code:
Sleep(GetPing() + 600)
Change it to:
Code:
Sleep(GetPing() + 700)
Maybe even "750" or "800" if you still get Disconnects with "700" or "750".
Quickly looking over the code that was the one line that cought my attention, as this might very well be the issue.
To help explain better, say you have a Ping of 30 - 70 ms, your code ends up doing a Sleep(30-70 + 700), meaning it'll sleep for 0,73 to 0,77 seconds, so less than a second, if you bombard the server with actions/requests too often the server decides your game is acting up and it disconnects you ... anyway to get back to the numbers, lets say the server actually accepts 1 action/request pr 0,75 seconds this means that your code works when the sleep is 0,75 + seconds long, but every time you get a low Ping you end up with a 0,749 - seconds long sleep, resulting in trying to do 2 actions/requests during the 0,75 seconds, making the server Disconnect you ... note the math here is a simple example, you need to test you the exact action/request pr x seconds on your own, its just to try and explain what i think the code is doing and what i think is the issue.
Hope this helps you out.
Been testing the bot and the salvage part and buying the salvage kit seems to be working but a "new" problem have reared it's head. When out of gold, the bot withdraws 100 gold to buy a new kit but instead disconnects.
Can work around it with just manually withdraw before starting the bot but kinda want to know what happens that makes the disconnect. Think Line 310 is for buying and withdraw.
Been testing the bot and the salvage part and buying the salvage kit seems to be working but a "new" problem have reared it's head. When out of gold, the bot withdraws 100 gold to buy a new kit but instead disconnects.
Can work around it with just manually withdraw before starting the bot but kinda want to know what happens that makes the disconnect. Think Line 310 is for buying and withdraw.
If you are unsure what makes the bot disconnect put pauses and prints in the script to see exactly what functions causes the disconnect - could be that the function is not updated and therefore not working
after you tracked down the issue maybe someone here is willing to solve it or assit you
If you are unsure what makes the bot disconnect put pauses and prints in the script to see exactly what functions causes the disconnect - could be that the function is not updated and therefore not working
after you tracked down the issue maybe someone here is willing to solve it or assit you
I actually did that if you had read my message. i quote the part from my message below. Even put what start Line i think could be the Function problem even if i apparently forgot to say that it was "Salvage Bot by joeko" script.
Thing is i don't know anything about coding, so when you mention to insert pause and print, i understand what they do but have no clue how to do anything like that.
Quote:
Originally Posted by LilyRae
When out of gold, the bot withdraws 100 gold to buy a new kit but instead disconnects.
Can work around it with just manually withdraw before starting the bot but kinda want to know what happens that makes the disconnect. Think Line 310 is for buying and withdraw.
I actually did that if you had read my message. i quote the part from my message below. Even put what start Line i think could be the Function problem even if i apparently forgot to say that it was "Salvage Bot by joeko" script.
Thing is i don't know anything about coding, so when you mention to insert pause and print, i understand what they do but have no clue how to do anything like that.
I was refering to that part "want to know what happens that makes the disconnect. Think Line 310 is for buying and withdraw."
Would anyone be so kind and update me on the ActionInteract () func from the gwa2.au3? i have checked multiple bots but for all gwa2's i found they all seem the same. but rn it doesnt do what it should.
OmniFarmer 2022 ==> Working but kurzick/luxon point not tested and there is a problem with norn farm (stuck in the cavern while the bot is running=
Build : no build needed just a good team with good stuff
Tried running this and everything works pretty well (besides the norn). The luxon one does have an issue with running outside of the outpost but once it does it runs smoothly
The problem with the bot getting stuck in cave is that line 857 they commented out the wrong co ordinates for taking the blessing .