Re: PHP as a MUD engine?

From: Date: Wed, 17 Jan 2001 00:05:48 +0000
Subject: Re: PHP as a MUD engine?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-34929@lists.php.net to get a copy of this message
On Tue, 16 Jan 2001, Daniel Grace wrote: > Yes, I know this sounds crazy, but think about it. > > I've often pondered the feasibility of using PHP as a MUD engine. While it > would probably not run nearly as fast as something implemented in C/C++, it > would have a lot of flexibility: > > - Changes to the common code wouldn't neccessarily have to require a restart > of the MUD engine but could be implemented on-the-fly. > - Rooms, characters, items, etc. could use all the power of PHP's scripting > language. This means you can a complex scripting language for them. > - We get PHP's flexibility with dealing with strings, etc. > - We don't have to worry about malloc() and free() in C -- less potential > memory leaks. > > The biggest issue would be maintaining security, as using PHP to handle room > scripts means that anyone who builds for the MUD would be able to run PHP > code on the server. You can only imagine what would happen if someone put an > exit; in their script, or if the script had errors in syntax. Well as using a script language to make a MUD engine, I had both played and made one a couple of years ago (well it's about 10 years). They ran on IBM mainframes using REXX over the late BITNET :) As using PHP to do this you had the strenght to use their DB support and use SQL to implement lots of thinks! Well... take a look at this site: www.astronest.com it isn't a MUD and I didn't know if it is made with PHP, but it's an online game that run on HTML :) Antonio +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Antonio S. Martins Jr. - System Analist | "Only The Shadow Knows | | WorldNet Internet Maringa - PR - Brasil | what evil lurks in the | | E-Mail: shadow@wnet.com.br | Heart of Men!" | | shadow@uem.br | !!! Linux User: 52392 !!! | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ This e-mail message is 100% Microsoft free! /"\ \ / CAMPANHA DA FITA ASCII - CONTRA MAIL HTML X ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL / \

« previous php.general (#34929) next »