Raised This Month: $32 Target: $400
 8% 

TutorText unicode problem


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Author Message
MetalMessiah
Junior Member
Join Date: Aug 2012
Location: Odessa
Old 01-04-2015 , 10:11   TutorText unicode problem
#1

Hi there,

Who knows how to fix unicode problem in TutorText in CS 1.6 ?
If you'll put any text in latin it's ok, if any other non-latin alphabet in unicode (latest steam build, console supports it) it will be like on the screenshot.

Code:
	gMsgTutorClose = get_user_msgid("TutorClose")
	gMsgTutorText  = get_user_msgid("TutorText")
...
				message_begin(MSG_ONE_UNRELIABLE , gMsgTutorClose, {0, 0, 0}, players[i])
				message_end()

				message_begin(MSG_ONE_UNRELIABLE , gMsgTutorText, {0, 0, 0}, players[i])
				write_string(szMsg2)		// displayed message
				write_byte(0)		// ???
				write_short(0)		// ???
				write_short(0)		// ???
				write_short(1<<iStyle)	// class of a message
				message_end()
Also who knows the unknown parameters of this message?
Attached Images
File Type: jpg TutorMSG.jpg (26.1 KB, 171 views)
MetalMessiah is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 01-04-2015 , 10:33   Re: TutorText unicode problem
#2

That's not allowed in CS 1.6.
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
MetalMessiah
Junior Member
Join Date: Aug 2012
Location: Odessa
Old 01-04-2015 , 11:36   Re: TutorText unicode problem
#3

Nevertheless, it works in CS 1.6
The only question is how to force it show unicode correctly.

Last edited by MetalMessiah; 01-04-2015 at 11:37.
MetalMessiah is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 01-04-2015 , 12:06   Re: TutorText unicode problem
#4

TutorText is not supported here on any game other than CS:CZ, regardless if it works
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:40.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode