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

Register System V9.0 by m0skVi4a ;]


Post New Thread Reply   
 
Thread Tools Display Modes
Y060N
BANNED
Join Date: Dec 2011
Location: www.equilibriumcs.com
Old 03-05-2012 , 12:43   Re: Register System V4.0 FIX 1 by m0skVi4a ;]
Reply With Quote #171

Can you explain that a bit more for the language? I want to make it so that the things sent to players are in their own native language, I get some spanish players on my server and they don't seem to speak English well.

As for the 2d array, I only see it ever saving into the first index, it never saves the players index into the array, just uses the index to see what index of the array it is at.

Also, for those Spanish players, some of them get lag and disconnect from the server, but when they re-enter the server it thinks they are still there and kicks them saying that the name is already registered. Is there a better way of getting around this?

Last edited by Y060N; 03-05-2012 at 13:01.
Y060N is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 03-05-2012 , 13:47  
Reply With Quote #172

Like i said i cant see the code but that was just an educated guess.
Doc-Holiday is offline
Y060N
BANNED
Join Date: Dec 2011
Location: www.equilibriumcs.com
Old 03-05-2012 , 13:49   Re: Register System V4.0 FIX 1 by m0skVi4a ;]
Reply With Quote #173

Can you explain a bit more on the language though, like for example:

client_printcolor(id, "%L", LANG_PLAYER, "REGISTER_CHAT", prefix, get_pcvar_num(g_regtime))

How would I go about making that print out in the players language?
Y060N is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 03-05-2012 , 15:28  
Reply With Quote #174

When its sent to a specific player use id instead of lang player. When its sent to every one you use lang player. But that shouldnt be the problem if its not showing the languages correctly make sure your dictionary file is correctly placed and formatted.
Doc-Holiday is offline
m0skVi4a
Senior Member
Join Date: May 2011
Location: Rousse, Bulgaria
Old 03-06-2012 , 10:40   Re: Register System V4.0 FIX 1 by m0skVi4a ;]
Reply With Quote #175

For the ML it has to be
client_printcolor(id, "%L", id, "REGISTER_CHAT", prefix, get_pcvar_num(g_regtime))

As for the array the first is the client and the second is the password of the client ;)
Doc-Holiday was right. I will fix it for the next version (5.0).

Last edited by m0skVi4a; 03-06-2012 at 10:40.
m0skVi4a is offline
Send a message via Skype™ to m0skVi4a
kiki33hun
Veteran Member
Join Date: Jul 2011
Location: Magyarország
Old 03-07-2012 , 09:24   Re: Register System V4.0 FIX 1 by m0skVi4a ;]
Reply With Quote #176

Make it a forgotten password!

Using this: http://forums.alliedmods.net/showthread.php?t=179756

Mail or first registered in this setup or have to be!
__________________
kiki33hun is offline
m0skVi4a
Senior Member
Join Date: May 2011
Location: Rousse, Bulgaria
Old 03-07-2012 , 13:26   Re: Register System V4.0 FIX 1 by m0skVi4a ;]
Reply With Quote #177

Amm, this might be quite hard. But I will try for the next next version
It will be great to has this
m0skVi4a is offline
Send a message via Skype™ to m0skVi4a
kiki33hun
Veteran Member
Join Date: Jul 2011
Location: Magyarország
Old 03-07-2012 , 13:48   Re: Register System V4.0 FIX 1 by m0skVi4a ;]
Reply With Quote #178

Quote:
Originally Posted by m0skVi4a View Post
Amm, this might be quite hard. But I will try for the next next version
It will be great to has this
If you succeed in all due respect to yours!
__________________
kiki33hun is offline
KzFun.小鱼
Junior Member
Join Date: Sep 2008
Location: 127.0.0.1
Old 03-10-2012 , 08:55   Re: Register System V4.0 FIX 1 by m0skVi4a ;]
Reply With Quote #179

Chinese
save by utf-8 code
Code:
[cn]
ERROR_CFG = 注册系统配置文件 - %s 未找到!
ERROR_MYSQL = MYSQL数据库连接失败!
ERROR_FILE = 找不到注册系统配置文件 -  %s   正在自动创建...
CFG_EXEC = 正在执行 -  %s 配置文件
MYSQL_CONNECT = MYSQL数据库连接成功!
REGISTER_HUD = 你有 %d 秒的注册时间
YOUCANREG_HUD = 当前服务器正在运行注册系统^n按Y输入 /reg 查看更多
LOGIN_HUD = 你有 %d 秒的登录时间
AUTO_LOGIN_HUD = 你正在尝试自动登录
REGISTER_CHAT = !g%s!t 你有!g %d!t 秒的注册时间!
YOUCANREG_CHAT = !g%s!t 当前服务器正在运行注册系统. 可以保护你的CSID. 按Y输入!g /reg!t 查看更多.
LOGIN_CHAT = !g%s!t 你有!g %d!t 秒的时间登录!
AUTO_LOGIN_CHAT = !g%s!t 你正在尝试自动登录!
CHAT_REG = !g%s!t 不好意思,服务器不允许未注册的玩家聊天!
CHAT_LOG = !g%s!t 不好意思,服务器不允许未登录的玩家聊天!
MAIN_MENU_LOG = \y注册系统菜单^n\w状态:\r [已登录]^n^n\r1.\w 恐怖分子^n\r2.\w 反恐精英^n\r3.\r 观察者^n\w4. 自动选择^n^n\d5. 登录^n6. 注册^n\r7.\w 注销^n\r8.\w 选项^n^n^n\r0.\w 退出
MAIN_MENU_REG = \y注册系统菜单^n\w状态:\r [已注册]^n^n\d1. 恐怖分子^n2. 反恐精英^n3. 观察者^n4. 自动选择^n^n\r5. 登录^n\d6. 注册^n7. 注销^n\r8.\w 选项
MAIN_MENU_NOTREG = \y注册系统菜单^n\w状态:\r [未注册]^n^n\r1.\r 恐怖分子^n\r2.\r 反恐精英^n\r3.\r 观察者^n\r4. 自动选择^n^n\d5. 登录^n\r6.\w 注册^n\d7. 注销^n\r8.\w 选项^n^n^n\r0.\w 退出
MAIN_MENU_NOTREG_FORCE = \y注册系统菜单^n\w状态:\r [未注册]^n^n\d1. 恐怖分子^n2. 反恐精英^n3. 观察者^n4. 自动选择^n^n\d5. 登录^n\r6. 注册^n\d7. 注销^n\r8.\w 配置
OPTIONS_MENU_LOG_ON = \y注册系统^n配置菜单^n^n\r1.\w 更换密码^n\r2.\w 自动登录\r 启用^n\r3.\w 信息/帮助^n^n^n\r0.\w 退出
OPTIONS_MENU_LOG_OFF = \y注册系统^n配置菜单^n^n\r1.\w 更换密码^n\r2.\w 自动登录\r 禁用^n\r3.\w 信息/帮助^n^n^n\r0.\w 退出
OPTIONS_MENU_NOT_LOG = \y注册系统n配置菜单^n^n\d1. 更换密码^n2. 自动登录^n\r3.\w 信息/帮助^n^n^n\r0.\w 退出
MENU_PASS = \w当前密码:\r %s^n^n\r1.\w 确认^n\r2.\w 重设^n^n^n\r0.\w 取消
LOG_OUT = !g%s!t 你已成功注销!
AUTO_LOGIN_OFF = !g%s!t 你已经成功关闭自动登录功能!
AUTO_LOGIN_ON = !g%s!t 你已成功选择自动登录功能!下次进入本服务器将自动登录!
AUTO_LOGIN_PASS_NOTVALID = !g%s!t 你输入了错误的密码! 请重试...
REG_EXISTS = !g%s!t 对不起, 当前ID已经存在了!
REG_LEN = !g%s!t 对不起, 密码至少要 !g %d!t 位!
REG_REGIS = !g%s!t 感谢你的注册!你的密码是:!g %s!t 你现在有!g %d!t 秒的时间登录!
LOG_NOTREG = !g%s!t 你必须注册之后才能登录!
LOG_LOGGED = !g%s!t 你已经登录了!
LOG_PASS_INVALID = !g%s!t 无效的密码 [!g%d!t/!g%d!t 尝试]
LOG_LOGING = !g%s!t 你已经登录!
CHANGE_TIMES = !g%s!t 对不起,你已经更换了!g %d!t次密码了!请更换地图之后再试!
CHANGE_NO = !g%s!t 对不起, 你的密码错误了!
CHANGE_NEW = !g%s!t 你已成功更换密码! 新的密码是:!g %s!t
NAME_CHANGE_LOG = !g%s!t 对不起,服务器不允许已登录的玩家在游戏中更改ID!
NAME_CHANGE_ALL = !g%s!t 对不起,服务器不允许在游戏中更改ID!
KICK_REG = 你必须注册. 请重新进入服务器并注册.
KICK_ATMP = 你连续输入了 %d 次错误的密码.
KICK_LOGIN = 当前ID已经注册. 请重新进入服务器登录.
KICK_LOGOUT = 你已成功注销! 自动登录功能当前已关闭!
KICK_INFO = echo; echo; echo **********************************; echo 你已经被系统自动踢出服务器!; echo %L; echo **********************************; echo; echo; echo
LOGFILE_AUTO_OFF = 玩家 %s 关掉了他的自动登录功能
LOGFILE_AUTO_ON = 玩家 %s 打开了他的自动登录功能
LOGFILE_CHNG_PASS = 玩家 %s 更换了他的密码
LOGFILE_REG = 玩家 %s 已注册

Last edited by KzFun.小鱼; 03-10-2012 at 09:22.
KzFun.小鱼 is offline
m0skVi4a
Senior Member
Join Date: May 2011
Location: Rousse, Bulgaria
Old 03-10-2012 , 10:34   Re: Register System V5.0 by m0skVi4a ;]
Reply With Quote #180

Update - V5.0
m0skVi4a is offline
Send a message via Skype™ to m0skVi4a
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 12:31.


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