Kim solved his problem by removing the dofile("syntaxlualib") from his scripts...
Printable View
The reason you get that message is because it tries to dofile a script you don't have, open the lua file and search for dofile and see which one it is and get it from the forums.
I've asked him about that several times and he says he got the Forgee.lua. Which is the only dofile in my scripts that he aslo seem to have problems with.
But since you @Infernal Bolt say thats the problem aswell. I'm gonna ask again.
1, Are you executing the dofile (Forgee.lua)? You should not do that. 2, Are you sure that you've placed the Forgee.lua file in the right folder? Should be located in documents -> xenobot -> scripter.
I'll need specific system information, file paths, file names and entire scripts. I'd prefer to see both ones that do work and don't work so I have something to compare.
@DarkstaR
I believe he said that he couldnt get any of my scripts to work. They all have Forgee.lua as dofile. Here's a script I believe he used: http://forums.xenobot.net/showthread...ll=1#post59923
He said that this one was working for him: The one he posted doesnt use Forgee.lua. Seems to me thats the problem, but as I stated above, he's said several times that he has it.
I got forgee.lua in the right place. documents>xenobot>scripts. I running windows 7. So if it works for everybody (execpt me) it needs to be some kind of problem for me? I'v tried everything i can come up with but nothing works.
Thanks for your time guys!
Kind Regards/Yours Smeekarn
btw, this was the one i had problems with. ( http://forums.xenobot.net/showthread...ll=1#post57087 ).
But i have also tested some others from @Tibtrak but i can't get them to work. I've really need this to work couse he's scripts seems to be very great and profesional.
I can't execute that lua either, I'll modify it until I get it to work.
Edit:
Nvm didn't have forgee lua, that was the problem for me anyways, removed dofile and it worked just fine.
If you still get an error with this one something is seriously wrong:
http://pastebin.com/jdpajWSg
Yeah, I know alot of ppl downloaded that script, and I've had all good response at it, so I dont think it is the script thats wrong. But I can't say it 100% for sure either as I have no idea whats causing it the problem of Smeekarn ;/ I'm definatly no expert at this;P
Edit: just checked it, 50 ppl have downloaded that script and its uploaded for the 3th time so its even more ppl thats used the script. I would believe more people would report it if it was something wrong with the script.
Edit2: Ah, just read ur message again and saw that I got it all wrong the first time. I thought you said it was something wrong with the script, but you didn't. hehe^^
So i should just remove the "dofile.(forgee.lua)" part and it maybe works? Or did i get this wrong?