Re: [PHP] PHP telnet server




I often thought PHP would be a nice language for a MUD, if one could get the performance out of it...

'Course you could always write some of the heaviest bits as extensions...

Anyway, I don't think you need the connections to be "shared" in any special way.

Just update your data store and spew out whatever 'diff' you need to for anybody viewing the same room/object.

But maybe that's just the stupid way to write a MUD.

.



Relevant Pages

  • Re: [PHP] PHP telnet server
    ... I'm trying to rewrite an old MUD in PHP; the reasons for this are that the ... Surely the point of a MUD is that the requests are shared? ... I also looked up telnet servers in PHP on google quite extensively, ... I kept my MUD in C though and created my own scripting engine for it... ...
    (php.general)
  • Re: [PHP] PHP telnet server
    ... Luke Slater wrote: ... So I was looking at sockets in PHP, ... Surely the point of a MUD is that the requests are shared? ... I also looked up telnet servers in PHP on google quite extensively, ...
    (php.general)
  • PHP telnet server
    ... I'm trying to rewrite an old MUD in PHP; the reasons for this are that the original is written in C and most files in the codebase run over 2000 lines with at least 20 of them, which makes it very hard to change anything. ... I also looked up telnet servers in PHP on google quite extensively, and there seems to be no real information out there? ...
    (php.general)
  • Re: [PHP] PHP telnet server
    ... I often thought PHP would be a nice language for a MUD, ... Design your code such that you can just throw more hardware at it ...
    (php.general)
  • Re: [PHP] PHP telnet server
    ... I often thought PHP would be a nice language for a MUD, if one could get the performance out of it... ... Customize your PHP --- trim out extensions you don't need, ...
    (php.general)