23 Aug, 2013, Scandum wrote in the 121st comment:
Votes: 0
Here's an explanation on how to convert to html:

http://www.mudpedia.org/mediawiki/index....

And a table, of sorts.

0 style='color: #000;'>
1 style='color: #B00;'>
2 style='color: #0B0;'>
3 style='color: #BB0;'>
4 style='color: #00B;'>
5 style='color: #B0B;'>
6 style='color: #0BB;'>
7 style='color: #BBB;'>
8 style='color: #555;'>
9 style='color: #F55;'>
10 style='color: #5F5;'>
11 style='color: #FF5;'>
12 style='color: #55F;'>
13 style='color: #F5F;'>
14 style='color: #5FF;'>
15 style='color: #FFF;'>
16 style='color: #000;'>
17 style='color: #005;'>
18 style='color: #008;'>
19 style='color: #00B;'>
20 style='color: #00D;'>
21 style='color: #00F;'>
22 style='color: #050;'>
23 style='color: #055;'>
24 style='color: #058;'>
25 style='color: #05B;'>
26 style='color: #05D;'>
27 style='color: #05F;'>
28 style='color: #080;'>
29 style='color: #085;'>
30 style='color: #088;'>
31 style='color: #08B;'>
32 style='color: #08D;'>
33 style='color: #08F;'>
34 style='color: #0B0;'>
35 style='color: #0B5;'>
36 style='color: #0B8;'>
37 style='color: #0BB;'>
38 style='color: #0BD;'>
39 style='color: #0BF;'>
40 style='color: #0D0;'>
41 style='color: #0D5;'>
42 style='color: #0D8;'>
43 style='color: #0DB;'>
44 style='color: #0DD;'>
45 style='color: #0DF;'>
46 style='color: #0F0;'>
47 style='color: #0F5;'>
48 style='color: #0F8;'>
49 style='color: #0FB;'>
50 style='color: #0FD;'>
51 style='color: #0FF;'>
52 style='color: #500;'>
53 style='color: #505;'>
54 style='color: #508;'>
55 style='color: #50B;'>
56 style='color: #50D;'>
57 style='color: #50F;'>
58 style='color: #550;'>
59 style='color: #555;'>
60 style='color: #558;'>
61 style='color: #55B;'>
62 style='color: #55D;'>
63 style='color: #55F;'>
64 style='color: #580;'>
65 style='color: #585;'>
66 style='color: #588;'>
67 style='color: #58B;'>
68 style='color: #58D;'>
69 style='color: #58F;'>
70 style='color: #5B0;'>
71 style='color: #5B5;'>
72 style='color: #5B8;'>
73 style='color: #5BB;'>
74 style='color: #5BD;'>
75 style='color: #5BF;'>
76 style='color: #5D0;'>
77 style='color: #5D5;'>
78 style='color: #5D8;'>
79 style='color: #5DB;'>
80 style='color: #5DD;'>
81 style='color: #5DF;'>
82 style='color: #5F0;'>
83 style='color: #5F5;'>
84 style='color: #5F8;'>
85 style='color: #5FB;'>
86 style='color: #5FD;'>
87 style='color: #5FF;'>
88 style='color: #800;'>
89 style='color: #805;'>
90 style='color: #808;'>
91 style='color: #80B;'>
92 style='color: #80D;'>
93 style='color: #80F;'>
94 style='color: #850;'>
95 style='color: #855;'>
96 style='color: #858;'>
97 style='color: #85B;'>
98 style='color: #85D;'>
99 style='color: #85F;'>
100 style='color: #880;'>
101 style='color: #885;'>
102 style='color: #888;'>
103 style='color: #88B;'>
104 style='color: #88D;'>
105 style='color: #88F;'>
106 style='color: #8B0;'>
107 style='color: #8B5;'>
108 style='color: #8B8;'>
109 style='color: #8BB;'>
110 style='color: #8BD;'>
111 style='color: #8BF;'>
112 style='color: #8D0;'>
113 style='color: #8D5;'>
114 style='color: #8D8;'>
115 style='color: #8DB;'>
116 style='color: #8DD;'>
117 style='color: #8DF;'>
118 style='color: #8F0;'>
119 style='color: #8F5;'>
120 style='color: #8F8;'>
121 style='color: #8FB;'>
122 style='color: #8FD;'>
123 style='color: #8FF;'>
124 style='color: #B00;'>
125 style='color: #B05;'>
126 style='color: #B08;'>
127 style='color: #B0B;'>
128 style='color: #B0D;'>
129 style='color: #B0F;'>
130 style='color: #B50;'>
131 style='color: #B55;'>
132 style='color: #B58;'>
133 style='color: #B5B;'>
134 style='color: #B5D;'>
135 style='color: #B5F;'>
136 style='color: #B80;'>
137 style='color: #B85;'>
138 style='color: #B88;'>
139 style='color: #B8B;'>
140 style='color: #B8D;'>
141 style='color: #B8F;'>
142 style='color: #BB0;'>
143 style='color: #BB5;'>
144 style='color: #BB8;'>
145 style='color: #BBB;'>
146 style='color: #BBD;'>
147 style='color: #BBF;'>
148 style='color: #BD0;'>
149 style='color: #BD5;'>
150 style='color: #BD8;'>
151 style='color: #BDB;'>
152 style='color: #BDD;'>
153 style='color: #BDF;'>
154 style='color: #BF0;'>
155 style='color: #BF5;'>
156 style='color: #BF8;'>
157 style='color: #BFB;'>
158 style='color: #BFD;'>
159 style='color: #BFF;'>
160 style='color: #D00;'>
161 style='color: #D05;'>
162 style='color: #D08;'>
163 style='color: #D0B;'>
164 style='color: #D0D;'>
165 style='color: #D0F;'>
166 style='color: #D50;'>
167 style='color: #D55;'>
168 style='color: #D58;'>
169 style='color: #D5B;'>
170 style='color: #D5D;'>
171 style='color: #D5F;'>
172 style='color: #D80;'>
173 style='color: #D85;'>
174 style='color: #D88;'>
175 style='color: #D8B;'>
176 style='color: #D8D;'>
177 style='color: #D8F;'>
178 style='color: #DB0;'>
179 style='color: #DB5;'>
180 style='color: #DB8;'>
181 style='color: #DBB;'>
182 style='color: #DBD;'>
183 style='color: #DBF;'>
184 style='color: #DD0;'>
185 style='color: #DD5;'>
186 style='color: #DD8;'>
187 style='color: #DDB;'>
188 style='color: #DDD;'>
189 style='color: #DDF;'>
190 style='color: #DF0;'>
191 style='color: #DF5;'>
192 style='color: #DF8;'>
193 style='color: #DFB;'>
194 style='color: #DFD;'>
195 style='color: #DFF;'>
196 style='color: #F00;'>
197 style='color: #F05;'>
198 style='color: #F08;'>
199 style='color: #F0B;'>
200 style='color: #F0D;'>
201 style='color: #F0F;'>
202 style='color: #F50;'>
203 style='color: #F55;'>
204 style='color: #F58;'>
205 style='color: #F5B;'>
206 style='color: #F5D;'>
207 style='color: #F5F;'>
208 style='color: #F80;'>
209 style='color: #F85;'>
210 style='color: #F88;'>
211 style='color: #F8B;'>
212 style='color: #F8D;'>
213 style='color: #F8F;'>
214 style='color: #FB0;'>
215 style='color: #FB5;'>
216 style='color: #FB8;'>
217 style='color: #FBB;'>
218 style='color: #FBD;'>
219 style='color: #FBF;'>
220 style='color: #FD0;'>
221 style='color: #FD5;'>
222 style='color: #FD8;'>
223 style='color: #FDB;'>
224 style='color: #FDD;'>
225 style='color: #FDF;'>
226 style='color: #FF0;'>
227 style='color: #FF5;'>
228 style='color: #FF8;'>
229 style='color: #FFB;'>
230 style='color: #FFD;'>
231 style='color: #FFF;'>
232 style='color: rgb(8,8,8);'>
233 style='color: rgb(18,18,18);'>
234 style='color: rgb(28,28,28);'>
235 style='color: rgb(38,38,38);'>
236 style='color: rgb(48,48,48);'>
237 style='color: rgb(58,58,58);'>
238 style='color: rgb(68,68,68);'>
239 style='color: rgb(78,78,78);'>
240 style='color: rgb(88,88,88);'>
241 style='color: rgb(98,98,98);'>
242 style='color: rgb(108,108,108);'>
243 style='color: rgb(118,118,118);'>
244 style='color: rgb(128,128,128);'>
245 style='color: rgb(138,138,138);'>
246 style='color: rgb(148,148,148);'>
247 style='color: rgb(158,158,158);'>
248 style='color: rgb(168,168,168);'>
249 style='color: rgb(178,178,178);'>
250 style='color: rgb(188,188,188);'>
251 style='color: rgb(198,198,198);'>
252 style='color: rgb(208,208,208);'>
253 style='color: rgb(218,218,218);'>
254 style='color: rgb(228,228,228);'>
255 style='color: rgb(238,238,238);'>


For a test mud you can try: slackhalla.org 6969 and type 'help test' after login.
23 Aug, 2013, Natilena wrote in the 122nd comment:
Votes: 0
plamzi said:
Skol said:
When I press Play, nothing.
I didn't see any errors, but I didn't have a debugger on.
I didn't try logging out.
Clean worked! But it goes directly to the telnet window, none of hte other game links or trigger/etc.
- Dave.


Guys, can anyone else reproduce the issue Skol is seeing in Chrome with incognito mode off?

The URL is:
http://www.mudportal.com/play?host=ansal...

You should be seeing the Game Center window in the background, and a Scroll Window for Arcane Nites in the foreground.

If you don't see that, let me know if there are any JavaScript errors on the page.

Try this logged in and as guest, if you can.

Your help is appreciated.



Tried the Ansalon link. Worked.
Tried my own link http://www.mudportal.com/play?host=mud.f.... No workie.

This is the message in the console:
Object {id: "18", application_id: "1", type: "article", name: "Adventures Unlimted", alias: "adventures-unlimted"}
ControlPanel.js?v=18:67
Uncaught TypeError: Cannot read property 'The Final Challenge' of undefined ControlPanel.js?v=18:143
FB.getLoginStatus() called before calling FB.init().


Logged out (forgot I was still logged in) and tried again and it worked fine.

Also, the incognito window did work while logged in.
24 Aug, 2013, Rarva.Riendf wrote in the 123rd comment:
Votes: 0
There was some tests made to find fallback colors so there must be the code somewhere. You shoudl really PM KaVir, I am pretty sure he has that.

Hah, found the thread about colors:
http://www.mudbytes.net/index.php?a=topi...
24 Aug, 2013, plamzi wrote in the 124th comment:
Votes: 0
Scandum said:
Here's an explanation on how to convert to html:

http://www.mudpedia.org/mediawiki/index....

And a table, of sorts.

table


For a test mud you can try: slackhalla.org 6969 and type 'help test' after login.


Now that's what I call an assist ;) Thanks, Scandum!

Xterm 256 Colors support is live.

I believe this can't be negotiated reliably OOB and has to be turned on by the user. Correct me if I'm wrong and I'll stick it into an OOB value.

BTW, the client now identifies itself as mudportal.com and even send the user IP via consecutive TTYPE calls. Same via GMCP. Will add MSDP one of these days.

Natilena's bug report looks promising. Will dig into that next.

Thanks to everyone who is helping with this!
24 Aug, 2013, Scandum wrote in the 125th comment:
Votes: 0
Using MTTS you can communicate 256 color support. It also tries to standardize the sending of IP data.

Have you considered adding text to speech support? It would make MUDs accessible, especially if MUDs can debug their games using your site. And yes, you can negotiate that a screenreader is in use using MTTS as well. :P
24 Aug, 2013, plamzi wrote in the 126th comment:
Votes: 0
Scandum said:
Using MTTS you can communicate 256 color support. It also tries to standardize the sending of IP data.

Have you considered adding text to speech support? It would make MUDs accessible, especially if MUDs can debug their games using your site. And yes, you can negotiate that a screenreader is in use using MTTS as well. :P


It seems that I can't use MTTS to report "yes" to XTERM 256, but "no" to VT100.

I don't think I'll ever worry about supporting the full VT100. So I think I'll just stick the site name into the first TTYPE and let folks on the other end decide how best to handle it. Should be enough for anyone who is serious about making the most out of the web app.

Text-to-speech support in a browser app seems to be mostly the work of the OS. So far, it sounds iffy in Windows, especially with fast-changing web content. I'll research it more when users come and request it. Hopefully by then things will work better.
24 Aug, 2013, Scandum wrote in the 127th comment:
Votes: 0
plamzi said:
It seems that I can't use MTTS to report "yes" to XTERM 256, but "no" to VT100.

You can by reporting MTTS <bitvector> on the third TTYPE request. If you want to report ANSI, 256 COLORS, UTF-8, and that it's a PROXY you would send: MTTS 141

You can also report ANSI-256COLOR on the second TTYPE request, but there's no guarantee MUDs will understand what you mean with that.

Adding proper VT100 support is probably not worth you time. Text to speech is more so something you have to add and advertise to blind internet communities, assuming you can guarantee a reasonable experience.
24 Aug, 2013, plamzi wrote in the 128th comment:
Votes: 0


Some low-hanging fruit: I've ported and published Bedlam's graphical status bar module.

For now, the module is driven only by GMCP that reports character status in the Aardwolf format. However, you can make a copy of it from "Examples" and modify it to get its data from someplace else. As a reminder, ACTP, MSDP, MXP, (and RegEx :) are all supported.

You can see it at work when you access Bedlam through the Portal app.
24 Aug, 2013, KaVir wrote in the 129th comment:
Votes: 0
plamzi said:
I believe this can't be negotiated reliably OOB and has to be turned on by the user. Correct me if I'm wrong and I'll stick it into an OOB value.

My snippet (and by extension any mud using it) cycles through TTYPEs, if one ends in "-256color" then it automatically enables xterm 256 color.

TinTin and BlowTorch both identify their client name with the first TTYPE, and 256 colours with the second.
24 Aug, 2013, Hades_Kane wrote in the 130th comment:
Votes: 0
KaVir's snippet does an auto correction from 256 to 16, but I went through and basically hand mapped the ones I thought were closer and for what works best in my game….

AAAAnd I just noticed there were more posts after this… I was gonna do a bunch of screenshots of it in my game along with how I mapped them, and an offer to come into the game and see some of the areas that's used it, and so on… but I see Scandum provided probably better than I could :)
24 Aug, 2013, plamzi wrote in the 131st comment:
Votes: 0
KaVir said:
plamzi said:
I believe this can't be negotiated reliably OOB and has to be turned on by the user. Correct me if I'm wrong and I'll stick it into an OOB value.

My snippet (and by extension any mud using it) cycles through TTYPEs, if one ends in "-256color" then it automatically enables xterm 256 color.

TinTin and BlowTorch both identify their client name with the first TTYPE, and 256 colours with the second.


So it sounds like this would please everyone?

TTYPE:
"mudportal.com 1.0", "ANSI-256COLOR", "MTTS 141"

Next step for the socket connection would be to see if I can pull off transparent MCCP streaming from the host to the client (obviously, I'd rather not decompress and re-compress at the proxy). I'll have to be in the tinkering mood for that, though. Tried it once before–it's not going to be a quick add.
24 Aug, 2013, Scandum wrote in the 132nd comment:
Votes: 0
plamzi said:
So it sounds like this would please everyone?

TTYPE:
"mudportal.com 1.0", "ANSI-256COLOR", "MTTS 141"

Only use 141 if your client supports UTF-8. If it doesn't you'd have to use MTTS 137. If a player can explicitly disable color / utf-8 on the client side MTTS would have to reflect that as well.

There's also this snippet for 256 color support for those interested in TinTin++ style 256 color codes: http://www.mudbytes.net/file-2596
24 Aug, 2013, Hades_Kane wrote in the 133rd comment:
Votes: 0
Just a heads up something funky is going on with the 256 colors. This is the output from my game's "colorlist" command:



Any other info I need to provide, let me know and I'll be happy to.
24 Aug, 2013, plamzi wrote in the 134th comment:
Votes: 0
Hades_Kane said:
Just a heads up something funky is going on with the 256 colors. This is the output from my game's "colorlist" command:

Any other info I need to provide, let me know and I'll be happy to.


Fixed. It was due to 0-padding. Do you know if, e. g. both 

Fixed. It was due to 0-padding. Do you know if, e. g. both  and  are acceptable?

Anyone have a handy place for testing UTF-8 support?
24 Aug, 2013, Hades_Kane wrote in the 135th comment:
Votes: 0
We have it in limited use… primarily on our who list which will show a (\) for no PK, a check mark for yes, and the male/female/neutral gender symbols.

If it would help, I could make a helpfile that had a whole bunch of unicode characters, so then someone could just 'help unisymbols' or something and they would pop up. Would that help, or would my who list help? Or are neither what you are after?

On the 256 color, you see the very bottom of my previous screenshot where the color is messed up, there is an odd line break, whatnot? That is still happening, but the color on everything else looks good :)
24 Aug, 2013, plamzi wrote in the 136th comment:
Votes: 0
Would be nice to have a help command, thanks.

The codes breaking probably happens everytime there's a network package split in the middle of an ASCII escape sequence. I'll take care of it when I have more time, tonight I hope.
24 Aug, 2013, Lyanic wrote in the 137th comment:
Votes: 0
Why does everyone report all the bugs with the MUD Portal client here instead of the forum created for it? So lazy… :-p
24 Aug, 2013, Scandum wrote in the 138th comment:
Votes: 0
plamzi said:
Fixed. It was due to 0-padding. Do you know if, e. g. both
Fixed. It was due to 0-padding. Do you know if, e. g. both [38;5;001m and [38;5;1m are acceptable?[/quote]
In theory [38;5;001m is valid, in practice it might break some clients.

For UTF-8 connect to mud.kharkov.org 8888 and enter 5 for UTF-8.
29 Aug, 2013, plamzi wrote in the 139th comment:
Votes: 0
'twas torturous but UTF-8 support is ready :) The Russian server welcome screen and HK's who list look good, but of course any testing appreciated.

Does anyone know of a game that uses ANSI background colors heavily?
29 Aug, 2013, donky wrote in the 140th comment:
Votes: 0
Nope, but if you get a day when you want a real challenge, please support the Amiga ANSI codes :-D
120.0/279