Page 1 of 1

Lua Error: /engine/Particles.lua:78: attempt to index a nil

Posted: Thu Jun 11, 2015 10:45 pm
by Keia1980
While trying to load a character I get to 100% and hang. It only happens on one character . . . I believe the pertinent part of the te4_log.txt is below:



[DISPLAY MODE] Tileset: shockbolt
[DISPLAY MODE] Size: 64x64
Loading tileset attachements from /data/gfx/shockbolt/attachements.lua
Loading tileset facings from /data/gfx/shockbolt/facings.lua
[GAME] Creating FBOs
Loading savefile /save//
[SHADER] Loading from /data/gfx/shaders/awesomeaura.lua
[SHADER] Loaded shader with totalname awesomeaura[alpha=0.6,flame_scale=0.6,time_factor=3500]
New GL Shader program 21
New GL Shader 22 of type 35632
[SHADER] created fragment shader from /data/gfx/shaders/awesomeaura.frag
*p 21: Uniform: 0: 8B5E flames
*p 21: Uniform: 1: 8B5E tex
*p 21: Uniform: 2: 1406 flameScale
*p 21: Uniform: 3: 1406 tick
*p 21: Uniform: 4: 1406 time_factor
*p 21: Uniform: 5: 1406 alpha
Lua Error: /engine/Particles.lua:78: attempt to index a nil value
At [C]:-1 __index
At /engine/Particles.lua:78 loaded
At /engine/Savefile.lua:424 loadWorld
At /engine/Module.lua:964 instanciate
At /engine/utils.lua:2197 showMainMenu
At /engine/init.lua:162
At [C]:-1 dofile
At /loader/init.lua:204


any help would be greatly appreciated. I turned off all shaders (all I could find) and still got the error . . .

Thanks in advance

Keia

Re: Lua Error: /engine/Particles.lua:78: attempt to index a

Posted: Fri Jun 12, 2015 12:29 am
by Stuntofthelitter
Would this happen to be a 1.2.5 character that's been migrated to 1.3?

Re: Lua Error: /engine/Particles.lua:78: attempt to index a

Posted: Fri Jun 12, 2015 3:53 am
by Keia1980
Yeah it was . . . and it worked fine for a while, but then I started to play it about a week ago and it won't load now. I've loaded other 1.2.5's without any issue.

I can link the entire log if it will help.

Re: Lua Error: /engine/Particles.lua:78: attempt to index a

Posted: Fri Jun 12, 2015 5:03 am
by Stuntofthelitter
I can maaaaaayybe repair it. Can't promise anything though. Open a ticket, send me a copy of your save: http://tome.gatheringspot.org/hesk/

Re: Lua Error: /engine/Particles.lua:78: attempt to index a

Posted: Mon Jun 15, 2015 1:53 pm
by Keia1980
Thanks in advance for all your help. I'm looking forward to seeing if it can be fixed. On the plus side - all other characters are able to be loaded.

Re: Lua Error: /engine/Particles.lua:78: attempt to index a

Posted: Wed Jun 17, 2015 12:51 pm
by Keia1980
Just to update, I unzipped the fix and moved it to the save area. Still couldn't open the file. Wondering if I need to remove the addon you mentioned from the addons area. It was disabled, but I hadn't removed it.

Otherwise - thanks again for your help. I'm not worried about an isolated lost save (not at lvl 24 anyway :) )

Re: Lua Error: /engine/Particles.lua:78: attempt to index a

Posted: Wed Jun 17, 2015 6:06 pm
by Stuntofthelitter
Okay, so I fixed one upgrading issue in the save but you're running into something weird related to other existing files it seems. First make sure that if you're using steam you have steam cloud disabled for the game. Otherwise the fixed version will just get written over. I'm hoping this is the issue.

Next, backup your world.teaw in the main /save folder. Stick that backup somewhere, delete world.teaw. See if the game loads.

If the problem persists past this...well, you probably don't want to deal with further steps here jsut to recover a level 24 so in that case restore the world.teaw and mourne its passing.

Re: Lua Error: /engine/Particles.lua:78: attempt to index a

Posted: Fri Jun 19, 2015 4:52 pm
by Keia1980
That worked . . . thanks for all your assistance !!