TimOOn Posted September 15, 2014 Share Posted September 15, 2014 !rename command allows using backslash so it can mess up client userinfo. Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted September 15, 2014 Management Share Posted September 15, 2014 Do you have a ready made Lua script test case for us to use on this? If so, can you please send it to us. Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted September 15, 2014 Management Share Posted September 15, 2014 No need for test case. It can be reproduced while sitting on server. Quote Link to comment Share on other sites More sharing options...
TimOOn Posted September 15, 2014 Author Share Posted September 15, 2014 Yup, its just a single function. function et_ClientCommand(clientNum, cmd) cmd = string.lower(cmd) if string.find(et.trap_Argv(1), "!rename") or cmd == "!rename" then if string.find(et.ConcatArgs(1), "\\") then et.trap_SendServerCommand( clientNum, "print \"^orename: ^7can't use names with a \'\\\'\n\"" ) return 1 else return 0 end end end gaoesa 1 Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted September 16, 2014 Management Share Posted September 16, 2014 Fixed in the next version. http://mygamingtalk.com/forums/tracker/issue-267-rename-command-allows-backslashes-in-names/ Jhonny/Shinobi 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.