[BUG]records_eyepiece

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
elie520
Posts: 95
Joined: 17 Feb 2017, 13:16

[BUG]records_eyepiece

Post by elie520 »

Hi there, an error in my log :

Code: Select all

[2017-05-15 21:31:51] [LocalRecords] Player [skslap] finished with [0:09.381] and took the 1. Local Record!
[2017-05-15 21:31:52] [Event] Player Ranking Updated (Players)
[UASECO Exception] Error returned: "Connection timed out while reading header" [3] at GbxRemote::query() for method "SendDisplayManialinkPageToLogin" with arguments:
array(4) {
  [0]=>
  string(6) "skslap"
  [1]=>
  string(10139) "<?xml version="1.0" encoding="utf-8" standalone="yes" ?><manialink id="LocalRecordsWidget" name="LocalRecordsWidget" version="3"><stylesheet><style class="labels" textsize="1" scale="1" textcolor="FFFFFFFF"/></stylesheet><frame pos="-161.35 14.39" z-index="0" id="LocalRecordsWidget"><quad pos="0.25 -0.1875" z-index="0" size="38.9 56.25" action="PluginRecordsEyepiece?Action=showLocalRecordsWindow" bgcolor="55556655" bgcolorfocus="55556688"/><quad pos="0 0" z-index="0.002" size="39.4 56.625" style="Bgs1InRace" substyle="BgEmpty"/><quad pos="1 -4.875" z-index="0.003" size="3.75 50.8125" bgcolor="00000000"/><quad pos="6 -4.875" z-index="0.003" size="9.125 50.8125" bgcolor="00000000"/><quad pos="15.125 -4.875" z-index="0.003" size="23.275 50.8125" bgcolor="00000000"/><quad pos="31.15 -48.425" z-index="0.05" size="8.75 8.75" image="http://maniacdn.net/undef.de/uaseco/records-eyepiece/edge-open-rd-dark.png"/><quad pos="1 -0.675" z-index="0.003" size="37.4 3.75" bgcolor="0099FFDD"/><quad pos="36.6 -2.53125" z-index="0.004" size="3.75 3.75" halign="center" valign="center2" style="BgRaceScore2" substyle="LadderRank"/><label pos="33.8 -1.3125" z-index="0.004" size="32 2.6" class="labels" halign="right" text="Local Records"/><quad pos="1 -5.0625" z-index="0.004" size="37.4 10.125" bgcolor="55557799"/><quad pos="1 -5.0625" z-index="0.005" size="37.4 3.375" bgcolor="66880077"/><quad pos="-3.675 -5.0625" z-index="0.005" size="3.375 3.375" bgcolor="66880077"/><quad pos="39.6 -5.0625" z-index="0.004" size="3.375 3.375" bgcolor="66880077"/><quad pos="-3.475 -5.25" z-index="0.006" size="3 3" style="Icons64x64_1" substyle="ShowRight2"/><quad pos="39.8 -5.25" z-index="0.006" size="3 3" style="Icons64x64_1" substyle="ShowLeft2"/><label pos="5.75 -5.625" z-index="0.007" size="4.25 3.1875" halign="right" class="labels" scale="0.9" text="1."/><label pos="15 -5.625" z-index="0.007" size="9.75 3.1875" halign="right" class="labels" scale="0.9" textcolor="33FF55FF" text="0:09.381"/><label pos="15.5 -5.625" z-index="0.007" size="24.40 3.1875" class="labels" scale="0.9" text="$0a0S$3c0ρ$6D0α$9F0m$000»$f90Ł$f60α$f30קe$f60ri$f90ño"/><quad pos="1 -8.4375" z-index="0.005" size="37.4 3.375" bgcolor="88000055"/><quad pos="-3.675 -8.4375" z-index="0.005" size="3.375 3.375" bgcolor="88000055"/><quad pos="39.6 -8.4375" z-index="0.005" size="3.375 3.375" bgcolor="88000055"/><quad pos="-3.375 -8.8125" z-index="0.006" size="2.625 2.625" style="Icons64x64_1" substyle="NotBuddy"/><quad pos="40.1 -8.8125" z-index="0.006" size="2.625 2.625" style="Icons64x64_1" substyle="NotBuddy"/><label pos="5.75 -9" z-index="0.007" size="4.25 3.1875" halign="right" class="labels" scale="0.9" text="2."/><label pos="15 -9" z-index="0.007" size="9.75 3.1875" halign="right" class="labels" scale="0.9" textcolor="FFFF00FF" text="0:09.447"/><label pos="15.5 -9" z-index="0.007" size="24.40 3.1875" class="labels" scale="0.9" text="$0a0S$3c0ρ$6D0α$9F0m$000»$fffÉlie"/><quad pos="1 -11.8125" z-index="0.005" size="37.4 3.375" bgcolor="88000055"/><quad pos="-3.675 -11.8125" z-index="0.005" size="3.375 3.375" bgcolor="88000055"/><quad pos="39.6 -11.8125" z-index="0.005" size="3.375 3.375" bgcolor="88000055"/><quad pos="-3.375 -12.1875" z-index="0.006" size="2.625 2.625" style="Icons64x64_1" substyle="NotBuddy"/><quad pos="40.1 -12.1875" z-index="0.006" size="2.625 2.625" style="Icons64x64_1" substyle="NotBuddy"/><label pos="5.75 -12.375" z-index="0.007" size="4.25 3.1875" halign="right" class="labels" scale="0.9" text="3."/><label pos="15 -12.375" z-index="0.007" size="9.75 3.1875" halign="right" class="labels" scale="0.9" textcolor="FFFF00FF" text="0:14.136"/><label pos="15.5 -12.375" z-index="0.007" size="24.40 3.1875" class="labels" scale="0.9" text="Nilvan"/><script><!--
 /*
 * ----------------------------------
 * Function:	<local_records> @ plugin.records_eyepiece.php
 * Author:	undef.de
 * Website:	http://www.undef.name
 * License:	GPLv3
 * ----------------------------------
 */
Void MoveIt (CMlFrame _Container, Boolean _ScrollOut, Vec2 _Position) {
	if (_ScrollOut == True) {
		if (_Container.RelativePosition_V3.X >= 0) {
			while (_Container.RelativePosition_V3.X < 200) {
				_Container.RelativePosition_V3.X += 4.0;
				yield;
			}
		}
		else if (_Container.RelativePosition_V3.X < 0) {
			while (_Container.RelativePosition_V3.X > -240) {
				_Container.RelativePosition_V3.X -= 4.0;
				yield;
			}
		}
	}
	else {
		_Container.RelativePosition_V3 = _Position;
	}
}
main () {
	declare persistent Boolean RecordsEyepieceLocalRecordsVisible = True;

	declare CMlFrame LocalRecordsWidget	<=> (Page.GetFirstChild("LocalRecordsWidget") as CMlFrame);
	declare Vec2 OriginalRelativePosition	= LocalRecordsWidget.RelativePosition_V3;

	LocalRecordsWidget.RelativeScale	= 1.0;
	LocalRecordsWidget.Visible 		= RecordsEyepieceLocalRecordsVisible;
	while (True) {
		yield;
		if (!PageIsVisible || InputPlayer == Null) {
			continue;
		}

		foreach (Event in PendingEvents) {
			switch (Event.Type) {
				case CMlEvent::Type::KeyPress : {
					if (Event.KeyName == "F9") {
						if (LocalRecordsWidget.Visible == False) {
							MoveIt(LocalRecordsWidget, False, OriginalRelativePosition);
							RecordsEyepieceLocalRecordsVisible = True;
						}
						else {
							MoveIt(LocalRecordsWidget, True, OriginalRelativePosition);
							RecordsEyepieceLocalRecordsVisible = False;
						}
						LocalRecordsWidget.Visible = RecordsEyepieceLocalRecordsVisible;
					}
				}
			}
		}
	}
}
--></script></frame></manialink><manialink id="LiveRankingsWidget" name="LiveRankingsWidget" version="3"><stylesheet><style class="labels" textsize="1" scale="1" textcolor="FFFFFFFF"/></stylesheet><frame pos="121.6 13.8" z-index="0" id="LiveRankingsWidget"><quad pos="0.25 -0.1875" z-index="0" size="38.9 42.75" action="PluginRecordsEyepiece?Action=showLiveRankingsWindow" bgcolor="55556655" bgcolorfocus="55556688"/><quad pos="0 0" z-index="0.002" size="39.4 43.125" style="Bgs1InRace" substyle="BgEmpty"/><quad pos="1 -4.875" z-index="0.003" size="3.75 37.3125" bgcolor="00000000"/><quad pos="6 -4.875" z-index="0.003" size="9.125 37.3125" bgcolor="00000000"/><quad pos="15.125 -4.875" z-index="0.003" size="23.275 37.3125" bgcolor="00000000"/><quad pos="-0.5 -34.925" z-index="0.05" size="8.75 8.75" image="http://maniacdn.net/undef.de/uaseco/records-eyepiece/edge-open-ld-dark.png"/><quad pos="1 -0.675" z-index="0.003" size="37.4 3.75" bgcolor="0099FFDD"/><quad pos="2.8 -2.53125" z-index="0.004" size="3.75 3.75" halign="center" valign="center2" style="BgRaceScore2" substyle="LadderRank"/><label pos="5.6 -1.3125" z-index="0.004" size="32 2.6" class="labels" halign="left" text="Live Rankings"/><quad pos="1 -5.0625" z-index="0.004" size="37.4 10.125" bgcolor="55557799"/><quad pos="1 -5.0625" z-index="0.005" size="37.4 3.375" bgcolor="66880077"/><quad pos="-3.675 -5.0625" z-index="0.005" size="3.375 3.375" bgcolor="66880077"/><quad pos="39.6 -5.0625" z-index="0.004" size="3.375 3.375" bgcolor="66880077"/><quad pos="-3.475 -5.25" z-index="0.006" size="3 3" style="Icons64x64_1" substyle="ShowRight2"/><quad pos="39.8 -5.25" z-index="0.006" size="3 3" style="Icons64x64_1" substyle="ShowLeft2"/><label pos="5.75 -5.625" z-index="0.007" size="4.25 3.1875" halign="right" class="labels" scale="0.9" text="1."/><label pos="15 -5.625" z-index="0.007" size="9.75 3.1875" halign="right" class="labels" scale="0.9" textcolor="33FF55FF" text="0 (75)"/><label pos="15.5 -5.625" z-index="0.007" size="24.40 3.1875" class="labels" scale="0.9" text="$0a0S$3c0ρ$6D0α$9F0m$000»$f90Ł$f60α$f30קe$f60ri$f90ño"/><label pos="5.75 -9" z-index="0.007" size="4.25 3.1875" halign="right" class="labels" scale="0.9" text="2."/><label pos="15 -9" z-index="0.007" size="9.75 3.1875" halign="right" class="labels" scale="0.9" textcolor="FFFF00FF" text="0 (75)"/><label pos="15.5 -9" z-index="0.007" size="24.40 3.1875" class="labels" scale="0.9" text="$0a0S$3c0ρ$6D0α$9F0m$000»$fffÉlie"/><label pos="5.75 -12.375" z-index="0.007" size="4.25 3.1875" halign="right" class="labels" scale="0.9" text="3."/><label pos="15 -12.375" z-index="0.007" size="9.75 3.1875" halign="right" class="labels" scale="0.9" textcolor="FFFF00FF" text="0 (75)"/><label pos="15.5 -12.375" z-index="0.007" size="24.40 3.1875" class="labels" scale="0.9" text="Nilvan"/><script><!--
 /*
 * ----------------------------------
 * Function:	<live_rankings> @ plugin.records_eyepiece.php
 * Author:	undef.de
 * Website:	http://www.undef.name
 * License:	GPLv3
 * ----------------------------------
 */
Void MoveIt (CMlFrame _Container, Boolean _ScrollOut, Vec2 _Position) {
	if (_ScrollOut == True) {
		if (_Container.RelativePosition_V3.X >= 0) {
			while (_Container.RelativePosition_V3.X < 200) {
				_Container.RelativePosition_V3.X += 4.0;
				yield;
			}
		}
		else if (_Container.RelativePosition_V3.X < 0) {
			while (_Container.RelativePosition_V3.X > -240) {
				_Container.RelativePosition_V3.X -= 4.0;
				yield;
			}
		}
	}
	else {
		_Container.RelativePosition_V3 = _Position;
	}
}
main () {
	declare persistent Boolean RecordsEyepieceLiveRankingsVisible = True;

	declare CMlFrame LiveRankingsWidget	<=> (Page.GetFirstChild("LiveRankingsWidget") as CMlFrame);
	declare Vec2 OriginalRelativePosition	= LiveRankingsWidget.RelativePosition_V3;

	LiveRankingsWidget.RelativeScale	= 1.0;
	LiveRankingsWidget.Visible 		= RecordsEyepieceLiveRankingsVisible;
	while (True) {
		yield;
		if (!PageIsVisible || InputPlayer == Null) {
			continue;
		}

		// Check for pressed F9 to hide the Widget
		foreach (Event in PendingEvents) {
			switch (Event.Type) {
				case CMlEvent::Type::KeyPress : {
					if (Event.KeyName == "F9") {
						if (LiveRankingsWidget.Visible == False) {
							MoveIt(LiveRankingsWidget, False, OriginalRelativePosition);
							RecordsEyepieceLiveRankingsVisible = True;
						}
						else {
							MoveIt(LiveRankingsWidget, True, OriginalRelativePosition);
							RecordsEyepieceLiveRankingsVisible = False;
						}
						LiveRankingsWidget.Visible = RecordsEyepieceLiveRankingsVisible;
					}
				}
			}
		}
	}
}
--></script></frame></manialink>"
  [2]=>
  int(0)
  [3]=>
  bool(false)
}

[2017-05-15 21:31:58] [Chat] Player [elie520] used command "/admin players live"
[2017-05-15 21:32:01] [Chat] Player [elie520] used command "/admin players live"
[2017-05-15 21:32:01] [Chat] Player [elie520] used command "/admin players live"
[2017-05-15 21:32:01] [Chat] NOTICE: Player [riiitzo1994] (Id: 221) attempted to use command "t la ?"
notice at the end, the 4 last liines are "a lie":
1) I never entered /admin players live in my life
2) riiitzo1994 just said in the chat "t la ?', he didn't try to "use command". This "player tried to use command XXX" happens several time in my log while we were just chatting with using any command.

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

Re: [BUG]records_eyepiece

Post by undef.de »

Do you remember if "skslap" has leaved the server before or while that happens? Anyway please report again if "Connection timed out while reading header" does happen with the new dedicated server.

The "/admin players live" can come from the admin bar buttons, if you click the blue one. 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.
Post Reply

Return to “UASECO”

Who is online

Users browsing this forum: No registered users and 1 guest