Jump to content

MX_Master

Members
  • Posts

    1,967
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by MX_Master

  1. Up to date CEGUI can load fonts with their glyths dinamically. I saw some examples on their offiacial wiki. And what about languages list?
  2. Another question to all: If we will load all of unicode glyths for all MTA fonts, MTA client will need ~1 Gb of RAM !! At this momonet i don't know how to load CEGUI fonts dinamically. We need to load at client startup just some of unicode glyths and not for all MTA fonts. I think, for most used fonts like Tahoma, Verdana (used for GUI windows) we must load some custom ranges of glyths. For SA GOTHICS and sans, i think, we can load only this glyths range 32..127 (from ASCII). I just want to know which languages MTA must support? Also i want to know which glyths ranges we must load? For example, russian glyths range is 1040..1103.
  3. earlier it was in downloads section of googlecode, but now there is not last net module Also you can download any nightly build, just open it by 7-Zip and get a list of packed files. Choose net modules and extract them to your `mta` and `server` folders
  4. My dev priority was pointed only to unicode support in CEGUI. Only after this we can make something like own custom chatboxes with unicode support. Unicode identifiers mainly is not so important for mta scripters, because lua/mta functions is not so hard to remember. I think that lua/mta identifiers must use only ASCII. It will granted better understanding of lua code for other scripters. About UTF8 and UTF16: UTF8 is more preferable. UTF8 strings which uses only ASCII chars looks exactly like ASCII strings (same size, same chars). UTF16 uses for any char - two bytes, even for ASCII char. UTF8 uses for ASCII char - only 1 byte, for unicode chars - from 1 to 6 bytes
  5. I was interested in inplementing unicode support to MTA one week ago and i have some progress at this moment. I just want to ask.. is there anybody else, who also works on this MTA feature at this moment? May be we must to unite our efforts.. Just one thing, i'm PHP programmer and that is why i asking for C++ help. In ideal way we will get unicode support, which allow to use any chars. For example, if we want to use unicode chars in lua scripts, we must to save our scripts in UTF8 encoding, that's all (: Here is my small plan for implementing unicode support: (done) - 100% Safety unlock of unicode symbols ranges for all of standart MTA fonts. MTA uses TAHOMA, TAHOMA BOLD, VERDANA, own SANS font, own GTA GOTHIC font, own GTA HEADER font. . (done) - 100% Change CEGUI's chars injecting mechanism to another one, which can convert client keyboard's 1-byte keys to unicode chars (UTF16, unsigned int) knowing client's active keyboard layout. . (done) - 100% Change CEGUI's strings displaing mechanism to another one, which can convert input text from UTF8 encoding to UTF16 (unsigned int) . (just planned) - 0% Looking for chat displaing mechanism and add some info about chat's unicode support in this text. Only one thing i know at this moment, that in chat now we can type chars with code ranges >= 32. Any good comments and C++ help will be great. P.S.: my original language is russian Also i want to show some test screens: http://www.mxgames.kz/images/2010-05-14_222350.jpg http://www.mxgames.kz/images/2010-05-16_232759.jpg (new) http://mxgames.kz/images/2010-07-07_211358.jpg (new) http://mxgames.kz/images/2010-07-08_104334.jpg
  6. SOLUTION in nearest topic here - https://forum.multitheftauto.com/viewtop ... 06&t=26103
  7. You must have latest "libstdc++.so.6.0.9" to avoid this error. There is attached file (it's GZ archive) in my post. Place "libstdc++.so.6.0.9" file and two links into /lib and /usr/lib. If you want to make symbolic link by yourself, just place there only "libstdc++.so.6.0.9", remove any "libstdc++.so.6" links and make this console actions: ln -s /usr/lib/libstdc++.so.6.0.9 /usr/lib/libstdc++.so.6 ln -s /usr/lib/libstdc++.so.6.0.9 /lib/libstdc++.so.6
  8. if you have yum installer, just install/update pcre and pcre-devel yum install pcre yum install pcre-devel than open /usr/lib directory and find there "libpcre.so.3". If it founded you are done. If no such file ("libpcre.so.3") there, just find any file (not link) which name starts from "libpcre.so" (for example - libpcre.so.0.0.1, libpcre.so). Make a symbolic links to it for /lib and /usr/lib : ln -s /usr/lib/libpcre.so.0.0.1 /usr/lib/libpcre.so.3 ln -s /usr/lib/libpcre.so.0.0.1 /lib/libpcre.so.3 if no "libpcre.so.X.X.X" files in /usr/lib you can find it in /lib. After this make some think like this ln -s /lib/libpcre.so.0.0.1 /usr/lib/libpcre.so.3 ln -s /lib/libpcre.so.0.0.1 /lib/libpcre.so.3 and you are done. If some problems still here, you can make same actions for file start with "libpcreposix.so".
×
×
  • Create New...