Unable to Generate Script

Hello everyone,

phBot Version: Testing v27.9.2

I currently have this issue that occasionally the bot seems to be unable to generate a script from town to the leveling spot. As it happens occasionally, I cannot really reproduce the problem. It happens to different characters with different level spot destinations. I just tested Donwhang though. Here the bot log:

[08:50:19] Bot started
[08:50:21] Script: Walking to 3550, 2071
[08:50:22] Script: Walking to 3561, 2057
[08:50:23] Script: Walking to 3572, 2045
[08:50:24] Blacksmith: Selecting NPC
[08:50:25] Blacksmith: Entering NPC
[08:50:27] Blacksmith: Repairing items
[08:50:28] Pet: Moving [Capricorn Grand Cross] to inventory
[08:50:28] Sell: Selling [Capricorn Grand Cross]
[08:50:30] Blacksmith: Purchasing Arrow [250]
[08:50:31] Blacksmith: Purchasing Arrow [250]
[08:50:32] Blacksmith: Purchasing Arrow [250]
[08:50:33] Blacksmith: Purchasing Arrow [250]
[08:50:35] Blacksmith: Purchasing Arrow [116]
[08:50:38] Blacksmith: Exiting NPC
[08:50:39] Script: Walking to 3565, 2024
[08:50:41] Script: Walking to 3571, 2006
[08:50:42] Script: Walking to 3572, 1991
[08:50:43] Script: Walking to 3576, 1989
[08:50:44] Storage: Selecting NPC
[08:50:46] Storage: Entering NPC
[08:50:48] Storage: Exiting NPC
[08:50:50] Script: Walking to 3589, 1968
[08:50:51] Guild Storage: Selecting NPC
[08:50:54] Guild Storage: Entering NPC
[08:50:59] Guild Storage: Taking [28118978] gold
[08:51:01] Guild Storage: Combining [Attribute Stone of Meditation(15th)]
[08:51:01] Guild Storage: Storing item [Attribute stone of warriors(Lvl.11)]
[08:51:02] Guild Storage: Please teleport to see the items that have been stored
[08:51:02] Guild Storage: Exiting NPC
[08:51:04] Script: Walking to 3555, 1990
[08:51:07] Script: Walking to 3535, 1992
[08:51:09] Script: Walking to 3516, 1995
[08:51:10] Grocery: Selecting NPC
[08:51:12] Grocery: Entering NPC
[08:51:13] Grocery: Purchasing Special Return Scroll [2]
[08:51:14] Inventory: Combining [Special Return Scroll]
[08:51:16] Grocery: Exiting NPC
[08:51:17] Script: Walking to 3520, 2010
[08:51:18] Script: Walking to 3520, 2033
[08:51:20] Herbalist: Selecting NPC
[08:51:22] Herbalist: Entering NPC
[08:51:24] Herbalist: Purchasing HP Recovery Potion (X-Large) [36]
[08:51:25] Inventory: Combining [HP Recovery Potion (X-Large)]
[08:51:25] Herbalist: Purchasing MP Recovery Potion (X-Large) [50]
[08:51:27] Herbalist: Purchasing MP Recovery Potion (X-Large) [50]
[08:51:28] Herbalist: Purchasing MP Recovery Potion (X-Large) [50]
[08:51:29] Herbalist: Purchasing MP Recovery Potion (X-Large) [21]
[08:51:31] Inventory: Combining [MP Recovery Potion (X-Large)]
[08:51:33] Herbalist: Exiting NPC
[08:51:34] Script: Walking to 3538, 2052
[08:51:36] Script: Walking to 3553, 2065
[08:51:37] Script: Walking to 3559, 2073
[08:51:38] Script: Walking to 3558, 2085
[08:51:39] Script: Walking to 3578, 2087
[08:51:41] Script: Walking to 3595, 2089
[08:51:43] Script: Walking to 3574, 2087
[08:51:44] Script: Walking to 3550, 2083
[08:51:46] Script: Walking to 3549, 2066
[08:51:52] Script: Unable to generate a script for this location, [3549, 2066] -> [21315, -12888, -1620]
[08:51:52] Bot stopped. Botting time [1 minute]

Anyone else with the same experience? I couldn’t find any related articles or at least - not really up-to-date ones with the same issue.

Best regards,
Gecco

i have the same problem for 6 months and it has not been fixed with any new version.

Save the script to a txt file after it generates and then load the script into the bot. Then it will never have to generate again until you move locations.

This should fix it.