Does anyone know how to integrate the GetAgentDanger() function, or know of a way to count how many enemies are currently aggroed? I am trying to figure it out for my bot. Thanks for the help.
P.S. If you want to private message me that is fine, to not clog the post- thanks again.
Does anyone know how to integrate the GetAgentDanger() function, or know of a way to count how many enemies are currently aggroed? I am trying to figure it out for my bot. Thanks for the help.
P.S. If you want to private message me that is fine, to not clog the post- thanks again.
Code:
Local $myAgent =""
Code:
Local $dangerCount = GetAgentDanger($myAgent)
After that add what you need when you meet the conditions like calling the fight function..
Code:
If $dangerCount = 10 Then
fight() ; Call the fight function
EndIf
Double check however, cause I think the GetAgentDanger is not working properly at the moment not 100% sure.
Ill check it out, but I think its true that it isn't working. I have been trying different variations of Agent IDs . Thanks for the response! IDK why I am putting so much effort into it o__o
Optimized GWA2/Pretty Much Same as GWA2-Logic Censured but with full GUI.
So I assume a lot of people are running revearseseaths moddok farm, and loved the rune trader functions and what not, well there is actually the gwa2-logic censured in GWA2 form posted by logicdoor, one of the creators in the gwa2 thread by zilvermoon. I'm not sure why more people don't use that, you can even convert the moddok farm over into that GWA2 and have the entire GUI instead of just the start button. The GWA2 and logic are straight up friggin awesome, so for those of have don't delve into the other threads. Here. I think it's pretty **** close to the most up to date version of logic-api. It has all the trader funcs for Guild halls and some other movement functions it has a constants folder with pretty much every single constant in the game. Just all around an amazing folder to have.
Reverseseaths Moddok bot with full GUI/Working Disable rendereing
Did some tweaking and added the gui/gui mod selection from the file i posted yesterday. Enjoy, credit goes to seath, i just added the rest of the GUI, I also wrote out the SetMaxMemory(), for some reason, i'd assume my cpu not being the strongest or something, the maxmemory makes my ping go sky high and lag out at some point. Disable rendering does work too Don't forget to update guild hall trader locations if they aren't marked updated yet.
Hello all, here is a snippet of the code in which section the occurring error is found.
Code:
#Region LDoA2_10 - quest management
Func LDoACheck_QuestCompleted() ;Checks if Charr at the Door is completed (Returns True or False) based on number of mobs remaining in explorable zone
If (GetCountInRangeOfAgent($lMe, $DistanceSpirit, $UnitTypeEnemy, $TypeUnit) < 1) Then
;~ logFile("")
logFile("All charrs have been killed.")
LDoA_GoGetQuest()
Return False
Else
Return True
EndIf
EndFunc
Func _LDoACheck_QuestCompleted() ; Check if "Charr at the Gate"(46) quest is at reward state (Returns True if yes, else returns False)
Local $lMessage = False
;~ logFile("LoggedIn: "&GetLoggedIn())
;~ logFile("LoggedIn Address: 0x"&Hex(GetScannedAddress('ScanLoggedIn', 0x6FE3),8))
;~ logFile("$mLoggedIn: "&$mLoggedIn)
While GetLoggedIn() <> 1
If $lMessage = False Then
;~ logFile("")
logFile("Waiting, we don't seem to LoggedIn")
$lMessage = True
EndIf
Sleep(1000)
WEnd
While GetMapLoading() == 2
PingSleep(1000)
WEnd
Local $lQuestState = DllStructGetData(GetQuestByID($QUEST_ID_Charr_at_the_Gate), 'LogState')
;~ logFile("Quest State: "&$lQuestState)
Does anything initially seem wrong? I have Charr At The Gate and is not completed.
Code:
[21:38] Playing Status: online.
[21:38] Starting Run.
[21:38] Waiting, we don't seem to LoggedIn
The bot is recognizing that I am online, but then says not logged in. I'm kind of confused what it is trying to tell me and why, since it mentioning online status.
Could this be a GWA2 file problem? When I swap the files for this bot, it tends to stop working. Thank you for any help!
i got a working raptor bot, but he doesnt not pick up the Delicious Cakes. Can u help me with inserting this item in the list?
; Event Items
Local $AgedDwarvenAle = GetItemCountInventory(24593)
Local $AgedHuntersAle = GetItemCountInventory(31145)
Local $BattleIslandIcedTea = GetItemCountInventory(36682)
Local $BirthdayCupcake = GetItemCountInventory(22269)
Local $CandyCaneShards = GetItemCountInventory(556)
Local $GoldenEgg = GetItemCountInventory(22752)
Local $Grog = GetItemCountInventory(30855)
Local $HoneyCombs = GetItemCountInventory(26784)
Local $KrytanBrandy = GetItemCountInventory(35124)
Local $PartyBeacon = GetItemCountInventory(36683)
Local $PumpkinPies = GetItemCountInventory(28436)
Local $SpikedEggnog = GetItemCountInventory(6366)
Local $TrickOrTreats = GetItemCountInventory(28434)
Local $VictoryToken = GetItemCountInventory(18345)
Local $WayfarerMark = GetItemCountInventory(37765)
this is what the bot picks up. So i guess, i need the Itemnumber?
i got a working raptor bot, but he doesnt not pick up the Delicious Cakes. Can u help me with inserting this item in the list?
; Event Items
Local $AgedDwarvenAle = GetItemCountInventory(24593)
Local $AgedHuntersAle = GetItemCountInventory(31145)
Local $BattleIslandIcedTea = GetItemCountInventory(36682)
Local $BirthdayCupcake = GetItemCountInventory(22269)
Local $CandyCaneShards = GetItemCountInventory(556)
Local $GoldenEgg = GetItemCountInventory(22752)
Local $Grog = GetItemCountInventory(30855)
Local $HoneyCombs = GetItemCountInventory(26784)
Local $KrytanBrandy = GetItemCountInventory(35124)
Local $PartyBeacon = GetItemCountInventory(36683)
Local $PumpkinPies = GetItemCountInventory(28436)
Local $SpikedEggnog = GetItemCountInventory(6366)
Local $TrickOrTreats = GetItemCountInventory(28434)
Local $VictoryToken = GetItemCountInventory(18345)
Local $WayfarerMark = GetItemCountInventory(37765)
this is what the bot picks up. So i guess, i need the Itemnumber?
Thank you!
The ID for cupcakes is 22269. You might want to search for the pickup function and add the ID to it.
Mind sharing the bot? I can have a look if you like.
he's talking about raptor bot, it's on first page, but delicious cake is not the same as cupcake.
They don't drop for me yet, so I dunno the modelnumber yet