Jump to content

problem on running a server


Guest Wolfe

Recommended Posts

well, after setting all things as said on the Server manual, wen I try to run it it gives a message like this :

[18:27:58]ERROR: Error parsing config file

[18:27:58]Server stopped!

Press Q to shut down server !

can somebody help me ? I dont know what to do :( thx...

Wolfe

Link to comment

Error parsing config file... Must be mtaserver.conf. I'll give you one:

<config> 
  
    <!-- This parameter specifies the name of the server, visible in the ingame server browser or in ASE. It's a required parameter. --> 
    <servername></servername> 
     
    <!-- This parameter specifies the IP address on which the server. It's useful for servers which have multiple IP addresses attached to them. If left blank, it will default to server's standard local IP. --> 
    <serverip></serverip> 
     
    <!-- This parameter specifies the Maximum Transmission Unit or maximum packet size that the server will use. This will depend on the nature of your clients, as well as the network medium your server is connected to. --> 
    <mtusize>1264</mtusize> 
  
    <!-- This parameter specifies the UDP port on which the server will be accepting incoming player connections; default value: 22003. It's a required parameter. --> 
    <serverport>22004</serverport>  
     
    <!-- This parameter specifies the number of maximum player slots available on the server; default value: 32. It's a required parameter. --> 
    <maxplayers>32</maxplayers> 
     
    <!-- This parameter specifies whether the builtin http server is going to be used. Values: 0 - disabled , 1 - enabled ; default value: 1. Optional parameter. --> 
    <httpserver>1</httpserver> 
     
    <!-- This parameter specifies the TCP port on which the server will be accepting incoming http connections. It can be set to the same value as <serverport>. It's a required parameter if <httpserver> is set to 1. --> 
    <httpport>22005</httpport> 
     
    <!-- This parameter specifies whether connecting players will be able to download needed resources for them from an external site rather than from the server. 0 - disabled , 1 - enabled; default value: 0. --> 
    <httpdownload>1</httpdownload> 
     
    <!-- If set, this parameter specifies the external URL from which clients will be able to download needed resources ingame. Required parameter if <httpdownload> is set to 1. --> 
    <httpdownloadurl></httpdownloadurl> 
     
    <!-- This parameter can be used to make the server report to ASE master servers, allowing it to be visible in the ingame server browser. An additional UDP port needs to be available for this to work (value from <serverport> + 123 , so on a default <serverport> value 22003 the right port will be 22126 ). Available values: 0 - disabled , 1 - enabled. Optional parameter, defaults to 0. --> 
    <ase>1</ase> 
     
    <!-- If set, players will have to provide a password specified below, before they can connect to the server. If left blank, server doesn't require a password from them. --> 
    <password></password>  
     
    <!-- Specifies a location and name of the main server log file. If left blank, server won't be saving this file. --> 
    <logfile>logs/server.log</logfile> 
     
    <!-- This parameter specifies a location and name of the Access Control List settings file. If left blank, server will use acl.xml file. --> 
    <acl>acl.xml</acl>  
  
    <!-- Specifies a location and name of the debugscript log file. If left blank, server won't be saving this file. --> 
    <scriptdebuglogfile>logs/scripts.log</scriptdebuglogfile>  
     
    <!-- Specifies a level of the debugscript log file. Available values: 0, 1, 2, 3. When not set, defaults to 0. --> 
    <scriptdebugloglevel>0</scriptdebugloglevel> 
     
    <!-- Specifies a level of the html debug. Available values: 0, 1, 2, 3. When not set, defaults to 0. --> 
    <htmldebuglevel>0</htmldebuglevel> 
  
    <!-- Specifies the module(s) which are loaded with the server. To load several modules, add more <module> parameter(s). Optional parameter. --> 
    <!-- <module>sample_win32.dll</module> --> 
    <!-- <module>sample_linux.so</module> --> 
     
    <!-- Specifies resources that are loaded when the server starts and/or which are protected from being stopped. To specify several resources, add more <resource> parameter(s). --> 
    <resource src="admin" startup="1" protected="0"/> 
    <resource src="helpmanager" startup="1" protected="0"/> 
    <resource src="mapcycler" startup="0" protected="0"/> 
    <resource src="mapmanager" startup="1" protected="0"/> 
    <resource src="resourcebrowser" startup="1" protected="1" default="true"/> 
    <resource src="resourcemanager" startup="1" protected="1"/> 
    <resource src="scoreboard" startup="1" protected="0"/> 
    <resource src="spawnmanager" startup="1" protected="0"/> 
    <resource src="votemanager" startup="0" protected="0"/> 
    <resource src="webadmin" startup="1" protected="0"/> 
    <resource src="webmap" startup="1" protected="0"/> 
</config> 
  

Put that in:

MTA install folder>server>mods>deathmatch>mtaserver.conf

It might also be the ACL, but I guess it shows that it couldn't parse ACL in that case. :P

Anyway: Some hints:

-Fill in a name between and

-Leave serverIP empty

-If you want a public server, leave ASE to 1. Otherwise, set it to 0.

-If there are any resources you want to start at serverstart, do it in the list at the bottom in the same way as the others.

But I'd suggest trying without editing first. :P

Link to comment

well on the exe it gives a message that the server started and is ready to accept connections, and before it says " All Seeing Eye listing enabled. Port 22127 ( UDP) must be accessible from the internet, and yes I tryed, and tryed unblocking the port from th firewall, and tryed using my own ip, and I use a wireless router, can this do any diference ?

Link to comment

If you use 127.0.0.1, that'd be a little weird that something outside of the local PC is the prob... =/

I guess there is just something else going on... Ehm... What IP do you use? Local IP, net IP or localhost? Note that 127.0.0.1 only works for your own PC.

Link to comment
  • Recently Browsing   0 members

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