Gothic Online Forums
the index dofile does not exist - Printable Version

+- Gothic Online Forums (https://archive.gothic-online.com)
+-- Forum: Scripting (English) (https://archive.gothic-online.com/forum-11.html)
+--- Forum: Scripting Help (https://archive.gothic-online.com/forum-12.html)
+--- Thread: the index dofile does not exist (/thread-215.html)



the index dofile does not exist - HammelGammel - 20.12.2015

For some reason dofile (At least on the client) gives me anĀ an error with dev6, even though it actually executes properly ("the index 'dofile' does not exist"). Printing a text within this file works perfectly fine but still the client errors and stops the execution of the script. Am I missing something?


RE: the index dofile does not exist - Bimbol - 20.12.2015

Function dofile, was removed long time ago. For loading scripts use xml config.


RE: the index dofile does not exist - HammelGammel - 20.12.2015

Oh, that actually works O.o I'm pretty sure it didn't do that for me in dev 5 which is the whole reason I used dofile in the first place Big Grin

Should have tested that instead of searching for the reason why dofile doesn't work anymore.


RE: the index dofile does not exist - Bimbol - 20.12.2015

(20.12.2015, 22:09)HammelGammel Wrote: Oh, that actually works O.o I'm pretty sure it didn't do that for me in dev 5 which is the whole reason I used dofile in the first place Big Grin

Should have tested that instead of searching for the reason why dofile doesn't work anymore.
Well I have to say, dev 5 have a lot of bugs, which are already fixed in dev 6. But remember, this is still developer version Smile