[GWA2] Ravens Point

04/04/2018 14:14 Underavelvetmoon#1
Hey everyone thought I would release something. I got all I wanted from this bot and It might encourage/demonstrate how to write a dungeon bot for anyone who wants to try to write for a different dungeon. I already have quite a few ;)

Everything is explained in the script. I included all functions that are specific to my GWA2, and there is also a part at the bottom I included which you will need to replace in your own GWA2. So best to make a specific folder and drop this and a separate GWA2 into.

Also it doesnt include a GWA2, you'll have to use your own one since mine has many many custom functions that are not user friendly or in a state to be shared (Not being a douche, they just arent finished!).

Its a bit hit and miss, but ive managed to get it to run for 23+ runs in a row without fail. All depends on your hero build since if you die you'll drop the torch which will cause a fail/stuck. It says NM but HM will work if you change $UseCons & $UseFlare.

Anyway I hope some people find some use for this, I really enjoyed making it and using it.

Peace out
Underavelvetmoon.

Release: 04/04/2018
v1.1 - Public revision
04/04/2018 19:16 Gwadase#2
ty bro share more bot please
04/04/2018 20:48 DHLight#3
Would be nice if you post some working builds
04/05/2018 00:44 yuramisu#4
Quote:
Originally Posted by Gwadase View Post
ty bro share more bot please

just lol ^^
04/05/2018 11:41 restar1234#5
thx for the share moon but it as trouble lighting the braziers for me is that common or do i need to add something to my gwa2? :-)
04/05/2018 14:55 Underavelvetmoon#6
Quote:
Originally Posted by DHLight View Post
Would be nice if you post some working builds
Its written in the script EXACTLY what to do RE build. You use your own with a running skill in slot 8 IF YOU WANT TO. Hero builds are down to you. Imba's with speed boosts, Emo Prot, the usual, whatever the hell you want to use. Please read the script if you want to use it.

@[Only registered and activated users can see links. Click Here To Register...]
It is not too common, but it does happen. Few things to check:

1. Did you have any tele skills (Deaths charge, Vipers Defense etc). These cause the torch to be dropped.

2. Did you have cupcakes or cons active? It cant complete the second set without cupcakes at least because of the ice jets. 1 cupcake per run is a small price when you get an Eaglecrest every other day.

3. Was your hero builds strong enough? If you die (Even just you not your whole team) it will drop the torch and wont pick it up. Gotta make sure your running a solid hero build. I could add a check for this to re pick the torch, but honestly its MUCH easier if you just run a really good hero build.

If its anything else please tell me and I will try and help.

EDIT: Just read my pm's and apparently its missing this function, sorry about that!

Code:
Func IsRecharged($lSkill)
	Return GetSkillbarSkillRecharge($lSkill) == 0
 EndFunc   ;==>IsRecharged

 Func IsRechargedHero($lSkill, $aHero)
	Return GetSkillbarSkillRecharge($lSkill, $aHero) == 0
 EndFunc
IsRechargedHero is extra, but its a nice little function :D
04/05/2018 19:57 xdaveclaire#7
probably me just being a noob but which ever GWA2 I use and edit I cant get it to work with this bot. can someone upload their working GWA2 please
04/12/2018 11:04 TheOldy#8
Thanks for your release.

I've edited alot of the code to let it run properly without stucks and more important without cons. Need ~ 55 mins without any cons (only dash in 8 slot) but stucks sometimes at the asura npc. Took me 6 days (with 3 accs) to get an eaglecrest :/

but more important: it works (more or less xD)
04/14/2018 10:49 arokeo10#9
Hey buddy, Ive been trying to edit your script to work for myself but i keep getting a few errors... These are the faults im getting:

Line 266 - GWA2

if__ProcessGetName($lPid) <> "Gw.exe" Then ContinueLoop
if ^ ERROR

Error: Unknown Function Name

(IF i delete this line i get this next fault)

if Initialize(GUICtrlRead($txtName), True, True, False) = False Then
if ^ Error

Error: Incorrect Number of Parameters in function cell

Do you mind having a look through and seeing if you can find where i am going wrong?

Thank you!
04/14/2018 12:41 TheGringott#10
Quote:
Originally Posted by arokeo10 View Post
Hey buddy, Ive been trying to edit your script to work for myself but i keep getting a few errors... These are the faults im getting:

Line 266 - GWA2

if__ProcessGetName($lPid) <> "Gw.exe" Then ContinueLoop
if ^ ERROR

Error: Unknown Function Name

(IF i delete this line i get this next fault)

if Initialize(GUICtrlRead($txtName), True, True, False) = False Then
if ^ Error

Error: Incorrect Number of Parameters in function cell

Do you mind having a look through and seeing if you can find where i am going wrong?

Thank you!

Read what the errors says xd
the function does not accept all these parameters...
Change it to smt like:
if Initialize(GUICtrlRead($txtName)) = False Then
04/14/2018 12:46 Underavelvetmoon#11
Quote:
Originally Posted by TheGringott View Post
Read what the errors says xd
the function does not accept all these parameters...
Change it to smt like:
if Initialize(GUICtrlRead($txtName)) = False Then
It does accept it.

He was missing the function:

Code:
Func __ProcessGetName($i_PID)
	If Not ProcessExists($i_PID) Then Return SetError(1, 0, '')
	If Not [MENTION=2544426]Error T[/MENTION]hen
		Local $a_Processes = ProcessList()
		For $i = 1 To $a_Processes[0][0]
			If $a_Processes[$i][1] = $i_PID Then Return $a_Processes[$i][0]
		Next
	EndIf
	Return SetError(1, 0, '')
 EndFunc   ;==>_ProcessGetName
04/16/2018 18:21 TheOldy#12
As promised i would show my edited version of the bot. Tried to make it run 24/7 properly. Had a 36h test-run and it worked good.
Runs now without cons in NM.

Had to replace the run&kill-funktion. The original was more random, but caused a lot of stucks. If it runs in disable-render-mode there is a render-toggle at stage 2 to get the do-until-loop work. crazy thing...

Tried to get it as userfriendly as possible. Reworked GUI like the VS-Bot.
All infos as always in the info-button.

To be honest, i got only 2 axe since release of v1.1.
Droprate seems like VS or even worse.

As always: stucks or errors possible. So keep an eye on your bots.
04/17/2018 16:50 Underavelvetmoon#13
Quote:
Originally Posted by TheOldy View Post
As promised i would show my edited version of the bot. Tried to make it run 24/7 properly. Had a 36h test-run and it worked good.
Runs now without cons in NM.

Had to replace the run&kill-funktion. The original was more random, but caused a lot of stucks. If it runs in disable-render-mode there is a render-toggle at stage 2 to get the do-until-loop work. crazy thing...

Tried to get it as userfriendly as possible. Reworked GUI like the VS-Bot.
All infos as always in the info-button.

To be honest, i got only 2 axe since release of v1.1.
Droprate seems like VS or even worse.

As always: stucks or errors possible. So keep an eye on your bots.
Really great work. I am learning a fair amount from the work your putting out my friend! I will make sure to give this a try very very soon. Can I ask why you omitted to out some of the extra torch pickups? Did you manage to get it to consistently pick up the first torch etc?

Again great work and thanks for the improvements :)
04/18/2018 21:31 TheOldy#14
Thank you very much :handsdown:

To your question: I did this, because if you picked up the torch and got to the key-room with another chest and torch. the "picktorch"-funktion caused a nearly endless loop of picking up torches...

At the final version i had no stucks at this point...