Why this code --> dofile("config.tbl") that works perfectly well in ptokax 0.400 gives me that error in 0.411:
[23:05] S?ntaxis cannot open Config.tbl: No such file or directory
and the same for all dofile ---> dofile("Amistad/Niveles.tbl"), dofile(sCarpetaEstado.."Clonables.tbl") etc.
I'll be grateful if some help comes.
Thanks in advance.
Where is the script? Try ./scripts/Amistad/Niveles.tbl Or you can use Core.GetPtokaXPath() too.
Actually, GetPtokaXPath() is the recommended way.
Worked ok.
I've used Core.GetPtokaXPath() that way:
sPtxFolder = Core.GetPtokaXPath()
dofile(sPtxFolder.."scripts/Amistad/Niveles.tbl") - Core.GetPtokaXPath() returns all via, including the last "/"
Very grateful to both of you.