Crash was always there! ( Really it was )
Crash was always there! ( Really it was )
![]()
Find about scripting, programming and music! My blog: https://worldofsmth.wordpress.com!
Crash is still there, spidey is right.
"crash was always there"
Yeah thats why I've never ever crashed using reload Lua... litrally never, and I use it a hell'a lot. They may have broke it a while ago, but it used to work.
You are always welcome to post crash dumps on our forum, ty.
![]()
Find about scripting, programming and music! My blog: https://worldofsmth.wordpress.com!
Right, someone seemed to ask this exact question, but I feel it needs to be asked again.
How is it different to reload the Lua files in game, than doing it in the console?
Seeing as the exact same code could be executed for actually doing the reload, I can't really see any difference.
Does the Lua engine feel like crashing if it magically sense it's being called from an in game chat command?
How can't you just replicate the exact same behaviour from the console reload to the in game reload?
(other then the 'trigger', of course, which would be different.)
As a programmer (perhaps a small scale programmer, but still), I find this to be weird to say the least. This is something which shouldn't be hard to do at all, so something has to be really wrong.
Really tired while posting this, sorry if I miss the obvious point or if I make very little sense.
FOR A MOMENT, NOTHING HAPPENED. THEN, AFTER A SECOND OR SO, NOTHING CONTINUED TO HAPPEN.
In context of developing, just read the my previous replies. In the context of code, I just copied + pasted from a previous revision and changed a few bits (I can't code C++ other than the extreme basics).
It was working 100% fine, in later revisions it 'magically' started crashing the server/screwing everything up, in ever later revisions the command broke altogether so they transfered it to a console command. I'm just stating the facts, don't know how/why. Which is why I was moaning since aparently it's exactly the same yet it's impractical and bla bla bla.
If you post crash dump it will get fixed( or at least get changed )we cannot fix anything without knowing where problem is!
![]()
Find about scripting, programming and music! My blog: https://worldofsmth.wordpress.com!
You're saying it crashes when a script is in use while trying to reload - Have you tried reproducing the bug in a debug environment?
I'd normally suggest a design review but in this case it seems futile if the issue can be reproduced![]()