Particle updater error

Moderator: Moderator

Post Reply
Message
Author
yufra
Perspiring Physicist
Posts: 1332
Joined: Tue Jul 13, 2010 2:53 pm

Particle updater error

#1 Post by yufra »

So I noticed a lot of stdout of the following type:

Code: Select all

L(1e59000) Particle updater error 1b076600 (3, 3): attempt to call a table value
It seems like these errors are never cleared since I saved/loaded the game and I was still getting this every display call. Is there a reason we shouldn't do something like the following?

Code: Select all

diff --git a/src/particles.c b/src/particles.c
index ceac9d6..b8f9998 100644
--- a/src/particles.c
+++ b/src/particles.c
@@ -543,6 +543,7 @@ void thread_particle_run(particle_thread *pt, plist *l)
        if (lua_pcall(L, 1, 0, 0))
        {
                printf("L(%x) Particle updater error %x (%d, %d): %s\n", (int)L, (int)l, l->updator_ref, l->emit_ref, lua_tostring(L, -1));
+               ps->i_want_to_die = TRUE;
                lua_pop(L, 1);
        }
<DarkGod> lets say it's intended

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: Particle updater error

#2 Post by darkgod »

Yeah probably, but I'd like to find the underlying issue :/
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Post Reply