PDA

View Full Version : Infinite loop limit (/critical condition) -> Abort


Loriel
03-20-2004, 04:13 PM
If the limit for loop iterations is reached, it might be nice to have the client jump back into the editor when offline. If you have a (timeout-) looped infinite loop, that might get nasty otherwise.
Online it is not as bad as long as we do not depend on a NC that is built into the client. Once it is, we definately need a way to edit scripts without being affected by them. A if (created && !strequals(#a,Loriel)) serverwarp classic; might take over a whole server otherwise.
Also it is currently possible to put an NPC that crashes the NPC server once it is started. I think we need a /npcstartpaused command to start the NPC server, but only for accessing scripts, and not executing them.

Dach
03-20-2004, 07:05 PM
Good ideas, Graal is pretty easy to freeze when you're not being carefull. Or if someone decides to leave you a present :|