On Mon, Nov 14, 2011 at 10:09:56AM +0100, Michal Mazurek wrote:
> Can i have other files than the default.lua and script.lua? I want each
> functionality (auth, newcomers) to be in a separate file.

I added dofile("longturn.lua") to script.lua. This is what i got:

1: lua error:
        data/longturn/script.lua:56: attempt to call global 'dofile' (a nil 
stack traceback:
        data/longturn/script.lua:56: in main chunk
0: "data/longturn/script.lua": could not load ruleset script.

Why can't i dofile() in freeciv?

The version is S2_3, I'm yet to apply the svn revisions Matthias said I

Michal Mazurek

Freeciv-dev mailing list

Reply via email to