Anyone having an issue with LDoA 2-10 Charr at gate? It pops the summon stone, runs up to the charr, then immediately maps and does not wait at all for the charr to get killed so it gains 0 experience.
And with no summoning stone selected, it just gets to the Charr and then immediately maps as well, so there is some missing step where it waits X amount of time for the Charr to get killed.
I am a noob with this sort of stuff so I do not know how to investigate how to fix it.
Edit: Since IDK what does what, if I just add a sleep line right after the waiting on rurik, I get it to AFK there long enough for them to be killed, but this is subpar.
Also, with this setup it seems to go back to town, go to prince rurik, take quest, then it starts next run and does the same thing of going to rurik and picking up the quest.. any way to eliminate it doing this?
Quote:
Originally Posted by Zilvermoon
Hi everyone.
Just wanted to hear if anyone is interested in trying to fix up GWA2.au3 and maybe OmniApi,
with a shared repository to help each other update all the different "bots",
so as many people possible can benefit from each others know-how and "skills".
I have a Github.com repository (originally forked from the old MaddoW/gwa2 repository),
where I'm currently working on "updating" these from the personal work I've been doing,
gathering changes and fixes from this great site and community we have here.
Should you be interested in helping out,
or simply have a look at the code you should know that GWA2.au3 is created with the "GNU LESSER GENERAL PUBLIC LICENSE v. 3" ...
meaning that we should all help update the changes and fixes we have....
Anyway you can find my repository here:
BTW: Have a "fully working" self modified / fixed "OmniFarmer_Presearing V2.4.1.2" version to share with you too, this is in no way an official version, and parts of it might not be working as intended, so use with caution, also note that it's full of comments and other unwanted code that I've been using for personal use ... So dont share it elsewhere.
Hope some of you will help out and contribute to this, maybe we can even make a repository with all the updated bots too, to make it simple for people to share and find the working bots.
Anyone having an issue with LDoA 2-10 Charr at gate? It pops the summon stone, runs up to the charr, then immediately maps and does not wait at all for the charr to get killed so it gains 0 experience.
And with no summoning stone selected, it just gets to the Charr and then immediately maps as well, so there is some missing step where it waits X amount of time for the Charr to get killed.
I am a noob with this sort of stuff so I do not know how to investigate how to fix it.
Edit: Since IDK what does what, if I just add a sleep line right after the waiting on rurik, I get it to AFK there long enough for them to be killed, but this is subpar.
It's outdated atm, will upload a newer version later tonight or tomorrow, have several projects going right now.
Sounds good. Gonna try and learn how to edit these myself as this seems like a fun project.
Hehe, yeah I kind of like it, most the time, but life sometimes throws some twists into the mix, anyway hope you join the efford in fixing some of the bots up 8-)
Quote:
Originally Posted by AgeCheatUser
up to date?
Yes, I have been trying to update "OmniFarmer Presearing" as good as I can, some stuff might be broken, but have fixed what I've found broken or in need of optimization (and have had time to do up until now).
Anyway need to get some sleep, just need to "update" the version and do some cleanup of unwanted code, then I'll upload it here (after I've sleept).
Any suggestion on best way to learn how to update these kind of bots? Some of it is obvious makes sense, but as someone who has no knowledge/experience with any of this it is a little daunting to look at and try to figure out what to do ^^ Also, what do you use to get coordinates/ID's/whatnot?
Quote:
Originally Posted by Zilvermoon
Hehe, yeah I kind of like it, most the time, but life sometimes throws some twists into the mix, anyway hope you join the efford in fixing some of the bots up 8-)
Yes, I have been trying to update "OmniFarmer Presearing" as good as I can, some stuff might be broken, but have fixed what I've found broken or in need of optimization (and have had time to do up until now).
Anyway need to get some sleep, just need to "update" the version and do some cleanup of unwanted code, then I'll upload it here (after I've sleept).
Any suggestion on best way to learn how to update these kind of bots? Some of it is obvious makes sense, but as someone who has no knowledge/experience with any of this it is a little daunting to look at and try to figure out what to do ^^ Also, what do you use to get coordinates/ID's/whatnot?
You could do as I have, learn by doing / testing, also autoit have an okay documentation, so you can find a lot of information that way too. You can use GWToolbox++ as a start to get data it's pretty good for that, I've build something my self in autoit, helps me see when there is problems with GWA2.au3 but I too utilize GWToolbox++ for some data, just note GWToolbox++ while running along the bots often course problems, so make sure you only run your bot (code) or GWToolbox++ at any one time.
Lastly CheatEngine is a good way to look into Guild Wars memory.
Anyway, I've run into a problem with the MapTravel functions, last update did something to them, or I broke something without notising, I'll need more time to investigate what is going on .... so delaying the upload of "OmniFarmer Presearing", so much is broken without the functionallity to MapTravel .... I'll report back.
You could do as I have, learn by doing / testing, also autoit have an okay documentation, so you can find a lot of information that way too. You can use GWToolbox++ as a start to get data it's pretty good for that, I've build something my self in autoit, helps me see when there is problems with GWA2.au3 but I too utilize GWToolbox++ for some data, just note GWToolbox++ while running along the bots often course problems, so make sure you only run your bot (code) or GWToolbox++ at any one time.
Lastly CheatEngine is a good way to look into Guild Wars memory.
Anyway, I've run into a problem with the MapTravel functions, last update did something to them, or I broke something without notising, I'll need more time to investigate what is going on .... so delaying the upload of "OmniFarmer Presearing", so much is broken without the functionallity to MapTravel .... I'll report back.
Sounds good. I'll probably wait and see what you do to fix things and compare to old version to get a better idea of how it all works :P
Func LDoA2_10()
; Academy Monk Agent ID = 40
Local $BoolQuestComplete = False
Local $MapID = GetStartMapByJobID(1,1)
Local $lStartExp = GetExperience()
Local $lEndExp
If GetMapID() <> $MapID Then
logFile("Moving to Outpost")
Do
RndTravel($MapID)
rndslp(500)
Until GetMapID() = $MapID
EndIf
PingSleep(200)
_LDoACheck_QuestCompleted()
;~ logFile("GetMyID: "&GetMyID())
;~ logFile("GetCurrentTargetID: "&GetCurrentTargetID())
;~ logFile("GetLoggedIn: "&GetLoggedIn())
;~ logFile("GetPing: "&GetPing())
;~ logFile("Language: "&GetLanguage())
;~ logFile("Region: "&GetRegion())
;~ logFile("BasePointer: "&Hex($mBasePointer))
;~ logFile("District: "&GetDistrict())
;~ logFile("DisplayLanguage: "&GetDisplayLanguage())
;~ logFile("ScanBuildNumber: "&Hex(GetScannedAddress('ScanBuildNumber', 0x2C),8))
;~ logFile("GetBuildNumber: "&GetBuildNumber())
logFile("Gw.exe: "&Hex(ScanForProcess(), 8))
logFile("Going outside")
RandomPath(7428, 5870, 7000, 5350, 50, 1, 4, -1)
WaitForLoad()
If ($tRunInitiated = False) Then
$tRunCompletedInTime = TimerInit()
$tRunInitiated = True
EndIf
logFile("Waiting a moment for Ruric to get ready")
SendChat('Deaths', '/')
If RangerPet_present() Then TogglePetPanel()
PingSleep(5000)
MoveTo(5602, 4559, 30)
PingSleep(200)
logFile("Going to the gate")
PingSleep(200)
MoveTo(4781, 5315, 30)
PingSleep(200)
MoveTo(3955, 6012, 30)
PingSleep(200)
MoveTo(268, 6557, 30)
PingSleep(200)
MoveTo(-622, 7436, 30)
PingSleep(200)
MoveTo(-1871, 8477, 30)
PingSleep(200)
MoveTo(-2832, 9358, 30)
logFile("Waiting a moment at the Tree")
CheckAndUseStone(0)
PingSleep(4000)
MoveTo(-3379, 10530, 30)
MoveTo(-3953, 11105, 30)
If GetNumberOfFoesInRangeOfAgent(-2, 2000) <= 1 Then MoveTo(-4654, 11449, 30)
If GetIsDead(-2) Then Return
logFile("Waiting for Rurik to kill mobs")
If GetIsDead(-2) Then Return
$BoolQuestComplete = CheckQuestCompleted(46)
logFile("Quest Complete Check")
If Not $BoolQuestComplete Then
logFile("Number of foes in range: "&(GetNumberOfFoesInRangeOfAgent(-2, 2000)))
logFile("Quest Not Complete Killing Charr")
Do
If GetIsDead(-2) Then Return
If GetNumberOfFoesInRangeOfAgent(-2, 2000) <= 1 Then ExitLoop
TargetNearestEnemy()
Attack(-1)
AutonomousCasting()
PingSleep(100)
CombatPickUpNearestLoot(1250)
Until (GetNumberOfFoesInRangeOfAgent(-2, 2000) <= 1)
;~ logFile("..")
;~ CheckAndPickUp()
;~ _LDoACheck_QuestCompleted() ; Not needed we check this at start of run
EndIf
PingSleep(200)
Local $lEndExp = GetExperience()
logFile("Exp this run: "&($lEndExp-$lStartExp))
$tRunInitiated = False
EndFunc
basically $BoolQuestComplete wasnt set as intented. checking for the quest id (46) here works.
would be better to put the quest id in the config if it changes in the future to make fixing easier in case something changes with the id but usually quest ids dont change
Sorry i am new to this. I have a short question.
Why is there no function the the GWA2.au3 file to get the required energy for a given skill?
The energy cost is (if i get it correctly) in the second byte of the Unknown1 element of the Struct that is created and returned in the GetSkillByID function.
I try to write something for myself, and GWA2.au3 has so many usefull functions, but i dont understand why such a basic request is not already build in the GWA2.au3 file. Or did i overlook a simple solution to this? If so please let me know.
(the named byte doesnt give the exact energy req but a energy "class"? (0=0 1=1 5=5 10=10 11=15 12=25)
Thanks
Just wanted to hear if anyone is interested in trying to fix up GWA2.au3 and maybe OmniApi,
with a shared repository to help each other update all the different "bots",
so as many people possible can benefit from each others know-how and "skills".
I have a Github.com repository (originally forked from the old MaddoW/gwa2 repository),
where I'm currently working on "updating" these from the personal work I've been doing,
gathering changes and fixes from this great site and community we have here.
Should you be interested in helping out,
or simply have a look at the code you should know that GWA2.au3 is created with the "GNU LESSER GENERAL PUBLIC LICENSE v. 3" ...
meaning that we should all help update the changes and fixes we have....
Anyway you can find my repository here:
BTW: Have a "fully working" self modified / fixed "OmniFarmer_Presearing V2.4.1.2" version to share with you too, this is in no way an official version, and parts of it might not be working as intended, so use with caution, also note that it's full of comments and other unwanted code that I've been using for personal use ... So dont share it elsewhere.
Hope some of you will help out and contribute to this, maybe we can even make a repository with all the updated bots too, to make it simple for people to share and find the working bots.
The best to you all.
Zilvermoon
HUGE THX to you mate, but when using the ldoa 11-20 it sometimes throws error end crashes "could not get your primary profession"
New version of OmniFarmer is out, hope it's working as intented, haven't had much time to test anything, but i'm sure you guys will let me know if anything is messed up.
anyway sorry i've been gone, have spend the last 3 weeks in psykiatric care, which explaines some of my absence.