Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel

UE2:XWebQueryCurrent (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> xAdminBase >> xWebQueryHandler >> XWebQueryCurrent
Package: 
xWebAdmin
Within class: 
UTServerAdmin
This class in other games:
UT2003

WebAdmin handler for activities related to the game currently in progress on the server

Written by Michael Comeau Revised by Ron Prestenback © 2003,2004 Epic Games, Inc. All Rights Reserved

Properties

Added

Type: string

Modifiers: localized


Default value: "added."

BadGameType

Type: string

Modifiers: localized


Default value: "Unsupported Game Type"

BotList

Type: array<StringArray>

Sorted bot list by species

BotStatus

Type: string

Modifiers: localized


Default value: "bots were %Action%"

ConsoleRefreshTag

Type: string

Modifiers: config


Default value: "<meta http-equiv=\"refresh\" CONTENT=\"5; URL="

ConsoleUserlist

Type: string

Modifiers: localized


Default value: "Getting or setting admin accounts and groups is not allowed through the webadmin console. This action has been logged."

CurrentBotsPage

Type: string

Modifiers: config


Default value: "current_bots"

CurrentConsoleLogPage

Type: string

Modifiers: config


Default value: "current_console_log"

CurrentConsolePage

Type: string

Modifiers: config


Default value: "current_console"

CurrentConsoleSendPage

Type: string

Modifiers: config


Default value: "current_console_send"

CurrentGamePage

Type: string

Modifiers: config


Default value: "current_game"

CurrentIndexPage

Type: string

Modifiers: config

This is the page with the Menu

Default value: "current_menu"

CurrentLinks

Type: string

Array size: 6

Modifiers: localized


Default value, index 0: "Current Game"

Default value, index 1: "Player List"

Default value, index 2: "Server Console"

Default value, index 3: "Mutators"

Default value, index 4: "Bots"

Default value, index 5: "Restart Map"

CurrentMutatorsPage

Type: string

Modifiers: config


Default value: "current_mutators"

CurrentPlayersPage

Type: string

Modifiers: config


Default value: "current_players"

CurrentRestartPage

Type: string

Modifiers: config


Default value: "current_restart"

DefaultSendText

Type: string

Modifiers: config


Default value: "say "

GameTypeUnsupported

Type: string

Modifiers: localized


Default value: "The Game Type '%GameType%' does not use standard bots."

KickButtonText

Type: string

Array size: 3

Modifiers: localized


Default value, index 0: "Kick"

Default value, index 1: "Ban"

Default value, index 2: "Kick/Ban"

MutatorGroupMember

Type: string

Modifiers: config


Default value: "current_mutators_group_row"

MutatorGroupTitle

Type: string

Modifiers: config


Default value: "current_mutators_group"

MutatorTablePage

Type: string

Modifiers: config


Default value: "current_mutators_table"

NoBots

Type: string

Modifiers: localized


Default value: "You cannot add bots while World Stats Logging is enabled."

NoBotsTitle

Type: string

Modifiers: localized


Default value: "Bots unavailable"

NoPlayersConnected

Type: string

Modifiers: localized


Default value: "** No Players Connected **"

NoteBotsPage

Type: string

Modifiers: localized


Default value: "You may only add bots once the game has started. Adding bots has an adverse effect on the MinPlayers setting, and may cause this value to change. If stats are enabled, you may only add bots if bots are already in the game."

NoteConsolePage

Type: string

Modifiers: localized


Default value: "You may communicate with the players in the game by entering text at the text box and clicking 'Send'. You can also enter console commands to control the server. Game messages are shown in the log window, with the exception of team messages."

NoteGamePage

Type: string

Modifiers: localized


Default value: "You can view and select maps from other gametypes by using the combo box. Selecting maps from other gametypes will automatically switch the server to that gametype."

NoteMutatorsPage

Type: string

Modifiers: localized


Default value: "Select which mutators you want to be used when you hit the Restart Server Link"

NotePlayersPage

Type: string

Modifiers: localized


Default value: "In order to see the global ID for connected players, change the value for bBanbyID in the [Engine.AccessControl] section of your ini to 'True'. Bots cannot be banned."

PickMutators

Type: string

Modifiers: localized


Default value: "Select desired mutators"

PlayerListHeader

Type: string

Modifiers: config


Default value: "current_players_list_head"

PlayerListLinkedHeader

Type: string

Modifiers: config


Default value: "current_players_list_head_link"

PlayerListMinPlayers

Type: string

Modifiers: config


Default value: "current_players_minp"

Removed

Type: string

Modifiers: localized


Default value: "removed."

SelectedMutators

Type: string

Modifiers: localized


Default value: "Selected Mutators"

SingleBotStatus

Type: string

Modifiers: localized


Default value: "bot was %Action%"

SpeciesNames

Type: StringArray


StatTable

Type: string

Modifiers: config


Default value: "current_game_stat_table"

StatTableRow

Type: string

Modifiers: config


Default value: "current_game_stat_table_row"

Default values

Property Value
DefaultPage "currentframe"
NeededPrivs K|M|Xs|Xc|Xp|Xi|Kp|Kb|Ko|Mb|Mt|Mm|Mu|Ma"
Title "Current"

Instance functions

FindPlayingBot

function xBot FindPlayingBot (string BotName)


GetTeamColor

function string GetTeamColor (TeamInfo Team)


GetTeamName

function string GetTeamName (TeamInfo Team)


Query

function bool Query (WebRequest Request, WebResponse Response)

Overrides: xWebQueryHandler.Query


QueryCurrentBots

function QueryCurrentBots (WebRequest Request, WebResponse Response)


QueryCurrentConsole

function QueryCurrentConsole (WebRequest Request, WebResponse Response)


QueryCurrentConsoleLog

function QueryCurrentConsoleLog (WebRequest Request, WebResponse Response)


QueryCurrentConsoleSend

function QueryCurrentConsoleSend (WebRequest Request, WebResponse Response)


QueryCurrentFrame

function QueryCurrentFrame (WebRequest Request, WebResponse Response)


QueryCurrentGame

function QueryCurrentGame (WebRequest Request, WebResponse Response)


QueryCurrentMenu

function QueryCurrentMenu (WebRequest Request, WebResponse Response)


QueryCurrentMutators

function QueryCurrentMutators (WebRequest Request, WebResponse Response)


QueryCurrentPlayers

function QueryCurrentPlayers (WebRequest Request, WebResponse Response)