TMarc wrote:bel1ab wrote:bel1ab wrote:When i start up the game , i get the start screen with in front a scripted file >>> looks like a error report
pushing on escape , give my a question leave game or cancel , click on cancel gets my to the new mania 3 screen
How do i get this scripted file away at start up
Problem solved with registry cleaning and Junk file cleaner
Junk file cleaner deleted some temp file like startuplauncher and other temp files in Mania planet 3
ok, good you could solve it
tmp files are the results of failing update, e.g. because the file was in use or accessed by a virus scanner when ManiaPlanetLauncher was about to replace it.
Today i start it up ,same problem again
Here is the script what what i get on the screen
Code: Select all
#Include "TextLib" as TextLib
#Include "MathLib" as MathLib
Text GetPresenceDisplayableText(Text _PresenceShow) {
switch (_PresenceShow) {
case "a" : return "Available" ;
case "b" : return "Busy" ;
case "c" : return "Away" ;
}
return "Offline";
}
Void SetDisplayableText(CMlLabel _Label, Text _Text) {
if (_Label.ComputeWidth(_Text) > _Label.Size.X) {
declare Text TextToTest = _Text;
while(_Label.ComputeWidth(TextToTest^" ...") > _Label.Size.X && TextLib::Length(TextToTest) > 1) {
TextToTest = TextLib::SubString(TextToTest, 0, TextLib::Length(TextToTest) - 1);
}
_Label.Value = TextToTest^" $z...";
} else
_Label.Value = _Text;
}
main() {
declare Text[] Buddies_Login for Page;
declare Text[] Buddies_Presence for Page;
declare Text[] Buddies_ServerLogin for Page;
declare Text[] Buddies_ServerName for Page;
declare Text[] Buddies_ServerModeInfos for Page;
declare Text[] Buddies_ServerJoinLink for Page;
declare Text[] Buddies_ServerPlayersCountInfos for Page;
declare Real[] Buddies_ServerPlayersCountRatio for Page;
declare Boolean[] Buddies_Server_IsPrivate for Page;
declare Boolean[] Buddies_Server_IsLobby for Page;
declare Boolean[] Buddies_Server_IsFull for Page;
declare Text LocalUser_CurrentServerName for Page;
declare Text LocalUser_CurrentServerLogin for Page;
declare Text LocalUser_CurrentServerModeInfos for Page;
declare Text LocalUser_CurrentServerJoinLink for Page;
declare Text LocalUser_CurrentPresenceShow for Page;
declare Text SelectedBuddyLogin for Page;
declare Boolean HasSelectedLocalUser for Page;
declare Label_NoBuddyCurrentlyPlaying <=> (Page.MainFrame.GetFirstChild("Label_NoBuddyCurrentlyPlaying") as CMlLabel);
declare Frame_ServerList <=> (Page.MainFrame.GetFirstChild("Frame_ServerList") as CMlFrame);
declare Frame_LocalUser_Server <=> (Page.MainFrame.GetFirstChild("Frame_LocalUser_Server") as CMlFrame);
declare Label_LocalUser_ServerName <=> (Frame_LocalUser_Server.GetFirstChild("Label_ServerName") as CMlLabel);
declare Label_LocalUser_ServerModeInfos <=> (Frame_LocalUser_Server.GetFirstChild("Label_ServerModeInfos") as CMlLabel);
declare Label_LocalUser_ServerPlayersCount <=> (Frame_LocalUser_Server.GetFirstChild("Label_ServerPlayersCount") as CMlLabel);
declare Button_LocalUser_ServerPrivate <=> (Frame_LocalUser_Server.GetFirstChild("Button_ServerPrivate") as CMlQuad);
declare Button_LocalUser_ServerLobby <=> (Frame_LocalUser_Server.GetFirstChild("Button_ServerLobby") as CMlQuad);
declare Button_LocalUser_ServerCopyLink <=> (Frame_LocalUser_Server.GetFirstChild("Button_ServerCopyLink") as CMlQuad);
declare Button_LocalUser_ServerPlayerCounts1 <=> (Frame_LocalUser_Server.GetFirstChild("Button_ServerPlayerCounts1") as CMlQuad);
declare Button_LocalUser_ServerPlayerCounts2 <=> (Frame_LocalUser_Server.GetFirstChild("Button_ServerPlayerCounts2") as CMlQuad);
declare Button_LocalUser_ServerPlayerCounts3 <=> (Frame_LocalUser_Server.GetFirstChild("Button_ServerPlayerCounts3") as CMlQuad);
declare Button_LocalUser_CardServerBg <=> (Frame_LocalUser_Server.GetFirstChild("Button_CardServerBg") as CMlQuad);
declare CMlFrame[] Frame_ServerBuddy;
declare CMlLabel[] Label_ServerName;
declare CMlLabel[] Label_ServerModeInfos;
declare CMlLabel[] Label_ServerPlayersCount;
declare CMlQuad[] Button_ServerCopyLink;
declare CMlQuad[] Button_ServerJoin;
declare CMlQuad[] Button_ServerJoinAsSpec;
declare CMlQuad[] Button_ServerPlayerCounts1;
declare CMlQuad[] Button_ServerPlayerCounts2;
declare CMlQuad[] Button_ServerPlayerCounts3;
declare CMlQuad[] Button_ServerPrivate;
declare CMlQuad[] Button_ServerLobby;
declare CMlQuad[] Button_CardServerBg;
for(I, 1, 8) {
Frame_ServerBuddy .add( (Page.MainFrame.GetFirstChild("Frame_ServerBuddy"^I) as CMlFrame) );
Label_ServerName .add( (Frame_ServerBuddy[I-1].GetFirstChild("Label_ServerName") as CMlLabel) );
Label_ServerModeInfos .add( (Frame_ServerBuddy[I-1].GetFirstChild("Label_ServerModeInfos") as CMlLabel) );
Label_ServerPlayersCount .add( (Frame_ServerBuddy[I-1].GetFirstChild("Label_ServerPlayersCount") as CMlLabel) );
Button_ServerCopyLink .add( (Frame_ServerBuddy[I-1].GetFirstChild("Button_ServerCopyLink") as CMlQuad) );
Button_ServerJoin .add( (Frame_ServerBuddy[I-1].GetFirstChild("Button_ServerJoin") as CMlQuad) );
Button_ServerJoinAsSpec .add( (Frame_ServerBuddy[I-1].GetFirstChild("Button_ServerJoinAsSpec") as CMlQuad) );
Button_ServerPlayerCounts1 .add( (Frame_ServerBuddy[I-1].GetFirstChild("Button_ServerPlayerCounts1") as CMlQuad) );
Button_ServerPlayerCounts2 .add( (Frame_ServerBuddy[I-1].GetFirstChild("Button_ServerPlayerCounts2") as CMlQuad) );
Button_ServerPlayerCounts3 .add( (Frame_ServerBuddy[I-1].GetFirstChild("Button_ServerPlayerCounts3") as CMlQuad) );
Button_ServerPrivate .add( (Frame_ServerBuddy[I-1].GetFirstChild("Button_ServerPrivate") as CMlQuad) );
Button_ServerLobby .add( (Frame_ServerBuddy[I-1].GetFirstChild("Button_ServerLobby") as CMlQuad) );
Button_CardServerBg .add( (Frame_ServerBuddy[I-1].GetFirstChild("Button_CardServerBg") as CMlQuad) );
}
declare Boolean AnimIsShowing = True;
declare Boolean AnimIsShowingAll = True;
declare Integer LatestAnimStart;
declare Integer AnimCurrentTime;
declare Real AnimDuration = 210.769;
declare Real AnimDurationBounce = 122.773;
declare Real AnimOffset = 39.5192;
while(True) {
yield;
// SMALL UPDATE
if (!PageIsVisible) continue;
AnimCurrentTime = Now - LatestAnimStart;
if (AnimCurrentTime < AnimDuration) {
if (AnimIsShowing) {
Frame_ServerList.Visible = True;
if (AnimIsShowingAll) {
AnimDuration = 210.769;
if (AnimCurrentTime < AnimDurationBounce) {
AnimOffset = 70.2564 + (-1.66 - 70.2564) * AnimCurrentTime/AnimDurationBounce;
} else {
AnimOffset = -1.66 + (0. - -1.66) * (AnimCurrentTime-AnimDurationBounce)/(AnimDuration-AnimDurationBounce);
}
Frame_ServerList.RelativePosition.Y = 85.33 + AnimOffset;
Frame_ServerList.RelativePosition.X = 43.8224;
} else {
AnimDuration = 166.859;
if (AnimCurrentTime < AnimDurationBounce) {
AnimOffset = 39.5192 + (-1.66 - 39.5192) * AnimCurrentTime/AnimDurationBounce;
} else {
AnimOffset = -1.66 + (0. - -1.66) * (AnimCurrentTime-AnimDurationBounce)/(AnimDuration-AnimDurationBounce);
}
Frame_ServerList.RelativePosition.X = 43.8224 - AnimOffset;
}
} else {
AnimOffset = 0. + (114.167 - 0.) * AnimCurrentTime/AnimDuration;
Frame_ServerList.RelativePosition.Y = 85.33 + AnimOffset;
}
} else {
if (AnimIsShowing) {
Frame_ServerList.RelativePosition.X = 43.8224;
AnimIsShowingAll = False;
}
else {
Frame_ServerList.RelativePosition.X = -70.3442;
Frame_ServerList.Visible = False;
}
Frame_ServerList.RelativePosition.Y = 85.33;
}
if (PendingEvents.count == 0 && AnimCurrentTime > AnimDuration) continue;
foreach(Event in PendingEvents) {
switch(Event.Type) {
case CMlEvent::Type::MouseClick: {
SendCustomEvent("Tooltip_Needed", [""]);
if (Event.Control.ControlId == "Button_CardServerBg") {
if (Event.Control == Button_LocalUser_CardServerBg) {
if (HasSelectedLocalUser)
SendCustomEvent("Buddies_ChangeHasSelectedLocalUser", ["0"]);
else
SendCustomEvent("Buddies_ChangeHasSelectedLocalUser", ["1"]);
} else {
for(I, 0, 8-1) {
if (Event.Control == Button_CardServerBg[I]) {
if (SelectedBuddyLogin == Buddies_Login[I]) {
SendCustomEvent("Buddies_ChangeSelectedBuddyLogin", [""]);
} else {
SendCustomEvent("Buddies_ChangeSelectedBuddyLogin", [Buddies_Login[I]]);
}
break;
}
}
}
} else if (Event.Control.ControlId == "Button_ServerJoin") {
for(I, 0, 8-1) {
if (Event.Control == Button_ServerJoin[I]) {
SendCustomEvent("Buddies_ServerJoin_Click", [Buddies_ServerJoinLink[I]]);
SendCustomEvent("CloseChat_Click", [""]);
break;
}
}
} else if (Event.Control.ControlId == "Button_ServerJoinAsSpec") {
for(I, 0, 8-1) {
if (Event.Control == Button_ServerJoinAsSpec[I]) {
SendCustomEvent("Buddies_ServerJoin_Click", ["maniaplanet://#spectate="^Buddies_ServerLogin[I]]);
SendCustomEvent("CloseChat_Click", [""]);
break;
}
}
} else if (Event.Control.ControlId == "Button_ServerCopyLink") {
if (Event.Control == Button_LocalUser_ServerCopyLink) {
SendCustomEvent("ServerCopyLink_Click", [""]);
} else {
for(I, 0, 8-1) {
if (Event.Control == Button_ServerCopyLink[I]) {
SendCustomEvent("ServerCopyLink_Click", [Buddies_ServerJoinLink[I]]);
break;
}
}
}
}
}
case CMlEvent::Type::PluginCustomEvent: {
if (Event.PluginCustomEventType == "ServerList_AnimStart") {
if (Event.PluginCustomEventData[0] == "Show") {
AnimIsShowingAll = False;
AnimDuration = 210.769;
AnimIsShowing = True;
AnimOffset = 70.2564;
LatestAnimStart = Now;
} else if (Event.PluginCustomEventData[0] == "ShowAll") {
AnimIsShowingAll = True;
AnimDuration = 210.769;
AnimIsShowing = True;
AnimOffset = 70.2564;
LatestAnimStart = Now;
} else if (Event.PluginCustomEventData[0] == "Hide") {
AnimDuration = 200.;
AnimIsShowing = False;
AnimOffset = 0.;
LatestAnimStart = Now;
}
}
}
case CMlEvent::Type::MouseOver: {
if (Event.Control == Button_LocalUser_ServerCopyLink)
SendCustomEvent("Tooltip_Needed", [" Copy your server link to clipboard "]);
else if (Event.Control.ControlId == "Button_ServerJoin") {
for(I, 0, 8-1) {
if (Event.Control == Button_ServerJoin[I]) {
SendCustomEvent("Tooltip_Needed", ["Join "^Buddies_Login[I]^" to play"]);
break;
}
}
} else if (Event.Control.ControlId == "Button_ServerJoinAsSpec") {
for(I, 0, 8-1) {
if (Event.Control == Button_ServerJoinAsSpec[I]) {
SendCustomEvent("Tooltip_Needed", ["Join "^Buddies_Login[I]^" server as a spectator"]);
break;
}
}
} else if (Event.Control.ControlId == "Button_ServerCopyLink") {
for(I, 0, 8-1) {
if (Event.Control == Button_ServerCopyLink[I]) {
SendCustomEvent("Tooltip_Needed", ["Copy "^Buddies_Login[I]^" server link to clipboard"]);
break;
}
}
} else if (Event.Control.ControlId == "Button_ServerPlayerCounts1")
SendCustomEvent("Tooltip_Needed", ["Few players on this server"]);
else if (Event.Control.ControlId == "Button_ServerPlayerCounts2")
SendCustomEvent("Tooltip_Needed", ["Quite some players on this server"]);
else if (Event.Control.ControlId == "Button_ServerPlayerCounts3")
SendCustomEvent("Tooltip_Needed", ["This server is full"]);
else if (Event.Control.ControlId == "Button_ServerLobby")
SendCustomEvent("Tooltip_Needed", ["This server is a Lobby server"]);
else if (Event.Control.ControlId == "Button_ServerPrivate")
SendCustomEvent("Tooltip_Needed", ["This server is private"]);
}
case CMlEvent::Type::MouseOut: {
SendCustomEvent("Tooltip_Needed", [""]);
}
}
}
// LOCAL USER MANAGEMENT
{
if (HasSelectedLocalUser) {
if (LocalUser_CurrentPresenceShow == "a") Button_LocalUser_CardServerBg.Colorize = <0., 0.9375, 0.125>; // 0e2
else if (LocalUser_CurrentPresenceShow == "b") Button_LocalUser_CardServerBg.Colorize = <0.9375, 0.0625, 0.0625>; // e11
else if (LocalUser_CurrentPresenceShow == "c") Button_LocalUser_CardServerBg.Colorize = <1., 0.875, 0.0625>; // fd1
else Button_LocalUser_CardServerBg.Colorize = <0.75, 0.75, 0.75>;
} else {
if (LocalUser_CurrentPresenceShow == "a") Button_LocalUser_CardServerBg.Colorize = <0., 0.25, 0.125>; // 042
else if (LocalUser_CurrentPresenceShow == "b") Button_LocalUser_CardServerBg.Colorize = <0.4375, 0.0625, 0.0625>; // 711
else if (LocalUser_CurrentPresenceShow == "c") Button_LocalUser_CardServerBg.Colorize = <0.4375, 0.3125, 0.0625>; // 751
else Button_LocalUser_CardServerBg.Colorize = <0.1875, 0.1875, 0.1875>; // 333
}
if (LocalUser_CurrentServerLogin == "") {
Frame_LocalUser_Server.Visible = False;
} else {
Frame_LocalUser_Server.Visible = True;
Button_LocalUser_ServerCopyLink.Visible = True;
Button_LocalUser_ServerPrivate.Visible = False;
Button_LocalUser_ServerLobby.Visible = False;
Button_LocalUser_ServerPlayerCounts1.Visible = True;
Button_LocalUser_ServerPlayerCounts2.Visible = False;
Button_LocalUser_ServerPlayerCounts3.Visible = False;
Label_LocalUser_ServerModeInfos.Value = LocalUser_CurrentServerModeInfos;
if (LocalUser_CurrentServerName == "")
Label_LocalUser_ServerName.Value = TextLib::MLEncode(LocalUser_CurrentServerLogin);
else
Label_LocalUser_ServerName.Value = TextLib::MLEncode(LocalUser_CurrentServerName);
}
}
// BUDDIES MANAGEMENT
Label_NoBuddyCurrentlyPlaying.Visible = Buddies_Login.count <= 0;
for(I, 0, 8-1) {
if (I >= Buddies_Login.count) {
Frame_ServerBuddy[I].Visible = False;
} else {
if (Buddies_ServerLogin[I] == "") Frame_ServerBuddy[I].Visible = False;
else Frame_ServerBuddy[I].Visible = True;
if (Buddies_ServerName[I] == "") Label_ServerName[I].Value = Buddies_ServerLogin[I];
else Label_ServerName[I].Value = Buddies_ServerName[I];
Label_ServerModeInfos[I].Value = Buddies_ServerModeInfos[I];
Label_ServerPlayersCount[I].Value = Buddies_ServerPlayersCountInfos[I];
if (SelectedBuddyLogin == Buddies_Login[I]) {
if (Buddies_Presence[I] == "a") Button_CardServerBg[I].Colorize = <0., 0.9375, 0.125>; // 0e2
else if (Buddies_Presence[I] == "b") Button_CardServerBg[I].Colorize = <0.9375, 0.0625, 0.0625>; // e11
else if (Buddies_Presence[I] == "c") Button_CardServerBg[I].Colorize = <1., 0.875, 0.0625>; // fd1
} else {
if (Buddies_Presence[I] == "a") Button_CardServerBg[I].Colorize = <0., 0.6, 0.33>; // 042
else if (Buddies_Presence[I] == "b") Button_CardServerBg[I].Colorize = <0.6, 0.1, 0.1>; // 711
else if (Buddies_Presence[I] == "c") Button_CardServerBg[I].Colorize = <0.6, 0.4, 0.1>; // 751
}
Button_ServerCopyLink[I].Visible = True;
Button_ServerJoinAsSpec[I].Visible = True;
Button_ServerJoin[I].Visible = !Buddies_Server_IsFull[I];
Button_ServerPrivate[I].Visible = Buddies_Server_IsPrivate[I];
Button_ServerLobby[I].Visible = Buddies_Server_IsLobby[I];
Button_ServerPlayerCounts1[I].Visible = Buddies_ServerPlayersCountRatio[I] < 0.33 && !Buddies_Server_IsFull[I];
Button_ServerPlayerCounts2[I].Visible = Buddies_ServerPlayersCountRatio[I] >= 0.33 && !Buddies_Server_IsFull[I];
Button_ServerPlayerCounts3[I].Visible = Buddies_Server_IsFull[I];
}
}
// END WHILE
}
}
On the right off my screen is also a title frame called INSTANCES
i can click on it , and see that on off the lines is red color named
Ml: home.maniaplanent.com
When i click on it , it gets my the error line from the script i suppose
[1113, 115] Out of bounds access at [message]
manialib_set_text(i^":featured:mediaNotification:message",_notifications["notificationsWithMedia"]
["message"]);
regcleaning and junkfile cleaning does not solve the problem today
And before i started up today , i installed the Microsoft update files
Note my browser in use is Mozilla firefox latest version