ID:152355
 
Hrmph! I've been working on a text MUD (accessible via BYOND & telnet). In this MUD, the "map" is displayed in the text window like so:

You're standing on a patch of grass.

#############
####'-,"'####
###-=.'...###
##~=~'"."".##
#-~==".','."#
#=-=,"'.',,.#
#-=-""@."",'#
#==-','"",'.#
#=-=,"'"'T.,#
##'~",.'.,"##
###"'.'.""###
####,',".####
#############

Health: [==========] 100%
Magic: [==========] 100%
Experience: [----------] 0%


The only problem is, when I move a few times, the text window will scroll crazily while it sends the map data, making it look all flickery =( The first few steps it doesn't do this, though.

Any ways I can change this?
Koil wrote:
Any ways I can change this?

If you're talking about the text window in DS, no. As I've alluded to before, its insanely slow and bad for that. You simply have to use the real map window, if you want a map in DS.

I don't know why the text window behaves so badly, perhaps someone can explain this? Its a pain, to say the least.
In response to Alathon
On another note, I absolutely CAN NOT make my game accessible via telnet! I've tried EVERYTHING.
client
Command(T as command_text)

will NOT work like everyone says it will.

I get the (Hit enter to continue.) so I do, and then I enter commands that I would think would go to Command(), but they don't, as nothing happens.

What on earth am I doing wrong? >_>
In response to Koil
Try this instead:

client
command_text = "> "

Command(cmd as text)
...


Lummox JR
In response to Lummox JR
Yeah, that actually works. But then telnet doesn't display your commands as you type them. :\
In response to Kaioken
Kaioken wrote:
Yeah, that actually works. But then telnet doesn't display your commands as you type them. :\

You can always turn on echo in your telnet client.

Lummox JR
In response to Lummox JR
<small>((note, I mean I don't see the command as I type it, not after it's sent. Using MS Telnet.))</small>

Haven't looked into it, but the point is only using your posted code I don't see the commands for some reason, when using something like Koil's I see them.
But really, why doesn't it work without command_text == "> "? It should. And does the 'as X' actually matter?
In response to Kaioken
Kaioken wrote:
<small>((note, I mean I don't see the command as I type it, not after it's sent. Using MS Telnet.))</small>

Nothing to do with DM.
Thats just MS Telnet.
In response to Kaioken
Kaioken wrote:
((note, I mean I don't see the command as I type it, not after it's sent. Using MS Telnet.))

That's what I meant about turning on echo. That's a function of your telnet client.

Haven't looked into it, but the point is only using your posted code I don't see the commands for some reason, when using something like Koil's I see them.

No idea why that would be, but the telnet client is what chooses whether you see an echo or not.

Lummox JR