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

0 Members and 1 Guest are viewing this topic.

Offline soldat-game

  • Camper
  • ***
  • Posts: 360
  • GG: 10210041
ZitroFUN 2.0 Beta Release
« on: June 02, 2017, 02:44:26 pm »
Script Name: ZitroFUN 2.0
Script Description: Registration + Stats + Rank + Balance + Other Features.
Version: 1.9.6 Beta
Author: dominikkk26
Compile Test: Passed
Core Version: 2.8.1+
Script Language: English
Point System: Formula ELO 75/1+10k-v/1000
Player Rate System: Click to see code Formula ((((Accuracy% * (Kills-Teamkills/Death) * (Win/Lose) * Precision) / TT)*Points)/Rank Count)
Download: Attachment! Click here (2_0.171228.003 - Beta) to download the latest version.
Code script: Click to view
Full Description:
Now work on ctf mode All features already added.
Commands:

« Last Edit: December 28, 2017, 02:45:55 pm by soldat-game »
Hey, I wrote messages on these topics (https://forums.soldat.pl/index.php?topic=45088.0
https://forums.soldat.pl/index.php?topic=45068.0), about deleting this message in this topic.
https://forums.soldat.pl/index.php?topic=45088.0

"So nothing was done hahahahahaha" Rekt admins remove this all time why? It does not break the rules.

Offline soldat-game

  • Camper
  • ***
  • Posts: 360
  • GG: 10210041
Re: ZitroFUN 2.0 Beta Release
« Reply #1 on: June 15, 2017, 12:23:46 pm »
ZitroFUN 2.0 v1.9.4:
https://forums.soldat.pl/index.php?action=dlattach;topic=44929.0;attach=33060
BIG UPDATE!
- Improved all efficiency!
- All features of the heavy version already work, except for map and server statistics.
- Now work !top !top <num> !top <name>
- New search system now search (From the player's name with the smallest number of characters)
- New commands
I do not want to write all this..
The balance system also has a balance function like the CUBE BALANCE SCRIPT. And !hardbal hardbalance Arrange the team in such a way that the total sum of points of players from both droshoes is as close as possible. Config script open new 1.pas and edit start everything is described.
Only dont work converter old account to new, this will be done only I do not want.
Plese use this version on your servers!
and.. Write me if you want to add map weapons and server statystic. Because plans to add only converter old account to new system account. Plese test and report bugs.
The script will automatically restart during the error.
« Last Edit: June 15, 2017, 12:28:46 pm by soldat-game »
Hey, I wrote messages on these topics (https://forums.soldat.pl/index.php?topic=45088.0
https://forums.soldat.pl/index.php?topic=45068.0), about deleting this message in this topic.
https://forums.soldat.pl/index.php?topic=45088.0

"So nothing was done hahahahahaha" Rekt admins remove this all time why? It does not break the rules.

Offline nuclearrambo

  • Major
  • *
  • Posts: 76
Re: ZitroFUN 2.0 Beta Release
« Reply #2 on: June 17, 2017, 06:45:48 am »
Anyway we could know the account file format? I am trying to build a simple web interface for the players to view stats.

Offline soldat-game

  • Camper
  • ***
  • Posts: 360
  • GG: 10210041
Re: ZitroFUN 2.0 Beta Release
« Reply #3 on: June 17, 2017, 08:56:40 am »
Open accounts.db and find player profile line Search %name%+Player NAME if find this line = player profile start line. Example profile data:
Code: [Select]
%name%testowy gosc
testtesttesttesttesttesttest
CFF1F4FEC95%ip%127.0.0.1
789
06 czerwiec 2017 at: 16:56:22%lp%15 czerwiec 2017 at: 18:57:40
0%first%1%autologin%hwid%mail%dominikk262@wp.pl
497%k%243%d%18%s%0%t%0%dt%12%p%22%a%122%r%19%z%17%w%81
54%fg%43%fr%8%fs%31%fd%0%ac%8%bc%0%ir%0%ib%0%hr%0%ft%2
7%w%3%l%10%r%2%aw%0%al%5%bw%3%bl%0%cw%0%cl%0%dw%0
9924%s%3547%sh%0
How read accounts.db:
Code: [Select]
If u find player name line save num line and next can read.
Num is 0. Num is numer of line.
'name' : Num After %name%
'password' : Num+1 Read line only type MD5.
'hwid' : Num+2 Before %ip%
'ip' : Num+2 After %ip%
'points' : Num+3 Read line only type numer.
'registerdate' : Num+4 Before %lp%
'lastplay' : Num+4 After %lp%
'switchdisplay' : Num+5 Before %first% 1 - off 0 - on
'firstuse' : Num+5 After %first% but before %autologin% 1 - use 0 - dont use
'autologin' : Num+5 After %autologin% but before %mail% - can be: hwid, ip, name, off
'mail' : Num+5 After %mail%
'kills' : Num+6 Before %k%
'deaths' : Num+6 After %k% but before %d%
'selfkills' : Num+6 After %d% but before %s%
'teamkills' : Num+6 After %s% but before %t%
'deathsbyteam' : Num+6 After %t% but before %dt%
'postromuskill' : Num+6 After %dt% but before %p%
'assist' : Num+6 After %p% but before %a%
'revengekills' : Num+6 After %a% but before %r%
'avenger' : Num+6 After %r% but before %z%
'savior' : Num+6 After %z% but before %w%
'flagerkills' : Num+6 After %w%
'flaggrab' : Num+7 Before %fg%
'flagreturn' : Num+7 After %fg% but before %fr%
'flagscore' : Num+7 After %fr% but before %fs%
'flagdrop' : Num+7 After %fs% but before %fd%
'alphacaps' : Num+7 After %fd% but before %ac%
'bravocaps' : Num+7 After %ac% but before %bc%
'inf_red' : Num+7 After %bc% but before %ir%
'inf_blue' : Num+7 After %ir% but before %ib%
'htf_red' : Num+7 After %ib% but before %hr%
'htf_blue' : Num+7 After %hr% but before %ft%
'flagthrown' : Num+7 After %ft%
'wins' : Num+8 Before %w%
'lose' : Num+8 After %w% but before %l%
'draws' : Num+8 After %l% but before %r%
'alphawins' : Num+8 After %r% but before %aw%
'alphalose' : Num+8 After %aw% but before %al%
'bravowins' : Num+8 After %al% but before %bw%
'bravolose' : Num+8 After %bw% but before %bl%
'charliewin' : Num+8 After %bl% but before %cw%
'charlielose' : Num+8 After %cw% but before %cl%
'deltawin' : Num+8 After %cl% but before %dw%
'deltalose' : Num+8 After %dw%
'shoots' : Num+9 Before %s%
'shoothits' : Num+9 After %s% but before %sh%
'shootfriendly' : Num+9 After: %sh%
Or if u know how work getpiece(), see function readplayer; (wybawiel=savior, remis = draws):
Code: [Select]
function ReadPlayer(Num:int64;What:string):string;
begin
Result:='null';
What:=lowercase(what);
case What of
'name' : Result:=GetPiece(Memory[Num],'%name%',1);
'password' : Result:=Memory[Num+1];
'hwid' : Result:=GetPiece(Memory[Num+2],'%ip%',0);
'ip' : Result:=GetPiece(Memory[Num+2],'%ip%',1);
'points' : Result:=Memory[Num+3];
'registerdate' : Result:=GetPiece(Memory[Num+4],'%lp%',0);
'lastplay' : Result:=GetPiece(Memory[Num+4],'%lp%',1);
'bigtext' : Result:=GetPiece(Memory[Num+5],'%first%',0);
'firstuse' : Result:=GetPiece(GetPiece(Memory[Num+5],'%first%',1),'%autologin%',0);
'autologin' : Result:=GetPiece(GetPiece(Memory[Num+5],'%autologin%',1),'%mail%',0);
'mail' : Result:=GetPiece(Memory[Num+5],'%mail%',1);
'kills' : Result:=GetPiece(Memory[Num+6],'%k%',0);
'deaths' : Result:=GetPiece(GetPiece(Memory[Num+6],'%k%',1),'%d%',0);
'selfkills' : Result:=GetPiece(GetPiece(Memory[Num+6],'%d%',1),'%s%',0);
'teamkills' : Result:=GetPiece(GetPiece(Memory[Num+6],'%s%',1),'%t%',0);
'deathsbyteam' : Result:=GetPiece(GetPiece(Memory[Num+6],'%t%',1),'%dt%',0);
'postromuskill' : Result:=GetPiece(GetPiece(Memory[Num+6],'%dt%',1),'%p%',0);
'assist' : Result:=GetPiece(GetPiece(Memory[Num+6],'%p%',1),'%a%',0);
'revengekills' : Result:=GetPiece(GetPiece(Memory[Num+6],'%a%',1),'%r%',0);
'avenger' : Result:=GetPiece(GetPiece(Memory[Num+6],'%r%',1),'%z%',0);
'wybawiel' : Result:=GetPiece(GetPiece(Memory[Num+6],'%z%',1),'%w%',0);
'flagerkills' : Result:=GetPiece(Memory[Num+6],'%w%',1);
'flaggrab' : Result:=GetPiece(Memory[Num+7],'%fg%',0);
'flagreturn' : Result:=GetPiece(GetPiece(Memory[Num+7],'%fg%',1),'%fr%',0);
'flagscore' : Result:=GetPiece(GetPiece(Memory[Num+7],'%fr%',1),'%fs%',0);
'flagdrop' : Result:=GetPiece(GetPiece(Memory[Num+7],'%fs%',1),'%fd%',0);
'alphacaps' : Result:=GetPiece(GetPiece(Memory[Num+7],'%fd%',1),'%ac%',0);
'bravocaps' : Result:=GetPiece(GetPiece(Memory[Num+7],'%ac%',1),'%bc%',0);
'inf_red' : Result:=GetPiece(GetPiece(Memory[Num+7],'%bc%',1),'%ir%',0);
'inf_blue' : Result:=GetPiece(GetPiece(Memory[Num+7],'%ir%',1),'%ib%',0);
'htf_red' : Result:=GetPiece(GetPiece(Memory[Num+7],'%ib%',1),'%hr%',0);
'htf_blue' : Result:=GetPiece(GetPiece(Memory[Num+7],'%hr%',1),'%ft%',0);
'flagthrown' : Result:=GetPiece(Memory[Num+7],'%ft%',1);
'wins' : Result:=GetPiece(Memory[Num+8],'%w%',0);
'lose' : Result:=GetPiece(GetPiece(Memory[Num+8],'%w%',1),'%l%',0);
'remis' : Result:=GetPiece(GetPiece(Memory[Num+8],'%l%',1),'%r%',0);
'alphawins' : Result:=GetPiece(GetPiece(Memory[Num+8],'%r%',1),'%aw%',0);
'alphalose' : Result:=GetPiece(GetPiece(Memory[Num+8],'%aw%',1),'%al%',0);
'bravowins' : Result:=GetPiece(GetPiece(Memory[Num+8],'%al%',1),'%bw%',0);
'bravolose' : Result:=GetPiece(GetPiece(Memory[Num+8],'%bw%',1),'%bl%',0);
'charliewin' : Result:=GetPiece(GetPiece(Memory[Num+8],'%bl%',1),'%cw%',0);
'charlielose' : Result:=GetPiece(GetPiece(Memory[Num+8],'%cw%',1),'%cl%',0);
'deltawin' : Result:=GetPiece(GetPiece(Memory[Num+8],'%cl%',1),'%dw%',0);
'deltalose' : Result:=GetPiece(Memory[Num+8],'%dw%',1);
'shoots' : Result:=GetPiece(Memory[Num+9],'%s%',0);
'shoothits' : Result:=GetPiece(GetPiece(Memory[Num+9],'%s%',1),'%sh%',0);
'shootfriendly' : Result:=GetPiece(Memory[Num+9],'%sh%',1);
end;
end;

If u know how work getpiece, you will be able to see which part of the data belongs to some kind of statistics. All in all, a cool idea could even be to make that a registered account with the added e-mail is registering an account on a forum.
Hey, I wrote messages on these topics (https://forums.soldat.pl/index.php?topic=45088.0
https://forums.soldat.pl/index.php?topic=45068.0), about deleting this message in this topic.
https://forums.soldat.pl/index.php?topic=45088.0

"So nothing was done hahahahahaha" Rekt admins remove this all time why? It does not break the rules.

Offline nuclearrambo

  • Major
  • *
  • Posts: 76
Re: ZitroFUN 2.0 Beta Release
« Reply #4 on: June 17, 2017, 12:46:13 pm »
Thanks, I will try to wrap my head around it and get something working soon.

Offline soldat-game

  • Camper
  • ***
  • Posts: 360
  • GG: 10210041
Re: ZitroFUN 2.0 Beta Release
« Reply #5 on: June 22, 2017, 02:17:09 pm »
The next update will bring:
- Granade throw detect and taken into account for the calculation of accuracy.
- Add missing commands in !reginfo
- Create autobackup if admin generate new player password or if admin delete player account. (This will allow you to safely use these commands using the nick search)
- Add autobackup if admin restart all players stats.
- Add !serverstats
- Add mising !teampoints command
- Add !weapstats and !weapstats <name*>
Hey, I wrote messages on these topics (https://forums.soldat.pl/index.php?topic=45088.0
https://forums.soldat.pl/index.php?topic=45068.0), about deleting this message in this topic.
https://forums.soldat.pl/index.php?topic=45088.0

"So nothing was done hahahahahaha" Rekt admins remove this all time why? It does not break the rules.

Offline Slasher

  • Soldier
  • **
  • Posts: 106
  • Peace
Re: ZitroFUN 2.0 Beta Release
« Reply #6 on: June 24, 2017, 06:35:19 pm »
Good Job! It's getting better and better.  ;)
Make love, not war.

Offline soldat-game

  • Camper
  • ***
  • Posts: 360
  • GG: 10210041
Re: ZitroFUN 2.0 Beta Release
« Reply #7 on: July 01, 2017, 12:11:21 pm »
v1.9.6
- Granade throw detect and taken into account for the calculation of accuracy. 
- Add missing commands in !reginfo
- Create autobackup if admin generate new player password or if admin delete player account. (This will allow you to safely use these commands using the nick search)
- Add autobackup if admin restart all players stats.
- Add !serverstats
- Add mising !teampoints command
- Add !weapstats and !weapstats <name*>
- Add !weapstats and !weapstats <name*>
- Add headshoot bodyshoot legsshoot and headshoot precent
- Fix bug drop enemy points if bot or non login player cap flag 
- Add weapons headshoot
- And more ...

To work properly, see weapons.ini, These values for each weapon must be different.
Barrett weapons and one more need to lightly change these values does not affect the entertainment very well and allows you to properly detect headshot legsshot and other.
ModifierHead=1.1
ModifierChest=0.95
ModifierLegs=0.85
Headshot legsshot and bodyshot, is not displayed anywhere only the headshot is displayed in !weapstats. Can read using ReadPlayer(PlayerDataBaseID,WeaponID+'headshoot')
ReadPlayer(PlayerDataBaseID,WeaponID+'bodyshoot')
ReadPlayer(PlayerDataBaseID,WeaponID+'legsshoot')

TO
DO:

- Add !topmaps !mapstats !mapstats <name>
« Last Edit: July 01, 2017, 12:14:00 pm by soldat-game »
Hey, I wrote messages on these topics (https://forums.soldat.pl/index.php?topic=45088.0
https://forums.soldat.pl/index.php?topic=45068.0), about deleting this message in this topic.
https://forums.soldat.pl/index.php?topic=45088.0

"So nothing was done hahahahahaha" Rekt admins remove this all time why? It does not break the rules.

Offline soldat-game

  • Camper
  • ***
  • Posts: 360
  • GG: 10210041
Re: ZitroFUN 2.0 Beta Release
« Reply #8 on: September 22, 2017, 02:43:51 pm »
Bug fix!
Now all admin commands works on a database you need to accept using /yes or /no.
Now better search for /deleteacc <name> and other admin commands using search now be size of the letters is important for searching.
Improved search engine.
Fix bug mischievous ranking when a player has changed a nick.
Fix bug with the memory to search the list of players, which caused several activities.
Fix bug if minimal kills is 0 and player dont be adding to ranking immediately.
Backup files are now created in a different form and when administrators interfer in the database.
And more fix :)

To do:
Survival round wins
Survival round lose
Auto convert statystic from zitrofun heave to zitrofun 2.0 system :)
Map stats (write me what do you want to know about maps)
Top map played
Multiserver in one database (only one player login on all server)
Hey, I wrote messages on these topics (https://forums.soldat.pl/index.php?topic=45088.0
https://forums.soldat.pl/index.php?topic=45068.0), about deleting this message in this topic.
https://forums.soldat.pl/index.php?topic=45088.0

"So nothing was done hahahahahaha" Rekt admins remove this all time why? It does not break the rules.

Offline Leo

  • Soldat Beta Team
  • Veteran
  • ******
  • Posts: 1009
Re: ZitroFUN 2.0 Beta Release
« Reply #9 on: November 25, 2017, 08:26:35 am »
I want to disable the whole "email" thing, how ? In general I want to remove the reminders from player's screen. They are annoying. Auto login is enough.
« Last Edit: November 25, 2017, 09:43:58 am by Leo »

Offline Leo

  • Soldat Beta Team
  • Veteran
  • ******
  • Posts: 1009
Re: ZitroFUN 2.0 Beta Release
« Reply #10 on: November 26, 2017, 09:06:50 am »
Thanks, I managed to remove it but using a "real" fix is better always ;)

Offline Leo

  • Soldat Beta Team
  • Veteran
  • ******
  • Posts: 1009
Re: ZitroFUN 2.0 Beta Release
« Reply #11 on: November 26, 2017, 09:12:41 am »
"
  • [ZitroStats] Unhandled exception occured:
  • [ZitroStats] In unit new1.pas(1241:4) [LOADLIST]: Exception: "0%fg%0%fr%0%fs%0%fd%0%ac%0%bc%0%ir%0%ib%0%hr%0%ft%0" is an invalid integer
  • Disabling ZitroStats"

Offline soldat-game

  • Camper
  • ***
  • Posts: 360
  • GG: 10210041
Re: ZitroFUN 2.0 Beta Release
« Reply #12 on: November 26, 2017, 10:23:01 am »
Modified the file accounts?
Hey, I wrote messages on these topics (https://forums.soldat.pl/index.php?topic=45088.0
https://forums.soldat.pl/index.php?topic=45068.0), about deleting this message in this topic.
https://forums.soldat.pl/index.php?topic=45088.0

"So nothing was done hahahahahaha" Rekt admins remove this all time why? It does not break the rules.

Offline Leo

  • Soldat Beta Team
  • Veteran
  • ******
  • Posts: 1009
Re: ZitroFUN 2.0 Beta Release
« Reply #13 on: November 26, 2017, 10:54:11 am »
Nope but this line seems a bit weird, check it.

Offline soldat-game

  • Camper
  • ***
  • Posts: 360
  • GG: 10210041
Re: ZitroFUN 2.0 Beta Release
« Reply #14 on: November 26, 2017, 03:19:12 pm »
Report me any suggestions or errors
Hey, I wrote messages on these topics (https://forums.soldat.pl/index.php?topic=45088.0
https://forums.soldat.pl/index.php?topic=45068.0), about deleting this message in this topic.
https://forums.soldat.pl/index.php?topic=45088.0

"So nothing was done hahahahahaha" Rekt admins remove this all time why? It does not break the rules.

Offline Leo

  • Soldat Beta Team
  • Veteran
  • ******
  • Posts: 1009
Re: ZitroFUN 2.0 Beta Release
« Reply #15 on: December 03, 2017, 08:29:01 am »
Whenever I do !top I get "there are no registered players" and I am always rank 0/0...

Offline soldat-game

  • Camper
  • ***
  • Posts: 360
  • GG: 10210041
Re: ZitroFUN 2.0 Beta Release
« Reply #16 on: December 03, 2017, 11:15:38 am »
Hmm im test this on your server and im see it bug :<
Hey, I wrote messages on these topics (https://forums.soldat.pl/index.php?topic=45088.0
https://forums.soldat.pl/index.php?topic=45068.0), about deleting this message in this topic.
https://forums.soldat.pl/index.php?topic=45088.0

"So nothing was done hahahahahaha" Rekt admins remove this all time why? It does not break the rules.

Offline Leo

  • Soldat Beta Team
  • Veteran
  • ******
  • Posts: 1009
Re: ZitroFUN 2.0 Beta Release
« Reply #17 on: December 03, 2017, 11:23:01 am »
Hmm im test this on your server and im see it bug :<

For faster chat you could join our discord channel: https://discord.gg/bQKJuZk ;)

Offline Leo

  • Soldat Beta Team
  • Veteran
  • ******
  • Posts: 1009
Re: ZitroFUN 2.0 Beta Release
« Reply #18 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: 360
  • GG: 10210041
Re: ZitroFUN 2.0 Beta Release
« Reply #19 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 »
Hey, I wrote messages on these topics (https://forums.soldat.pl/index.php?topic=45088.0
https://forums.soldat.pl/index.php?topic=45068.0), about deleting this message in this topic.
https://forums.soldat.pl/index.php?topic=45088.0

"So nothing was done hahahahahaha" Rekt admins remove this all time why? It does not break the rules.

Offline soldat-game

  • Camper
  • ***
  • Posts: 360
  • GG: 10210041
Re: ZitroFUN 2.0 Beta Release
« Reply #20 on: July 09, 2018, 07:50:33 am »
I started optimizing the script.
Last writememory 91723 now writememory 13090
It gives optimizations up to 85.72% faster :)
Hey, I wrote messages on these topics (https://forums.soldat.pl/index.php?topic=45088.0
https://forums.soldat.pl/index.php?topic=45068.0), about deleting this message in this topic.
https://forums.soldat.pl/index.php?topic=45088.0

"So nothing was done hahahahahaha" Rekt admins remove this all time why? It does not break the rules.

Offline %%%%%%%

  • Soldier
  • **
  • Posts: 204
Re: ZitroFUN 2.0 Beta Release
« Reply #21 on: July 09, 2018, 09:47:49 am »
I started optimizing the script.
Last writememory 91723 now writememory 13090
It gives optimizations up to 85.72% faster :)
Nah it's 85.72% more optimized but not necessarily 85.72% faster
But good job nonetheless, that's a staggering difference in writememory

Offline soldat-game

  • Camper
  • ***
  • Posts: 360
  • GG: 10210041
Re: ZitroFUN 2.0 Beta Release
« Reply #22 on: July 09, 2018, 01:42:20 pm »
I started optimizing the script.
Last writememory 91723 now writememory 13090
It gives optimizations up to 85.72% faster :)
Nah it's 85.72% more optimized but not necessarily 85.72% faster
But good job nonetheless, that's a staggering difference in writememory
I tested key activities for 100,000 executions last functions must 91723 milliseconds ~ 1min31sec now be 13090 milliseconds  13sec090ms. It be faster ^^
Next function be  CutTock(); it need 1,156sec (now) vice 03,647sec (last) in 100,000 calls.
Each weapon will now have its own statistics:
      Shoots
      ShootHits
      FriendsHits
      SelfHits
      Kills
      DeadBy
      HitByInHead
      HitByInBody
      HitByInLegs
      TimePlayed
      HitByFriend
      HitBy
      EnemyHeadShoot
      FriendHeadShoot
      SelfHeadShoot
      EnemyBodyShoot
      FriendBodyShoot
      SelfBodyShoot
      EnemyLegsShoot
      FriendLegsShoot
      SelfLegsShoot
I dont find other servers with this script on more gamemode expect CTF. So I ask whether to do it only under the CTF mode, or to a compact with other modes?
« Last Edit: July 09, 2018, 02:38:53 pm by soldat-game »
Hey, I wrote messages on these topics (https://forums.soldat.pl/index.php?topic=45088.0
https://forums.soldat.pl/index.php?topic=45068.0), about deleting this message in this topic.
https://forums.soldat.pl/index.php?topic=45088.0

"So nothing was done hahahahahaha" Rekt admins remove this all time why? It does not break the rules.

Offline surfersat

  • Major(1)
  • Posts: 19
Re: ZitroFUN 2.0 Beta Release
« Reply #23 on: February 23, 2019, 11:45:05 pm »
Your work is excellent! Congratulations for the passion and dedication to Soldat and good programming.

Greetings!

Offline surfersat

  • Major(1)
  • Posts: 19
Re: ZitroFUN 2.0 Beta Release
« Reply #24 on: February 25, 2019, 02:01:11 pm »
I'm testing in DM and it doesn't counts Kills, Deaths and Selfkills.
I fix it changing this lines:

in OnKill
"if ((Killer.Team<>Victim.Team) or (Game.GameStyle=0)) then begin"

in SelfKillModule
"//if (Game.GameStyle=3)"

Please check it. Thank you and greetings.

Offline soldat-game

  • Camper
  • ***
  • Posts: 360
  • GG: 10210041
Re: ZitroFUN 2.0 Beta Release
« Reply #25 on: February 27, 2019, 01:49:13 pm »
I'm testing in DM and it doesn't counts Kills, Deaths and Selfkills.
I fix it changing this lines:

in OnKill
"if ((Killer.Team<>Victim.Team) or (Game.GameStyle=0)) then begin"

in SelfKillModule
"//if (Game.GameStyle=3)"

Please check it. Thank you and greetings.

Yes this dont work on multimode script been work on CTF mode I write this information on relase post.
Due to the departure of DARDAR and the possibility of not assassinate the game to the end, I caught the desire to return to the development of the script :))


You want a properly working script with a large number of functions on the multimode. Try it! ZitroFUN-Heavy
https://forums.soldat.pl/index.php?topic=43848.0
(It may contain errors that are not resolved)

Or for basic statistics. ZitroFUN-Lite
https://forums.soldat.pl/index.php?topic=43847.0
(It may contain errors that are not resolved)
Hey, I wrote messages on these topics (https://forums.soldat.pl/index.php?topic=45088.0
https://forums.soldat.pl/index.php?topic=45068.0), about deleting this message in this topic.
https://forums.soldat.pl/index.php?topic=45088.0

"So nothing was done hahahahahaha" Rekt admins remove this all time why? It does not break the rules.

Offline surfersat

  • Major(1)
  • Posts: 19
Re: ZitroFUN 2.0 Beta Release
« Reply #26 on: February 27, 2019, 03:51:23 pm »
Thank you for your reply!

I know the other scripts, but i like version 2 because the hitbox detection and showing this information on the screen when a kill happen.

Greetings!

Offline soldat-game

  • Camper
  • ***
  • Posts: 360
  • GG: 10210041
Re: ZitroFUN 2.0 Beta Release
« Reply #27 on: June 07, 2019, 04:41:17 pm »
Seee new stylize !top


Backlight "YOU" Each player will see it at their position.
Backlight "SOUHGT" Each all players and work on !top <name|PartName|id>
Remove /create option now full auto and player can change nick and addpassword and changepass
« Last Edit: June 07, 2019, 04:57:37 pm by soldat-game »
Hey, I wrote messages on these topics (https://forums.soldat.pl/index.php?topic=45088.0
https://forums.soldat.pl/index.php?topic=45068.0), about deleting this message in this topic.
https://forums.soldat.pl/index.php?topic=45088.0

"So nothing was done hahahahahaha" Rekt admins remove this all time why? It does not break the rules.

Offline soldat-game

  • Camper
  • ***
  • Posts: 360
  • GG: 10210041
Re: ZitroFUN 2.0 Beta Release
« Reply #28 on: July 15, 2019, 01:54:12 pm »
Several people on my server asked for a script. The new look very good performance improved many errors learning devices and connections. For a few dev, very simply a player information reading system.
Not all statistics are implemented.  Not all commands are currently functional example /privacyip /privacyhwid.  Todo history nicks, login num nicks and more more..
The new reward system for winning the flag, the whole team gains and the flager the most, the enemies lose.
Code: [Select]
Find player IndexID
TempIndexID := Memory.IndexOf(PlayerHashID);
TempIndexID - int64;
PlayerHashID - PlayerInfo[Player.ID].HashID or MD5String(player name)

To read player statystic find player IndexID and use
ReadPlayer(Num:int64;What:string):string;
(Num - PlayerIndexID, What - String name from the list below)

To change player statystic, find player IndexID..
..and use procedure
Procedure ChangeState(Num:int64; What,NewState:string);
(Num - PlayerIndexID, What - String name from the list below, NewState -New statistics)

Code: [Select]
'hashid' : Result:=Memory[Num];

'name' : Result:=Memory[Num+1];

'points' : Result:=GetPieceSC3(Memory[Num+2],':',0);
'password' : Result:=GetPieceSC3(Memory[Num+2],':',1);
'hwid' : Result:=GetPieceSC3(Memory[Num+2],':',2);
'ip' : Result:=GetPieceSC3(Memory[Num+2],':',3);
'autologin' : Result:=GetPieceSC3(Memory[Num+2],':',4);
'firstuse' : Result:=GetPieceSC3(Memory[Num+2],':',5);
'bigtext' : Result:=GetPieceSC3(Memory[Num+2],':',6);
'mail' : Result:=GetPieceSC3(Memory[Num+2],':',7);

'registerdate' : Result:=GetPieceSC3(Memory[Num+3],':',0);
'lastplaydate' : Result:=GetPieceSC3(Memory[Num+3],':',1);
'timeplayed' : Result:=GetPieceSC3(Memory[Num+3],':',2);
'timealive' : Result:=GetPieceSC3(Memory[Num+3],':',3);
'timedeads' : Result:=GetPieceSC3(Memory[Num+3],':',4);
'timespec' : Result:=GetPieceSC3(Memory[Num+3],':',5);
'avereneping' : Result:=GetPieceSC3(Memory[Num+3],':',6);

'kills' : Result:=GetPieceSC3(Memory[Num+4],':',0);
'assist' : Result:=GetPieceSC3(Memory[Num+4],':',1);
'deaths' : Result:=GetPieceSC3(Memory[Num+4],':',2);
'selfkills' : Result:=GetPieceSC3(Memory[Num+4],':',3);
'teamkills' : Result:=GetPieceSC3(Memory[Num+4],':',4);
'deathsbyteam' : Result:=GetPieceSC3(Memory[Num+4],':',5);
'postromuskill' : Result:=GetPieceSC3(Memory[Num+4],':',6);
'revengekills' : Result:=GetPieceSC3(Memory[Num+4],':',7);
'avenger' : Result:=GetPieceSC3(Memory[Num+4],':',8);
'savior' : Result:=GetPieceSC3(Memory[Num+4],':',9);
'killswhenbow' : Result:=GetPieceSC3(Memory[Num+4],':',10);
'killrambo' : Result:=GetPieceSC3(Memory[Num+4],':',11);
'deadwhenbow' : Result:=GetPieceSC3(Memory[Num+4],':',12);
'avoiddeaths' : Result:=GetPieceSC3(Memory[Num+4],':',13);
'surviror' : Result:=GetPieceSC3(Memory[Num+4],':',14);
'survirorfriend' : Result:=GetPieceSC3(Memory[Num+4],':',15);
'lastsurvivor' : Result:=GetPieceSC3(Memory[Num+4],':',16);

'flagscore' : Result:=GetPieceSC3(Memory[Num+4],':',17);
'alphacaps' : Result:=GetPieceSC3(Memory[Num+4],':',18);
'bravocaps' : Result:=GetPieceSC3(Memory[Num+4],':',19);
'flagreturn' : Result:=GetPieceSC3(Memory[Num+4],':',20);
'flaggrab' : Result:=GetPieceSC3(Memory[Num+4],':',21);
'flagdrop' : Result:=GetPieceSC3(Memory[Num+4],':',22);
'flagthrown' : Result:=GetPieceSC3(Memory[Num+4],':',23);
'flagerkills' : Result:=GetPieceSC3(Memory[Num+4],':',24);
'capassist' : Result:=GetPieceSC3(Memory[Num+4],':',25);
'flagassisttime' : Result:=GetPieceSC3(Memory[Num+4],':',26);
'flagdefendtime' : Result:=GetPieceSC3(Memory[Num+4],':',27);

'timewhenflag' : Result:=GetPieceSC3(Memory[Num+4],':',28);
'flagdefend' : Result:=GetPieceSC3(Memory[Num+4],':',29);
'killswhenflag' : Result:=GetPieceSC3(Memory[Num+4],':',30);
'deadwhenflag' : Result:=GetPieceSC3(Memory[Num+4],':',31);
'defendflager' : Result:=GetPieceSC3(Memory[Num+4],':',32);
'defendflaginrun' : Result:=GetPieceSC3(Memory[Num+4],':',33);

'wins'  : Result:=GetPieceSC3(Memory[Num+4],':',34);
'lose' : Result:=GetPieceSC3(Memory[Num+4],':',35);
'draws' : Result:=GetPieceSC3(Memory[Num+4],':',36);
'alphawins' : Result:=GetPieceSC3(Memory[Num+4],':',37);
'alphalose' : Result:=GetPieceSC3(Memory[Num+4],':',38);
'bravowins' : Result:=GetPieceSC3(Memory[Num+4],':',39);
'bravolose' : Result:=GetPieceSC3(Memory[Num+4],':',40);
'deltawins' : Result:=GetPieceSC3(Memory[Num+4],':',41);
'deltalose' : Result:=GetPieceSC3(Memory[Num+4],':',42);
'charliewins' : Result:=GetPieceSC3(Memory[Num+4],':',43);
'charlielose' : Result:=GetPieceSC3(Memory[Num+4],':',44);
'roundswins' : Result:=GetPieceSC3(Memory[Num+4],':',45);
'roundslose' : Result:=GetPieceSC3(Memory[Num+4],':',46);

'knifethrow' : Result:=GetPieceSC3(Memory[Num+4],':',47);
'knifethrowhit' : Result:=GetPieceSC3(Memory[Num+4],':',48);
'knifestab' : Result:=GetPieceSC3(Memory[Num+4],':',49);
'friendknifethrow' : Result:=GetPieceSC3(Memory[Num+4],':',50);
'knifethrowbyfriend' : Result:=GetPieceSC3(Memory[Num+4],':',51);
'selfknifethrow' : Result:=GetPieceSC3(Memory[Num+4],':',52);

'nadethrow' : Result:=GetPieceSC3(Memory[Num+4],':',53);
'nadethrowhurt' : Result:=GetPieceSC3(Memory[Num+4],':',54);
'expfriendlyhurts' : Result:=GetPieceSC3(Memory[Num+4],':',55);
'exphurtbyfriend' : Result:=GetPieceSC3(Memory[Num+4],':',56);
'expenemyhurts' : Result:=GetPieceSC3(Memory[Num+4],':',57);
'expselfhurts' : Result:=GetPieceSC3(Memory[Num+4],':',58);

'shoots' : Result:=GetPieceSC3(Memory[Num+4],':',59);
'shoothits' : Result:=GetPieceSC3(Memory[Num+4],':',60);
'friendlyhits' : Result:=GetPieceSC3(Memory[Num+4],':',61);
'hitsbyfriends' : Result:=GetPieceSC3(Memory[Num+4],':',62);
'selfhits' : Result:=GetPieceSC3(Memory[Num+4],':',63);

'friendlyhitsl' : Result:=GetPieceSC3(Memory[Num+4],':',64);
'hitsbyfriendsl' : Result:=GetPieceSC3(Memory[Num+4],':',65);
'shoothitsl' : Result:=GetPieceSC3(Memory[Num+4],':',66);
'selfhitsl' : Result:=GetPieceSC3(Memory[Num+4],':',67);
'friendlyhitsb' : Result:=GetPieceSC3(Memory[Num+4],':',68);
'hitsbyfriendsb' : Result:=GetPieceSC3(Memory[Num+4],':',69);
'shoothitsb' : Result:=GetPieceSC3(Memory[Num+4],':',70);
'selfhitsb' : Result:=GetPieceSC3(Memory[Num+4],':',71);
'friendlyhitsh' : Result:=GetPieceSC3(Memory[Num+4],':',72);
'hitsbyfriendsh' : Result:=GetPieceSC3(Memory[Num+4],':',73);
'shoothitsh' : Result:=GetPieceSC3(Memory[Num+4],':',74);
'selfhitsh' : Result:=GetPieceSC3(Memory[Num+4],':',75);

'htf_timewhenflag' : Result:=GetPieceSC3(Memory[Num+4],':',76);
'htf_alphapoints' : Result:=GetPieceSC3(Memory[Num+4],':',77);
'htf_bravopoints' : Result:=GetPieceSC3(Memory[Num+4],':',78);
'htf_alphaurpoints' : Result:=GetPieceSC3(Memory[Num+4],':',79);
'htf_bravourpoints' : Result:=GetPieceSC3(Memory[Num+4],':',80);
'pm_timewhenflag' : Result:=GetPieceSC3(Memory[Num+4],':',81);
'pm_extrapoints' : Result:=GetPieceSC3(Memory[Num+4],':',82);
'pm_killswhenflag' : Result:=GetPieceSC3(Memory[Num+4],':',83);
'pm_extratriple' : Result:=GetPieceSC3(Memory[Num+4],':',84);
'pm_extramulti' : Result:=GetPieceSC3(Memory[Num+4],':',85);
'pm_extramultix2' : Result:=GetPieceSC3(Memory[Num+4],':',86);
'pm_extraserial' : Result:=GetPieceSC3(Memory[Num+4],':',87);
'pm_extrainsane' : Result:=GetPieceSC3(Memory[Num+4],':',88);
'pm_extragimode' : Result:=GetPieceSC3(Memory[Num+4],':',89);
'pm_extramasta' : Result:=GetPieceSC3(Memory[Num+4],':',90);
'pm_extracheater' : Result:=GetPieceSC3(Memory[Num+4],':',91);
'inf_defendpoints' : Result:=GetPieceSC3(Memory[Num+4],':',92);
'inf_timewhenflag' : Result:=GetPieceSC3(Memory[Num+4],':',93);
'inf_pointsgain' : Result:=GetPieceSC3(Memory[Num+4],':',94);

'doublekills' : Result:=GetPieceSC3(Memory[Num+4],':',95);
'triplekills' : Result:=GetPieceSC3(Memory[Num+4],':',96);
'multikills' : Result:=GetPieceSC3(Memory[Num+4],':',97);
'multikillsx2' : Result:=GetPieceSC3(Memory[Num+4],':',98);
'snipekills' : Result:=GetPieceSC3(Memory[Num+4],':',99);

'TEMP1' : Result:=GetPieceSC3(Memory[Num+4],':',100);
'TEMP2' : Result:=GetPieceSC3(Memory[Num+4],':',101);
'TEMP3' : Result:=GetPieceSC3(Memory[Num+4],':',102);
'TEMP4' : Result:=GetPieceSC3(Memory[Num+4],':',103);
'TEMP5' : Result:=GetPieceSC3(Memory[Num+4],':',104);
'TEMP6' : Result:=GetPieceSC3(Memory[Num+4],':',105);
'TEMP7' : Result:=GetPieceSC3(Memory[Num+4],':',106);
'TEMP8' : Result:=GetPieceSC3(Memory[Num+4],':',107);
'TEMP9' : Result:=GetPieceSC3(Memory[Num+4],':',108);
'TEMP10' : Result:=GetPieceSC3(Memory[Num+4],':',109);
'TEMP11' : Result:=GetPieceSC3(Memory[Num+4],':',110);
'TEMP12' : Result:=GetPieceSC3(Memory[Num+4],':',111);
'TEMP13' : Result:=GetPieceSC3(Memory[Num+4],':',112);
'TEMP14' : Result:=GetPieceSC3(Memory[Num+4],':',113);
'TEMP15' : Result:=GetPieceSC3(Memory[Num+4],':',114);
'TEMP16' : Result:=GetPieceSC3(Memory[Num+4],':',115);
'TEMP17' : Result:=GetPieceSC3(Memory[Num+4],':',116);
'TEMP18' : Result:=GetPieceSC3(Memory[Num+4],':',117);
'TEMP19' : Result:=GetPieceSC3(Memory[Num+4],':',118);
'TEMP20' : Result:=GetPieceSC3(Memory[Num+4],':',119);
'TEMP21' : Result:=GetPieceSC3(Memory[Num+4],':',120);
'TEMP22' : Result:=GetPieceSC3(Memory[Num+4],':',121);
'TEMP23' : Result:=GetPieceSC3(Memory[Num+4],':',122);
'TEMP24' : Result:=GetPieceSC3(Memory[Num+4],':',123);
'TEMP25' : Result:=GetPieceSC3(Memory[Num+4],':',124);
'TEMP26' : Result:=GetPieceSC3(Memory[Num+4],':',125);
Hey, I wrote messages on these topics (https://forums.soldat.pl/index.php?topic=45088.0
https://forums.soldat.pl/index.php?topic=45068.0), about deleting this message in this topic.
https://forums.soldat.pl/index.php?topic=45088.0

"So nothing was done hahahahahaha" Rekt admins remove this all time why? It does not break the rules.