Admin command does not work

UASECO is a fork of the XAseco2/1.03 controller for Trackmania and has been overhauled to support the Modescript Gamemodes of Trackmania².

Moderators: undef.de, NADEO

Post Reply
Yuguiboy
Posts: 5
Joined: 02 Jul 2018, 15:36

Admin command does not work

Post by Yuguiboy » 17 May 2019, 22:06

Hello there,
So I created a server for me and my friends to play our maps and have fun. I installed uaseco but all /admin commands don't seem to do anything, there is no feedbacks. When I send the command, nothing happen and there is no error message. I checked many times UASECO.xml, and everything seems ok, I'm the actual masteradmin. I also tried to add one of my friend to the admin list in adminops.xml file but he gets the same issue. I just don't get it, someone can help me? It's pretty inconvenient to can't have access to those commands because they are very useful.

UASECO.xml :

Code: Select all

<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<settings>
	<!--
	Setup for connection to the dedicated server, make sure this is
	the same as you have set in "UserData/Config/dedicated_cfg.txt"
	//-->
	<dedicated_server>
		<login>SuperAdmin</login>
		<password>*********</password>
		<ip>127.0.0.1</ip>
		<port>5001</port>
		<timeout>180</timeout>
	</dedicated_server>

	<masteradmins>
		<tmlogin>Yuguiboy</tmlogin>
	</masteradmins>

	<!--
	Database Server settings
	//-->
	<dbms>
		<host>localhost</host>
		<login>root</login>
		<password></password>
		<database>uaseco</database>

		<!-- The ServerLogin is a good prefix to identify, but you should write it lower case and remove all underscore (max. 64 chars, incl. the default names like "maphistory") -->
		<table_prefix>uaseco_</table_prefix>
	</dbms>

	<!--
	Set to contact (email, ICQ, etc) to show in /server command, leave empty to skip entry
	//-->
	<admin_contact></admin_contact>

	<!--
	To protect all "/admin" commands you should setup a unlock password
	//-->
	<lock_password></lock_password>

	<!--
	Set to 'false' to log passwords in the logfile
	//-->
	<mask_password>true</mask_password>

	<!--
	We supports the "stripling" script for controlling the dedicated Server and UASECO,
	here you can setup the path where the XML-File will be stored.
	//-->
	<stripling_path>cache/stripling.xml</stripling_path>

	<!--
	Full path in where the "ManiaPlanetServer" or "ManiaPlanetServer.exe" is located,
	required for the checking routine of the dedicated server scripts.
	E.g.: "/home/user/bin/GameServer/"
	//-->
	<dedicated_installation>D:\server_tm</dedicated_installation>

	<!--
	Maplist used by the dedicated server, typical located in "UserData/Maps/MatchSettings/"
	//-->
	<default_maplist>maplist.txt</default_maplist>
	<writemaplist_random>true</writemaplist_random>

	<!-- If you use an external tool (e.g. "AdminServ") to add maps to the dedicated server, then have to set this to 'true', otherwise set this to 'false'. -->
	<automatic_refresh_maplist>false</automatic_refresh_maplist>

	<!--
	Specifies how large the Map(List) history buffer is.
	//-->
	<max_history_entries>20</max_history_entries>

	<!--
	Sets the minimum amount of records required for a player to be ranked: Higher = Faster
	//-->
	<server_rank_min_records>3</server_rank_min_records>

	<!--
	Setup a path where the image from each map will be stored (for later use in e.g. Records-Eyepiece).
	//-->
	<mapimages_path>D:\server_tm\uaseco\Blider</mapimages_path>

	<adminops_file>config/adminops.xml</adminops_file>
	<bannedips_file>config/bannedips.xml</bannedips_file>

	<!--
	Will be stored into "UserData/Config/" folder of the dedicated server.
	-->
	<blacklist_file>blacklist.txt</blacklist_file>
	<guestlist_file>guestlist.txt</guestlist_file>



	<log_all_chat>false</log_all_chat>
	<chatpmlog_times>true</chatpmlog_times>

	<!--
	2 = in message window, 1 = in chat, 0 = none
	//-->
	<show_playtime>1</show_playtime>

	<!--
	2 = in message window, 1 = in chat, 0 = none
	//-->
	<show_curmap>0</show_curmap>

	<lists_colornicks>true</lists_colornicks>
	<lists_colormaps>true</lists_colormaps>
	<global_win_multiple>50</global_win_multiple>

	<admin_client_version></admin_client_version>
	<player_client_version></player_client_version>

	<afk_force_spec>true</afk_force_spec>
	<clickable_lists>true</clickable_lists>
	<show_rec_logins>true</show_rec_logins>

	<!--
	True = in message window, False = in chat
	//-->
	<rounds_in_window>false</rounds_in_window>

	<!--
	Timeout of the message window in seconds
	//-->
	<window_timeout>6</window_timeout>

	<colors>
		<error>$F00$I</error>
		<welcome>$F00</welcome>
		<server>$FF0</server>
		<highlite>$FFF</highlite>
		<timelite>$BBB</timelite>
		<record>$0F3</record>
		<emotic>$FA0</emotic>
		<music>$D80</music>
		<message>$39F</message>
		<rank>$FF3</rank>
		<vote>$F8F</vote>
		<karma>$FF0</karma>
		<donate>$F0F</donate>
		<admin>$FF0</admin>
		<black>$000</black>
		<grey>$888</grey>
		<login>$00F</login>
		<logina>$0C0</logina>
		<nick>$F00</nick>
		<interact>$FF0$I</interact>
		<dedimsg>$28B</dedimsg>
		<dedirec>$0B3</dedirec>
	</colors>

	<messages>
		<!-- This entry will replace all '»' at the begin of each chat message -->
		<chat_prefix_replacement></chat_prefix_replacement>

		<!-- init messages -->
		<startup>{#server}» {#highlite}UASECO/{1}{#server} build {#highlite}{2}{#server} running on {#highlite}{3}{#server}:{#highlite}{4}{#server}</startup>
		<welcome>{#server}» {#welcome}Welcome {#highlite}{1}{#welcome} to {#highlite}{2}$z$s{br}{#server}» {#welcome}This server uses {#highlite}UASECO/{3}{#welcome} to manage your records.</welcome>
		<warning>$s{#welcome}This is an administrative warning.{br}{br}$gWhatever you wrote is against our server's{br}policy. Not respecting other players, or{br}using offensive language might result in a{br}{#welcome}kick, or ban {#message}the next time.{br}{br}$gThe server administrators.</warning>

		<!-- record misc. messages -->
		<ranking_record2>{#rank}{1}{#message}.{#timelite}{2}{#message}, </ranking_record2>
		<ranking_record>{#rank}{1}{#message}.{#timelite}{2}{#message}[{#timelite}{3}{#message}], </ranking_record>

		<!-- record relation messages -->
		<first_record>{#server}» {#record}The first Local record is: </first_record>
		<last_record>{#server}» {#record}The last Local record is: </last_record>
		<diff_record>{#server}» {#record}Difference between {1}{#record} and {2}{#record} is: {#highlite}{3}</diff_record>
		<summary>{#server}» {#highlite}{1} $z$s{#record}has {#highlite}{2}{#record} Local record{3}, the top {4} being: </summary>
		<sum_entry>{#highlite}{1} {#record}rec{2} #{#rank}{3}{#record}, </sum_entry>

		<!-- ranking messages -->
		<ranking_record_new>{#rank}{1}{#message}.{#highlite}{2}{#message}[{#highlite}{3}{#message}], </ranking_record_new>

		<!-- win messages -->
		<wins>{#server}» {#record}You have already won {#highlite}{1}{#record} race{2}</wins>
		<wins_other>{#server}» {#record}Player {#highlite}{1}{#record} has won {#highlite}{2}{#record} race{3}</wins_other>
		<win_new>{#server}» {#record}Congratulations, you won your {#highlite}{1}{#record}. race!</win_new>
		<win_multi>{#server}» {#record}Congratulations, {#highlite}{1}{#record} won his/her {#highlite}{2}{#record}. race!</win_multi>

		<!-- muting messages -->
		<mute>{#server}» Player {#highlite}{1}$z$s{#server} is muted!</mute>
		<unmute>{#server}» Player {#highlite}{1}$z$s{#server} is unmuted!</unmute>
		<muted>{#server}» {#highlite}{1}{#error} disabled because you are on the global mute list!</muted>

		<!-- playtime/map messages -->
		<playtime>{#server}» Current map {#highlite}{1}{#server} has been played for {#highlite}{2}</playtime>
		<playtime_finish>{#server}» Current map {#highlite}{1}{#server} finished after {#highlite}{2}</playtime_finish>
		<playtime_replay> {#server}({#highlite}{1}{#server} replay{2}, total {#highlite}{3}{#server})</playtime_replay>
		<map>{#server}» Current map {#highlite}{1} {#server}by {#highlite}{2} {#server}Author: {#highlite}{3} {#server}Gold: {#highlite}{4} {#server}Silver: {#highlite}{5} {#server}Bronze: {#highlite}{6} {#server}Cost: {#highlite}{7}</map>
		<current_map>{#server}» Current map {#highlite}{1} {#server}by {#highlite}{2} {#server}Author: {#highlite}{3}</current_map>
		<next_map>{#server}» The next Map will be: {#timelite}[{1}] {#highlite}{2}</next_map>

		<!-- relay messages -->
		<no_relays>{#server}» {#error}No relay servers connected</no_relays>
		<relaymaster>{#server}» This server relays master server: {#highlite}{1}{#server} ({#highlite}{2}{#server})</relaymaster>
		<notonrelay>{#server}» {#error}Command unavailable on relay server</notonrelay>

		<!-- connection messages -->
		<banip_dialog>{#welcome}Your IP was banned from this server.$z</banip_dialog>
		<banip_error>{#welcome}Could not connect:{br}{br}Your IP was banned from this server!</banip_error>
		<client_dialog>{#welcome}Obsolete client version, please $l[]upgrade$l.$z</client_dialog>
		<client_error>{#welcome}Obsolete client version!{br}Please upgrade to the $l[]latest version$l.</client_error>
		<connect_dialog>{#welcome}Connection problem, please retry.$z</connect_dialog>
		<connect_error>{#welcome}$sThis is an administrative notice.$z{br}{br}UASECO encountered a very rare player connection{br}problem. Please re-join the server to correct it.{br}Apologies for the inconvenience.{br}{br}$sThe server administrators.</connect_error>

		<!-- miscellaneous messages -->
		<song>{#server}» Map {#highlite}{1} {#server}plays song: {#highlite}{2}</song>
		<mod>{#server}» Map {#highlite}{1} {#server}uses mod: {#highlite}{2} {#server}({#highlite}{3}{#server})</mod>
		<planets>{#server}» Server {#highlite}{1}$z$s {#server}owns {#highlite}{2} {#server}planets!</planets>
		<round>{#server}» $n{#message}Round {#highlite}{1}{#message}: </round>
		<no_admin>{#server}» {#error}You have to be in admin list to do that!</no_admin>
	</messages>







	<!-- Show or hide the load status widget while UASECO startup (slows down start-up a little bit) -->
	<show_load_status>false</show_load_status>

	<!--
	Setup a timeout to make sure that UASECO or a Plugin does not hang,
	for more details see: 
	
	//-->
	<script_timeout>120</script_timeout>

	<!--
	Setup the PHP "memory_limit" for UASECO, e.g.:
		"-1"	= no limit
		"256M"	= max. 256 MB (minimum)
		"1G"	= max. 1024 MB
	If the value is "-1" in the php.ini or as exe parameter, then this setting will be ignored!

	For more details see: 
	//-->
	<memory_limit>256M</memory_limit>

	<!--
	If you are not a developer of plugins, please let this settings
	unchanged, otherwise your logfile will grow faster.
	//-->
	<developer_options>
		<debug>false</debug>

		<log_events>
			<!-- Log events like '[Event] Begin Map' -->
			<common>true</common>

			<!--
			Log events like '[EventType] Releasing "onPlayerConnect"',
			without "onMainLoop", "onEverySecond" and "onModeScriptCallbackArray",
			but only if a plugin is listening
			for this event.
			//-->
			<registered_types>false</registered_types>

			<!--
			Log ALL events like '[EventType] Releasing "onMainLoop"',
			also if there is no plugin is listening for.
			//-->
			<all_types>false</all_types>
		</log_events>

		<!-- For the need/want to force the maplist to be updated -->
		<force_maplist_update>false</force_maplist_update>

		<!-- On start-up write the the documentation into "docs/gamemodes/" and "docs/dedicated-server/" -->
		<write_documentation>false</write_documentation>
	</developer_options>
</settings>
dedicated_cfg.txt :

Code: Select all

<?xml version="1.0" encoding="utf-8" ?>

<dedicated>
	<authorization_levels>
		<level>
			<name>SuperAdmin</name>
			<password>*****</password>
		</level>
		<level>
			<name>Admin</name>
			<password>******</password>
		</level>
		<level>
			<name>User</name>
			<password>******</password>
		</level>
	</authorization_levels>
	
 	<masterserver_account>
		<login>Yugui</login>
		<password>************</password>
		<validation_key>**********</validation_key>
	</masterserver_account>
	
	<server_options>
		<name>Server</name>
		<comment>****</comment>
		<hide_server>0</hide_server>					<!-- value is 0 (always shown), 1 (always hidden), 2 (hidden from nations) -->

		<max_players>10</max_players>
		<password>*****</password>
		
		<max_spectators>10</max_spectators>
		<password_spectator>******</password_spectator>
	
		<keep_player_slots>False</keep_player_slots>			<!-- when a player changes to spectator, hould the server keep if player slots/scores etc.. or not. --> 	
		<ladder_mode>forced</ladder_mode>				<!-- value between 'inactive', 'forced' (or '0', '1') -->
		
		<enable_p2p_upload>True</enable_p2p_upload>
		<enable_p2p_download>True</enable_p2p_download>
		
		<callvote_timeout>60000</callvote_timeout>
		<callvote_ratio>0.5</callvote_ratio>				<!-- default ratio. value in [0..1], or -1 to forbid. -->
		<callvote_ratios>
			<voteratio command="Ban" ratio="-1"/>
			<!-- commands can be "Ban", "Kick", "RestartMap", "NextMap", "SetModeScriptSettingsAndCommands"... -->
		</callvote_ratios>

		<allow_map_download>True</allow_map_download>
		<autosave_replays>False</autosave_replays>
		<autosave_validation_replays>False</autosave_validation_replays>

		<referee_password></referee_password>
		<referee_validation_mode>0</referee_validation_mode>		<!-- value is 0 (only validate top3 players),  1 (validate all players) -->

		<use_changing_validation_seed>False</use_changing_validation_seed>

		<disable_horns>False</disable_horns>
		<clientinputs_maxlatency>0</clientinputs_maxlatency>		<!-- 0 mean automatic adjustement -->
	</server_options>
	
	<system_config>
		<connection_uploadrate>8000</connection_uploadrate>		<!-- Kbits per second -->
		<connection_downloadrate>8000</connection_downloadrate>		<!-- Kbits per second -->
		<packetassembly_threadcount>1</packetassembly_threadcount>     <!-- Number of threads used when assembling packets. Defaults to 1. --> 

		<allow_spectator_relays>False</allow_spectator_relays>

		<p2p_cache_size>600</p2p_cache_size>

		<force_ip_address></force_ip_address>
		<server_port>2351</server_port>
		<server_p2p_port>3451</server_p2p_port>
		<client_port>0</client_port>
		<bind_ip_address></bind_ip_address>
		<use_nat_upnp></use_nat_upnp>

		<gsp_name></gsp_name>						<!-- Game Server Provider name and info url -->
		<gsp_url></gsp_url>						<!-- If you're a server hoster, you can use this to advertise your services -->

		<xmlrpc_port>5001</xmlrpc_port>
		<xmlrpc_allowremote>False</xmlrpc_allowremote>			<!-- If you specify an ip adress here, it'll be the only accepted adress. this will improve security. -->

		<scriptcloud_source>nadeocloud</scriptcloud_source>		<!-- Specify the cloud storage mode for Titles that use it. Can be "localdebug" or "xmlrpc" or "nadeocloud" (default). "nadeocloud" will work only if the creator of the title subscribed to the cloud service. -->

		
		<blacklist_url></blacklist_url>
		<guestlist_filename></guestlist_filename>
		<blacklist_filename></blacklist_filename>
		
		<title>TMStadium</title>		<!-- SMStorm, TMCanyon, ... -->

		<minimum_client_build></minimum_client_build>			<!-- Only accept updated client to a specific version. ex: 2011-10-06 -->

		<disable_coherence_checks>False</disable_coherence_checks>	<!-- disable internal checks to detect issues/cheats, and reject race times -->

		<disable_replay_recording>False</disable_replay_recording>	<!-- disable replay recording in memory during the game to lower memory usage. -->
		<save_all_individual_runs>False</save_all_individual_runs>	<!-- Save all the ghosts from the match replay to individual ghost.gbx files, in folder {servername}/Autosaves/Runs_{mapname}/  -->

		<use_proxy>False</use_proxy>
		<proxy_url></proxy_url>
	</system_config>
</dedicated>
Last edited by Yuguiboy on 18 May 2019, 12:20, edited 1 time in total.

User avatar
undef.de
Posts: 1968
Joined: 06 Apr 2011, 21:57
Location: Germany, North Sea Coast
Contact:

Re: Admin command does not work

Post by undef.de » 17 May 2019, 23:35

Does the password from the SuperAdmin match in both files? I ask this, because in your posting the * are different long ("*****" and "*********").

Does your login really contain a uppercase "Y"?
Developer of UASECO, a controller with support of the Modescript Gamemodes for TM².
Visit the official website for more: UASECO.org


Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name

You like what I do? Then award a ManiaStar.

Yuguiboy
Posts: 5
Joined: 02 Jul 2018, 15:36

Re: Admin command does not work

Post by Yuguiboy » 18 May 2019, 12:19

undef de wrote:
17 May 2019, 23:35
Does the password from the SuperAdmin match in both files? I ask this, because in your posting the * are different long ("*****" and "*********").

Does your login really contain a uppercase "Y"?
Yes, they are the same. I put * randomly to hide the password. There is a uppercase "Y" in my dedicated server's account login, I just checked it.

User avatar
undef.de
Posts: 1968
Joined: 06 Apr 2011, 21:57
Location: Germany, North Sea Coast
Contact:

Re: Admin command does not work

Post by undef.de » 18 May 2019, 17:55

Have you enabled the chat.admin.php in config/plugins.xml? If yes, please PM me your dedicated_cfg.txt and all file of the config folder.
Developer of UASECO, a controller with support of the Modescript Gamemodes for TM².
Visit the official website for more: UASECO.org


Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name

You like what I do? Then award a ManiaStar.

User avatar
undef.de
Posts: 1968
Joined: 06 Apr 2011, 21:57
Location: Germany, North Sea Coast
Contact:

Re: Admin command does not work

Post by undef.de » 19 May 2019, 13:08

Got the files and found the problem:

dedicated_cfg.txt

Code: Select all

<masterserver_account>
	<login>Yugui</login>
</masterserver_account>
config/UASECO.xml

Code: Select all

<masteradmins>
	<tmlogin>Yuguiboy</tmlogin>
</masteradmins>
"Yugui" != "Yuguiboy" 8-)
Developer of UASECO, a controller with support of the Modescript Gamemodes for TM².
Visit the official website for more: UASECO.org


Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name

You like what I do? Then award a ManiaStar.

Yuguiboy
Posts: 5
Joined: 02 Jul 2018, 15:36

Re: Admin command does not work

Post by Yuguiboy » 19 May 2019, 15:17

undef de wrote:
19 May 2019, 13:08
Got the files and found the problem:

dedicated_cfg.txt

Code: Select all

<masterserver_account>
	<login>Yugui</login>
</masterserver_account>
config/UASECO.xml

Code: Select all

<masteradmins>
	<tmlogin>Yuguiboy</tmlogin>
</masteradmins>
"Yugui" != "Yuguiboy" 8-)
I changed "Yuguiboy" for "Yugui" in <masteradmins> but the issue still persist... My name in MP is Yuguiboy, so why I should put "Yugui" (wich is my dedicated server account) in <masteradmins>?

User avatar
undef.de
Posts: 1968
Joined: 06 Apr 2011, 21:57
Location: Germany, North Sea Coast
Contact:

Re: Admin command does not work

Post by undef.de » 19 May 2019, 16:19

Yuguiboy wrote:
19 May 2019, 15:17
I changed "Yuguiboy" for "Yugui" in <masteradmins> but the issue still persist... My name in MP is Yuguiboy, so why I should put "Yugui" (wich is my dedicated server account) in <masteradmins>?
Well, you're right... my fail (it seems I'm a bit outdated). Please PM me again your files, but do not replace your passwords (you can trust me or change them later).
Developer of UASECO, a controller with support of the Modescript Gamemodes for TM².
Visit the official website for more: UASECO.org


Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name

You like what I do? Then award a ManiaStar.

Post Reply

Return to “UASECO”

Who is online

Users browsing this forum: No registered users and 2 guests