[Ok] Error loading modrules, using defaults

[Ok] Error loading modrules, using defaults

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
Davidbrcz
Posts: 5
Joined: 03 Sep 2007, 17:26

[Ok] Error loading modrules, using defaults

Post 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.
Last edited by Davidbrcz on 03 Jan 2008, 18:52, edited 1 time in total.
Davidbrcz
Posts: 5
Joined: 03 Sep 2007, 17:26

Re: Error loading modrules, using defaults

Post by Davidbrcz »

I uninstalled the game,compiled the source and install them,install again the paquet of my friend and it works .

Enjoy :P !
User avatar
rcdraco
Posts: 781
Joined: 22 Nov 2006, 02:50

Re: [Ok] Error loading modrules, using defaults

Post 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.
Davidbrcz
Posts: 5
Joined: 03 Sep 2007, 17:26

Re: [Ok] Error loading modrules, using defaults

Post 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.
mereh
Posts: 2
Joined: 21 Oct 2007, 15:21

Re: [Ok] Error loading modrules, using defaults

Post 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
trepan
Former Engine Dev
Posts: 1200
Joined: 17 Nov 2005, 00:52

Re: [Ok] Error loading modrules, using defaults

Post 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
mereh
Posts: 2
Joined: 21 Oct 2007, 15:21

Re: [Ok] Error loading modrules, using defaults

Post 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..
Post Reply

Return to “Help & Bugs”