SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Plugin Development

Reply
 
Thread Tools Display Modes
Old 15/06/2018, 01:59 PM   #31
3417512908
Big Clucker
 
3417512908's Avatar
 
Join Date: Feb 2018
Location: China
Posts: 123
Reputation: 14
Default Re: Advanced-SA-NickName (ASAN)

Can I use Chinese on nickname?
3417512908 is offline   Reply With Quote
Old 16/06/2018, 01:16 PM   #32
KrYpToDeN
Big Clucker
 
Join Date: Dec 2012
Location: Russian Federation, Khabarovsk city
Posts: 75
Reputation: 11
Default Re: Advanced-SA-NickName (ASAN)

Quote:
Originally Posted by 3417512908 View Post
Can I use Chinese on nickname?
I think, yes. Add this rules into Regex (config. file).
I tested only with Russian, English and another symbols (:;+' ", etc..).

You can check it and if you know Chinese language, you can add +1 language into plugin's description (if you want) for all Chinese SA:MP server's owners and i will rebuilt this plugin with new language description.

The main thing that there will not crash of the client and the server because of the Chinese characters. And also, you need to check if the client window will skip these Chinese characters, because some characters can be transformed into - . (this is client side. => in this case you will need client side plugin to repair it.) But i think it will be ok.
KrYpToDeN is offline   Reply With Quote
Old 17/06/2018, 04:53 AM   #33
Adoniiz
Gangsta
 
Join Date: Mar 2010
Location: Wormhole
Posts: 813
Reputation: 57
Default Re: Advanced-SA-NickName (ASAN)

Can plugin work on Debian?
__________________
MakeOpinions
Adoniiz is offline   Reply With Quote
Old 01/04/2020, 05:29 AM   #34
yucarl
Little Clucker
 
Join Date: Apr 2019
Posts: 1
Reputation: 0
Default Re: Advanced-SA-NickName (ASAN)

i can't compile on centos7
I could compile the so file with the default of 4.8.5 in centos7, but the regex required a 4.9-level or higher version of GCC, so I used SCL enable devtoolset-4 bash, but it didn't compile properly.
scl enable devtoolset-4 bash - GCC 5.3.1

make
gcc -std=c++11 -m32 -c -O3 -w -DLINUX -I./SDK/amx/ SDK/amx/.c
g++ -std=c++11 -m32 -c -O3 -w -DLINUX -I./SDK/amx/ SDK/.cpp
g++ -std=c++11 -m32 -c -O3 -w -DLINUX -I./SDK/amx/ INI/*.cpp
g++ -std=c++11 -m32 -c -O3 -w -DLINUX -I./SDK/amx/ *.cpp
g++ -m32 -O -pthread -unistd -fshort-wchar -shared -o "ASAN.so" *.o
/opt/rh/devtoolset-4/root/usr/libexec/gcc/x86_64-redhat-linux/5.3.1/ld: skipping incompatible /opt/rh/devtoolset-4/root/usr/lib/gcc/x86_64-redhat-linux/5.3.1/libstdc++_nonshared.a when searching for -lstdc++_nonshared
/opt/rh/devtoolset-4/root/usr/libexec/gcc/x86_64-redhat-linux/5.3.1/ld: cannot find -lstdc++_nonshared
collect2: error: ld returned 1 exit status
make: *** [all] Error 1


and another question

Я обнаружил проблему в Том, что обычные выражения не могут использовать \u, то есть диапазоне unicode, например, [\u4e00-\u9fa5], что приводит к тому, что сервер скатывается, когда загружается плагин
yucarl is offline   Reply With Quote
Old 03/04/2020, 05:04 PM   #35
NimA00GaMeR
Little Clucker
 
NimA00GaMeR's Avatar
 
Join Date: Sep 2018
Posts: 24
Reputation: 0
Default Re: Advanced-SA-NickName (ASAN)

Great! it's amazing.
Can i use emoji on my nickname?
NimA00GaMeR is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Plugin] Advanced SA NickName (ASAN) - Лучший плагин Русских Ников KrYpToDeN Релизы/Releases 37 08/01/2018 04:47 PM
Nickname eeek Русский/Russian 2 27/08/2013 06:11 PM
How did you think of your nickname? zgintasz Everything and Nothing 71 21/06/2013 01:52 PM


All times are GMT. The time now is 03:12 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.