Raised This Month: $ Target: $400
 0% 

Official HLstatsX Ingame Plugin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Tobi17
Senior Member
Join Date: May 2005
Old 07-18-2008 , 13:50   Re: Official HLstatsX Ingame Plugin
#11

Hello psychonic & blik (posting before),

Quote:
Originally Posted by psychonic View Post
One thing I'm still not understanding is what this "call" could be. The plugins commands only have a few parameters, which can even be seen in the source.

It takes a userid, an optional "1" to enable colored messages (on by default in the perl for css and cstrike on sm, can be edited to enable tf2), and a message.

I wonder if it has to send the utf8 characters in a different way when constructing the message for sourcemod to display it correctly.
This is not a secret how the ingame plugin is working. You are definately right, the color parameter is an optional one:

Code:
19:38:48 hlx_sm_psay
19:38:48 Usage: hlx_sm_psay <userid><colored><message> - sends private message
But the so-called parameter handling has changed between the source and orangebox engine. Valve has stripped down the allowed charset ([a-zA-Z0-9]) and therefore the special characters (not only UTF-8 ones!) are not displayed. The correct usage for messages with special characters would be:

Code:
hlx_sm_psay "100" 1 "This is a message with special characters"
Please recognize the enclosing quoting characters around the message. If you add them within the perl daemon the characters are displayed properly again.

Hope this helps!

Bye
Tobi
__________________

Last edited by Tobi17; 07-18-2008 at 14:05. Reason: Quoted userid too!
Tobi17 is offline
 



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 21:40.


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