(https://forums.soldat.pl/index.php?action=dlattach;topic=45583.0;attach=34215;image) | (https://forums.soldat.pl/index.php?action=dlattach;topic=45583.0;attach=34217;image) (https://forums.soldat.pl/index.php?action=dlattach;topic=45583.0;attach=34219;image) |
Commands | Parameters | Description |
!reginfo | None | List all commands for players and admins if player is admin. |
!zitro | None | It displays some information about the author of the script, the script and the number of profiles on the server. |
!top | None | Shows the top 15 best players. |
!top | <num>: The rank position number | It displays the top 15 players with the middle position indicated in the paramatra. |
!top | <Player ID>: Ingame player ID <Part name>: Ingame player part name <name>: Ingame full player name | It displays the top 15 players with the middle position indicated in the paramatra. |
!topme | None | It displays the top 15 players when the middle of the player list is in the position of the player typing a command. |
!topid | <Player ID>: Ingame player ID | It displays the top 15 players with the middle position indicated in the paramatra. |
!rank | None | It will display your position in the ranking and the number of points. |
!rank | <Player ID>: Ingame player ID <Part name>: Ingame player part name <name>: Ingame full player name | It will display the position of the selected player in the ranking and the number of points. |
!ranknum | <num>: Ranking position | It will display who is in the selected position. |
!stats | None | Display your basic statistics. |
!stats | <Player ID>: Ingame player ID <Part name>: Ingame player part name <name>: Ingame full player name | Displays basic statistics indicated player. |
!otherstats | None | Display your other statistics. |
!otherstats | <Player ID>: Ingame player ID <Part name>: Ingame player part name <name>: Ingame full player name | Displays other statistics indicated player. |
!topmaps | None | Shows the top 15 most played maps. |
!topmaps | <num>: The rank position number | It displays the top 15 maps with the middle position indicated in the paramatra. |
!topmaps | <Part name>: Map part name <name>: Full map name | It displays the top 15 maps with the middle position indicated in the paramatra. |
!mapstats | None | Display current map statistics. |
!mapstats | <Part name>: Map part name <name>: Full map name | Displays statistics indicated map. |
/hud | None | Toggles hud display. |
/status | None | It displays some interesting information about you and how many days of point protection are left. |
/status | <Player ID>: Ingame player ID <Part name>: Ingame player part name <name>: Ingame full player name | It displays some interesting information about indicated player and how many days of point protection are left. |
Admins commands | Parameters | Description |
/statusa | None or <player id>: Ingame player ID <part name>: Ingame player part name <name>: Ingame full player name | It works as a normal status but will also count all possible multi accounts according to different criteria. |
/privacy | <name|steam|hwid|ip>: A required parameter that defines what data to display <id_up|id_down|count_up|count_down|time_up|time_down|latest_up|latest_down|first_up|first_down>: Not required, default is count_up <player_id, part_name, full_name>: Not required if you want to view your list | Lists all the hwid steamid and ip nicks that the player has successfully logged in with. You can get a description of the sort by entering the command without parameters. |
/page | <page number>: Privacy list page number | Shows the indicated page from the privacy list. |
/next | None | Shows the next page from the privacy list. |
/last | None | Shows the previous page from the privacy list. |
/resetallplayersstats | None | Restarts all players statistics. Requires approval /yes. |
/resetallmapsstats | None | Restarts all maps statistics. Requires approval /yes. |
/backupcreate | <name>: Backup file name | Creates a backup file in the bakup folder with the given name. Requires approval /yes. |
/restorebackup | <name>: Backup file name | Restores a backup from the selected file. Requires approval /yes. |
/removeolderthan | <RRRR-MM-DD> | <DD-MM-RRRR> | Deletes all accounts older than the specified date. Separate the numbers can using ./\- or space. Requires approval /yes, in the query it shows how many accounts are to be deleted. |
/yes | None | Confirms the performed operation. |
/no | None | Rejects the performed operation. |
/search | <part name>: Players part name | If you are looking for a player name, this command will be helpful. |
/checkp | <name|steam|hwid|ip|all>: Not required, default all. What type of data to use for the search. <first|last>: Not required, default is all. What player data to use for the search, from last login or first login If you do not provide a value, the data will search all available data. <true|false>: Not required, default is false. Limiting the number of searches. <player id, part name, full name>: Required, player id player part name or full name. This parameter must always be at the end of the command | Looks for multi-accounts of the indicated player using the specified criteria. Parameters that are not required do not have to be given and their order does not have to be followed. |
/checkd | <name|steam|hwid|ip>: Required, indicates what data you will enter <first|last|all>: Not required, default is all. <true|false>: Not required, default is false. Used when the search type is set to name or ip, when true the search will use compare, so you can search in the ip range. When "name" or "ip" it is always read first, ie on the left. <true|false>: Not required, default is false. Limiting the number of searches. <data>: Required, depending on the first parameter, the relevant data associated with it. This parameter must always be at the end of the command. | Searches for multi-accounts using the entered data. Parameters that are not required do not have to be given and their order does not have to be followed. If the data type is "name" or "ip", the compare parameter is always read as the leftmost parameter. |
procedure Reg_Steam_ID(ID: byte);
procedure Reg_Steam_ID(ID: byte);
var i, Steam_Index_ID, Temp_Length: int64;
begin
Steam_Index_ID := -1; Temp_Length := Length(Memory.Data)-1;
for i := 0 to Temp_Length do begin
if Memory.Data[i].Active_Steam = Players[ID].SteamIDString then if Steam_Index_ID = -1 then begin
Steam_Index_ID := i;
break;
end;
end;
if Steam_Index_ID <> -1 then begin
Player_Info[ID].Steam_Control.New_Account_Index_ID := Player_Info[ID].Last_Index;
Player_Info[ID].Steam_Control.Steam_Auth_Time_Left := 0; Player_Info[ID].Last_Index := Steam_Index_ID;
Check_New_Devices(Players[ID], false); Swap_Active_Data(Players[ID], Steam_Index_ID);
Players[ID].WriteConsole(' ',GOOD); Players[ID].WriteConsole(' ',GOOD); Players[ID].WriteConsole(' ',GOOD);
Players[ID].WriteConsole(Center('Welcome back '+Players[ID].Name+' (Steam ID: '+Players[ID].SteamIDString+')', Center_Message_Pos), GOOD);
//Remove new account if create for hwid
if Player_Info[ID].Steam_Control.Is_New_Account then begin
for i := Player_Info[ID].Steam_Control.New_Account_Index_ID+1 to Temp_Length do Memory.Data[i-1] := Memory.Data[i];
SetLength(Memory.Data, Temp_Length);
Rank_List.Delete(Player_Info[ID].Steam_Control.New_Account_Index_ID);
end;
exit;
end else
begin
if (Memory.Data[Player_Info[ID].Last_Index].Other_STEAMs[0].Data_String = nil) and (not Memory.Data[Player_Info[ID].Last_Index].Other_STEAMs[0].Is_Active) then begin
Player_Info[ID].Other_Data_Actual_ID[2] := 0;
Memory.Data[Player_Info[ID].Last_Index].Active_Steam := Players[ID].SteamIDString;
Memory.Data[Player_Info[ID].Last_Index].Other_STEAMs[0].Data_String := Players[ID].SteamIDString;
Memory.Data[Player_Info[ID].Last_Index].Other_STEAMs[0].Is_Active := true;
Memory.Data[Player_Info[ID].Last_Index].Other_STEAMs[0].First_Used := false;
Memory.Data[Player_Info[ID].Last_Index].Other_STEAMs[0].Last_Used := true;
Memory.Data[Player_Info[ID].Last_Index].Other_STEAMs[0].Login_Count := 0;
Memory.Data[Player_Info[ID].Last_Index].Other_STEAMs[0].Time_On_Spectator := 0;
Memory.Data[Player_Info[ID].Last_Index].Other_STEAMs[0].Time_Played := 0;
Memory.Data[Player_Info[ID].Last_Index].Other_STEAMs[0].First_Used_Date := now();
Memory.Data[Player_Info[ID].Last_Index].Other_STEAMs[0].Last_Used_Date := now();
Player_Info[ID].Steam_Control.Steam_Auth_Time_Left := 0;
if Player_Info[ID].Steam_Control.Is_New_Account then begin
Player_Info[ID].Steam_Control.Is_New_Account := false;
Players[ID].WriteConsole(' ',GOODInfo); Players[ID].WriteConsole(' ',GOODInfo);
Players[ID].WriteConsole(Center('Your stats will be stored for your steam ID! (Steam ID: '+Players[ID].SteamIDString+')', Center_Message_Pos), GOOD)
end else
begin
Players[ID].WriteConsole(' ',GOODInfo); Players[ID].WriteConsole(' ',GOODInfo);
Players[ID].WriteConsole(Center('We detect your new steam ID we saved it, that you can login automatically in the future.', Center_Message_Pos), GOODInfo);
Players[ID].WriteConsole(Center('Welcome back '+Players[ID].Name+' (Steam ID: '+Players[ID].SteamIDString+')', Center_Message_Pos), GOOD);
end;
end;
end;
end;