Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ SMAUG ➜ SMAUG coding ➜ Smaug in Russian

Smaug in Russian

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Sergey   Ukraine  (2 posts)  Bio
Date Thu 09 May 2002 11:57 PM (UTC)
Message
Help me please with Smaug code. I am porting Smaug to Russian. At present my Smaug-russian code can understand russian in playing mode (CON_PLAYING). In other words, the write_to_buffer and read_from_buffer functions is working good when I turn telnet to 8-bits mode before entering to playing mode.

The problem is: If I turn telnet to 8-bits mode before entering CON_PLAYING (for example at CON_GET_NAME etc.) then the read_from_buffer function works incorrect. The first char in input string disappears even though in English. That why I can not use russian names and russian names of classes and other. But in CON_PLAYING mode all is good if turn to 8-bits mode happens directly before CON_PLAYING!

Help me please understand possible errors!

= Sergey
Top

Posted by Cirus   (22 posts)  Bio
Date Reply #1 on Fri 07 Mar 2003 02:21 PM (UTC)
Message
hum smaug in russian
now thats an interesting idea



I don't under stand your question though
but let me see if I understand

[1.] you want your mud in russian ?
[2.] or the code in russian ?
[3.] or both?


1. change all the text outputs to russian
2. your crazy
3. your really crazy


otherwise I have no idea how you are going to do that.....

CiRuS ThE ViRuS
Star Wars Spiral Void
wildcat1245@up-link.net
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #2 on Sat 08 Mar 2003 08:47 PM (UTC)
Message
There was a very recent post about fixing the input routine (for someone doing a German SMAUG) so that it allows all characters through.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Pihhan   Czech Republic  (3 posts)  Bio
Date Reply #3 on Fri 11 Apr 2003 10:14 AM (UTC)
Message
The problem is simple he needs 8 bit input and output.
In English, 7 bit output is used, because ASCII defines first 128 characters always same, and next 128 (with 8th bit set)
are used to graphics and national characters. They is different for many codepages.

I solved it by writting my snippet called codepage. It is old now and not actual, and not for begginers. Because no one has been interested, I didnt released it again.

You can download my original snippet at http://pihhan.wz.cz/mud/snippets/codepage.rar ,but it is buggy.

If you still looking for it, cotact me: pihhan @ atlas.cz

I may guide you to apply my code to your codebase.

Creator of Zeme Prizraku
telnet://zeme-prizraku.mudy.cz:8000
Jabber: pihhan@jabber.cz
Top

Posted by Sergey   Ukraine  (2 posts)  Bio
Date Reply #4 on Fri 11 Apr 2003 07:42 PM (UTC)
Message
Thanks!

But this problem is not actual for me now.

As about last answer: correct codepage translation and 8-bit encoding was made. But problem was still existed. I have posted my question because I could not find solution for my problem.

But now we have great NW game without any problem with localization :)

Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


16,261 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.