What's new

[Solved]I have some problem with MTA

Status
Not open for further replies.

carier

Donator
Joined
Jan 30, 2011
Messages
1,707
Location
Bulgaria
'Ello. I wanted to try to create something with MTA, you know, but I have some problem I couldn't solve.
Well, I start the MTA and click "Map Editor". In the next moment a box appears , which tells me that it creates a LAN server or something. The problem comes here, as I am waiting to start that LAN server forever. I tried downloading the newest version, still nothing. I really need some help. Thank you.
(Yes, I posted this in Off Topic chat, but they said me to post it here.)
 

Giga

Donator
Joined
Dec 4, 2010
Messages
18,862
Location
MNL
Oh k..

The source of the LAN server is at the "server" folder of the MTA San Andreas Installation Folder. (C:/Program Files/MTA San Andreas/server).

Before you proceed, you need to configure the ACL of your server. Go to C:/Program Files/MTA San Andreas/server/mods/deathmatch, then double-click "acl.xml". It should show up your default text editor (Notepad, EditPlus, etc.)

You better find this ACL by browsing the whole XML, or Ctrl + F:

Code:
<group name="Admin">
You need to add yourself in the "Admins" group of your MTA server. Here are the exact codes:

Code:
&nbsp;  <group name="Admin">
&nbsp; &nbsp; &nbsp; <acl name="Moderator"/>
&nbsp; &nbsp; &nbsp; <acl name="SuperModerator"/>
&nbsp; &nbsp; &nbsp; <acl name="Admin"/>
&nbsp; &nbsp; &nbsp; <acl name="RPC"/>
&nbsp; &nbsp; &nbsp; <object name="user.YOUR USERNAME HERE"/>
&nbsp; &nbsp; &nbsp; <object name="resource.admin"/>
&nbsp; &nbsp; &nbsp; <object name="resource.webadmin"/>
&nbsp;  </group>
Go and edit that "YOUR USERNAME HERE" to YOUR username you want. After you input your username, save then exit.

Go back to the "server" folder on your MTA SA program files, (/MTA San Andreas/server/), then double-click "MTA Server.exe". It should start DOS, then these DOS words should appear.

Code:
===========================================================
= Multi Theft Auto: San Andreas v1.0.5
===========================================================
= Server name&nbsp; &nbsp; &nbsp; : Default MTA Server
= Server IP address: 
= Server port&nbsp; &nbsp; &nbsp; : 22003
= 
= Log file&nbsp; &nbsp; &nbsp; &nbsp;  : ..reas/server/mods/deathmatch/logs/server.log
= Maximum players&nbsp; : 32
= MTU packet size&nbsp; : 1264
= HTTP port&nbsp; &nbsp; &nbsp; &nbsp; : 22005
===========================================================
[2011-04-08 16:22:35] Resources: 54 loaded, 0 failed
[2011-04-08 16:22:35] Querying game-monitor.com master server... success!
[2011-04-08 16:22:37] Querying backup master server... success!
[2011-04-08 16:22:39] Starting resources...
[2011-04-08 16:22:40] INFO: Admin added 395 missing rights
[2011-04-08 16:22:41] Server started and is ready to accept connections!
[2011-04-08 16:22:41] Type 'help' for a list of commands.
After the last sentence has appeared, type "start editor" in the DOS, then the Map Editor resource should be loaded.

After you're done with DOS, start your MTA San Andreas program, THEN, Click "Browse Servers", then click on the "Lan" tab above. You should see "Default MTA Server" server, double-click it then GTA will be loaded.

After those steps, you are now in the server.

If you don't find the "Default MTA Server" server, you need to check your firewall and unblock the "MTA Server.exe" program.

If there are more problems, just reply, since I also own a MTA server ;)
 

carier

Donator
Joined
Jan 30, 2011
Messages
1,707
Location
Bulgaria
Yea, the problem is there that I don't have the "object name" thing. Maybe I should add it?
 

carier

Donator
Joined
Jan 30, 2011
Messages
1,707
Location
Bulgaria
Also, I asked how to open the damn Map Editor without waiting 10 centuries, not how to make my own server :D
 

Giga

Donator
Joined
Dec 4, 2010
Messages
18,862
Location
MNL
It's just the same.......

The Map Editor server opens the MTA Server.exe from the MTA program files.

Opening the MTA Server.exe is just an alternative way to open the Map Editor.
 

carier

Donator
Joined
Jan 30, 2011
Messages
1,707
Location
Bulgaria
Thanks, it worked. Now I have a question. How can I make so there will be a password, or the people not to change the game modes, that pisses me off.
P.S. Giving you a "Thanks"
 

Giga

Donator
Joined
Dec 4, 2010
Messages
18,862
Location
MNL
Register:

Code:
/register [username] [password]
then, Login:

Code:
/login [username] [password]
( Without [] )

Then, you should see the "Press 'p' to open the admin panel" on the chatbox. Press p, then you should see the MTA admin panel.

Server -> Set Password
 

Harper

Bronze Member
Joined
Oct 13, 2010
Messages
331
Location
United Kingdom
Put this into your "Server > Mods > Deathmatch" folder;

Code:
<acl>
&nbsp;  <group name="Everyone">
&nbsp; &nbsp; &nbsp; <acl name="Default"/>
&nbsp; &nbsp; &nbsp; <object name="user.*"/>
&nbsp; &nbsp; &nbsp; <object name="resource.*"/>
&nbsp;  </group>
&nbsp;  <group name="Moderator">
&nbsp; &nbsp; &nbsp; <acl name="Moderator"/>
&nbsp; &nbsp; &nbsp; <object name="resource.mapcycler"/>
&nbsp; &nbsp; &nbsp; <object name="resource.mapmanager"/>
&nbsp; &nbsp; &nbsp; <object name="resource.resourcemanager"/>
&nbsp; &nbsp; &nbsp; <object name="resource.votemanager"/>
&nbsp;  </group>
&nbsp;  <group name="SuperModerator">
&nbsp; &nbsp; &nbsp; <acl name="Moderator"/>
&nbsp; &nbsp; &nbsp; <acl name="SuperModerator"/>
&nbsp;  </group>
&nbsp;  <group name="Admin">
&nbsp; &nbsp; &nbsp; <acl name="Moderator"/>
&nbsp; &nbsp; &nbsp; <acl name="SuperModerator"/>
&nbsp; &nbsp; &nbsp; <acl name="Admin"/>
&nbsp; &nbsp; &nbsp; <acl name="RPC"/>
&nbsp; &nbsp; &nbsp; <object name="resource.admin"/>
&nbsp; &nbsp; &nbsp; <object name="resource.webadmin"/>
&nbsp;  </group>
&nbsp;  <group name="Console">
&nbsp; &nbsp; &nbsp; <acl name="Moderator"/>
&nbsp; &nbsp; &nbsp; <acl name="SuperModerator"/>
&nbsp; &nbsp; &nbsp; <acl name="Admin"/>
&nbsp; &nbsp; &nbsp; <acl name="RPC"/>
&nbsp; &nbsp; &nbsp; <object name="user.Console"/>
&nbsp;  </group>
&nbsp;  <group name="RPC">
&nbsp; &nbsp; &nbsp; <acl name="RPC"/>
&nbsp;  </group>
&nbsp;  <group name="MapEditor">
&nbsp; &nbsp; &nbsp; <acl name="Default"/>
&nbsp; &nbsp; &nbsp; <acl name="MapEditor"/>
&nbsp; &nbsp; &nbsp; <object name="resource.editor_main"/>
&nbsp; &nbsp; &nbsp; <object name="resource.edf"/>
&nbsp;  </group>
&nbsp;  <group name="raceACLGroup">
&nbsp; &nbsp;&nbsp; <acl name="Default"/>
&nbsp; &nbsp; &nbsp; <acl name="raceACL"/>
&nbsp; &nbsp; &nbsp; <object name="resource.race"/>
&nbsp;  </group>
&nbsp;  <acl name="Default">
&nbsp; &nbsp; &nbsp; <right name="general.ModifyOtherObjects" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="general.http" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="command.start" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="command.stop" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="command.stopall" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="command.gamemode" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="command.changemode" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="command.changemap" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="command.stopmode" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="command.stopmap" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="command.skipmap" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="command.restart" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="command.refresh" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="command.refreshall" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="command.addaccount" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="command.delaccount" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="command.debugscript" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="command.chgpass" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="command.loadmodule" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="command.upgrade" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="command.mute" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="command.crun" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="command.srun" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="command.run" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="command.unmute" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="command.kick" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="command.ban" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="command.banip" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="command.unbanip" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="command.shutdown" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="command.install" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="command.aexec" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="command.whois" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="command.whowas" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="function.executeCommandHandler" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="function.setPlayerMuted" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="function.addAccount" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="function.addBan" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="function.removeBan" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="function.removeAccount" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="function.setAccountPassword" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="function.kickPlayer" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="function.banIP" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="function.banPlayer" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="function.banSerial" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="function.getBansXML" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="function.unbanIP" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="function.unbanSerial" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="function.getClientIP" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="function.setServerPassword" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="function.getServerPassword" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="function.callRemote" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="function.startResource" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="function.stopResource" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="function.restartResource" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="function.createResource" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="function.copyResource" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="function.addResourceMap" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="function.addResourceConfig" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="function.removeResourceFile" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="function.setResourceDefaultSetting" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="function.removeResourceDefaultSetting" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="function.redirectPlayer" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="function.aclReload" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="function.aclSave" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="function.aclCreate" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="function.aclDestroy" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="function.aclSetRight" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="function.aclRemoveRight" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="function.aclCreateGroup" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="function.aclDestroyGroup" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="function.aclGroupAddACL" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="function.aclGroupRemoveACL" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="function.aclGroupAddObject" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="function.aclGroupRemoveObject" access="false"/>
&nbsp;  </acl>
&nbsp;  <acl name="Moderator">
&nbsp; &nbsp; &nbsp; <right name="general.ModifyOtherObjects" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="command.start" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="command.stop" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="command.stopall" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="command.gamemode" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="command.changemode" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="command.changemap" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="command.stopmode" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="command.stopmap" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="command.skipmap" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="command.restart" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="command.mute" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="command.unmute" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="command.kick" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="command.ban" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="command.banip" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="command.unbanip" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="command.whois" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="command.whowas" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.setPlayerMuted" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.kickPlayer" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.banIP" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.banPlayer" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.banSerial" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.getBansXML" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.unbanIP" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.unbanSerial" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.getClientIP" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.startResource" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.stopResource" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.restartResource" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.redirectPlayer" access="true"/>
&nbsp;  </acl>
&nbsp;  <acl name="SuperModerator">
&nbsp; &nbsp; &nbsp; <right name="general.ModifyOtherObjects" access="false"/>
&nbsp; &nbsp; &nbsp; <right name="command.refresh" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="command.refreshall" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="command.loadmodule" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="command.addaccount" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="command.delaccount" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="command.chgpass" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.addAccount" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.removeAccount" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.setAccountPassword" access="true"/>
&nbsp;  </acl>
&nbsp;  <acl name="Admin">
&nbsp; &nbsp; &nbsp; <right name="general.ModifyOtherObjects" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="general.http" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="command.shutdown" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="command.install" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="command.aexec" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="command.debugscript" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="command.upgrade" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="command.crun" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="command.srun" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="command.run" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.addBan" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.removeBan" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.executeCommandHandler" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.setServerPassword" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.getServerPassword" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.createResource" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.copyResource" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.addResourceMap" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.addResourceConfig" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.removeResourceFile" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.setResourceDefaultSetting" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.removeResourceDefaultSetting" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.aclReload" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.aclSave" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.aclCreate" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.aclDestroy" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.aclSetRight" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.aclRemoveRight" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.aclCreateGroup" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.aclDestroyGroup" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.aclGroupAddACL" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.aclGroupRemoveACL" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.aclGroupAddObject" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.aclGroupRemoveObject" access="true"/>
&nbsp;  </acl>
&nbsp;  <acl name="RPC">
&nbsp; &nbsp; &nbsp; <right name="function.callRemote" access="true"/>
&nbsp;  </acl>
&nbsp;  <acl name="MapEditor">
&nbsp; &nbsp; &nbsp; <right name="general.ModifyOtherObjects" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.startResource" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.stopResource" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.restartResource" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.createResource" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.copyResource" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.addResourceMap" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.addResourceConfig" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.removeResourceFile" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.setResourceDefaultSetting" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.removeResourceDefaultSetting" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.xmlLoadFile" access="true"/>
&nbsp;  </acl>
&nbsp;  <acl name="raceACL">
&nbsp; &nbsp; &nbsp; <right name="general.ModifyOtherObjects" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.xmlLoadFile" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.startResource" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.stopResource" access="true"/>
&nbsp; &nbsp; &nbsp; <right name="function.restartResource" access="true"/>
&nbsp; &nbsp; </acl>
</acl>
 
Status
Not open for further replies.
Top