Acidently go to clientless during script

This is the log file

[11:59:14] Captcha: Success
[11:59:14] Connecting to the agent server [123.30.200.23:15779]
[11:59:15] Connected
[11:59:18] Character successfully joined the game
[11:59:18] Pick Filter: Loaded
[11:59:18] Quest: Loaded
[11:59:18] Town: Loaded
[11:59:18] Stall: Loaded
[11:59:28] Returning to town due to return on login
[11:59:28] Waiting 10 seconds before starting the bot
[11:59:36] Conditions: Executing script [C:/Users/7511/AppData/Local/Programs/phBot Testing/A - Copy.txt]
[11:59:36] Script: Walking to -8561, -746
[11:59:38] Script: Walking to -8587, -746
[11:59:40] Script: Walking to -8606, -743
[11:59:42] Script: Walking to -8639, -737
[11:59:45] Script: Walking to -8660, -738
[11:59:47] Script: Walking to -8687, -740
[11:59:50] Script: Walking to -8703, -739
[11:59:51] Script: Walking to -8735, -735
[11:59:54] Script: Walking to -8752, -731
[11:59:56] Script: Walking to -8767, -717
[11:59:57] Script: Walking to -8761, -715
[11:59:58] Script: Walking to -8729, -653
[12:00:04] Script: Walking to -8732, -668
[12:00:05] Script: Walking to -8728, -642
[12:00:07] Script: Walking to -8725, -632
[12:00:08] Script: Walking to -8715, -618
[12:00:10] Script: Walking to -8704, -596
[12:00:12] Script: Walking to -8697, -582
[12:00:12] Script: Walking to -8691, -572
[12:00:13] Script: Walking to -8677, -560
[12:00:14] Script: Walking to -8664, -550
[12:00:15] Script: Walking to -8649, -539
[12:00:16] Script: Walking to -8640, -533
[12:00:16] Script: Walking to -8622, -523
[12:00:17] Script: Walking to -8589, -510
[12:00:19] Script: Walking to -8539, -494
[12:00:21] Script: Walking to -8509, -490
[12:00:22] Script: Walking to -8499, -487
[12:00:23] Script: Walking to -8483, -458
[12:00:24] Script: Walking to -8480, -451
[12:00:25] Script: Walking to -8480, -451
[12:00:25] Blacksmith: Selecting NPC
[12:00:26] Blacksmith: Entering NPC
[12:00:27] Switching to clientless mode
[12:00:27] Blacksmith: Repairing items
[12:00:32] Blacksmith: Exiting NPC
[12:00:33] Script: Walking to -8479, -463
[12:00:35] Script: Teleporting
[12:00:39] Script: Walking to -8766, -770
[12:00:44] Script: Walking to -8769, -783
[12:00:45] Script: Walking to -8782, -792
[12:00:46] Herbalist: Selecting NPC
[12:00:48] Herbalist: Entering NPC
[12:00:52] Herbalist: Exiting NPC
[12:00:53] Script: Walking to -8765, -781
[12:00:54] Script: Walking to -8762, -740
[12:00:58] Script: Walking to -8759, -716
[12:01:00] Script: Walking to -8745, -687
[12:01:03] Script: Walking to -8732, -672
[12:01:05] Grocery: Selecting NPC
[12:01:06] Grocery: Entering NPC
[12:01:08] Inventory is full
[12:01:10] Grocery: Exiting NPC
[12:01:11] Script: Walking to -8788, -708
[12:01:18] Script: Walking to -8797, -717
[12:01:19] Script: Walking to -8802, -721
[12:01:20] Script: Walking to -8835, -727
[12:01:23] Script: Walking to -8923, -793
[12:01:33] Script: Walking to -8931, -824
[12:01:45] Script: Walking to -8943, -846
[12:01:47] Script: Walking to -8956, -871
[12:01:50] Script: Walking to -8972, -895
[12:01:52] Script: Walking to -9007, -915
[12:01:56] Script: Walking to -9025, -922
[12:01:58] Script: Walking to -9041, -928
[12:01:59] Script: Walking to -9046, -934
[12:02:24] Bot started
[12:02:27] Script: Setting training area -9046, -934

and this is the script
A - Copy.txt (1.1 KB)

I set up though bot manager
image

the conditions are

Did try many ways, please help.

I don’t understand why you’re using conditions to execute a script. Once the town script is finished it will execute the script set for your training area or use path finding if one is not set.

“Switching to clientless” means your client crashed and there’s nothing I can do. The bot isn’t doing that. It’s just notifying you of what happened.

I want to automate the bot through login,
config I set was return on login → in town → execute script. I’ll try an otherway. Thanks for your info about client crash, I didnt get it last time. I thought it was a bot problem xD
sorry for any inconvenience

1 Like

All you have to do is enable “Start bot on login” in the Manager.

1 Like

I have the same issue but I think found out why the client crashes at all.
For some reason it is very frequently happening when I go from Hotan to Taklamakan. Sometimes then, when I show the client, it happens that the client is still at the spiders while the bot is already in the dessert. After a few clicks the client jumps back to the position it should be.
Maybe that is causing the crash :thinking:

1 Like