View Full Version : Cant execute scripts
attepatte
10-19-2013, 08:35 PM
Hi
I downloaded a script and put it in the right place. When i tried to execute the script it just says error
22:24 XenoScript Error:
Script: [Paladin] Tarantulas.lua
Error: cannot open C:?Users?name?Documents?XenoBot?Scripts?Forgee.lua : No such file or directory
This is an error with user-input and should not be reported as a bug with XenoBot.
Im using Windows 8, if it matters.
Kociii
10-19-2013, 08:38 PM
You need the Forgee.lua file xD
Forgee
10-19-2013, 08:39 PM
Link in signature.
attepatte
10-19-2013, 08:59 PM
Ah, so i should put that file in the scripts folder?
Kociii
10-19-2013, 09:05 PM
Ah, so i should put that file in the scripts folder?
Yes xD
attepatte
10-19-2013, 09:08 PM
Thanks, it worked to execute it. But .. Nothing happens with the script? Char stands still, how do i start it?
Kociii
10-19-2013, 09:10 PM
Thanks, it worked to execute it. But .. Nothing happens with the script? Char stands still, how do i start it?
You need to load a script
attepatte
10-19-2013, 09:11 PM
And how do i do that lol
Kociii
10-19-2013, 09:13 PM
And how do i do that lol
Open Xenobot and right click anywhere outside the character window and in the bottom something. Im playing league of legends. So a bit busy..
attepatte
10-19-2013, 09:19 PM
Ok thx, but i executed the script .. And i rightclicked outside char window, but nothing with load comes up just a box containing
Support,tool,fraghelper,targeting etc.
;/
Kociii
10-19-2013, 09:20 PM
Right click and choose Settnings when you have done taht .. Right click again and choose Scripter and load the lua files.
attepatte
10-19-2013, 09:32 PM
Lol.
So i right clicked and chose settings. Under the "Current Profile" thing i changed to the Script name.
Then under "Load" , i just pressed Cavebot box and pressed ok.
Then it said, "Are u sure u wanna load theese settings", i Clicked yes.
Then it got Succesfully loaded.
And then, i Went to scripter and executed the lua file and pressed ok. But now the char stands still.
Ty for ur help so far, but btw am i doing wrong?
Forgee
10-19-2013, 11:30 PM
I don't know if you did, but you don't execute Forgee.lua.
After you load the settings and execute the lua file (again not Forgee.lua) you have to enable Walker/Targeting/Looter. Right click outside the character again and check the little boxes next to each of them.
XtrmJosh
10-19-2013, 11:49 PM
Lol.
So i right clicked and chose settings. Under the "Current Profile" thing i changed to the Script name.
Then under "Load" , i just pressed Cavebot box and pressed ok.
Then it said, "Are u sure u wanna load theese settings", i Clicked yes.
Then it got Succesfully loaded.
And then, i Went to scripter and executed the lua file and pressed ok. But now the char stands still.
Ty for ur help so far, but btw am i doing wrong?
You need to know what each file does:
XBST file - This contains all the data such as waypoints, heal rules, targeting, looting, HUD and tools settings, as well as pathfinding and all that jazz.
Lua file - This contains the code which makes "external" parts of a script work. That means it is the thing that interacts with NPCs, deposits items, buys potions etc.
The Lua file can now be stored within the XBST file, so the chances are if you right click, select "Settings", find your XBST file in the file selector at the top, then under "Load" click "All", this will load the Lua file as well as the heal rules, targeting, looting, etc. Once you've done this, you can check if the script is running by right clicking and selecting "Scripter", then check that there is a script with the appropriate name on the right hand side list. If there isn't, put the Lua file in the Documents/Xenobot/Scripts directory, and it will appear after you close and reopen the scripts window. Now select it and click "Execute". After that you can close that window, and once again right click yourself to bring up the main menu, now next to "Walker", "Targeting", and "Looting" you can check the 3 boxes to enable all 3 of the engines.
Provided you have configured the script correctly, it should begin to do what you would expect it to.
attepatte
10-20-2013, 12:31 PM
Thank u, i did not know that at all. But now i do, and it worked. But there is a problem, the script couldnt find a path. Is that because i did not download full tibia map? Where do i download it? Is there any tutorial lol
Xeromex
10-20-2013, 12:36 PM
Thank u, i did not know that at all. But now i do, and it worked. But there is a problem, the script couldnt find a path. Is that because i did not download full tibia map? Where do i download it? Is there any tutorial lol
tibiamaps.org
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.