LuaRules Stack Check??

LuaRules Stack Check??

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

LuaRules Stack Check??

Post by Argh »

I fired up one of the WB maps, with cyclic stuff going on via LuaRules / COB. Current buildbot is spamming this message multiple times a frame. What's up with that?
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: LuaRules Stack Check??

Post by Tobi »

Post exact error message.

Post link to a (test) map/mod with which it's reproducable.

That would help anyone who wants to investigate this.
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: LuaRules Stack Check??

Post by jK »

It mostly happens when you call SendToUnsynced too often, try to reduce the calls to it.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: LuaRules Stack Check??

Post by Argh »

It wasn't happening before, and nothing major's been added that's greatly increased synced --> unsynced traffic, that I know about.

And I need to use SendToUnsynced a lot. Unless there's a method to send over an entire table in a single SendToUnsynced call, I don't have any good choices.

Moreover, so far as I can tell, it's happening on WB maps where the only stuff that's going on is COB making CEG calls cyclically.

Anyhow, I'll post a link to current WB so that you two can see it happening with current buildbot.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: LuaRules Stack Check??

Post by Argh »

I know what's causing this to show up. It's COBs that call CEGs, or perform Lua callouts. Even a house, just emitting smoke cyclically (COB-->CEG, no other operations) is causing this problem.

So, whatever's going on isn't related to my Lua. I'm quite certain at this point.
Post Reply

Return to “Engine”