Vice City: Multiplayer

VC:MP Discussion => General Discussion => Topic started by: Mötley on May 16, 2016, 07:03 PM

Title: Symbols in the chat[Request]
Post by: Mötley on May 16, 2016, 07:03 PM
Okay so I got around to multi-language when I realized that symbols do not work

Example in Russian
ÂËÀÄÅËÅÖ

English
Owner
*I should be correct

The chat is clear. Nothing

Even with hotkeys of Alt+0189 which is ½ does not work in the chat in client side game-play.

I would like to request support as this is helpful in multi-language servers
Title: Re: Symbols in the chat[Request]
Post by: . on May 16, 2016, 07:15 PM
VCMP is ASCII only. This topic was debated many times.
Title: Re: Symbols in the chat[Request]
Post by: Mötley on May 16, 2016, 07:20 PM
Ahh.. Sad though means crappy language support,
I will just choose Spanish then as Russian is complicated without any symbols...

*Thanks S.L.C
Title: Re: Symbols in the chat[Request]
Post by: vito on May 16, 2016, 08:27 PM
You can use "translit" for russian, try http://translit.net/
I can help you (via PM) with russian if you need.
Title: Re: Symbols in the chat[Request]
Post by: Mötley on May 16, 2016, 09:37 PM
Quote from: vito on May 16, 2016, 08:27 PMYou can use "translit" for russian, try http://translit.net/
I can help you (via PM) with russian if you need.

EEK!!! This is better than the way I tried learning THANK YOU!
Title: Re: Symbols in the chat[Request]
Post by: Kewun on May 17, 2016, 06:21 AM
why not installing chat font with cyryllic support?

i remember that way worked in liberty unleashed.
Title: Re: Symbols in the chat[Request]
Post by: Anik on May 17, 2016, 08:08 AM
@ysc3839  is developing a plugin for that. He will release it soon. Keep Waiting.
Title: Re: Symbols in the chat[Request]
Post by: ysc3839 on May 21, 2016, 03:29 AM
Quote from: Anik on May 17, 2016, 08:08 AM@ysc3839  is developing a plugin for that. He will release it soon. Keep Waiting.
Yes. But currently it doesn't support multi-language input. It only can show multi-language characters in chat.
Title: Re: Symbols in the chat[Request]
Post by: Brian on May 21, 2016, 03:55 AM
Why isn't vcmp supporting unicode anyway? Quite curious now as to why.
Title: Re: Symbols in the chat[Request]
Post by: ysc3839 on May 21, 2016, 08:46 AM
Quote from: Brian on May 21, 2016, 03:55 AMWhy isn't vcmp supporting unicode anyway? Quite curious now as to why.
Maybe developers don't have time.
Title: Re: Symbols in the chat[Request]
Post by: KAKAN on May 21, 2016, 09:27 AM
Quote from: ysc3839 on May 21, 2016, 08:46 AM
Quote from: Brian on May 21, 2016, 03:55 AMWhy isn't vcmp supporting unicode anyway? Quite curious now as to why.
Maybe developers don't have time.
They don't want to do it, they're trying to fix the other bugs which are needed to fix( though they're not doing this too :P )
They may have this in their list, but, but with a low priority.
Title: Re: Symbols in the chat[Request]
Post by: Stormeus on May 21, 2016, 01:09 PM
None of the above is really correct.

To draw text in VC:MP, we have to draw fonts onto a big bitmap containing every character in the character set we want to use. This allows us to draw text rather quickly. However, to use Unicode text, we'd have to load all Unicode characters into the bitmap, which would certainly exhaust memory all the time.

It's sort of a technical debt since not only do we have to change how we render text (while maintaining speed), we would also have to modify a ton of existing code to use Unicode, and would probably have to require plugin recompilation again.

Plus, I'm not sure Vice City itself even supports Unicode fully, so mixing game functions like Announce/GameMessage with a Unicode server and client would kinda suck. Plus we would certainly have to adopt a third-party library, or else we'd be stuck with a huge burden of determining what Unicode characters to disallow, and figuring out how to render stuff like RTL text, and even with a library this could get complicated.
Title: Re: Symbols in the chat[Request]
Post by: ysc3839 on May 21, 2016, 01:22 PM
Quote from: Stormeus on May 21, 2016, 01:09 PMNone of the above is really correct.

To draw text in VC:MP, we have to draw fonts onto a big bitmap containing every character in the character set we want to use. This allows us to draw text rather quickly. However, to use Unicode text, we'd have to load all Unicode characters into the bitmap, which would certainly exhaust memory all the time.

It's sort of a technical debt since not only do we have to change how we render text (while maintaining speed), we would also have to modify a ton of existing code to use Unicode, and would probably have to require plugin recompilation again.

Plus, I'm not sure Vice City itself even supports Unicode fully, so mixing game functions like Announce/GameMessage with a Unicode server and client would kinda suck. Plus we would certainly have to adopt a third-party library, or else we'd be stuck with a huge burden of determining what Unicode characters to disallow, and figuring out how to render stuff like RTL text, and even with a library this could get complicated.
I think you can see MTA:SA's draw text code. I remembered there are 2 method to draw. And you can use UTF-8, it's compatible ASCII.

PS: I really hope I can be a VC:MP developer, because I think I can make some contribute to VC:MP. Or make VC:MP open source.
There's lots of VC:MP players in China hope VC:MP can support multi-language input. So I made the plugin trying to support it. If I have the source code, maybe I can make it better.
Title: Re: Symbols in the chat[Request]
Post by: vito on May 21, 2016, 01:50 PM
Quote from: ysc3839 on May 21, 2016, 01:22 PMOr make VC:MP open source.
LOL this is reason why you not developer of vc-mp
Title: Re: Symbols in the chat[Request]
Post by: ysc3839 on May 21, 2016, 01:57 PM
Quote from: vito on May 21, 2016, 01:50 PM
Quote from: ysc3839 on May 21, 2016, 01:22 PMOr make VC:MP open source.
LOL this is reason why you not developer of vc-mp
Why?
Title: Re: Symbols in the chat[Request]
Post by: vito on May 21, 2016, 02:02 PM
Quote from: ysc3839 on May 21, 2016, 01:57 PM
Quote from: vito on May 21, 2016, 01:50 PM
Quote from: ysc3839 on May 21, 2016, 01:22 PMOr make VC:MP open source.
LOL this is reason why you not developer of vc-mp
Why?
They do not want to share the code in public, it's their capital.
Title: Re: Symbols in the chat[Request]
Post by: . on May 21, 2016, 02:06 PM
Quote from: vito on May 21, 2016, 01:50 PM
Quote from: ysc3839 on May 21, 2016, 01:22 PMOr make VC:MP open source.
LOL this is reason why you not developer of vc-mp

There's nothing wrong with making VC:MP opensource. Just not the whole thing. Something like MTA does. Which is to keep the separate DLL which is loaded by the client DLL which on it's turn is injected into the game. Or something along those lines. But still, VC is just to easy to troll with. And that would make it even easier.
Title: Re: Symbols in the chat[Request]
Post by: Thijn on May 21, 2016, 02:23 PM
I don't see much effort in improving any of the open source plugins by the community. So opening VC:MP's source code to the public wont do much good either in my opinion.
Title: Re: Symbols in the chat[Request]
Post by: RW on May 22, 2016, 08:11 AM
only ascii, but Espa'n'ol you can use 'n',lol