Guest Posted May 13, 2008 Share Posted May 13, 2008 I have this in my lua: function changePassword ( password ) passwordChanged = setAccountPassword ( getClientName ( source ), password ) if passwordChanged then outputChatBox ( "Your password has been changed into " .. password .. ".", source ) else outputChatBox ( "Unknown error.", source ) end end If I type changepassword ***** in my console, I don't even get the message "Unknown error." but the console says: WARNING: main.lua: Access denied @ 'setAccountPassword' - Line: 38 I also have it with addAccount ( ... ) and all the account commands were you need to overwrite the accounts list but I have disabled read only for my accounts.xml. I have tried everything I knew. Link to comment
Guest Posted May 13, 2008 Share Posted May 13, 2008 I have this in my lua: function changePassword ( password ) passwordChanged = setAccountPassword ( getClientName ( source ), password ) if passwordChanged then outputChatBox ( "Your password has been changed into " .. password .. ".", source ) else outputChatBox ( "Unknown error.", source ) endend If I type changepassword ***** in my console, I don't even get the message "Unknown error." but the console says: WARNING: main.lua: Access denied @ 'setAccountPassword' - Line: 38 I also have it with addAccount ( ... ) and all the account commands were you need to overwrite the accounts list but I have disabled read only for my accounts.xml. I have tried everything I knew. Link to comment
[DooD]Heavyair Posted May 15, 2008 Share Posted May 15, 2008 not sure but U might need to give admin access to the resource the CHANGEPASSWORD function is in open MTAserver\mods\deathmatch\acl.xml then find this and add this hope that helps Link to comment
[DooD]Heavyair Posted May 15, 2008 Share Posted May 15, 2008 not sure but U might need to give admin access to the resource the CHANGEPASSWORD function is in open MTAserver\mods\deathmatch\acl.xml then find this and add this hope that helps Link to comment
Recommended Posts