Jump to content

[Question] Login Panel


kieran

Recommended Posts

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 :oops:

Link to comment

@pa3ck I take it back...  It only worked on map editor! O.o  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>

Link to comment
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...

Link to comment

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... :oops:  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>? xD 

 

Never mind, I forgot the meta tags! xD 

Edited by kieran
Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...