Author | Message | Time |
---|---|---|
CrAz3D | This is the message, it IS being sent to bnet & recieved by the regular SC client, but it isn't displayed, any idea why? Maybe the » character? [quote] CrAz3D-»LIPOXAMGSF Added by:CrAz3D[xL][/quote] | February 21, 2005, 2:56 AM |
R.a.B.B.i.T | Debugoutput() it, look for nasty low-ascii characters, because » is safe to use (I use it a lot). | February 21, 2005, 4:33 AM |
CrAz3D | [quote author=rabbit link=topic=10646.msg100751#msg100751 date=1108960385] Debugoutput() it, look for nasty low-ascii characters, because » is safe to use (I use it a lot). [/quote]low-ascii? | February 21, 2005, 5:41 AM |
tA-Kane | < 32 | February 21, 2005, 8:35 AM |
CrAz3D | From what I see, my ascii characters range from 32 to 122. Any other ideas on why the SC client isn't displaying the text? | February 21, 2005, 3:58 PM |
CrAz3D | [quote author=CrAz3D link=topic=10646.msg100808#msg100808 date=1109001495] From what I see, my ascii characters range from 32 to 122. Any other ideas on why the SC client isn't displaying the text? [/quote] Hmm, all of my characters are 32 & above. EDIT: » isn't safe to use. When sending » from my REAL SC client to bnet, the bot client recieved ». » is an invalid character for bnet now. So, AFAIK, characters of 187 or higher are invalid for the SC client. I haven't tested characters lower than 187 & higher than X, but I tested a few higher than 187. | February 22, 2005, 12:33 AM |
KkBlazekK | Perhaps its just a bug in starcraft? | February 22, 2005, 12:39 AM |
TaGBaN | Its not a bug, its actually them fixing a bug. The reason color codes were ever avaiblie was from a bug. And that but also assisted in allowing those charactors. | February 22, 2005, 12:12 PM |
Quarantine | In a stupid attempt to fix colors they screwed up some chars? Lol. | February 22, 2005, 12:41 PM |
CrAz3D | Isn't that AWESOME! Go B.NET! | February 22, 2005, 3:18 PM |
Kp | No, in a successful attempt to fix colors they require you to actually emulate the client a bit better now. As was posted about several versions ago, Starcraft uses UTF8 coding of characters. Sending a bare » is wrong. You should be sending it encoded in UTF8, as Starcraft does. That it worked at all since the switch to UTF8 is arguably a bug, which is now fixed. | February 22, 2005, 10:18 PM |
CrAz3D | [quote author=Kp link=topic=10646.msg101072#msg101072 date=1109110720] No, in a successful attempt to fix colors they require you to actually emulate the client a bit better now. As was posted about several versions ago, Starcraft uses UTF8 coding of characters. Sending a bare » is wrong. You should be sending it encoded in UTF8, as Starcraft does. That it worked at all since the switch to UTF8 is arguably a bug, which is now fixed. [/quote]How would I send my text as UTF8 code? | February 22, 2005, 11:24 PM |
soLo.abUse | [quote author=CrAz3D link=topic=10646.msg101087#msg101087 date=1109114643] [quote author=Kp link=topic=10646.msg101072#msg101072 date=1109110720] No, in a successful attempt to fix colors they require you to actually emulate the client a bit better now. As was posted about several versions ago, Starcraft uses UTF8 coding of characters. Sending a bare » is wrong. You should be sending it encoded in UTF8, as Starcraft does. That it worked at all since the switch to UTF8 is arguably a bug, which is now fixed. [/quote]How would I send my text as UTF8 code? [/quote] Assuming you're using Windows, MultiByteToWideChar() and WideCharToMultiByte(). Otherwise, if you're going to use Storm.dll you could use (If I remember correctly) Storm ordinal 912. | February 22, 2005, 11:27 PM |
CrAz3D | Thank you much, I will look into that. EDIT: Would I have to send it differently for D2, W2, & W3? | February 22, 2005, 11:28 PM |
iago | [quote author=CrAz3D link=topic=10646.msg101090#msg101090 date=1109114919] Thank you much, I will look into that. EDIT: Would I have to send it differently for D2, W2, & W3? [/quote] No, they all use UTF-8 | February 23, 2005, 3:53 AM |
CrAz3D | [quote author=iago link=topic=10646.msg101143#msg101143 date=1109130797] [quote author=CrAz3D link=topic=10646.msg101090#msg101090 date=1109114919] Thank you much, I will look into that. EDIT: Would I have to send it differently for D2, W2, & W3? [/quote] No, they all use UTF-8 [/quote]Okely dokey!, Thanks | February 23, 2005, 4:04 AM |