I am having an issue where the slots are not repeating, For example I set the slot to gather and refine Tier1 components and click the check box to repeat but it only does one or two cycles then ignores the slots.
A second issue I am having is then process stops on starting the job. When I check the screen I find the task screen up with the "Start Task" button greyed out. No timeout recorded or any error message. Any ideas?
Hey, I think I got similar result, it seems to happen randomly and looks like it happens with ver. 0.4.4.0
APBi screen text,
clicked job and it continued, so it is not similar but near?Code:21:39:27 : Slot: 4 21:39:27 : Task: Artificing_Tier1_Refine_Basic 21:39:27 : Total Assets : 0 21:39:27 : Cycles: 2/4 21:39:39 : Required slot(s): 0 21:39:39 : Optional slot(s): 0 21:39:39 : No Optional Asset Slots 21:39:39 : Starting job... 23:15:13 : Job Failed on Slot 4
Route used, must be LVL18 artifcing, and materials must be checked, coal , residuum...
Code:1Artificing_Tier3_Gather_Basic_Mass(x1:Master Artificer:) 2Artificing_Tier3_Gather_Basic_Mass(x1:Master Artificer:) 3Artificing_Tier3_Refine_Basic_Mass(x1:Master Artificer:) 3Artificing_Tier3_Gather_Basic_Mass(x1:Master Artificer:) 4Artificing_Tier1_Symbol_Virtuous_1(x1:) 4Artificing_Tier1_Refine_Basic(x4:) 4Artificing_Tier1_Symbol_Virtuous_2(x1:) 4Artificing_Tier2_Refine_Basic(x4:) 4Artificing_Tier2_Symbol_Virtuous_3(x1:) 4Artificing_Tier3_Refine_Basic(x4:) 4Artificing_Tier3_Symbol_Virtuous_4(x1:) 4Artificing_Tier3_Symbol_Virtuous_5(x1:) 5Artificing_Tier1_Orb_Ice_1(x1:) 5Artificing_Tier1_Refine_Basic(x4:) 5Artificing_Tier1_Orb_Ice_2(x1:) 5Artificing_Tier2_Refine_Basic(x4:) 5Artificing_Tier2_Orb_Ice_3(x1:) 5Artificing_Tier3_Refine_Basic(x4:) 5Artificing_Tier3_Orb_Ice_4(x1:) 5Artificing_Tier3_Orb_Ice_5(x1:) True True True True True False False False False
Alright, seems me and some of my friends are not having unique problems with v0.4.4.0. Our side too, the APB just stop randomly, without giving any errors.
You can see below, a cut version of the script below. Which i decided to stop, and restart. the 4 slot was never collected, and went straight to 5. At this point, i decided to relaunch the APB. This is only one example of freezing issue that we faced. It actually can freeze at any time of the script.
I am wondering if this would be related to the screensaver. (removing the screensaver for running the APB, will simply remove the point of having a screensaver).Code:12:00:18 PM : Switching Characters 12:00:23 PM : Slot 1 is currently running 12:00:23 PM : Slot 2 is currently running 12:00:24 PM : Slot 3 is currently running 12:00:24 PM : Slot 4 is currently running 12:00:24 PM : Slot 5 is currently running 12:00:24 PM : Slot 6 is currently running 12:00:25 PM : Switching Characters 12:00:30 PM : Slot 1 is currently running 12:00:30 PM : Slot 2 is currently running 12:00:31 PM : Slot 3 is currently running 12:00:31 PM : Collecting Reward for Slot 4 12:01:14 PM : Collecting Reward for Slot 4 12:01:57 PM : Collecting Reward for Slot 4 12:02:40 PM : Collecting Reward for Slot 4 12:03:24 PM : Collecting Reward for Slot 4 12:04:07 PM : Collecting Reward for Slot 4 12:04:50 PM : Collecting Reward for Slot 4 //=========// 1:13:52 PM : Collecting Reward for Slot 4 1:14:35 PM : Collecting Reward for Slot 4 1:15:18 PM : Collecting Reward for Slot 4 1:16:01 PM : Collecting Reward for Slot 4 1:16:44 PM : Collecting Reward for Slot 4 1:17:12 PM : Bot Stopped 1:17:19 PM : Bot Started 1:17:19 PM : Auto Login running 1:17:19 PM : Waiting for Profession Menu 1:17:20 PM : Profession Menu Found 1:17:20 PM : Collecting Reward for Slot 5 1:17:32 PM : Bot Stopped
Suggestion pointed to me by friends, was to propose a logout/login timer after X min for instance. Since it seems to work fine after a relogin. Puting a timer every 60 min for instance could reduce the "stop" issue for the time the problem is fix. Of course, the logout should be after a full cycle.
Last edited by Llewellyn; 10-25-2013 at 02:58 AM.
I'm having the same starting job issue, The bot gets to the starting job stage, but the browser has not finished loading the start task screen, so the bot hangs it seems. If I press Start task, the bot will continue in its cycle, this also happens occasionally while collecting rewards. Thank you for making this, I am hoping to level all the professions this way.
I seem to have jinxed myself and am getting the same exact hanging issue as Ralian. It looks like they "fixed" the gateway again during the last maintenance
Works fine on 4 of 5 characters (4 - 7 professional slots) without optional assistant
Latest character got problems - Bot dont see free professional slot. i will test out more
Thanks for your work
Just in case, if Bot ignore slots due work then reStart whole process. I have some issue that Bot start skipping slots without reason, but I dont have clear Log when it happens.
Im allmost done make script what keeps APBi running (ColdBlood Start/reStart whole thing), just need some extra stuff that same script works with multiple APBi without change, . It is quite easy handle APBi with scripts because all windows buttons are accessible and APBi itself keeps most tasks running.
RM
The newest vesrion 0.4.4 runs quite smoothly on all my computers, even the slowest one. This is first version, that runs on my slowest one.
But sometimes (like others said) it freezes when selecting job – in that moment, when you see “START TASK” button. There is no error – bot is just waiting. If I manually hit “START TASK” APB keep on running.
Hi, is there source code for this bot available, I noticed that you altered the start job method for this version, that is where I am having the most issues...
I am running and testing this bot with 50 character slots. I am running into overlapping queues where some professions get carried over to another character.
Sometimes the bot will stop working because a profession has already been used 3x when it's not selected in the queue for the character though.
I believe I ran it fine for 10 hours, 12 hours 7 hours, 5 hours so it's not consistent with the errors that happen.
I'm having an issue where, the bot fails to start a job, constantly.
Conditions(from what i can observe):
7+ slots character
starting slot (x), where slot (x+1) is completed and not collected
I get past it by manually collecting slot (x+1)
Don't know for sure if its iAPB or the gateway. But a workaround would be to collect every slot before starting new tasks.
Edit: I LOVE the default queues you added. Thank you very much! Great job once again
Last edited by zheeth; 10-29-2013 at 10:17 AM.
Lol, 50 characters... wanna script for to test autostart/stop. ZeroHackX, send me PM if like idea or just FIX it yourself.
This comes completely without support or advice, but it WORKS, just need autoit to run it.
Use and Edit on your own risk as I do, . Enjoy extra Infinity!!!
How To use, copy it same Folder with APBInfinite.EXE, Run or Compile with Autoit.
Code:#region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Run_Tidy=y #endregion ;**** Directives created by AutoIt3Wrapper_GUI **** #cs AutoIt Version: 3.0 Language: English Platform: Win xx Author: RottenMind Ver. 1.0 Need: Included: .Au3 -source Tested: CyrealKiller APB1 v. 0.4.2, partial tested. Problems: Windows "popup" can cause nerve breakdown!!! Script Function: Extend APBInfinity to EXTRA infinity . Keeps APBi running forever. HOTKEYS, PAUSE/Break, pause Alt+LShift+T, Terminata script Alt+LShift+D, shows just pop up. ToDo,(parts exist but need implement properly) - Add Timer`s instead Sleeep - Add scan so it can be launch multiple ABPi from Root folder and check that all is running #ce ; Press Esc to terminate script, Pause/Break to "pause" #include-once #include <array.au3> Global $Paused, $APBi $APBi = "APBInfinite.exe" HotKeySet("{PAUSE}", "TogglePause") HotKeySet("+!t", "Terminate") ; shift alt t, terminate HotKeySet("+!d", "ShowMessage") ;Shift-Alt-d vvv Opt("WinTitleMatchMode", "2") ; Windows extra info Opt("SendKeyDelay", "50") ; Delays for keys ;;;; Body of program would go here ;;;; While 1 ; Run Main script, need add Timer to controll and show time to left reStart, need make some error detection from APBi and or Gateway _RunAPBi() WEnd Func _RunAPBi() ; this must clean up and maybe it need all windows defined by Handel, is Done. Local $iPID, $hWnd ;If Not ProcessExists($APBi) Then $iPID = Run($APBi) ; Start AutoProfessionBot, get Program ID from started program Sleep(15000) ;EndIf $hWnd = _GetHwndFromPID($iPID) ; Get Windows information from ProgramID WinActivate($hWnd) ; Activate windows ControlClick($hWnd, "", "[NAME:btnStartBot]", "left", "1") ; Send mouse click to specific window button to start APBi run Sleep(10000) WinSetState($hWnd, "", @SW_MINIMIZE) ; Obivius, is it? Sleep(Random(3600000, 3650000, 1)) ; Script wait random time before it continues, adding timer her is needed, APBi RUN here WinClose($hWnd) ; Shutdown Windows by given Program ID Sleep(Random(100000, 150000, 1)) ; Script wait random time before it continues, adding timer her is needed, APBi is OFFLINE here EndFunc ;==>_RunAPBi Func _GetHwndFromPID($PID) $hWnd = 0 $winlist = WinList() Do For $i = 1 To $winlist[0][0] If $winlist[$i][0] <> "" Then $iPID2 = WinGetProcess($winlist[$i][1]) If $iPID2 = $PID Then $hWnd = $winlist[$i][1] ExitLoop EndIf EndIf Next Until $hWnd <> 0 Return $hWnd EndFunc ;==>_GetHwndFromPID Func _WinGetByPID($iPID, $iArray = 1) ; 0 Will Return 1 Base Array & 1 Will Return The First Window.(not used in this script but usefull maybe later) Local $aError[1] = [0], $aWinList, $sReturn If IsString($iPID) Then $iPID = ProcessExists($iPID) EndIf $aWinList = WinList() For $A = 1 To $aWinList[0][0] If WinGetProcess($aWinList[$A][1]) = $iPID And BitAND(WinGetState($aWinList[$A][1]), 2) Then If $iArray Then Return $aWinList[$A][1] EndIf $sReturn &= $aWinList[$A][1] & Chr(1) EndIf Next If $sReturn Then Return StringSplit(StringTrimRight($sReturn, 1), Chr(1)) EndIf Return SetError(1, 0, $aError) EndFunc ;==>_WinGetByPID Func IsVisible($handle) ;(not used in this script but usefull maybe later) If BitAND(WinGetState($handle), 2) Then Return 1 Else Return 0 EndIf EndFunc ;==>IsVisible ;;;;;;;; Func TogglePause() $Paused = Not $Paused While $Paused Sleep(100) ToolTip('Script is "Paused"', 0, 0) WEnd ToolTip("") EndFunc ;==>TogglePause Func Terminate() #region --- CodeWizard generated code Start --- ;MsgBox features: Title=Yes, Text=Yes, Buttons=OK, Icon=Critical, Timeout=5 ss, Miscellaneous=Top-most attribute If Not IsDeclared("iMsgBoxAnswer") Then Local $iMsgBoxAnswer $iMsgBoxAnswer = MsgBox(262160, "Note", "Script is about to Shutdooown.", 5) Select Case $iMsgBoxAnswer = -1 ;Timeout Case Else ;OK EndSelect #endregion --- CodeWizard generated code Start --- Exit 0 EndFunc ;==>Terminate Func ShowMessage() MsgBox(4096, "", "Hello Kitty.") EndFunc ;==>ShowMessage
I really like the gui but it does have stability issues. i run short (under 15min) tasks x6 and it does crash midway. i look forward to the newer version.