Archived copy of warcraft-source.com, the Warcraft: Source (WCS) forum (2007–2011), rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2010-03-30 (original capture). Home · Forum · All archived topics · Downloads

Author Topic: race name in russian  (Read 257 times)

Offline G-nom

  • Level 0 Beginner
  • Posts: 5
race name in russian
« on: February 04, 2010, 10:41:39 PM »
q all
Prompt how I can change a name of race displayed for the player?
I have tried to change a name in file "Human Alliance.py" from
Code: [Select]
raceName = ' Human Alliance ' in
Code: [Select]
raceName = ' ??????'As a result at start eventscripts swears and speaks
Code: [Select]
Non-ASCII character
my wcs python server is here g1.lealta.ru:27015

Offline Atobos | Termi

  • Level 7 Expert
  • *****
  • Posts: 186
    • Atobos
Re: race name in russian
« Reply #1 on: February 05, 2010, 05:06:11 PM »
Hey, russian characters are not listed in the ASCII-List. The ASCII-List is a list where all characters ( a-z and 0-9 and some others.. here is it: http://www.asciitable.com/) are listed. The pc converts the thing you write into a binary code. E.g. A(capitalized a !) = --->01000001 <--- is binary (you would say: 65 ^^). And if you tipe russian characters(not listed in the ASCII-list) the pc can't find it and give you back the error. Hope i could help =).

We come back to the numer 0100 0001(65 as example --> A, ! we begin at the right side !) the first number is 1, the second 2, the 3rd 4, the 4th 8, the 5th 16. the 6th 32, the 7th 64... and so on. You now the RAM(Random Acess Memory) ?? It is the same... like 16 bit... 32 bit... 64.. 128... 256...
« Last Edit: February 05, 2010, 05:23:21 PM by Atobos | Termi »

Offline G-nom

  • Level 0 Beginner
  • Posts: 5
Re: race name in russian
« Reply #2 on: February 06, 2010, 02:27:33 PM »
Better to say to make names on russian it will not turn out in any way. It is sad. Thanks.
my wcs python server is here g1.lealta.ru:27015

Offline Atobos | Termi

  • Level 7 Expert
  • *****
  • Posts: 186
    • Atobos
Re: race name in russian
« Reply #3 on: February 06, 2010, 02:39:31 PM »
no problem... i think it is not possible to make russian names on the server

Offline <---Texno--->

  • Level 7 Expert
  • *****
  • Posts: 1004
  • < Need Help ? >
    • Zero-Asylum !
Re: race name in russian
« Reply #4 on: February 06, 2010, 02:58:26 PM »
It should be... seen it inn other russian servers.

Offline G-nom

  • Level 0 Beginner
  • Posts: 5
Re: race name in russian
« Reply #5 on: February 06, 2010, 07:25:01 PM »
It should be... seen it inn other russian servers.

i have not seen russian races on 0.8.7 python servers... i understand so, that ASCII are not support unicode, like utf-8, characters or i wrong?
Quote
no problem... i think it is not possible to make russian names on the server

i cant understand this  ???
my wcs python server is here g1.lealta.ru:27015

Offline Atobos | Termi

  • Level 7 Expert
  • *****
  • Posts: 186
    • Atobos
Re: race name in russian
« Reply #6 on: February 06, 2010, 10:58:42 PM »
You said thanks and i said "no problem" :P... and i think it is NOT possible to make russian names... look at the ASCII-List texno... hmm i'm going to google this... w8 a moment :D

Offline G-nom

  • Level 0 Beginner
  • Posts: 5
Re: race name in russian
« Reply #7 on: February 06, 2010, 11:41:21 PM »
i am not strong in python, so i cant  understand why not to use utf-8? :D
my wcs python server is here g1.lealta.ru:27015

Offline Atobos | Termi

  • Level 7 Expert
  • *****
  • Posts: 186
    • Atobos
Re: race name in russian
« Reply #8 on: February 07, 2010, 12:06:46 AM »
Google told me nothing :/
I don't know anything about python, just something about the ASCII-list and the binary-system :D, so i can't tell you if it would be possible to let them use utf-8 ^^
« Last Edit: February 07, 2010, 12:08:23 AM by Atobos | Termi »

Offline G-nom

  • Level 0 Beginner
  • Posts: 5
Re: race name in russian
« Reply #9 on: February 07, 2010, 12:28:29 AM »
Whether and here it will be interesting to work if a file to recode in utf8 and to start mod with it?
 It would be necessary to try at a leisure...

By the way interestingly what the developer about it thinks? :)
my wcs python server is here g1.lealta.ru:27015