Raised This Month: $51 Target: $400
 12% 

UTF-8 names amxmisc support?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
seriousspot
BANNED
Join Date: Mar 2013
Location: Lithuania / Norway
Old 05-05-2013 , 19:21   UTF-8 names amxmisc support?
Reply With Quote #1

Theres a problem with,
PHP Code:
cmd_target 
for example user has name "ąęęėčėčęįčę" or other symbols, the function isn't working, either server console doesen't support it... For temp fix how could i block utf-8 chars? its really complicated, for now i know few methods replace_all or comparing each chars, but that will highly affect server performance... Any ideas of this? the raw char comparision works fine, example:

PHP Code:
new NAME[64]
get_user_name(idNAMEcharsmax(NAME))
if (
equali("ąęęėčėčęįčę"NAME)) { 
________________________

Quote:
version
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
Exe build: 10:15:11 Apr 3 2013 (6004)
Quote:
meta version
Metamod v1.20p36 2013/02/18 (5:13)
by Will Day
http://www.metamod.org/
Patch: Metamod-P (mm-p) v36
by Jussi Kivilinna
http://metamod-p.sourceforge.net/
compiled: Feb 19 2013, 00:06:29 EET (optimized)
Quote:
description stat pend file vers src load unlod
[ 1] AMX Mod X RUN - amxmodx_mm_i386. v1.8.2-d ini Start ANY
[ 2] Fun RUN - fun_amxx_i386.so v1.8.2-d pl1 ANY ANY
[ 3] CStrike RUN - cstrike_amxx_i38 v1.8.2-d pl1 ANY ANY
[ 4] CSX RUN - csx_amxx_i386.so v1.8.2-d pl1 ANY ANY
[ 5] Engine RUN - engine_amxx_i386 v1.8.2-d pl1 ANY ANY
[ 6] FakeMeta RUN - fakemeta_amxx_i3 v1.8.2-d pl1 ANY ANY
[ 7] MySQL RUN - mysql_amxx_i386. v1.8.2-d pl1 ANY ANY
7 plugins, 7 running

Last edited by seriousspot; 05-05-2013 at 19:22.
seriousspot 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 05:01.


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