Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

GUI2K4.UT2K4NetworkStatusMsg


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
//==============================================================================
//	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
         bNoTeletype=True
         OnCreateComponent=Scroller.InternalOnCreateComponent
         WinTop=0.133333
         WinLeft=0.033108
         WinWidth=0.925338
         WinHeight=0.790203
     End Object
     stbNetworkMessage=GUIScrollTextBox'GUI2K4.UT2K4NetworkStatusMsg.Scroller'

     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."
     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."
     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."
     StatusMessages(3)="Must Upgrade"
     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."
     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."
     StatusMessages(6)="Your CD-KEY has been banned by the master server.  this ban will remain in place until %data%"
     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"
     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%]"
     StatusMessages(9)="This copy of UT2004 is not compatible with the server you are connecting to."
     StatusMessages(10)="There was a fatal problem during login that has caused you to be disconnected from the server.||Reason: %data%"
     StatusMessages(11)="You have been forcibly removed from the game.||Reason: %data%"
     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%]."
     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%]."
     StatusTitle(0)="Invalid CD-Key"
     StatusTitle(1)="Connection Failed"
     StatusTitle(2)="Connection Timed Out"
     StatusTitle(3)="Must Upgrade"
     StatusTitle(4)="Developer Mode"
     StatusTitle(5)="Modified Client"
     StatusTitle(6)="You have been Banned"
     StatusTitle(7)="The Server is Full"
     StatusTitle(8)="You have been banned"
     StatusTitle(9)="Incompatible Version"
     StatusTitle(10)="Problem during Login"
     StatusTitle(11)="Kicked"
     StatusTitle(12)="Session Ban"
     StatusTitle(13)="Permanent Ban"
     UnknownError="Unknown Network Error"
     StatusCodes(0)="RI_AuthenticationFailed"
     StatusCodes(1)="RI_ConnectionFailed"
     StatusCodes(2)="RI_ConnectionTimeOut"
     StatusCodes(3)="RI_MustUpgrade"
     StatusCodes(4)="RI_DevClient"
     StatusCodes(5)="RI_BadClient"
     StatusCodes(6)="RI_BannedClient"
     StatusCodes(7)="FC_ServerFull"
     StatusCodes(8)="FC_LocalBan"
     StatusCodes(9)="FC_Challege"
     StatusCodes(10)="FC_Login"
     StatusCodes(11)="AC_Kicked"
     StatusCodes(12)="AC_SessionBan"
     StatusCodes(13)="AC_Ban"
     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."
     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."
     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."
     NewStatusTitle(0)="Invalid CD-KEY"
     NewStatusTitle(1)="!! BANNED !!"
     NewStatusTitle(2)="Unreal Trusted Admin Network "
     WindowName="Network Connection Lost"
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Tue 24/10/2006 17:13:14.000 - Creation time: Wed 7/2/2007 19:16:56.656 - Created with UnCodeX