GW Working Bots 2020

06/24/2020 18:34 lemoutondu10#616
I assume it's not working, is it?
06/24/2020 21:27 corey54321#617
salvage function is working deroni mention the thread with the correct info you have to update your gwa2
06/25/2020 19:44 pittapatta#618
Couldn't seem to find one, but honestly didn't look that hard out of sheer laziness. Is there a zaishen chest bot out there? I'm so sick of opening that sucker.
06/25/2020 19:58 ooklaba#619
thanks Smiley, i'll look into it
06/26/2020 11:59 buffnar0#620
can someone provide the func/code of opening a istani chest (or chests in general)?
:rolleyes:
06/26/2020 15:10 maril15#621
Quote:
Originally Posted by buffnar0 View Post
can someone provide the func/code of opening a istani chest (or chests in general)?
:rolleyes:
You should start by taking a look at the BorealChest runner bot. There is a func to seek & open chests.
For Istan chest, you should try something like scanning for all agent in the area and keeping only the objects then selecting like Getagentbyname = "Istan Chest" or something like that.

Have fun coding.
06/26/2020 16:46 wolf_of_the_north#622
Hey guys,
I am trying to keep up to date with all the new develmopments here, but i might have missed it. did anyone get the hero functions to work? specifically flagging and using a particular skill?

Quote:
Originally Posted by pittapatta View Post
Couldn't seem to find one, but honestly didn't look that hard out of sheer laziness. Is there a zaishen chest bot out there? I'm so sick of opening that sucker.
i haven't seen one, but you can probably either take the chest opening function from the pongmei bot, or just interact with the chest as agent, not sure how it works with zaishen chest.

should take about 3 minutes to adapt another bot to do this for you

Quote:
Originally Posted by corey54321 View Post
salvage function is working deroni mention the thread with the correct info you have to update your gwa2
yes the salvage function works. i had problems with a bot that loaded headers from an extra header file instead of the gwa2. i didnt realize and didnt add the headers there, so kept getting crashes.
06/27/2020 09:57 ener-73#623
Hello. i'm looking for a working bot for asura and dwarf points. thank you
06/27/2020 17:33 Edgrala#624
I've been testing the froggy bot from @[Only registered and activated users can see links. Click Here To Register...] but sadly, it won't work :/

[Only registered and activated users can see links. Click Here To Register...]
06/28/2020 13:35 logicdoor#625
Quote:
Originally Posted by pittapatta View Post
Couldn't seem to find one, but honestly didn't look that hard out of sheer laziness. Is there a zaishen chest bot out there? I'm so sick of opening that sucker.
The general pattern to open a chest is:
  • Find the chest
  • Go to the chest
  • Use the chest (either using ActionInteract() or OpenChest() functions)

In order to find the chest, there are 3 options:

If you know the coordinates of the chest, then the easiest is:

Code:
	Do
	   RndSleep(250)
	   $Chest = GetNearestSignpostToCoords($x, $y)
	Until DllStructGetData($Chest, 'Id') <> 0
If you do not know the coordinates you can use a loop on existing agents and selecting only agents that have a Chest "extratype":

Edit: Extra type for zaischen chest is 9523, added to the below functions

Code:
	$AgentArray = GetAgentArraySorted(0x200)	;0x200 is used for static agents
	Out ("Looking for chest")
	For $i = 0 To UBound($AgentArray) - 1
	    $lAgent = GetAgentByID($AgentArray[$i][0])
		$lExtraType = DllStructGetData($lAgent, 'ExtraType')
		If $lExtraType <> 4582 And $lExtraType <> 8141 And $lExtraType <> 8934 And $lExtraType <> 9523 And $lExtraType <> 6 Then ContinueLoop
	Next
You can also cycle through agents without GetAgentArraySorted() function:

Code:
    For $i = 1 to GetMaxAgents()
        $agent = GetAgentById($i)
        $distance = GetDistance($agent, -2)
        $extratype = DllStructGetData($agent, 'extratype')
        If $extratype <> 4582 And $lExtraType <> 8141 And $lExtraType <> 8934 And $lExtraType <> 9523 And $lExtraType <> 6 or $distance > 5000 Then ContinueLoop
    Next
In order to open the chest you can either target the newly found chest and then press "spacebar":

Code:
ChangeTarget($chest) 
	Do
		RndSleep(250)
		ActionInteract()
	Until GetDistance($chest, -2) <150
Note that if you may get blocked on your way to the chest, you should use a movement function to get move you to the chest first (GoToSignPost() or MoveTo() or AggroMoveto() if you might encounter ennemies))

Or you can use GoSignPost + OpenChest()

Code:
  GoSignpost($chest)
  OpenChest()
Note that this method does not work on dungeon end chest without being close to the chest, however for other chests it will open the chest without you having moved to the chest.

For the Zaischen chest, since it has fixed coordinates it may be easier to just target the chest nearest to coordinates and then use Actioninteract().
Also if Zaischen Chest behaves like end chests, it may also be a bit finicky to use the OpenChest() function using just GoSignPost().

There is also a way that involves using a zaischen key but not sure if headers for that are up-to-date.

Quote:
Originally Posted by Edgrala View Post
I've been testing the froggy bot from @[Only registered and activated users can see links. Click Here To Register...] but sadly, it won't work :/

[Only registered and activated users can see links. Click Here To Register...]
It should work if you replace GWA2 with the latest one. PM me if you face any issues.

I have created a more advanced cleaned up version with full custom salvage and improved wipe management since, but a fixed version should still do the job.
06/28/2020 20:04 lemoutondu10#626
Are there some faction of eotn title points bot?
06/28/2020 23:47 catalan66#627
Hello, i use Gwmultilaunch, on 3 accounts.

Work perfectly, 3 games in the same time. But i can't bot with the 3. Only 2 are found on character name, and every bot i try is the same thing.

Anyone has an idea ?
06/29/2020 01:28 Rappy99#628
Quote:
Originally Posted by Edgrala View Post
I've been testing the froggy bot from @[Only registered and activated users can see links. Click Here To Register...] but sadly, it won't work :/

[Only registered and activated users can see links. Click Here To Register...]
I've fixed the Froggie bot. I will post it after I've optimized it.
06/29/2020 01:52 Edgrala#629
Thanks guys for your replies :)

Does any of you mind to explain me what his the purpose of the GWA2 ? Where to have it (an update one as @[Only registered and activated users can see links. Click Here To Register...] recommended) and how to use it ?
(Since i'm a passiv user that just extract and launch bots and want to know just a bit better, I have others bots that "don't work" but maybe solve this GWA2 problem should fix it ; like the rollerbeettle one)
06/29/2020 18:59 Smores182#630
Quote:
Originally Posted by catalan66 View Post
Hello, i use Gwmultilaunch, on 3 accounts.

Work perfectly, 3 games in the same time. But i can't bot with the 3. Only 2 are found on character name, and every bot i try is the same thing.

Anyone has an idea ?
Do you have the gwtoolbox running on one? If so then wait to run that till after all your bots load.
If not then which format is the code looking for the char names? Are you using the GWA2 GetLoggedCharNames? If so then you may have something that is modifying the name already. If not then use the GetLoggedCharNames() as it will return a nice bar deliminated list for you to use in a dropdown.