[Config] Reworked global.cfg (EP4)

Results 1 to 1 of 1
  1. #1
    [Config] Reworked global.cfg (EP4) Future is online now
    SupervisorRank
    Dec 2011 Join Date
    1,828Posts

    [Config] Reworked global.cfg (EP4)


    RaGEZONE Recommends

    RaGEZONE Recommends

    After the countless fails of people modifying the admittedly horribly designed global.cfg file, I decided to share my rework (or rather re-structure) on it.

    I took special care of only leaving the relevant and frequently changed settings at the top of the file. Everything else has been pushed down below the comment:

    Code:
    ################################################################################
    # Advanced settings (change only if really needed)
    ################################################################################
    and finally:

    Code:
    ################################################################################
    # DONT TOUCH THIS SHIT !EVER! (its a bunch of unused / never changing / redirected and simply not working settings
    ################################################################################
    If you can read, you can already understand that these are settings that are hardly to never be changed. Some are simply not working, some are redirected by me to the top of the file, some are never used / changed. This is no try to hide something... go through the settings if you wish. But change at your own risk (not that I take responsibility for anything you change at all ofc ;) ).

    I also left a lot of comments (beginning with "#") for you, which describe the functionality of the settings in detail (only relevant ones).

    SO HAVE FUN

    Code:
    ################################################################################
    # Global Settings
    ################################################################################
    	$LOCAL_IP_ADDR				= 192.168.1.1		#	Your server IP (cannot be 127.0.0.1!)
    	$SERVER_GROUP_NAME			= AceTard			#	Your (main) server group name
    	$LANGUAGE_TYPE				= 0	# 0 means default aka database. If that doesn't work use 1 (English) with English localization files
    	
    ################################################################################
    # Database Settings
    ################################################################################
    	$ACCOUNT_DB_DATABASE_NAME		= atum2_db_account
    	$GROUP_DB_DATABASE_NAME			= atum2_db_1
    	$DB_ID							= atum		# DB Login
    	$DB_PWD							= callweb	# DB PW
    	$DB_PORT						= 1433
    	
    ################################################################################
    # Auto Update Settings (test these with your browser)
    ################################################################################
    	$DOWNLOAD_HTTP_SERVER_IP1			= yourserver.com/update
    	$DOWNLOAD_HTTP_SERVER_IP2			= yourserver.com/update
    	$DOWNLOAD_HTTP_SERVER_PORT			= 80
    	$DOWNLOAD_HTTP_SERVER_ACCOUNT		= anonymous
    	$DOWNLOAD_HTTP_SERVER_PASSWORD		=
    
    	$CLIENT_UPDATE_DOWNLOAD_HTTP_DIR		= /aceonline/
    	$LAUNCHER_FILE_DOWNLOAD_HTTP_PATH		= /launcher/Launcher.atm
    	$DELETE_FILE_LIST_DOWNLOAD_HTTP_PATH	= /deletefilelist/deletefilelist.txt
    	$NOTICE_FILE_DOWNLOAD_HTTP_PATH			= /notice/notice.txt
      	$VERSION_LIST_FILE_DOWNLOAD_HTTP_PATH	= /aceonline/versionlist.ver
    	
    ################################################################################
    # The minimum supported client version (that can be updated)
    # MUST be lower than your current version specified in the versions.cfg file
    ################################################################################
    	$CLIENT_REINSTALL_VERSION		= 0.0.0.0
    	
    ################################################################################
    # Allowed Admin Tool IP (register the Tool IPs of your admins here by removing the # and adding a valid IP)
    ################################################################################
    	$ALLOWED_TOOL_IP_1				127.0.0.1
    	$ALLOWED_TOOL_IP_2				$LOCAL_IP_ADDR
    #	$ALLOWED_TOOL_IP_3				
    #	$ALLOWED_TOOL_IP_4				
    #	$ALLOWED_TOOL_IP_5				
    #	$ALLOWED_TOOL_IP_6				
    #	$ALLOWED_TOOL_IP_7				
    #	$ALLOWED_TOOL_IP_8				
    #	$ALLOWED_TOOL_IP_9				
    #	$ALLOWED_TOOL_IP_10	
    	
    ################################################################################
    # Server Publisher settings (only visible to admins)
    ################################################################################
    	$MAIN_OR_TEST_SERVER_NAME	= Main
    	$GAME_PUBLISHER				= HueHue
    
    ################################################################################
    # TRUE for the Arena Server Config only!
    ################################################################################
    	$ARENA_SERVER_FLAG			= FALSE
    	
    ################################################################################
    # Advanced settings (change only if really needed)
    ################################################################################
    	$INGNORE_CLIENT_VERSION_UPDATE			= FALSE	# Whether mismatching client and server versions should be ignored (FALSE for live servers, TRUE for testing)
    	$CHECK_LOG_SERVER						= TRUE	# Whether the Field Server should require the Log Server to work (Disable if you have problems with the log server)
    	$SERVER_GROUP_LIMITE_USER_COUNT			= 1000	# Max user limit of users per server group
    	$CASH_SHOP_SERVICE_FLAG					= TRUE	# Whether you have a cash shop... so most probably TRUE for all of you...
    	$USE_SECONDARYPASSWORD_SYSTEM_FLAG		= TRUE
    	$USE_INFL_SELECTION_RESTRICT_SYSTEM		= TRUE	# This is masangs try to balance nations when the player finishes "The Moment of Truth" mission, If you enable it, players can't join an overfilled nation anymore
    	
    	# Each Server's IP
    	$PRE_SERVER_IP		= $LOCAL_IP_ADDR
    	$IM_SERVER_IP		= $LOCAL_IP_ADDR
    	$LOG_SERVER_IP		= $LOCAL_IP_ADDR
    	$FIELD_SERVER_IP	= $LOCAL_IP_ADDR
    	$NPC_SERVER_IP		= $LOCAL_IP_ADDR
    	
    	# Default Listening Ports (you usually don't want to change them)
    	$PRE_SERVER_PORT	= 15100
    	$IM_SERVER_PORT		= 15101
    	$LOG_SERVER_PORT	= 15102
    	$FIELD_SERVER_PORT	= 15103
    	$NPC_SERVER_PORT	= 15104
    	
    	# Arena server specific settings
    	$ARENA_SERVER_NAME			= ARENA
    	$ARENA_FIELD_SERVER			= $LOCAL_PUBLIC_IP_ADDR
    	$ARENA_FIELD_SERVER_PORT	= 15107
    	$ARENA_IM_SERVER			= $LOCAL_PUBLIC_IP_ADDR
    	$ARENA_IM_SERVER_PORT		= 15105
    	$ARENA_SERVER_ID			= 10090
    
    	$LOCAL_PUBLIC_IP_ADDR		= $LOCAL_IP_ADDR #until now I've not spotted the difference between the local IP and this one
    
    ################################################################################
    # DONT TOUCH THIS SHIT !EVER! (its a bunch of unused / never changing / redirected and simply not working settings
    ################################################################################
    	$SERVER_GROUP_DEFAULT_MAP					= 2001
    	$IS_JAMBOREE_SERVER							= FALSE
    	$IS_ONLY_CHOICE_SERVER						= FALSE
    	$IS_TEST_SERVER								= FALSE
    	$PRE_ODBC_UID								$DB_ID
    	$PRE_ODBC_PASSWD							$DB_PWD
    	$PRE_DB_SERVER_IP							$LOCAL_IP_ADDR
    	$PRE_DB_SERVER_PORT							$DB_PORT
    	$PRE_DB_SERVER_DATABASE_NAME				$ACCOUNT_DB_DATABASE_NAME
    	$SERVER_GROUP_ODBC_UID						$DB_ID
    	$SERVER_GROUP_ODBC_PASSWD					$DB_PWD
    	$SERVER_GROUP_DB_SERVER_IP					$LOCAL_IP_ADDR
    	$SERVER_GROUP_DB_SERVER_PORT				$DB_PORT
    	$SERVER_GROUP_DB_SERVER_DATABASE_NAME		$GROUP_DB_DATABASE_NAME	
    	$LOG_SERVER_GROUP_ODBC_UID					$DB_ID
    	$LOG_SERVER_GROUP_ODBC_PASSWD				$DB_PWD
    	$LOG_SERVER_GROUP_DB_SERVER_IP				$LOCAL_IP_ADDR
    	$LOG_SERVER_GROUP_DB_SERVER_PORT			$DB_PORT
    	$LOG_SERVER_GROUP_DB_SERVER_DATABASE_NAME	$GROUP_DB_DATABASE_NAME
    	$IS_EXTERNAL_AUTHENTICATION					= FALSE
    	$EXT_AUTH_ODBC_UID							$DB_ID
    	$EXT_AUTH_ODBC_PASSWD						$DB_PWD
    	$EXT_AUTH_DB_SERVER_IP						$LOCAL_IP_ADDR
    	$EXT_AUTH_DB_SERVER_PORT					$DB_PORT
    	$EXT_AUTH_DB_SERVER_DATABASE_NAME			$ACCOUNT_DB_DATABASE_NAME	
    	$BILLING_DB_SERVER_USER_ID					$DB_ID
    	$BILLING_DB_SERVER_PASSWORD					$DB_PWD
    	$BILLING_DB_SERVER_IP						$LOCAL_IP_ADDR
    	$BILLING_DB_SERVER_PORT						$DB_PORT
    	$BILLING_DB_SERVER_DATABASENAME				$GROUP_DB_DATABASE_NAME
    	$UPLOAD_FTP_SERVER_IP						= 1.1.1.1
    	$UPLOAD_FTP_SERVER_PORT						= 0
    	$UPLOAD_FTP_SERVER_ACCOUNT					= atum
    	$UPLOAD_FTP_SERVER_PASSWORD					= callweb
    	$DOWNLOAD_FTP_SERVER_IP1					= 1.1.1.1
    	$DOWNLOAD_FTP_SERVER_IP2					= 1.1.1.1
    	$DOWNLOAD_FTP_SERVER_PORT					= 0
    	$DOWNLOAD_FTP_SERVER_ACCOUNT				= anonymous
    	$DOWNLOAD_FTP_SERVER_PASSWORD				= 
    	$CLIENT_FTP_UPDATE_UPLOAD_DIR				= //hue
    	$LAUNCHER_FILE_UPLOAD_PATH					= //hue
    	$DELETE_FILE_LIST_UPLOAD_PATH				= //hue
    	$NOTICE_FILE_UPLOAD_PATH					= //hue
        $VERSION_LIST_FILE_UPLOAD_PATH				= //hue
    	$CLIENT_FTP_UPDATE_DOWNLOAD_DIR				= //hue
    	$LAUNCHER_FILE_DOWNLOAD_PATH				= //hue
    	$DELETE_FILE_LIST_DOWNLOAD_PATH				= //hue
    	$NOTICE_FILE_DOWNLOAD_PATH					= //hue
    	$AUTO_UPDATE_SERVER_TYPE					= HTTP	# Ever since EP 3.5 FTP is bugged, so just don't touch it
    	$VD_SERVER_IP								= $LOCAL_IP_ADDR
    	$VC_SERVER_IP								= $LOCAL_IP_ADDR
    	$VOIP_1to1_SERVER_IP						= $LOCAL_IP_ADDR
    	$VOIP_NtoN_SERVER_IP						= $LOCAL_IP_ADDR
    	$VD_SERVER_PORT								= 17150
    	$VC_SERVER_PORT								= 17151
    	$VOIP_1to1_SERVER_PORT						= 17152
    	$VOIP_NtoN_SERVER_PORT						= 17150
    	$$SERVER_GROUP_INFO_1						= $SERVER_GROUP_NAME	10061					TRUE
    	$$GAME_SERVER_GROUP_NAME1					= $SERVER_GROUP_NAME	$LOCAL_PUBLIC_IP_ADDR	1
    
    # This file was reworked by Future (http://forum.ragezone.com/members/1333384503.html) to make the life of newbies of the Ace Online scene a looooot easier!
    # If you don't mind keep this little note at the end of the file to let your ppl know who made that shit.
    As you see that's 7 groups you have to change. Instead of 200+ settings all over the file ;)

    You can also download the file as attachment: global.zip

    This should help you configure your server by miles. If it did, don't hesitate pushing the like button ;)




    Quote Originally Posted by A Wise Man
    P-Servers are NOT dead. Bugs need squishing. Quests need fixing. Unfortunately, majority of people don't know the difference between a computer and a toaster so...





Advertisement