From 907431cb7d31c842c5750778d720c04c12ca2730 Mon Sep 17 00:00:00 2001 From: driAn Date: Mon, 28 May 2007 21:09:32 +0000 Subject: [PATCH] no message git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1021 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- docs/reference.xml | 222 +++++++++++++++++++++++++++++++++++++++--- source/src/server.cpp | 2 +- 2 files changed, 208 insertions(+), 16 deletions(-) diff --git a/docs/reference.xml b/docs/reference.xml index aab1a707..aed98388 100644 --- a/docs/reference.xml +++ b/docs/reference.xml @@ -394,6 +394,12 @@ + + Shifts the camera to an other demo player + + + + Turns on/off display of fps/rendering stats on the HUD. @@ -445,7 +451,121 @@ This section describes general identifiers. - + + + Claims or drops master status. + + + Claiming master status is only possible if no other player is already master. + In the scoreboard, the master is marked green. + + + + + + + + + + + + + + Claims or drops admin status. + + + Successfully claiming admin status revokes other players master or admin state automatically. + Failed logins result in an auto kick. + The admin is granted the right to kick, ban, remove bans, set autoteam and change the mastermode. + In the scoreboard, the admin is marked red. + + + + + + + + + + + + + + + + + Kicks a specified player from the server. + + Requires master or admin state. + + + + + + + + + + + Bans a specified player from the server. + + + Requires admin state. The ban duration is fixed to 20 minutes. + + + + + + + + + + + + + Removes all bans on the server. + + + Requires admin state. + + + + + + + + + + Sets the automated team assignement. + + + Requires master or admin state. + + + + + + + + + + + + Sets the mastermode for the server. + + + Requires master or admin state. If the mastermode is set to 'private', no more clients can join the server. + Default is 'open' that allows anyone to join the server. + + + + + + + + + + Adds a new section to the ingame documentation. @@ -456,11 +576,10 @@ - Adds a new identifier documentation to a section. + Adds a new identifier documentation to the last added section. An identifier represents a command or variable. The new identifier - documentation is assigned to the last added documentation section. The name may countain spaces to create a "multipart" identifier documentation @@ -492,11 +611,10 @@ - Adds a new argument documentation to an identifier. + Adds a new argument documentation to the last added identifier. An argument represents either a command argument or a variable value. - The new argument is added to the last added identifier documentation. The last argument of an identifier can be flagged as variable-length @@ -514,12 +632,7 @@ - Adds a new documentation remark to an identifier. - - - The new remark is added to the last added identifier documentation. - - + Adds a new documentation remark to the last added identifier. @@ -527,6 +640,13 @@ + + Adds an example to the last added identifier. + + + + + Adds a new documentation reference to an identifier. @@ -904,6 +1024,74 @@ + + Adds a server to the list of server to query in the server list menu. + + + + + + Specifies a model to render while displaying the last added menu. + + + + + + + + + Changes the menu model of a specified menu. + + + + + + + + + + + + + Clears the list of secured maps. + + + + + + Adds a map to the list of secured maps. + + + Secured maps can not be overwritten by the commands sendmap and getmap. + + + + + + + + + + + + + + Recreates the minimap for the current map. + + + + + + Sets the resolution for the minimap. + + + + + + + Indicates if a connection to a server exists. + + Sets the size of your crosshair. @@ -921,11 +1109,11 @@ - + Sets the maximum value the display will roll on strafing. - + Allows to finetune the amount of "error" the mipmapper/stripifier allow themselves for changing lightlevels. @@ -942,7 +1130,7 @@ Indicates if the weapons should be reloaded automatically. - + Determines wether dynamic shadows and lights are rendered, providedjust incase they slow your fps down too much. @@ -986,7 +1174,7 @@ - + Sets the sound buffer length. @@ -1021,6 +1209,10 @@ Scales all particles. + + Sets the time available for interpolation between model animations. + +
diff --git a/source/src/server.cpp b/source/src/server.cpp index 19f41a8c..b7b76f2c 100644 --- a/source/src/server.cpp +++ b/source/src/server.cpp @@ -443,7 +443,7 @@ void sendteamtext(char *text, int sender) if(packet->referenceCount==0) enet_packet_destroy(packet); } -char *disc_reasons[] = { "normal", "end of packet", "client num", "kicked by master", "banned by master", "tag type", "connection refused due to ban", "wrong password", "failed master login", "server FULL - maxclients", "server mastermode is \"private\"" }; +char *disc_reasons[] = { "normal", "end of packet", "client num", "kicked by server operator", "banned by server operator", "tag type", "connection refused due to ban", "wrong password", "failed admin login", "server FULL - maxclients", "server mastermode is \"private\"" }; void disconnect_client(int n, int reason = -1) {