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

[Module]UTF-8 Gaming


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
K.K.Lv
Veteran Member
Join Date: Aug 2008
Location: GameFolder
Old 01-30-2012 , 22:57   [Module]UTF-8 Gaming
Reply With Quote #1

This module can set the name with special characters.
First , need to set the string to UTF-8(Bom or without Bom are accepted).
In China, most coder make a plug-in or module to get it !
so, I just recode it with a C++, and make a native that server can use it.

native:
PHP Code:
native set_utf8_name(indexuname[]);
 
//linux version have not this.Requested from ot_207
//ansi to utf8 
native ansi_to_utf8(const ansi[], utf8[], ulen);
 
//utf8 to ansi
native utf8_to_ansi(const utf8[], ansi[], alen); 


credits:
MemHack module
nooby(who the UTF-8 name's author)
Arkshine(compile the linux version)

linux version here
http://forums.alliedmods.net/showpos...1&postcount=19

any bug are welcome
I wil try my best to fix it
and I have posted a example !
test it on steam or non-steam server and work fine !

Photo:


Edited:Sorry for the mistake, fixed now
Attached Thumbnails
Click image for larger version

Name:	photo[2].jpg
Views:	3160
Size:	44.4 KB
ID:	98793  
Attached Files
File Type: zip cstrikes.zip (5.7 KB, 1068 views)
File Type: zip UTF-8Name.zip (51.9 KB, 15179 views)
__________________
QQ:116268742

Last edited by K.K.Lv; 03-11-2012 at 11:21. Reason: add linux version
K.K.Lv is offline
Send a message via MSN to K.K.Lv
Starsailor
horrible hahah
Join Date: Aug 2008
Location: Buenos Aires
Old 01-31-2012 , 02:45   Re: [Module]UTF-8 Name
Reply With Quote #2

nice
__________________
Find my plugins here..

Ex - Spanish Moderator.
Starsailor is offline
Devil259
Veteran Member
Join Date: Dec 2009
Location: France (59)
Old 01-31-2012 , 06:10   Re: [Module]UTF-8 Name
Reply With Quote #3

Awesome
__________________
You can do anything you set your mind to, man.

Devil259 is offline
romm1e
Member
Join Date: Oct 2010
Old 01-31-2012 , 06:32   Re: [Module]UTF-8 Name
Reply With Quote #4

Well, whats wrong with Unicode Patch by Rulzy ?
romm1e is offline
kiki33hun
Veteran Member
Join Date: Jul 2011
Location: Magyarország
Old 01-31-2012 , 06:40   Re: [Module]UTF-8 Name
Reply With Quote #5

LOOL, Nice tahnx

Edit: Please convert linux version
__________________

Last edited by kiki33hun; 01-31-2012 at 06:43. Reason: Linux
kiki33hun is offline
K.K.Lv
Veteran Member
Join Date: Aug 2008
Location: GameFolder
Old 01-31-2012 , 06:40   Re: [Module]UTF-8 Name
Reply With Quote #6

Quote:
Originally Posted by romm1e View Post
Well, whats wrong with Unicode Patch by Rulzy ?
Rulzy's upatch module are nice one, at lest better than this !
I have the code, but You have to get his permission before you post the code !
so if you had upatch module, ignore this
__________________
QQ:116268742
K.K.Lv is offline
Send a message via MSN to K.K.Lv
m0skVi4a
Senior Member
Join Date: May 2011
Location: Rousse, Bulgaria
Old 01-31-2012 , 11:25   Re: [Module]UTF-8 Name
Reply With Quote #7

Nice
m0skVi4a is offline
Send a message via Skype™ to m0skVi4a
201724
Member
Join Date: May 2011
Old 02-02-2012 , 03:52   Re: [Module]UTF-8 Name
Reply With Quote #8

patch 2 address,
swds auto convert name to non utf8 format nop the 2 byte is success but voice label not fix = =...

say utf8 patch mp.dll ....
201724 is offline
Send a message via MSN to 201724
K.K.Lv
Veteran Member
Join Date: Aug 2008
Location: GameFolder
Old 02-02-2012 , 04:31   Re: [Module]UTF-8 Name
Reply With Quote #9

Quote:
Originally Posted by 201724 View Post
patch 2 address,
swds auto convert name to non utf8 format nop the 2 byte is success but voice label not fix = =...

say utf8 patch mp.dll ....
glad to see you man !
I'm try to find the code that when player voice.
maybe can be find in HLSDK !
__________________
QQ:116268742
K.K.Lv is offline
Send a message via MSN to K.K.Lv
RuRuRu612754
Senior Member
Join Date: Sep 2011
Old 02-06-2012 , 05:45   Re: [Module]UTF-8 Name
Reply With Quote #10

What linux module does not have?

.bin
RuRuRu612754 is offline
Reply



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:04.


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