Page 1 of 1

[Ok] Error loading modrules, using defaults

Posted: 03 Jan 2008, 17:18
by Davidbrcz
Hi all.
I've just uptaded my game to the 0.76b1.
And i've a problem. Indeed I can't play because when i try to play,i've this message :
Error loading modrules, using defaults
could not open file: gamedata/modrules.lua
Content error: could not open file: gamedata/defs.lua
Idea to fix this f*cking bug ?

Thanks.

Re: Error loading modrules, using defaults

Posted: 03 Jan 2008, 18:52
by Davidbrcz
I uninstalled the game,compiled the source and install them,install again the paquet of my friend and it works .

Enjoy :P !

Re: [Ok] Error loading modrules, using defaults

Posted: 03 Jan 2008, 20:00
by rcdraco
That error shouldn't crash the game.

And if you expect to play online use a native OS version of the lobby client and spring.

Re: [Ok] Error loading modrules, using defaults

Posted: 03 Jan 2008, 22:04
by Davidbrcz
With this error,the game couldn't start however i didn't crash "realy".
Just after that i have confirmed the mod , i saw the error in a X11 message box and i couldn't play to the game.

Re: [Ok] Error loading modrules, using defaults

Posted: 05 Jan 2008, 18:51
by mereh
Hi guys, I have the same problem. I am running Ubuntu Linux (gutsy gibbon). 75b2 ran perfectly, from compiled sources.
I both reinstalled spring and recompiled it from sources. Its still not running. When i search for defs.lua (with locate right after updatedb) I can find the file only in the folder where i compiled the sources. I copied the folder 'gamedata' to /usr/share/games/spring/ and ~/.spring/ but it didnt help.

Thanks for your help!! :)

Merlin

Re: [Ok] Error loading modrules, using defaults

Posted: 05 Jan 2008, 20:45
by trepan
You need the 0.76b1 springcontent.sdz file.

Code: Select all

> unzip -l ~/Spring/links/base/springcontent.sdz | grep defs
     1009  12-29-07 14:42   gamedata/armordefs.lua
     2079  12-29-07 14:42   gamedata/defs.lua
     3796  12-29-07 14:42   gamedata/featuredefs.lua
     1371  12-29-07 14:42   gamedata/movedefs.lua
     5763  12-29-07 14:42   gamedata/unitdefs.lua
      494  12-29-07 14:42   gamedata/unitdefs_post.lua
     4101  12-29-07 14:42   gamedata/weapondefs.lua
      445  12-29-07 14:42   gamedata/weapondefs_post.lua
     2008  12-29-07 14:42   LuaGadgets/setupdefs.lua

Re: [Ok] Error loading modrules, using defaults

Posted: 05 Jan 2008, 23:39
by mereh
I moved the ~/.spring/ folder, deleted all installed files and reinstalled the .deb packets from the recommended repository except the -data package (it is still 75b2) then i moved the .spring folder back and it worked..