[2022/2023] Guild Wars working bots

06/17/2023 00:43 Zilvermoon#286
Quote:
Originally Posted by LilyRae View Post
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.

Hope this helps you out.
06/17/2023 01:01 LilyRae#287
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?.
06/17/2023 08:23 Zilvermoon#288
Quote:
Originally Posted by LilyRae View Post
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 ([Only registered and activated users can see links. Click Here To Register...]). It's already added to the "Salvage.zip" ([Only registered and activated users can see links. Click Here To Register...]) 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 ?" ([Only registered and activated users can see links. Click Here To Register...])
06/17/2023 10:42 ujixx#289
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 !
06/17/2023 11:40 Zilvermoon#290
Quote:
Originally Posted by ujixx View Post
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.

Bot could also be outdated in someway...
06/17/2023 14:39 ujixx#291
Quote:
Originally Posted by Zilvermoon View Post
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.

i ma using this version of gwlauncher : [Only registered and activated users can see links. Click Here To Register...]
06/17/2023 19:55 LilyRae#292
Quote:
Originally Posted by Zilvermoon View Post
No problem 8-)
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
06/19/2023 05:41 krazefng#293
I need delver bot if anyone has
06/19/2023 12:14 LilyRae#294
Quote:
Originally Posted by Zilvermoon View Post
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.
06/20/2023 17:34 Restia Ashdoll#295
Quote:
Originally Posted by LilyRae View Post
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
06/20/2023 18:05 LilyRae#296
Quote:
Originally Posted by Restia Ashdoll View Post
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 View Post
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.
06/20/2023 18:10 Restia Ashdoll#297
Quote:
Originally Posted by LilyRae View Post
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."
06/20/2023 18:22 LilyRae#298
Yes, and since i have no knowledge of coding i was hoping someone could check it out and say why it happens and if they could / would want to fix it.
06/21/2023 19:18 dem4re#299
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.


ive actually tried to get it myself by using debuggers and whatnot but my skills are .. limited lmao.

if anyone got tips on how to update headers and stuff myself without the need to study programming .. then im very much open for that aswell.

thanks in advance
06/23/2023 00:30 Freshly_Baked#300
Quote:
Originally Posted by LandonCarter7 View Post
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 .

"CurrentAction("Taking blessing")
GoNearestNPCToCoords(-25274, -11970)
;GoNearestNPCToCoords(-1956, -4535)
RndSleep(1000)"

And it should be this ,

"CurrentAction("Taking blessing")
;GoNearestNPCToCoords(-25274, -11970)
GoNearestNPCToCoords(-1956, -4535)
RndSleep(1000)"