Implement MUD-relevant Telnet capabilities into server.
bbuck opened this issue · 10 comments
Refer to https://www.reddit.com/r/MUD/comments/53jpc3/does_a_mud_server_need_to_support_telnetproper/ for suggested Telnet features to directly support.
I'm interested in having a go at this one. How much do you think you want to support?
For convenient future reference, the above thread links to Telnet for Humans which links to pc micro's Telnet writeup.
Eventually I'd like to be feature complete, for now, recognizing all Telnet messages and ignoring them (save for echo) is probably sufficient.
Sounds like a good starting point. It might be a couple of weeks before my current projects wind down, but I'll start putting together a recognizer.
I'd also like to implement CHARSET negotiation for UTF-8. It's free server-side because Go (not as familiar with Lua's support though,) and localization seems like a nice feature for an engine like this.
The Lua engine I'm using is pure Go, we get UTF-8 there for free. I'd like Charset too. Being able to use unicode would be really nice for some text UI.
Good call.
Thoughts on opting for a dependency? https://github.com/reiver/go-telnet seems to have a relatively thorough implementation, including TELNETS support. I'll have to dig around a bit to get a feel for how much work would be needed to convert the existing network code in dragon.
I think it's fine for a starting point.
Cool. My current contract ends Friday, expect to be on this next week. I'll start by figuring out how hard the transition to go-telnet
will be.
Slightly off topic -- eventually my goal is provide all custom tools, like our own Lua engine (preferably one that supports that Lua 5.3 and those new features) as well as other aspects. But round 1 is to get the POC done so it can start being used (my whole motivation is to build a game off of this platform). So right now, whatever gets us up and running sooner rather than later is totally fine.
Yeah, something that would be really helpful would be having a basic application that shows how one would use the framework. Since MUD's aren't the only development target, could try building something simpler.
Yea, the goal is to have tutorials like an Echo server, a simple chat program, maybe a text BBS, a basic game, etc...