[Home] [Groups] - Message: [Prev in Group] [Next in Group]

nu.kanga.list.mud-dev

28180: Re: [MUD-Dev] Re: Scripting languages

[Full Header] [Plain Text]
From: MIKE MacMartin <mike@igs.net>
Newsgroups: nu.kanga.list.mud-dev
Date: Wed, 2 Jul 2003 17:22:14 -0400
References: [1] [2] <-newest
Organization: Kanga.Nu
On July 2, 2003 12:02 pm, justice@softhome.net wrote:

> With a relatively small amount of code (under 2 printed pages),
> Rhino allows me to control exactly what classes can be
> instantiated.  Without some additional code, a watchdog prevents
> infinite loops.

I have a question: How would one write such a watchdog?  Perhaps run
the interp in its own process having a connection to the mud?  What
about a separate thread?  How could one write a sandbox thread such
that it kicks out after a certain amount of time of idle?

I'm going to allow my players access to TCL scripts (at least
builders up) and I don't want to let inf. loops and some things
through.  Another option is to have it go through an imm for
approval?

MIKE
--
Beware the JabberOrk
_______________________________________________
MUD-Dev mailing list
MUD-Dev@kanga.nu
https://www.kanga.nu/lists/listinfo/mud-dev