Author Topic: ZitroFUN 3.0 Steam_Beta  (Read 1073 times)

0 Members and 1 Guest are viewing this topic.

Offline soldat-game

  • Camper
  • ***
  • Posts: 400
ZitroFUN 3.0 Steam_Beta
« on: January 25, 2022, 11:54:00 am »
Hi, my work on zitrofun 3.0 is coming to an end. This is a completely rewritten script. Written from a blank sheet of paper.
It has all the stats listed below working. It offers support for all the dead bodies of the game as well as survival mode support in all of them.
Works entirely in ram, ok the write is on the disk, it slows down a bit but it is cleverly solved so there is no lag whatsoever.
You can test it on any of my servers or self i send alpha version in attach. -- > 135.125.202.143:23075 RSCS
By default, it supports any data saving, data can be assigned to steam / hwid , name, hwid, ip. The version below does not currently support steam.
What is my goal? I want someone to help me select the statistics displayed with commands (!stats, !otherstats) from the list of statistics below
Pointmatch_Mode.Extra_Points_Multi.DOUBLE_KILL and more in non-pointmatch modes stores cound of double kills etc
HTF_Mode.Alpha_Points_Scored HTF_Mode.Alpha_Team_Points_Scored HTF_Mode.Bravo_Team_Points_Scored it is also used in inf mode

Code: [Select]
Protection_Days
Time_Played
Time_Alive
Time_Death
Time_On_Spectator
Register_Time
Last_Played_Time


Points
Kills
Deaths
Selfkills
Assist
Teamkills
Deaths_By_Friendly
Postromus_Kills
Revenge_Kills
Avenger_Kills
Savior_Kills

Flags_Score
Alpha_Score
Alpha_Team_Score
Bravo_Score
Bravo_Team_Score
Flags_Return
Flags_Grab
Flags_Drop
Flags_Thrown
Flagers_Kills
Flager_Kills_Assist
Savior_Friendly_Flager_Kills
Friendly_Flagers_Teamkills
Kills_When_Have_Flag
Friendly_Kills_When_Have_Flag
Time_Holding_Flags

Wins
Loses
Draws
Alpha_Wins
Alpha_Loses
Bravo_Wins
Brawo_Loses
Charlie_Wins
Charlie_Lose
Delta_Wins
Delta_Lose
Rounds_Wins
Rounds_Lose
Rounds_Alpha_Wins
Rounds_Alpha_Loses
Rounds_Bravo_Wins
Rounds_Bravo_Loses
Rounds_Charlie_Wins
Rounds_Charlie_Loses
Rounds_Delta_Wins
Rounds_Delta_Loses

Shots
Shots_Hits
Shots_Hits_Friendly
Shots_Hits_By_Friendly
Shots_Hits_Self
Shots_Hits_Head
Shots_Hits_Body
Shots_Hits_Leg
Shots_Hits_Friendly_Head
Shots_Hits_Friendly_Body
Shots_Hits_Friendly_Leg
Shots_Hits_By_Friendly_Head
Shots_Hits_By_Friendly_Body
Shots_Hits_By_Friendly_Leg
Shots_Hits_Self_Head
Shots_Hits_Self_Body
Shots_Hits_Self_Leg


Knives_Throws
Knives_Throws_Hits_Enemy
Knives_Throws_Hits_Self
Knives_Throws_Hits_Friends
Knives_Throws_Hits_By_Friends
Knives_Stabs_Enemy
Knives_Stabs_Friendly
Knives_Stabs_By_Friendly

Chainsaw_Time_Used_Seconds
Chainsaw_Hurts_Enemy
Chainsaw_Hurts_Friendly
Chainsaw_Hurts_By_Friendly

Flamethrower_Shots
Flamethrower_Hits_Enemy
Flamethrower_Hits_Friendly
Flamethrower_Hits_Self
Flamethrower_Hits_By_Friendly

Hands_Hurts_Enemy
Hands_Hurts_Friendly
Hands_Hurts_By_Friendly


Nades_Throws
Nade_Hurts_Enemy
Nade_Hurts_Friendly
Nade_Hurts_Self
Nade_Hurts_By_Friendly

Cluster_Nades_Throws
Cluster_Nades_Hurts_Enemy
Cluster_Nades_Hurts_Friendly
Cluster_Nades_Hurts_Self
Cluster_Nades_Hurts_By_Friendly


M79_Shots
M79_Hurts_Enemy
M79_Hurts_Friendly
M79_Hurts_Self
M79_Hurts_By_Friendly

M72_LAW_Shots
M72_LAW_Hurts_Enemy
M72_LAW_Hurts_Friendly
M72_LAW_Hurts_Self
M72_LAW_Hurts_By_Friendly

Bow_Flamed_Arrows_Shots
Bow_Flamed_Arrows_Hurts_Enemy
Bow_Flamed_Arrows_Hurts_Friendly
Bow_Flamed_Arrows_Hurts_Self
Bow_Flamed_Arrows_Hurts_By_Friendly

M2_MG_Hits_Enemy
M2_MG_Hits_Friendly
M2_MG_Hits_By_Friendly


Rambo_Mode.Kill_Rambo_Count
Rambo_Mode.Kills_By_Bow
Rambo_Mode.Gets_Bow
Rambo_Mode.Drop_Bow
Rambo_Mode.Kills_When_No_Rambo
Rambo_Mode.Deaths_When_No_Rambo
Rambo_Mode.Time_With_Bow
Rambo_Mode.Time_Without_Bow


HTF_Mode.Points_Scored
HTF_Mode.Team_Points_Scored
HTF_Mode.Alpha_Points_Scored
HTF_Mode.Bravo_Points_Scored
HTF_Mode.Alpha_Team_Points_Scored
HTF_Mode.Bravo_Team_Points_Scored
HTF_Mode.Time_When_Have_Flag
HTF_Mode.Time_When_Team_Have_Flag
HTF_Mode.Time_When_Not_Have_Flag
HTF_Mode.Time_When_Team_Not_Have_Flag


Pointmatch_Mode.Extra_Points
Pointmatch_Mode.Extra_Points_Multi.DOUBLE_KILL
Pointmatch_Mode.Extra_Points_Multi.TRIPLE_KILL
Pointmatch_Mode.Extra_Points_Multi.MULTI_KILL
Pointmatch_Mode.Extra_Points_Multi.MULTI_KILL_X2
Pointmatch_Mode.Extra_Points_Multi.SERIAL_KILL
Pointmatch_Mode.Extra_Points_Multi.INSANE_KILLS
Pointmatch_Mode.Extra_Points_Multi.GIMME_MORE
Pointmatch_Mode.Extra_Points_Multi.MASTA_KILLA
Pointmatch_Mode.Extra_Points_Multi.STOP_IT
Pointmatch_Mode.Extra_Points_Multi.MERCY
Pointmatch_Mode.Extra_Points_Multi.CHEATER

Here is my concept
Code: [Select]
Rank & Points is default display in stats. But it seems there are too many of them.

[Death_Match]
[Styles]
Rounds

[Stats]
Kills
Deaths
Selfkills
Assist
Postromus_Kills
Revenge_Kills
Avenger_Kills
Savior_Kills
Wins
Loses
Draws
Rounds_Wins
Rounds_Lose
Kills/Deaths
Win/Lose
Round_Win/Round_Lose
Accuracy %
Player_Rate()

[Other_Stats]
Shots
Shots_Hits
Shots_Hits_Self
Shots_Hits_Head
Shots_Hits_Body
Shots_Hits_Leg
Pointmatch_Mode.Extra_Points_Multi.DOUBLE_KILL
Pointmatch_Mode.Extra_Points_Multi.TRIPLE_KILL
Pointmatch_Mode.Extra_Points_Multi.MULTI_KILL
Pointmatch_Mode.Extra_Points_Multi.MULTI_KILL_X2
Pointmatch_Mode.Extra_Points_Multi.SERIAL_KILL
Knives_Throws
Knives_Throws_Hits_Enemy
Nades_Throws
Nade_Hurts_Enemy
Hands_Hurts_Enemy
Time_Played
Time_Alive
Time_Death
Time_On_Spectator
Register_Time
Last_Played_Time
Protection_Days


[Point_Match] FLAG
[Styles]
Flags

[Stats]
Kills
Deaths
Selfkills
Assist
Postromus_Kills
Revenge_Kills
Avenger_Kills
Savior_Kills
Wins
Loses
Draws
Kills/Deaths
Win/Lose
Accuracy %
Player_Rate()

[Other_Stats]
Flags_Grab
Flags_Drop
Flags_Thrown
Flagers_Kills
Flager_Kills_Assist
Kills_When_Have_Flag
Time_Holding_Flags
Shots
Shots_Hits
Shots_Hits_Self
Shots_Hits_Head
Shots_Hits_Body
Shots_Hits_Leg
Pointmatch_Mode.Extra_Points
Pointmatch_Mode.Extra_Points_Multi.DOUBLE_KILL
Pointmatch_Mode.Extra_Points_Multi.TRIPLE_KILL
Pointmatch_Mode.Extra_Points_Multi.MULTI_KILL
Pointmatch_Mode.Extra_Points_Multi.MULTI_KILL_X2
Pointmatch_Mode.Extra_Points_Multi.SERIAL_KILL
Knives_Throws
Knives_Throws_Hits_Enemy
Nades_Throws
Nade_Hurts_Enemy
Hands_Hurts_Enemy
Time_Played
Time_Alive
Time_Death
Time_On_Spectator
Register_Time
Last_Played_Time
Protection_Days


[RAMBO] BOW
[Styles]
BOW
Rounds

[Stats]
Kills
Deaths
Selfkills
Assist
Postromus_Kills
Revenge_Kills
Avenger_Kills
Savior_Kills
Wins
Loses
Draws
Rounds_Wins
Rounds_Lose
Kills/Deaths
Win/Lose
Round_Win/Round_Lose
Accuracy %
Player_Rate()

[Other_Stats]
Shots
Shots_Hits
Shots_Hits_Self
Shots_Hits_Head
Shots_Hits_Body
Shots_Hits_Leg
Rambo_Mode.Kill_Rambo_Count
Rambo_Mode.Kills_By_Bow
Rambo_Mode.Gets_Bow
Rambo_Mode.Drop_Bow
Rambo_Mode.Kills_When_No_Rambo
Rambo_Mode.Deaths_When_No_Rambo
Rambo_Mode.Time_With_Bow
Rambo_Mode.Time_Without_Bow
Bow_Flamed_Arrows_Shots
Bow_Flamed_Arrows_Hurts_Enemy
Bow_Flamed_Arrows_Hurts_Friendly
Bow_Flamed_Arrows_Hurts_Self
Bow_Flamed_Arrows_Hurts_By_Friendly
Pointmatch_Mode.Extra_Points_Multi.DOUBLE_KILL
Pointmatch_Mode.Extra_Points_Multi.TRIPLE_KILL
Pointmatch_Mode.Extra_Points_Multi.MULTI_KILL
Pointmatch_Mode.Extra_Points_Multi.MULTI_KILL_X2
Pointmatch_Mode.Extra_Points_Multi.SERIAL_KILL
Knives_Throws
Knives_Throws_Hits_Enemy
Nades_Throws
Nade_Hurts_Enemy
Hands_Hurts_Enemy
Time_Played
Time_Alive
Time_Death
Time_On_Spectator
Register_Time
Last_Played_Time
Protection_Days


[Team_Match] TEAMS
[Styles]
Teams
Rounds

[Stats]
Kills
Deaths
Selfkills
Assist
Teamkills
Deaths_By_Friendly
Postromus_Kills
Revenge_Kills
Avenger_Kills
Savior_Kills
Wins
Loses
Draws
Rounds_Wins
Rounds_Lose
Kills/Deaths
Win/Lose
Round_Win/Round_Lose
Accuracy %
Player_Rate()

[Other_Stats]
Alpha_Wins
Alpha_Loses
Bravo_Wins
Brawo_Loses
Charlie_Wins
Charlie_Lose
Delta_Wins
Delta_Lose
Rounds_Alpha_Wins
Rounds_Alpha_Loses
Rounds_Bravo_Wins
Rounds_Bravo_Loses
Rounds_Charlie_Wins
Rounds_Charlie_Loses
Rounds_Delta_Wins
Rounds_Delta_Loses
Shots
Shots_Hits
Shots_Hits_Friendly
Shots_Hits_By_Friendly
Shots_Hits_Self
Shots_Hits_Head
Shots_Hits_Body
Shots_Hits_Leg
Knives_Throws
Knives_Throws_Hits_Enemy
Nades_Throws
Nade_Hurts_Enemy
Hands_Hurts_Enemy
Time_Played
Time_Alive
Time_Death
Time_On_Spectator
Register_Time
Last_Played_Time
Protection_Days


[Capture_The_Flag]
[Styles]
Teams
Flags
Rounds

[Stats]
Kills
Deaths
Selfkills
Assist
Teamkills
Deaths_By_Friendly
Postromus_Kills
Revenge_Kills
Avenger_Kills
Savior_Kills
Wins
Loses
Draws
Rounds_Wins
Rounds_Lose
Kills/Deaths
Win/Lose
Round_Win/Round_Lose
Accuracy %
Player_Rate()

[Other_Stats]
Flags_Score
Alpha_Score
Alpha_Team_Score
Bravo_Score
Bravo_Team_Score
Flags_Return
Flags_Grab
Flags_Drop
Flags_Thrown
Flagers_Kills
Flager_Kills_Assist
Savior_Friendly_Flager_Kills
Friendly_Flagers_Teamkills
Kills_When_Have_Flag
Friendly_Kills_When_Have_Flag
Time_Holding_Flags
Alpha_Wins
Alpha_Loses
Bravo_Wins
Brawo_Loses
Rounds_Alpha_Wins
Rounds_Alpha_Loses
Rounds_Bravo_Wins
Rounds_Bravo_Loses
Shots
Shots_Hits
Shots_Hits_Friendly
Shots_Hits_By_Friendly
Shots_Hits_Self
Shots_Hits_Head
Shots_Hits_Body
Shots_Hits_Leg
Knives_Throws
Knives_Throws_Hits_Enemy
Nades_Throws
Nade_Hurts_Enemy
Hands_Hurts_Enemy
Time_Played
Time_Alive
Time_Death
Time_On_Spectator
Register_Time
Last_Played_Time
Protection_Days


[Infiltration]
[Styles]
Teams
Flags

[Stats]
Kills
Deaths
Selfkills
Assist
Teamkills
Deaths_By_Friendly
Postromus_Kills
Revenge_Kills
Avenger_Kills
Savior_Kills
Wins
Loses
Draws
Kills/Deaths
Win/Lose
Accuracy %
Player_Rate()

[Other_Stats]
Flags_Score
Alpha_Score
Alpha_Team_Score
Flags_Return
Flags_Grab
Flags_Drop
Flags_Thrown
Flagers_Kills
Flager_Kills_Assist
Savior_Friendly_Flager_Kills
Friendly_Flagers_Teamkills
Kills_When_Have_Flag
Friendly_Kills_When_Have_Flag
Time_Holding_Flags
Alpha_Wins
Alpha_Loses
Bravo_Wins
Brawo_Loses
Shots
Shots_Hits
Shots_Hits_Friendly
Shots_Hits_By_Friendly
Shots_Hits_Self
Shots_Hits_Head
Shots_Hits_Body
Shots_Hits_Leg
Knives_Throws
Knives_Throws_Hits_Enemy
Nades_Throws
Nade_Hurts_Enemy
Hands_Hurts_Enemy
HTF_Mode.Alpha_Points_Scored
HTF_Mode.Alpha_Team_Points_Scored
HTF_Mode.Bravo_Team_Points_Scored
Time_Played
Time_Alive
Time_Death
Time_On_Spectator
Register_Time
Last_Played_Time
Protection_Days


[Hold_The_Flag]
[Styles]
Teams
Flags
Rounds

[Stats]
Kills
Deaths
Selfkills
Assist
Teamkills
Deaths_By_Friendly
Postromus_Kills
Revenge_Kills
Avenger_Kills
Savior_Kills
Wins
Loses
Draws
Rounds_Wins
Rounds_Lose
Kills/Deaths
Win/Lose
Round_Win/Round_Lose
Accuracy %
Player_Rate()

[Other_Stats]
Flags_Grab
Flags_Drop
Flags_Thrown
Flagers_Kills
Flager_Kills_Assist
Savior_Friendly_Flager_Kills
Friendly_Flagers_Teamkills
Kills_When_Have_Flag
Friendly_Kills_When_Have_Flag
Time_Holding_Flags
Alpha_Wins
Alpha_Loses
Bravo_Wins
Brawo_Loses
Rounds_Alpha_Wins
Rounds_Alpha_Loses
Rounds_Bravo_Wins
Rounds_Bravo_Loses
Shots
Shots_Hits
Shots_Hits_Friendly
Shots_Hits_By_Friendly
Shots_Hits_Self
Shots_Hits_Head
Shots_Hits_Body
Shots_Hits_Leg
HTF_Mode.Points_Scored
HTF_Mode.Team_Points_Scored
HTF_Mode.Alpha_Points_Scored
HTF_Mode.Bravo_Points_Scored
HTF_Mode.Alpha_Team_Points_Scored
HTF_Mode.Bravo_Team_Points_Scored
HTF_Mode.Time_When_Have_Flag
HTF_Mode.Time_When_Team_Have_Flag
HTF_Mode.Time_When_Not_Have_Flag
HTF_Mode.Time_When_Team_Not_Have_Flag
Knives_Throws
Knives_Throws_Hits_Enemy
Nades_Throws
Nade_Hurts_Enemy
Hands_Hurts_Enemy
Time_Played
Time_Alive
Time_Death
Time_On_Spectator
Register_Time
Last_Played_Time
Protection_Days


Of course, everyone will be able to adjust the data to be displayed in a very simple way. Only add Temp_List.Append() or remove
Code: [Select]
case Game.GameStyle of
0,4: begin

Temp_List.Append('Kills: '+inttostr(Memory.Data[Temp_Integer].Kills));
Temp_List.Append('Deaths: '+inttostr(Memory.Data[Temp_Integer].Deaths));

if Memory.Data[Temp_Integer].Deaths = 0 then Temp_Double := Memory.Data[Temp_Integer].Kills else Temp_Double := Memory.Data[Temp_Integer].Kills / single(Memory.Data[Temp_Integer].Deaths);
Temp_List.Append('K/D: '+FormatFloat('0.00',Temp_Double));

Temp_List.Append('Selfkills: '+inttostr(Memory.Data[Temp_Integer].Selfkills));
Temp_List.Append('Assist: '+inttostr(Memory.Data[Temp_Integer].Assist));
Temp_List.Append('Revenge: '+inttostr(Memory.Data[Temp_Integer].Revenge_Kills));
Temp_List.Append('Savior: '+inttostr(Memory.Data[Temp_Integer].Savior_Kills));
Temp_List.Append('Posthumous kill: '+inttostr(Memory.Data[Temp_Integer].Postromus_Kills));
Temp_List.Append('Avenged: '+inttostr(Memory.Data[Temp_Integer].Avenger_Kills));

if Memory.Data[Temp_Integer].Shots = 0 then Temp_Double := Memory.Data[Temp_Integer].Shots_Hits*100.0 / 1 else Temp_Double := Memory.Data[Temp_Integer].Shots_Hits*100.0 / single(Memory.Data[Temp_Integer].Shots); if Temp_Double > 100 then Temp_Double := 100.0;
Temp_List.Append('Accuracy: '+FormatFloat('0.00',Temp_Double)+'%');

Temp_List.Append('Rating: '+PlayerRating(Memory.Data[Temp_Integer])+' pts.');

if Memory.Data[Temp_Integer].Loses = 0 then Temp_Double := Memory.Data[Temp_Integer].Wins else Temp_Double := Memory.Data[Temp_Integer].Wins / single(Memory.Data[Temp_Integer].Loses);
Temp_List.Append('Wins ratio: '+FormatFloat('0.00',Temp_Double));

if Game.Survival then begin
Temp_List.Append('Rounds win: '+inttostr(Memory.Data[Temp_Integer].Rounds_Wins));
Temp_List.Append('Rounds lose: '+inttostr(Memory.Data[Temp_Integer].Rounds_Lose));

if Memory.Data[Temp_Integer].Rounds_Lose = 0 then Temp_Double := Memory.Data[Temp_Integer].Rounds_Wins else Temp_Double := Memory.Data[Temp_Integer].Rounds_Wins / single(Memory.Data[Temp_Integer].Rounds_Lose);
Temp_List.Append('Round win ratio: '+FormatFloat('0.00',Temp_Double));
end;

end;
1: begin

Temp_List.Append('Kills: '+inttostr(Memory.Data[Temp_Integer].Kills));
Temp_List.Append('Deaths: '+inttostr(Memory.Data[Temp_Integer].Deaths));

if Memory.Data[Temp_Integer].Deaths = 0 then Temp_Double := Memory.Data[Temp_Integer].Kills else Temp_Double := Memory.Data[Temp_Integer].Kills / single(Memory.Data[Temp_Integer].Deaths);
Temp_List.Append('K/D: '+FormatFloat('0.00',Temp_Double));

Temp_List.Append('Selfkills: '+inttostr(Memory.Data[Temp_Integer].Selfkills));
Temp_List.Append('Assist: '+inttostr(Memory.Data[Temp_Integer].Assist));
Temp_List.Append('Revenge: '+inttostr(Memory.Data[Temp_Integer].Revenge_Kills));
Temp_List.Append('Savior: '+inttostr(Memory.Data[Temp_Integer].Savior_Kills));
Temp_List.Append('Posthumous kill: '+inttostr(Memory.Data[Temp_Integer].Postromus_Kills));
Temp_List.Append('Avenged: '+inttostr(Memory.Data[Temp_Integer].Avenger_Kills));

if Memory.Data[Temp_Integer].Shots = 0 then Temp_Double := Memory.Data[Temp_Integer].Shots_Hits*100.0 / 1 else Temp_Double := Memory.Data[Temp_Integer].Shots_Hits*100.0 / single(Memory.Data[Temp_Integer].Shots); if Temp_Double > 100 then Temp_Double := 100.0;
Temp_List.Append('Accuracy: '+FormatFloat('0.00',Temp_Double)+'%');

Temp_List.Append('Rating: '+PlayerRating(Memory.Data[Temp_Integer])+' pts.');

if Memory.Data[Temp_Integer].Loses = 0 then Temp_Double := Memory.Data[Temp_Integer].Wins else Temp_Double := Memory.Data[Temp_Integer].Wins / single(Memory.Data[Temp_Integer].Loses);
Temp_List.Append('Wins ratio: '+FormatFloat('0.00',Temp_Double));

end;
2,3,5,6: begin

Temp_List.Append('Kills: '+inttostr(Memory.Data[Temp_Integer].Kills));
Temp_List.Append('Deaths: '+inttostr(Memory.Data[Temp_Integer].Deaths));

if Memory.Data[Temp_Integer].Deaths = 0 then Temp_Double := Memory.Data[Temp_Integer].Kills else Temp_Double := Memory.Data[Temp_Integer].Kills / single(Memory.Data[Temp_Integer].Deaths);
Temp_List.Append('K/D: '+FormatFloat('0.00',Temp_Double));

Temp_List.Append('Selfkills: '+inttostr(Memory.Data[Temp_Integer].Selfkills));

if Game.FriendlyFire then begin
Temp_List.Append('Teamkills: '+inttostr(Memory.Data[Temp_Integer].Teamkills));
Temp_List.Append('Killed by friend: '+inttostr(Memory.Data[Temp_Integer].Deaths_By_Friendly));
end;

Temp_List.Append('Assist: '+inttostr(Memory.Data[Temp_Integer].Assist));
Temp_List.Append('Revenge: '+inttostr(Memory.Data[Temp_Integer].Revenge_Kills));
Temp_List.Append('Savior: '+inttostr(Memory.Data[Temp_Integer].Savior_Kills));
Temp_List.Append('Posthumous kill: '+inttostr(Memory.Data[Temp_Integer].Postromus_Kills));
Temp_List.Append('Avenged: '+inttostr(Memory.Data[Temp_Integer].Avenger_Kills));

if Memory.Data[Temp_Integer].Shots = 0 then Temp_Double := Memory.Data[Temp_Integer].Shots_Hits*100.0 / 1 else Temp_Double := Memory.Data[Temp_Integer].Shots_Hits*100.0 / single(Memory.Data[Temp_Integer].Shots); if Temp_Double > 100 then Temp_Double := 100.0;
Temp_List.Append('Accuracy: '+FormatFloat('0.00',Temp_Double)+'%');

Temp_List.Append('Rating: '+PlayerRating(Memory.Data[Temp_Integer])+' pts.');

if Memory.Data[Temp_Integer].Loses = 0 then Temp_Double := Memory.Data[Temp_Integer].Wins else Temp_Double := Memory.Data[Temp_Integer].Wins / single(Memory.Data[Temp_Integer].Loses);
Temp_List.Append('Wins ratio: '+FormatFloat('0.00',Temp_Double));

if Game.Survival then begin
Temp_List.Append('Rounds win: '+inttostr(Memory.Data[Temp_Integer].Rounds_Wins));
Temp_List.Append('Rounds lose: '+inttostr(Memory.Data[Temp_Integer].Rounds_Lose));

if Memory.Data[Temp_Integer].Rounds_Lose = 0 then Temp_Double := Memory.Data[Temp_Integer].Rounds_Wins else Temp_Double := Memory.Data[Temp_Integer].Rounds_Wins / single(Memory.Data[Temp_Integer].Rounds_Lose);
Temp_List.Append('Round win ratio: '+FormatFloat('0.00',Temp_Double));
end;

end;
end;
« Last Edit: February 04, 2022, 08:13:22 pm by soldat-game »

Offline machina

  • Soldat Beta Team
  • Veteran
  • ******
  • Posts: 1117
  • The world isn't nice. Why should I be...?
Re: What statistics to display with !stats and !otherstats
« Reply #1 on: January 25, 2022, 11:08:10 pm »
You could consider to print just a bitly link to full list of stats on !otherstats. If anyone interested in very detailed stats, he could have a look at full list of metrics.

Offline soldat-game

  • Camper
  • ***
  • Posts: 400
Re: What statistics to display with !stats and !otherstats
« Reply #2 on: February 04, 2022, 08:10:26 pm »
This is the steam version of the zitrofun 3.0_beta:


has one bug that i can't locate it throws outofrange once every few hours. The script will automatically recompile and work fine. If someone wants to test and help locate the error, I will be grateful.
I focused on developing only the steam version.. Action has been heavily redesigned compared to the steam version. And the display of huds does not burden the server anymore.

Offline soldat-game

  • Camper
  • ***
  • Posts: 400
Re: ZitroFUN 3.0 Steam_Beta
« Reply #3 on: February 06, 2022, 02:29:03 pm »
Next gen v31