libxengine / XEngine_Authorize

c c++ network authorize service.c c++ 网络验证服务.c c++ 网络授权服务
https://www.xyry.org
GNU General Public License v3.0
35 stars 18 forks source link

TCP协议登录时,用户充值类型为DAY或者CUSTOM时都会提示已经登陆 #78

Open gyh990 opened 3 hours ago

gyh990 commented 3 hours ago

服务器日志: 2024-11-18 07:38:04 ERROR - [Func:XEngine_Client_TCPTask][Line:268]:客户端:58.223.118.200:30404,用户名:test011,多端登录失败,用户已经登录,类型:1

充值类型为second和time时可以正常登录

另外:我认为最常用的序列号功能为,使用1天的序列卡,根据当前时间自动加上序列卡的期限为用户的到期时间,现在无论是second还是day的充值方式在用户没有登录时都是停止计时的

gyh990 commented 3 hours ago

我查看了代码,发现在配置文件里把custom和day的多端登录设置为true就可以了,但是我明明没有二次登录为什么会判定为多端登录

Issues-translate-bot commented 3 hours ago

Bot detected the issue body's language is not English, translate it automatically.


I checked the code and found that it was enough to set the multi-terminal login of custom and day to true in the configuration file. But why was it judged as multi-terminal login when I clearly did not have a second login?