PHP Code:
/====================================================|
| Coh3n's Draynor Chop N' Bank! |
| - Revision 66 - |
|====================================================|
| |
| Program: SCAR |
| SMART: Yes |
| Ran For: 53 Minutes and 6 Seconds |
| |
| Player: ************* |
| Location: Bank |
| Active: True |
| Tree Type: Willow |
| Loads Done: 16 |
| Logs Cut: 432 |
| Logs P/H: 488 |
| Levels Up: 0 |
| Experience: 29,160 |
| Breaks: 0 |
|____________________________________________________|
|____________________________________________________/
/====================================================|
| Coh3n's Draynor Chop N' Bank! |
| - Revision 66 - |
|====================================================|
| |
| Program: SCAR |
| SMART: Yes |
| Ran For: 5 Hours, 43 Minutes and 49 Seconds |
| |
| Player: ************** |
| Location: Willows |
| Active: False |
| Reason: |
| Tree Type: Willow |
| Loads Done: 16 |
| Logs Cut: 432 |
| Logs P/H: 75 |
| Levels Up: 0 |
| Experience: 29,160 |
| Breaks: 0 |
|____________________________________________________|
|____________________________________________________/
both proggys are for one run.
Code:
[03:07:40 PM]: DETAIL: Chop_IsTreeDown: Length inside Box: 0
[03:07:40 PM]: DETAIL: Chop_IsTreeDown: Tree has been cut down!
[03:07:40 PM]: DETAIL: Chop_Trees: Boxes Found: 0
[03:07:40 PM]: ERROR: Chop_Trees: Failed to find tree
***** STR: FOUND RANDOM: 'Mime' *****
Screenshot of: Found Mime random 53 Minutes and 56 Seconds
***** STR: 'Mime' RANDOM SOLVING FAILED! *****
[03:08:07 PM]: DETAIL: Setup_MainLoop: Switching players
NextPlayer
I haven't been testing your script for a while because I've been testing mine
It's finally been posted hehe.
I remember getting this bug before. The script finds a random, and if SRL random solving fails, it tries to switch player. But because there is only one player, it just stays like this and never terminates the script.
Try switching around the order of your lines in the Next_Player Procedure: Change: (lines 823-831)
SCAR Code:
NextPlayer(active);
Players[CurrentPlayer].Loc := Find_PlayerLocation;
playerLoads := 0;
if (AllPlayersInactive) then
begin
DCnB_Debug('Next_Player', 'All players inactive', DEBUG_SUCCESS);
TerminateScript;
end;
to:
SCAR Code:
if (AllPlayersInactive) then
begin
DCnB_Debug('Next_Player', 'All players inactive', DEBUG_SUCCESS);
TerminateScript;
end;
NextPlayer(active);
Players[CurrentPlayer].Loc := Find_PlayerLocation;
playerLoads := 0;