Jump to content

Help Me


Recommended Posts

I need Help to run the server and the game mod that I downloaded from here, called GTW-RPG I need help, it's my problem 

[2019-05-02 16:03:07] WARNING: GTWcore\s_core.lua:183: Access denied @ 'setResourceInfo' [ModifyOtherObjects in ACL denied resource GTWcore to access GTWtopbar]
[2019-05-02 16:03:07] WARNING: GTWcore\s_core.lua:183: Access denied @ 'setResourceInfo' [ModifyOtherObjects in ACL denied resource GTWcore to access GTWbusdriver]

I am a beginner. Please complete the full description (my English language is weak, because of the inaudible sentences)

Link to comment

setResourceInfo its a protected function and you must give it some rights to use it

so , give admin right to GTWcore resource may solve your problem.

Edited by dicosky
Link to comment

1. Open acl.xml, find this part:
 

<group name="Admin">
        <acl name="Moderator"></acl>
        <acl name="SuperModerator"></acl>
        <acl name="Admin"></acl>
        <acl name="RPC"></acl>

2. Add this line under it:
 

        <object name="resource.GTWcore"></object>

3. Save file and restart server.

Link to comment

I did the things you said

My Acl codes 

<!-- Staff group "supporter" and "developer", you may define your own rights/permissions 
    	for these groups based on your needs, although it's only used by the resource GTWstaff 
    	to check the rights and purpose of various accounts, Admin and Moderator are already 
    	defined standard groups which you can find in the default ACL file -->
<acl>
    <group name="Supporter">
        <!-- List your supporters here -->
        <object name="user.NoUsseerr" />
		
	</group>
	<group name="Admin">
        <acl name="Moderator"></acl>
        <acl name="SuperModerator"></acl>
        <acl name="Admin"></acl>
        <acl name="RPC"></acl>
		<object name="resource.GTWcore"></object>
        <object name="user.serverowner"></object>
        <object name="resource.admin"></object>
        <object name="resource.webadmin"></object>
    </group>
    <group name="autoGroup_GTWaccounts">
        <acl name="autoACL_GTWaccounts"></acl>
        <object name="resource.GTWaccounts"></object>
    </group>
    <group name="autoGroup_GTWgui">
        <acl name="autoACL_GTWgui"></acl>
        <object name="resource.GTWgui"></object>
    </group>
    <group name="autoGroup_GTWupdates">
        <acl name="autoACL_GTWupdates"></acl>
        <object name="resource.GTWupdates"></object>
    </group>
    <acl name="Moderator"></acl>
    <acl name="autoACL_GTWaccounts">
        <right name="function.addAccount" access="true" who="Console" pending="false" date="2019-05-02 22:34:48"></right>
        <right name="function.callRemote" access="true" who="Console" pending="false" date="2019-05-02 22:34:48"></right>
    </acl>
    <acl name="autoACL_GTWgui">
        <right name="function.restartResource" access="true" who="Console" pending="false" date="2019-05-02 22:34:58"></right>
    </acl>
    <acl name="autoACL_GTWupdates">
        <right name="function.callRemote" access="true" who="Console" pending="false" date="2019-05-02 22:34:39"></right>
    </acl>
	
</acl>

And My Error ☹️

[2019-05-03 12:59:54] MTA:SA Server v1.5.6-release-16588
[2019-05-03 13:00:05] reloadacl: ACL successfully reloaded
[2019-05-03 13:00:34] start: Requested by Console
[2019-05-03 13:00:34] Starting GTWtopbar
[2019-05-03 13:00:34] start: Resource 'gtwtopbar' started
[2019-05-03 13:00:39] start: Requested by Console
[2019-05-03 13:00:39] Starting GTWgui
[2019-05-03 13:00:39] start: Resource 'gtwgui' started
[2019-05-03 13:00:42] start: Requested by Console
[2019-05-03 13:00:42] Starting GTWcore
[2019-05-03 13:00:42] Connecting to DB: dbname=sercermta;host=127.0.0.1
[2019-05-03 13:00:42] start: Resource 'gtwcore' started
[2019-05-03 13:00:47] start: Requested by Console
[2019-05-03 13:00:47] Starting GTWaccounts
[2019-05-03 13:00:47] Starting shader_detail
[2019-05-03 13:00:47] WARNING: GTWcore\s_core.lua:183: Access denied @ 'setResourceInfo' [ModifyOtherObjects in ACL denied resource GTWcore to access shader_detail]
[2019-05-03 13:00:47] Server minclientversion is now 1.5.6-9.16588.0
[2019-05-03 13:00:47] Starting GTWupdates
[2019-05-03 13:00:47] WARNING: GTWcore\s_core.lua:183: Access denied @ 'setResourceInfo' [ModifyOtherObjects in ACL denied resource GTWcore to access GTWupdates]
[2019-05-03 13:00:47] WARNING: GTWcore\s_core.lua:183: Access denied @ 'setResourceInfo' [ModifyOtherObjects in ACL denied resource GTWcore to access GTWaccounts]
[2019-05-03 13:00:47] start: Resource 'gtwaccounts' started

 

Edited by MrNabodGare
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...