kieran Posted June 30, 2017 Posted June 30, 2017 So I finally (somehow) made a basic login GUI, it almost works, there's just one very minute problem.... When I click "Register" it says "Access Denied @ addAccount" Do I need to add it to acl.xml? If I do under admin or as a new group? Please help
kieran Posted June 30, 2017 Author Posted June 30, 2017 @pa3ck I take it back... It only worked on map editor! here is how I put it in my acl... <group name="Admin"> <acl name="Moderator"></acl> <acl name="SuperModerator"></acl> <acl name="Admin"></acl> <acl name="RPC"></acl> <object name="resource.admin"></object> <object name="resource.webadmin"></object> <object name="resource.acpanel"></object> <object name="resource.login"></object> <object name="resource.test\login_S.lua"></object> <--Folder\Resource </group>
</Mr.Tn6eL> Posted June 30, 2017 Posted June 30, 2017 Just add resource name not file name <object name="resource.test"></object>
kieran Posted June 30, 2017 Author Posted June 30, 2017 6 minutes ago, </Mr.Tn6eL> said: Just add resource name not file name <object name="resource.test"></object> I would, but the script is within a game mode, and I haven't explored ways of calling resources to start with game mode on startup...
</Mr.Tn6eL> Posted June 30, 2017 Posted June 30, 2017 You mean this? <include resource="resource_name" />
kieran Posted June 30, 2017 Author Posted June 30, 2017 lol, I knew I was doing it wrong all this time! thank you
kieran Posted June 30, 2017 Author Posted June 30, 2017 (edited) For some mucked up reason I can't edit last post Anyway, I still can't figure out how to get the dang resource to load... Tried adding "<object name="resource.test"></object>" as admin in my acl.xml and "<include resource="test" />" in the game mode xml and finally I have made a meta.xml in the resource What am I doing wrong @</Mr.Tn6eL>? Never mind, I forgot the meta tags! Edited June 30, 2017 by kieran
</Mr.Tn6eL> Posted June 30, 2017 Posted June 30, 2017 Can you more explain your problem I can't understand 1
kieran Posted June 30, 2017 Author Posted June 30, 2017 35 minutes ago, </Mr.Tn6eL> said: Can you more explain your problem I can't understand It's okay... I forgot the tags in meta file. It works nice now! Thanks for your help guys
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now