Author Topic: ZitroFUN 2.0 Beta Release  (Read 1161 times)

0 Members and 1 Guest are viewing this topic.

Offline soldat-game

  • Camper
  • ***
  • Posts: 297
  • GG: 10210041
Re: ZitroFUN 2.0 Beta Release
« Reply #20 on: December 03, 2017, 01:27:03 pm »
* Fix buged top if first start server and change rank be on end of the list player. (Sory im testing on the basis of my old 3700 players)

Offline soldat-game

  • Camper
  • ***
  • Posts: 297
  • GG: 10210041
Re: ZitroFUN 2.0 Beta Release
« Reply #21 on: December 28, 2017, 02:39:16 pm »
2_0.171228.003 - Beta:
- Bug fixes
- Optimization
- Known one error but I do not know what causes it, Therefore, added, trace bug. Is rarely spotted on leo servers, it will not crash the script now.

Offline Leo

  • Soldat Beta Team
  • Flagrunner
  • ******
  • Posts: 995
    • The Battlemachine
Re: ZitroFUN 2.0 Beta Release
« Reply #22 on: January 09, 2018, 02:32:50 pm »
18-01-09 19:42:01 [ZitroFUN] Declares the functions complete!
18-01-09 19:42:01 [ZitroFUN] Preparing memory complete!
18-01-09 19:42:01 [ZitroFUN] Load the ranking start..
18-01-09 19:42:01 
  • [ZitroStats] Unhandled exception occured:

18-01-09 19:42:01 
  • [ZitroStats] In unit new1.pas(1243:4) [LOADLIST]: Exception: "2%fg%0%fr%0%fs%1%fd%0%ac%0%bc%0%ir%0%ib%0%hr%0%ft%0" is an invalid integer

18-01-09 19:42:01 
  • Disabling ZitroStats

Offline soldat-game

  • Camper
  • ***
  • Posts: 297
  • GG: 10210041
Re: ZitroFUN 2.0 Beta Release
« Reply #23 on: January 10, 2018, 10:30:23 am »
Fix critic bug as weapon minimi which could cause the server to crash.
More small fix.
Fix bug which showed that we lose points that really lost the enemy.
The notification bar (with achievements) has now been accelerated.
Add new atribute to config:
 - You can now disable anti multi-login from one computer at the same time. I do not recommend hackers will do unfair points.
 - Suicides will now be punished loss of points using the elo formula. Selfkill = point for enemy easy for config.
 - Flag cap = point for ur team and if u cap u get bonus points. And enemy lost points. Using ELO FORUMA. At your request oneshoot server.
Code: [Select]
EnabledMultiHWIDPlayers = false; //Default: False; Allows you to play several people from the same computer. True only for test. Flase = hackers can easy additional points.
MaxPointGive = 60; //Default: 75, non-negative integer; Maximum number of points that can be earned.
DzielnaElo = 1000; //Formuła ELO. Points = MaxPointGive / (MinimalElo + (DzielnaElox2 ^ ((Player_Killer_Points - Player_Victim_Points) / DzielnaElo)))
DzielnaElox2 = 10; //Default: 10, non-negative integer;
MinimalElo = 1; //Default: 1, non-negative integer;

SelfkillMaxPointGive = 35; //Default: 75, non-negative integer; Maximum number of points that can be earned.
SelfkillDzielnaElo = 1000; //Formuła ELO. Points = SelfkillMaxPointGive / (SelfKillMinimalElo + (SelfkillDzielnaElox2 ^ (((AllEnemyPointsSum/EnemyCount) - Selfkiller_Points) / SelfkillDzielnaElo)))
SelfkillDzielnaElox2 = 10; //Default: 10, non-negative integer;
SelfKillMinimalElo = 1; //Default: 1, non-negative integer;

FlagerCapPrecentBonus = 20; //Default: 25, integer in range 1..100; the percentage value of how many points from the pot will be awarded to the person who cap. The rest of the pool is divided and awarded to the team.
FlagScoreMaxPointGive = 45; //Default: 75, non-negative integer; Maximum number of points that can be earned.
FlagScoreDzielnaElo = 1000; //Formuła ELO. Points = FlagScoreMaxPointGive / (FlagScoreMinimalElo + (FlagScoreDzielnaElox2 ^ (((AverageCaperTeamPoints - AverageEnemyTeamPoints) / FlagScoreDzielnaElo)))
FlagScoreDzielnaElox2 = 10; //Default: 10, non-negative integer;
FlagScoreMinimalElo = 1; //Default: 1, non-negative integer;

If your database has suffered. (To check, open it accounts.db find player and next %ba%0:0:0:0:0:0:0%mi% if u see example ::: or :: or :::: and more combination u must fix it)
Open script and go to down u see this code  remove on start { and end } and go find //FixDataBase(); and remove // save and run server wait for start and open script remove this fragment code and run again :)

Code: [Select]
procedure FixDataBase();
var List: TStringList; num:int64; temp:string;
begin
List := File.CreateStringListFromFile(PatchCore+'accounts.db'); num:=10;
while Num<List.Count do begin
temp := GetPiece(GetPiece(List[Num],'%ba%',1),'%mi%',0);
List[num]:=GetPiece(List[Num],'%ba%',0)+'%ba%'+GetPiece(temp,':',0)+':'+GetPiece(GetPiece(temp,':',1),':',0)+':'+GetPiece(GetPiece(temp,':',1),':',0)+':'+GetPiece(GetPiece(temp,':',2),':',0)+':0:0:0'+'%mi%'+GetPiece(List[Num],'%mi%',1);
num:=num+11;
if (num>list.count) then begin
List.SaveToFile(PatchCore+'accounts.db');
exit;
end;
end;
end;
« Last Edit: January 14, 2018, 02:54:43 pm by soldat-game »