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

0 Members and 1 Guest are viewing this topic.

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.