Auto Quest Problem (with walk script)


#1

When dies and respawn at town on quest walk script, bot stucks.

Example,
Hunters doing quests in job temple.
When hunters complete quest and going to NPC, thieves sometimes kill hunters.
Hunters respawn in town and stuck beacuse trying to go NPC in temple.

Character shouldn’t try to go NPC for auto quest in temple after respawn in town

My solution as,
Abondon completed quest on phbot active quest list.

Is there an easier solution to this?


#2

Is it happening even if you stop/start the bot?


#3

I tried to stop/start bot now in town
No, didn’t move until quest is abandoned

Gained 111 experience and 1 SP experience
Gained 111 experience and 1 SP experience
Gained 111 experience and 1 SP experience
Quest: [Proof of Strength 1 (Hunter)] has been completed
Script: Walking to -21759, -148
Script: Walking to -21759, -240
You died by 1x Priest of Terror
Returning to town
Quest: [Proof of Strength 1 (Hunter)] has been completed
Script: Walking to -21759, -148
Returning to town due to being stuck in the script
Quest: [Proof of Strength 1 (Hunter)] has been completed
Script: Walking to -21759, -148
Bot stopped. Botting time [29 minutes]
Bot started
Quest: [Proof of Strength 1 (Hunter)] has been completed
Script: Walking to -21759, -148
Returning to town due to being stuck in the script
Quest: [Proof of Strength 1 (Hunter)] has been completed
Script: Walking to -21759, -148

Phbot v21.5.6


#4

I also do this hunter quest since about 2 month from hometown hotan without this problem after dead.
maybe my walkscript help u

script

walk,104,32,244
teleport,Hotan,Alexandria (North)
walk,51,92,297,339,1521
walk,51,92,577,485,1550
walk,51,92,835,630,1559
walk,51,92,1137,809,1560
walk,51,92,1404,974,1557
walk,51,92,1737,1132,1517
walk,52,92,195,1224,1472
walk,52,92,502,1180,1423
walk,52,92,806,1088,1364
walk,52,92,1070,1031,1320
walk,52,92,1332,854,1273
walk,52,92,1453,560,1272
walk,52,92,1633,283,1210
walk,53,92,46,73,1133
walk,53,92,377,16,1108
walk,53,91,677,1890,1110
walk,53,91,972,1729,1114
walk,53,91,1279,1627,1095
walk,53,91,1577,1576,1077
walk,54,91,86,1559,1046
walk,54,91,460,1593,1048
walk,54,91,822,1501,1028
walk,54,91,1146,1393,1000
walk,54,91,1488,1285,965
walk,54,91,1817,1254,938
walk,55,91,215,1283,944
walk,55,91,535,1325,938
walk,55,91,767,1450,961
walk,55,91,1090,1705,993
walk,55,91,1277,1909,1025
walk,55,92,1548,269,1072
walk,55,92,1868,579,1132
walk,56,92,213,813,1181
walk,56,92,372,982,1217
walk,56,92,409,1072,1229
wait,5000
teleport,GATE_DELTA_GATE_E,GATE_STORMDESERT_GATE
wait,5000
walk,65,84,1346,1902,203
walk,65,85,1382,238,217
walk,65,85,1590,599,263
walk,65,85,1811,790,255
walk,66,85,150,973,249
walk,66,85,497,1155,231
walk,66,85,715,1261,251
walk,66,85,1239,1441,159
walk,66,85,1481,1583,164
walk,66,85,1869,1866,92
walk,67,86,214,165,78
walk,67,86,521,325,88
walk,67,86,830,444,83
walk,67,86,1110,547,137
walk,67,86,1486,758,116
walk,67,86,1755,835,134
walk,68,86,14,861,138
walk,68,86,430,932,62
walk,68,86,672,887,57
walk,68,86,935,798,84
walk,68,86,1115,853,137
walk,68,86,1127,1078,345
walk,68,86,1237,1269,515
walk,68,86,1497,1425,566
walk,68,86,1705,1536,589
walk,69,86,181,1685,584
walk,69,86,511,1689,621
walk,69,86,762,1645,657
walk,69,86,959,1654,645
walk,69,86,1382,1794,517
walk,69,86,1725,1906,546
walk,70,86,121,1874,588
walk,70,86,255,1817,594
walk,70,86,458,1575,470
walk,70,86,668,1340,471
walk,70,86,919,1159,462
walk,70,86,1204,1036,466
walk,70,86,1409,1009,479
walk,70,86,1701,962,460
walk,70,86,1857,827,375
walk,70,86,1808,722,314
walk,70,86,1796,587,194
walk,70,86,1693,606,174
walk,70,86,1669,388,42
walk,71,86,39,450,28
walk,71,86,344,520,13
walk,71,86,636,660,16
//cruce mob 108
walk,71,86,957,579,32
walk,71,86,1272,467,25
walk,71,86,1590,682,50
walk,71,86,1916,720,30
walk,72,86,215,625,31
walk,72,86,375,538,10
walk,72,86,732,820,44
walk,72,86,1084,897,49
walk,72,86,1399,935,49
walk,72,86,1702,865,41
walk,73,86,211,803,41
walk,73,86,622,685,29
walk,73,86,912,572,37
walk,73,86,1260,508,25
walk,73,86,1521,387,33
walk,73,86,1876,230,17
walk,74,86,342,146,33
walk,74,86,619,212,42
walk,74,86,1072,366,4
//cruce penon
walk,74,86,1081,805,14
walk,74,86,1137,1117,13
walk,74,86,1407,1305,23
walk,74,86,1693,1386,15
walk,75,86,157,1431,34
walk,75,86,600,1672,14
walk,75,86,913,1828,42
walk,75,87,974,198,56
walk,75,87,1044,543,47
walk,75,87,1178,544,117
walk,75,87,1337,551,152
wait,5000
teleport,GATE_DESERT_MERCHANT_HUNTER_GATE,GATE_TEMPLE_MERCHANT_HUNTER_GATE
wait,15000
walk,16,128,-4025|65535,-3552|65535,57|0
walk,16,128,-4021|65535,-3317|65535,65|0
walk,16,128,-3984|65535,-3190|65535,70|0
quest,Hunter Union Representative Kapado,Hunting in the Middle of the Temple Dispute 1 (Hunter)
quest,Hunter Union Representative Kapado,Hunting in the Middle of the Temple Dispute 2 (Hunter)
quest,Hunter Union Representative Kapado,Proof of Strength 1 (Hunter)
quest,Hunter Union Representative Kapado,Proof of Strength 2 (Hunter)
quest,Hunter Union Representative Kapado,Bloody Fatal Combat (Hunter)
walk,16,128,-3796|65535,-3193|65535,57|0
walk,16,128,-3579|65535,-3192|65535,57|0
walk,16,128,-3314|65535,-3194|65535,65|0
walk,16,128,-3181|65535,-3192|65535,83|0
//puerta
walk,16,128,-2858|65535,-3196|65535,66|0
walk,16,128,-2549|65535,-3199|65535,66|0
//cruse
walk,16,128,-2559|65535,-2905|65535,66|0
walk,16,128,-2552|65535,-2533|65535,66|0
walk,16,128,-2548|65535,-2314|65535,83|0
//puerta salida
walk,16,128,-2556|65535,-2046|65535,57|0
walk,16,128,-2566|65535,-1786|65535,57|0
walk,16,128,-2551|65535,-1814|65535,57|0
walk,16,128,-2550|65535,-1490|65535,70|0
//spot 1


#5

Either way, I have added a fix that will check the starting walk command to make sure it’s close by. If not, it aborts the quest script.


#6

Thanks
It is working perfectly on v21.5.8

Quest: Too far away from the script starting position