Game Crash when using Lua String Patterns
#2
Hello, welcome to the forum.

That is weird behavior indeed. I can't see anything wrong with the plugin code, and as you wrote, even bad code shouldn't crash the server. I'll test if I can reproduce this on my machine when I get back home.

Of course, there are situations when bad code *can* crash the server; those are because of how our C++-to-Lua bindings are implemented - if you store a cPlayer object within a hook, and then call a function on it, say, an hour later when the player is already gone, you will crash the server. But in this instance there's nothing like that in the plugin code.
Reply
Thanks given by:


Messages In This Thread
RE: Game Crash when using Lua String Patterns - by xoft - 02-20-2015, 05:57 PM



Users browsing this thread: 1 Guest(s)