Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00021 00022 00023 00024 00025 00026 00027 00028 00029 00030 00031 00032 00033 00034 00035 00036 00037 00038 00039 00040 00041 00042 00043 00044 00045 00046 00047 00048 00049 00050 00051 00052 00053 00054 00055 00056 00057 00058 00059 00060 00061 00062 00063 00064 00065 00066 00067 00068 00069 00070 00071 00072 00073 00074 00075 00076 00077 00078 00079 00080 00081 00082 00083 00084 00085 00086 00087 00088 00089 00090 00091 00092 00093 00094 00095 00096 00097 00098 00099 00100 00101 00102 00103 00104 00105 00106 00107 00108 00109 00110 00111 00112 00113 00114 00115 00116 00117 00118 00119 00120 00121 00122 00123 00124 00125 00126 00127 00128 00129 00130 00131 00132 00133 00134 00135 00136 00137 00138 00139 00140 00141 00142 00143 00144 00145 00146 00147 00148 00149 00150 00151 00152 00153 00154 00155 00156 00157 00158 00159 00160 00161 00162 00163 00164 00165 00166 00167 |
//============================================================================== // Written by Ron Prestenback // This menu indicates that a non-recoverable network error has occurred, and the player will // be kicked back to the main menu when this menu is closed. // © 2003, Epic Games, Inc. All Rights Reserved //============================================================================== class UT2K4NetworkStatusMsg extends LockedFloatingWindow; var automated GUIScrollTextBox stbNetworkMessage; var localized string StatusMessages[14]; var localized string StatusTitle[14]; var localized string UnknownError; var string StatusCodes[14]; var bool bExit; var localized string NewStatusMessage[3]; var localized string NewStatusTitle[3]; function InitComponent(GUIController MyController, GUIComponent MyOwner) { Super.InitComponent(Mycontroller, MyOwner); PlayerOwner().ClearProgressMessages(); b_Cancel.SetVisibility(false); b_OK.OnClick = InternalOnClick; sb_Main.ManageComponent(stbNetworkMessage); } event bool NotifyLevelChange() { return false; } event HandleParameters(string Param1, string Param2) { local int i; local string s; if (Param1~="RI_AuthenticationFailed") { t_WindowTitle.SetCaption(NewStatusTitle[0]); s = NewStatusMessage[0]; } else if (Param1~="RI_BannedClient") { t_WindowTitle.SetCaption(NewStatusTitle[1]); s = NewStatusMessage[1]; } else if (Param1~="RI_UTANBan") { t_WindowTitle.SetCaption(NewStatusTitle[2]); s = NewStatusMessage[2]; } else { for (i=0;i<ArrayCount(StatusCodes);i++) if (StatusCodes[i] ~= Param1) { s = StatusMessages[i]; ReplaceText(s, "%data%", Param2); t_WindowTitle.SetCaption(StatusTitle[i]); break; } if ( i == ArrayCount(StatusCodes) ) { if (Param1=="") { s = UnknownError; if ( Param1 != "" ) s $= "||" $ Param1; if ( Param2 != "" ) s $= "||" $ Param2; } else s = Param1 $ "||" $ Param2; } } stbNetworkMessage.SetContent(s); } function bool FloatingPreDraw( Canvas C ) { if (bExit) { Controller.CloseMenu(False); return true; } return super.FloatingPreDraw(c); } defaultproperties { Begin Object Class=GUIScrollTextBox Name=Scroller WinWidth=0.925338 WinHeight=0.790203 WinLeft=0.033108 WinTop=0.133333 bNoTeletype=true StyleName="NoBackground" End Object stbNetworkMessage=Scroller WindowName="Network Connection Lost" StatusCodes(0)="RI_AuthenticationFailed" StatusTitle(0)="Invalid CD-Key" StatusMessages(0)="The Master server has determined your CD-Key is either invalid or already in use. If this problem persists, please contact Atari Technicial support." StatusCodes(1)="RI_ConnectionFailed" StatusTitle(1)="Connection Failed" StatusMessages(1)="A communication link to the Unreal Tournament 2004 master server could not be established. Please check your connection to the internet and try again." StatusCodes(2)="RI_ConnectionTimeOut" StatusTitle(2)="Connection Timed Out" StatusMessages(2)="Apparently, your communication link to the Unreal Tournament 2004 master server has been interrupted. Please check your connection to the internet and try again." StatusCodes(3)="RI_MustUpgrade" StatusTitle(3)="Must Upgrade" StatusMessages(3)="Must Upgrade" StatusCodes(4)="RI_DevClient" StatusTitle(4)="Developer Mode" StatusMessages(4)="Client is in Developer Mode!||Your client is currently operating in developer mode and it's access to the master server has been restricted. Please restart the game and avoid using SET commands that may cause problems. If the problem persists, please contact Atari Technical Support." StatusCodes(5)="RI_BadClient" StatusTitle(5)="Modified Client" StatusMessages(5)="Modified Client!||Your copy of Unreal Tournament 2004 has in some way been modified. Because of this, its access to the master server has been restricted. If this problem persists, please reinstall the game or the latest patch.||This error has been logged at the master server." StatusCodes(6)="RI_BannedClient" StatusTitle(6)="You have been Banned" StatusMessages(6)="Your CD-KEY has been banned by the master server. this ban will remain in place until %data%" StatusCodes(7)="FC_ServerFull" StatusTitle(7)="The Server is Full" StatusMessages(7)="The server you are trying to connect to is currently full. Please try this server again later, or you may wish to try connecting as a spectator if the server allows it" StatusCodes(8)="FC_LocalBan" StatusTitle(8)="You have been banned" StatusMessages(8)="The admin of this server has banned you playing here. If you feel you do not deserve this ban, the admin's contact email is [%data%]" StatusCodes(9)="FC_Challege" StatusTitle(9)="Incompatible Version" StatusMessages(9)="This copy of UT2004 is not compatible with the server you are connecting to." StatusCodes(10)="FC_Login" StatusTitle(10)="Problem during Login" StatusMessages(10)="There was a fatal problem during login that has caused you to be disconnected from the server.||Reason: %data%" StatusCodes(11)="AC_Kicked" StatusTitle(11)="Kicked" StatusMessages(11)="You have been forcibly removed from the game.||Reason: %data%" StatusCodes(12)="AC_SessionBan" StatusTitle(12)="Session Ban" StatusMessages(12)="An admin of this server has banned you for the remainder of the current game.||If you feel you do not deserve this ban, the admin's email is:|[%data%]." StatusCodes(13)="AC_Ban" StatusTitle(13)="Permanent Ban" StatusMessages(13)="You've been permanently banned from playing on this server.||If you feel you do not deserve this ban, the admin's contact email is:|[%data%]." NewStatusTitle(0)="Invalid CD-KEY" NewStatusMessage(0)="The UT2004 Master Server has been unable to validate this copy of Unreal Tournament 2004. If the problem persists, please contact Atari Technical support." NewStatusTitle(1)="!! BANNED !!" NewStatusMessage(1)="Epic Games has blocked this CDKEY from online play. For more information, please email abuse@epicgames.com. Be sure to include the following information:||1. Your global id which can be found on the game tab in the settings menu||2. Your current IP address||3. The name at which you are trying to play under." NewStatusTitle(2)="Unreal Trusted Admin Network " NewStatusMessage(2)="The Unreal Trusted Admin Network (UTAN) has determined that this cdkey has been involved in at least one incident of cheating. Because of this, your CDKEY has been blocked, restricting you from playing online. If you feel this block is unwarranted, you can request a review of your key by sending email to utanabuse@epicgames.com. Please be sure to include the following information:||1. Your global id which can be found on the game tab in the settings menu||2. Your current IP address||3. The name at which you are trying to play under." UnknownError="Unknown Network Error" } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |