Page 1 of 2

"Flow control not enabled" [solved]

Posted: 02 Jun 2016, 20:35
by Hexagon
Hey there!
Oh gosh, I really hate open new topics. :lol:
BTW, I have got another problem (so annoying) I dont know how to resolve; :?
When I start the uaseco.bat I got that Uaseco Error:

Code: Select all

[UASECO Exception] Error returned: "Flow control not enabled." [-1000] at GbxRemote::query() for method "ManualFlowControlProceed"
And after it, automatically crashes with the classical write: "Press a key to continue. . ."
Any ideas about resolving it?
Thanks in advance. The same guy was having problems with uaseco.xml :roflol:

Re: "Flow control not enabled"

Posted: 02 Jun 2016, 21:26
by askuri
Seems to be a bug. Please upload the full logfile on pastebin.com

Re: "Flow control not enabled"

Posted: 02 Jun 2016, 22:57
by undef.de
You can try to remove (or comment out) the lines 1789 and 1790 from includes/core/helper.class.php (these are added to let the dedicated server go further when a plugin has missed to do that).

Re: "Flow control not enabled"

Posted: 03 Jun 2016, 09:47
by undef.de
Added a try/catch block for this problem (but not yet updated at github).

Re: "Flow control not enabled"

Posted: 03 Jun 2016, 15:08
by Hexagon
askuri wrote:Seems to be a bug. Please upload the full logfile on pastebin.com
Done. Thats the file: http://pastebin.com/raw/CSCzPB2r :D
undef.de wrote:You can try to remove (or comment out) the lines 1789 and 1790 from includes/core/helper.class.php (these are added to let the dedicated server go further when a plugin has missed to do that).
Done. It doesn't disappear when I restart it BUT now I have that

Code: Select all

[UASECO Fatal Error] [Gameinfo] UASECO can only be used for scripted Gamemodes! Please set in "UserData/Maps/MatchSettings/tm2_autosave1.txt" <playlist><gameinfos><game_mode> to "0" and <script_name> to e.g. "TimeAttack.Script.txt". on line 79 in file C:\Users\AndreaPhoenixx\Desktop\eXpire\UASECO\includes\core\gameinfo.class.php
I dont know how resolve; I tried to change them, but nothing; I tried to add them on Libs/Nadeo/TrackMania but nothing. :x

Re: "Flow control not enabled"

Posted: 03 Jun 2016, 16:44
by hackie
You need to set youre dedicated server to script mode.
Only then you can run this awesome controller. ;-)

Re: "Flow control not enabled"

Posted: 03 Jun 2016, 16:53
by Florenzius
How to? Open your running matchsettings file, search the entry "gamemode" and set it to '0'

Re: "Flow control not enabled"

Posted: 03 Jun 2016, 17:19
by undef.de
See also http://www.uaseco.org/Documentation/Ins ... atedServer -> Setup MatchSettings (documentation still unfinished).

Re: "Flow control not enabled"

Posted: 03 Jun 2016, 17:25
by hackie
A bit oftopic , but for making matchsettings files under windows you can use this :
viewtopic.php?f=465&t=17341

Re: "Flow control not enabled"

Posted: 04 Jun 2016, 13:40
by Hexagon
It doesnt work; I tryied to use the program hackie sends to me but nothing...

Code: Select all

<?xml version="1.0" encoding="utf-8" ?>
<playlist>
	<gameinfos>
		<game_mode>0</game_mode>
		<script_name>TimeAttack.Script.txt</script_name>
		<title>TMStadium</title>
		<chat_time>10000</chat_time>
		<finishtimeout>1</finishtimeout>
		<allwarmupduration>0</allwarmupduration>
		<disablerespawn>0</disablerespawn>
		<forceshowallopponents>0</forceshowallopponents>
		<rounds_pointslimit>50</rounds_pointslimit>
		<rounds_usenewrules>0</rounds_usenewrules>
		<rounds_forcedlaps>0</rounds_forcedlaps>
		<rounds_pointslimitnewrules>5</rounds_pointslimitnewrules>
		<team_pointslimit>5</team_pointslimit>
		<team_maxpoints>6</team_maxpoints>
		<team_usenewrules>0</team_usenewrules>
		<team_pointslimitnewrules>5</team_pointslimitnewrules>
		<timeattack_limit>300000</timeattack_limit>
		<timeattack_synchstartperiod>0</timeattack_synchstartperiod>
		<laps_nblaps>5</laps_nblaps>
		<laps_timelimit>0</laps_timelimit>
		<cup_pointslimit>100</cup_pointslimit>
		<cup_roundsperchallenge>5</cup_roundsperchallenge>
		<cup_nbwinners>3</cup_nbwinners>
		<cup_warmupduration>1</cup_warmupduration>
	</gameinfos>

	<filter>
		<random_map_order>1</random_map_order>
	</filter>

	<hotseat>
		<game_mode>1</game_mode>
		<time_limit>300000</time_limit>
		<rounds_count>5</rounds_count>
	</hotseat>

	<filter>
		<is_lan>1</is_lan>
		<is_internet>1</is_internet>
		<is_solo>0</is_solo>
		<is_hotseat>0</is_hotseat>
		<sort_index>1000</sort_index>
		<random_map_order>1</random_map_order>
	</filter>

		<mode_script_settings>
		<setting name="S_UseScriptCallbacks" type="boolean" value="1"/> <!-- Default : 0 -->
		<setting name="S_UseLegacyCallbacks" type="boolean" value="0"/> <!-- Default : 1 -->
		<setting name="S_ChatTime" type="integer" value="20"/> <!-- Default : 15 -->
		<setting name="S_TimeLimit" type="integer" value="300"/> <!-- Default : 300 -->
		<!-- Default : <setting name="S_AllowRespawn" type="boolean" value="1"/> -->
		<setting name="S_WarmUpDuration" type="integer" value="-1"/> <!-- Default : -1 -->
		<!-- Default : <setting name="S_ScoresTableStylePath" type="text" value=""/> -->
	</mode_script_settings>
[...]
By the way, now the ManiaPlanet Server crashes:

Code: Select all

[...]
URL: maniaplanet://#join=lucariopriv@TMStadium
Match settings file: MatchSettings\tm2_autosave1.txt
Loading match settings...
...ERROR: Could not load script.
...Cound not load the match settings
Server not started: no Maps available. Check your matchsettings!
Server not running, exiting.

Press a key to quit.