Lua Particle System fails to load on startup

Lua Particle System fails to load on startup

Various things about Spring that do not fit in any of the other forums listed below, including forum rules.

Moderator: Moderators

Post Reply
thewick3d
Posts: 5
Joined: 07 Feb 2011, 17:37

Lua Particle System fails to load on startup

Post by thewick3d »

Hello, I'm not sure where to put this, so I'll put this here..

When I'm trying to play certain mods (like zero-k, the cursed or BA) the game starts normally, but the start units are not deploying/appearing. The console outputs something about lua/lups failing to load.

It worked fine on my older pc with win XP, gforce 7600 gs.
My new pc has windows 7, Geforce G210. And now the maps load, without anything else happening. (no other error messages, no crashes) But mods like kernal pannik do not give any complications and run normally.

Spring version and lobby are both up to date, so are my gforce drivers.

I hope somebody can help me.
Attachments
infolog.txt
An example of this error with the cursed
(21.09 KiB) Downloaded 120 times
Last edited by thewick3d on 07 Feb 2011, 19:05, edited 1 time in total.
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: Lua not loading/fail to load

Post by knorke »

Hi
Bug forum would probally have been better:
http://springrts.com/phpbb/viewforum.php?f=11
[f=0000000] LUPS: Can't parse config! Error is:
[string ""]:1: unexpected symbol
LUPS is a lua particle system.
Dont know why it could fail but you might want to edit topic to include "LUPS" so that somebody who knows more notices the thread.

Also you can try pressing F11 and turning LUPS off (green=on, red=off), then restart the game and see if it works now. You will miss some effects though.
thewick3d
Posts: 5
Joined: 07 Feb 2011, 17:37

Re: Lua Particle System fails to load on startup

Post by thewick3d »

Thanks for the reply :)

Yeah, I posted it here because I was not sure it is an engine bug.

I already tried to turn it to off. But the game still doesn't spawn my startunits. Hence nothing happens..
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Lua Particle System fails to load on startup

Post by smoth »

thewick3d wrote: doesn't spawn my startunits. Hence nothing happens..
when this happens it means there was a gadget level failure

Code: Select all

[f=0000000] LUPS: Can't parse config! Error is:
[string ""]:1: unexpected symbol
[f=0000000] error = 2, LuaRules/draw.lua, error = 2, LuaRules/gadgets.lua, [string "lups/loadconfig.lua"]:23: bad argument #1 to 'setfenv' (number expected, got nil)
see how it killed gadgets.lua.

What version of cursed are you running? I am about go run errands but I can look at it when I return.
thewick3d
Posts: 5
Joined: 07 Feb 2011, 17:37

Re: Lua Particle System fails to load on startup

Post by thewick3d »

The most recent version of the cursed: 1.0
Also note that I experience the exact same error with BA and Zero-K.
I have not tested more mods yet. Kernal Panic works, because it probably does not use that sorts of gadgets.

Any thoughts why it does not work anymore?
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Lua Particle System fails to load on startup

Post by smoth »

not sure and if I can reproduce it, it may take me a bit to track down. I will take a look as soon as I get back
thewick3d
Posts: 5
Joined: 07 Feb 2011, 17:37

Re: Lua Particle System fails to load on startup

Post by thewick3d »

Thank you Smoth, it is much appreciated :)
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: Lua Particle System fails to load on startup

Post by jK »

It means that the lups.cfg contains invalid data caused either by a dieing PC (HDD, PSU, RAM) or your PC crashed while writing to the file.
Just delete the file (it gets recreated) and check your PC for stability issues (prime95 & a SMART disk checking tool).

PS: or you opened it in a texteditors which like to add UTF informations at the top of the file (Lua dislike those!).
Last edited by jK on 07 Feb 2011, 19:25, edited 2 times in total.
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: Lua Particle System fails to load on startup

Post by knorke »

Error opening C:\Games\Spring\maps\Grts_Northernmountains_008.sd7: Unexpected end of file (truncated?)
Unable to open archive: C:\Games\Spring\maps\Grts_Northernmountains_008.sd7
Also whats with this? Broken folder structure or bad installation maybe?
thewick3d
Posts: 5
Joined: 07 Feb 2011, 17:37

Re: Lua Particle System fails to load on startup

Post by thewick3d »

That map stopped downloading without finishing it. I redownloaded it, and it worked.

I deleted the lups.cfg file. And guess what, you were right :) It now works perfectly :)

Thanks for the quick responses everyone :)
Quite a nice welcome for a newcomer as myself ;)
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Lua Particle System fails to load on startup

Post by smoth »

wow hey glad you got it fixed.
Post Reply

Return to “General Discussion”