Vice City: Multiplayer

VC:MP Discussion => General Discussion => Topic started by: habi2 on Jan 04, 2025, 09:52 AM

Title: Making of a chatbox - picture.
Post by: habi2 on Jan 04, 2025, 09:52 AM
I'm excited to share an early development stage photo of chatbox:
(https://i.imgur.com/TYD70UP.png)
Title: Re: Making of a chatbox - picture.
Post by: MEGAMIND on Jan 04, 2025, 11:39 AM
Quote from: habi2 on Jan 04, 2025, 09:52 AMI'm excited to share an early development stage photo of chatbox:
(https://i.imgur.com/TYD70UP.png)
thats an awsome start of something that is coming very soon for vcmp and will change alot of things..
Title: Re: Making of a chatbox - picture.
Post by: habi2 on Jan 04, 2025, 12:44 PM
yeah, let us hope so.
Title: Re: Making of a chatbox - picture.
Post by: ℛḝξ☂ on Jan 07, 2025, 06:45 AM
It looks awesome. Can wooden PCs show the character fluently? I think it's vital as Yyg have done one custom chatbox to show Chinese, however not of so much quality and lags the DM gameplay for wooden pc users.
Title: Re: Making of a chatbox - picture.
Post by: umar4911 on Jan 07, 2025, 03:45 PM
I guess you forgot about the new discord thingy we talked about xd
Title: Re: Making of a chatbox - picture.
Post by: MEGAMIND on Jan 07, 2025, 04:49 PM
Quote from: umar4911 on Jan 07, 2025, 03:45 PMI guess you forgot about the new discord thingy we talked about xd
He's a legend he will come back to all the request made to him slowly :-) as hes onto mine currently chatbox with emoji XD
Title: Re: Making of a chatbox - picture.
Post by: habi2 on Jan 08, 2025, 11:08 AM
Quote from: ℛḝξ☂ on Jan 07, 2025, 06:45 AMIt looks awesome. Can wooden PCs show the character fluently? I think it's vital as Yyg have done one custom chatbox to show Chinese, however not of so much quality and lags the DM gameplay for wooden pc users.
Hi ℛḝξ☂ and other friends,
Here is a demo 32 bit windows server of the chatbox.
demo-unicode.7z (https://www.mediafire.com/file/koswk3lfb0gv98b/demo-unicode.7z/file) (9.61 MB)

(https://i.imgur.com/hSYNmAv.png) (https://i.imgur.com/hSYNmAv.png)
(click on image to get bigger)

You can test it on your wooden pc. However i am afraid the game will lag. I have added 5 unicode-messages which is shown to a player when he joins. The messages are contained in messages-cn.txt. We fetch it by line no. Two fonts - arial-unicode-ms-bold.ttf and segoe-ui-emoji.ttf are also included. Necessary plugins remexec04rel32 is included.
virus-total-scan (https://www.virustotal.com/gui/file/ce09339005a1f6eb6ad9356ace732eec0b1038c2d08b633739958eee80b75f24) (2/63 )

@umar,
yeah, i remember about it - making a websocket client-plugin.

@MEGAMIND,
thanks for having faith in me. The emoji can be coloured, it needs some bitmap representation which i will look into.

//Edit
//Documentation of all the functions used
documentation.html (https://www.mediafire.com/file/pagj1k5j5ffrmzh/chatbox-documentation.html/file)
Title: Re: Making of a chatbox - picture.
Post by: ℛḝξ☂ on Jan 09, 2025, 03:39 PM
Quote from: habi2 on Jan 08, 2025, 11:08 AM
Quote from: ℛḝξ☂ on Jan 07, 2025, 06:45 AMIt looks awesome. Can wooden PCs show the character fluently? I think it's vital as Yyg have done one custom chatbox to show Chinese, however not of so much quality and lags the DM gameplay for wooden pc users.
Hi ℛḝξ☂ and other friends,
Here is a demo 32 bit windows server of the chatbox.
demo-unicode.7z (https://www.mediafire.com/file/koswk3lfb0gv98b/demo-unicode.7z/file) (9.61 MB)

(https://i.imgur.com/hSYNmAv.png) (https://i.imgur.com/hSYNmAv.png)
(click on image to get bigger)

You can test it on your wooden pc. However i am afraid the game will lag. I have added 5 unicode-messages which is shown to a player when he joins. The messages are contained in messages-cn.txt. We fetch it by line no. Two fonts - arial-unicode-ms-bold.ttf and segoe-ui-emoji.ttf are also included. Necessary plugins remexec04rel32 is included.


I have tested it with multiple players, it works well for me, however some said the game lags even when they are not wooden pcs.

Whatever the custom chatbox you create, it causes lag more or less, still looking forward to the chatbox and I'd like to help if you need test on wooden pcs.
Title: Re: Making of a chatbox - picture.
Post by: habi2 on Jan 09, 2025, 04:23 PM
okay. thanks for the information. i will contact you if anything is needed.
Title: Re: Making of a chatbox - picture.
Post by: habi2 on Jan 28, 2025, 09:13 AM
I have made a russian chat system with input. Currently it doesn't support English.
IP 18.132.205.100:8192

If you visit, press E to chat in russian.

Title: Re: Making of a chatbox - picture.
Post by: MEGAMIND on Jan 28, 2025, 10:02 AM
Quote from: habi2 on Jan 28, 2025, 09:13 AMI have made a russian chat system with input. Currently it doesn't support English.
IP 18.132.205.100:8192

If you visit, press E to chat in russian.


(https://i.imgur.com/OZ4Teo0.png) cool
Title: Re: Making of a chatbox - picture.
Post by: habi2 on Jan 28, 2025, 03:09 PM
thanks for the picture, i was thinking about taking one.

Title: Re: Making of a chatbox - picture.
Post by: Deep on Jan 29, 2025, 04:27 AM
(https://i.ibb.co/3mYCLgRq/Untitled.png)
Title: Re: Making of a chatbox - picture.
Post by: habi2 on Jan 30, 2025, 08:58 AM
Actually the following code produced it:
function onPlayerJoin( player )
{
MessageU(player.Name+" присоединился к серверу");

MessagePlayerU("Добро пожаловать на сервер. Нажмите E(У), чтобы начать чат.", player);
}
These functions send the pixel colouring information to client.
Now i am making more efficient MessageU2 and MessagePlayerU2 which sends the utf8 text to client and the client will render it.
Title: Re: Making of a chatbox - picture.
Post by: MEGAMIND on Jan 31, 2025, 05:22 AM
habi just a suggestion isnt it too complex to have too many store and script files?

won't it be possible with justt 1 plugin? just plug and play?

im pretty sure u can do it..!
Title: Re: Making of a chatbox - picture.
Post by: habi2 on Feb 02, 2025, 11:16 AM
Here is complete windows server with russian input supported:
unicode-russian.7z (https://www.mediafire.com/file/vfm9nlbwmfe34g2/unicode-russian.7z/file) (mediafire 14.6 MB size huge)

It has a Readme.txt too.

virus-total (3/63) (https://www.virustotal.com/gui/file/7c82de192b14a19663573c407b07c8179e5f09109faaf423da9e4af0db8ad54b) (don't know why)