This is the wrong part of the script for what you are trying to do.
you have to search for "$Bool_Donate" in the script and see where it is set to True.
Guys someone can share latest GWA2 and Headers with working inventory managment please? Save q8 and perfect OS. Pm me on Discord Dupljakus. (will share good private bot for one who shares).
It there a version of the chest boreal station running bot that only picks up gold items? If so, where can I find it? The one I use correctly works well but picks up purple iteams as well.
Or if anyone knows what lines of code to change in order to ignore purple items, thank you!
ScytheX released a very good version of the Vaetir that uses Dervs. Raptor I don't believe I've seen one other than the warrior farm.
Quote:
Originally Posted by agentbooth
anyone have any idea how to edit the Omnibot to turn in faction at say 40k instead of just going until full? in 2 runs you get roughly 44k and then it runs a full run again and you end up wasting time and faction. i suppose also a resign and turn in on max would work as well. im using the omni bot on page/post 1.
The function you are looking for is:
Code:
Func FactionCheckKurzick()
CurrentAction("Checking faction")
RndSleep(1250)
If GetKurzickFaction() > GetMaxKurzickFaction() - 12000 Then
Return True
Else
Return False
EndIf
EndFunc
Change the 12000 to what you desire... So If your Max Kurzick is 40k...then with the above -12k it will start donating at 28k Faction so you will never hit the max.
Since you want it to turn in at 40k find your Max Points and Subtract it by whatever to give you 40k exact. Keep in Mind each completion is around 11k + whatever you kill.
I've edited WoC (ministerial commendations) farm bot [derv ver. from reaverseath1 user] for my own needs/builds, etc.. finally bot works as I want. I have only one problem (before my edit too) - after launching this bot by autoit frame rate drops. and as I can see, if it's in idle the drop is bigger and so the fps too. i have no problem with another bots. how to resolve this?
I've edited WoC (ministerial commendations) farm bot [derv ver. from reaverseath1 user] for my own needs/builds, etc.. finally bot works as I want. I have only one problem (before my edit too) - after launching this bot by autoit frame rate drops. and as I can see, if it's in idle the drop is bigger and so the fps too. i have no problem with another bots. how to resolve this?
Check for loops that run more frequently than necessary.
E.G: if you're performing an action every loop that could be performed every 3 loops.
Ensure the script sleeps or waits appropriately when not performing actions to reduce CPU usage.
Try doing a debug log so that it prompts when Frame drops drastically when doing certain actions.
Check for loops that run more frequently than necessary.
E.G: if you're performing an action every loop that could be performed every 3 loops.
Ensure the script sleeps or waits appropriately when not performing actions to reduce CPU usage.
Try doing a debug log so that it prompts when Frame drops drastically when doing certain actions.
ok, but what if problem occurs at the start of the bot too, not only in next functions/actions?
ok, but what if problem occurs at the start of the bot too, not only in next functions/actions?
in the GUIBunttonHandler func towards the end you'll see that it's calling SetMaxMemory(), Remove it see if that helps. The SetMaxMemory function changes the maximum memory that the Guild Wars process can use. Although this is intended to manage memory usage efficiently, setting an inappropriate limit either too high or too low might cause the game to run less smoothly. If the limit is too low, the game might struggle to allocate memory for essential tasks, leading to performance issues, including frame drops. If it's too high, it might affect the overall system performance, especially on systems with limited memory resources.
Code:
Func GuiButtonHandler()
If $BotRunning Then
$BotRunning = False
ElseIf $BotInitialized Then
$BotRunning = True
Else
Local $CharName = GUICtrlRead($CharInput)
If $CharName == "" Then
If Initialize(ProcessExists("gw.exe"), True) = False Then
MsgBox(0, "Error", "Guild Wars is not running.")
Exit
EndIf
Else
If Initialize($CharName, True) = False Then
MsgBox(0, "Error", "Could not find a Guild Wars client with a character named '" & $CharName & "'")
Exit
EndIf
EndIf
$HWND = GetWindowHandle()
GUICtrlSetState($RenderingBox, $GUI_ENABLE)
GUICtrlSetState($CharInput, $GUI_DISABLE)
Local $charname = GetCharname()
GUICtrlSetData($CharInput, $charname, $charname)
GUICtrlSetData($StartButton, "Pause")
WinSetTitle($Gui, "", "Tengu - " & $charname)
$BotRunning = True
$BotInitialized = True
SetMaxMemory() <- REMOVE
EndIf
EndFunc
Are there any general guidelines for running bots safely?
For example, should I not run a bot for longer than 12 hours?
Can I bot on multiple accounts at the same time without fear or is there a limit?
On that same note, is it possible to make a bot reboot the game every 12hours?
in the GUIBunttonHandler func towards the end you'll see that it's calling SetMaxMemory(), Remove it see if that helps. The SetMaxMemory function changes the maximum memory that the Guild Wars process can use. Although this is intended to manage memory usage efficiently, setting an inappropriate limit either too high or too low might cause the game to run less smoothly. If the limit is too low, the game might struggle to allocate memory for essential tasks, leading to performance issues, including frame drops. If it's too high, it might affect the overall system performance, especially on systems with limited memory resources.
Code:
Func GuiButtonHandler()
If $BotRunning Then
$BotRunning = False
ElseIf $BotInitialized Then
$BotRunning = True
Else
Local $CharName = GUICtrlRead($CharInput)
If $CharName == "" Then
If Initialize(ProcessExists("gw.exe"), True) = False Then
MsgBox(0, "Error", "Guild Wars is not running.")
Exit
EndIf
Else
If Initialize($CharName, True) = False Then
MsgBox(0, "Error", "Could not find a Guild Wars client with a character named '" & $CharName & "'")
Exit
EndIf
EndIf
$HWND = GetWindowHandle()
GUICtrlSetState($RenderingBox, $GUI_ENABLE)
GUICtrlSetState($CharInput, $GUI_DISABLE)
Local $charname = GetCharname()
GUICtrlSetData($CharInput, $charname, $charname)
GUICtrlSetData($StartButton, "Pause")
WinSetTitle($Gui, "", "Tengu - " & $charname)
$BotRunning = True
$BotInitialized = True
SetMaxMemory() <- REMOVE
EndIf
EndFunc