Author Topic: ZitroFun [Statistic + Ranks (No Lags)]  (Read 13711 times)

0 Members and 2 Guests are viewing this topic.

Offline dominikkk26

  • Camper
  • ***
  • Posts: 404
    • PMGsite
Re: ZitroFun
« Reply #20 on: October 23, 2013, 11:00:33 am »
ZitroFun 1.0.8:
- Added language selection available EN|PL (/launge PL|EN)
- Fixed errors and linguistic information
- New features in Settings.ini
{
DefaultLanguage=EN|PL
DefaultShowDamage=ON|OFF
}
- Players can enable this and the resulting damage inflicted (/showdamage ON|OFF)
- The time when the automatic message for 5 minutes
- Added to server statistics:
{
Server kills:
Server Death:
Server SelfKills:
}
- Added !damagestats
{
Damage dealt:
Damage receive:
Damage ratio:
}
- Some minor changes and fixes

Offline dominikkk26

  • Camper
  • ***
  • Posts: 404
    • PMGsite
Re: ZitroFun
« Reply #21 on: November 09, 2013, 11:12:11 am »
ZitroFun 1.0.9:
- Fixed errors that appear during recompile script
- Added auto login script after recompile
- Were abandoned support ZitroFun (Safe mode does not require off and you do not need to install zitrostats)
- Added Teamkills if friendly fire turned on
- Added FriendlyFireDamage if friendly fire turned on
- Added Points
- Added the ability to set the multiplier settings.ini (Pozwala ustawić dokłkadność punktów)
- Fix bugs with a download server statistics after recompiles the server
- Repair win & lose the forced ending the game
- Adding "Draws:"
- Adding /resetstats the player player can rebooting your statistics
- Fixed update of statistics in real time
- Removed restart general statistics by Admin
- Adding /resetserverstats for admin, administrator can restart the server statistics
- Added information about the authors script
- Several other code fixes and minor errors

Offline dominikkk26

  • Camper
  • ***
  • Posts: 404
    • PMGsite
Re: ZitroFun
« Reply #22 on: November 11, 2013, 02:48:14 pm »
ZitroFun 1.1.0:
- Fix a crash when displaying damagestats when the divisor is 0
- Adding to limit kills !stats
- Adding the ability to change the limit kills in settings.ini
- Fix a crash when displaying statistics in the absence of divider
- Now the statistics available only after registration
- Addition /reloadsettings to download the new settings only for admin
- Detection of missing file stats.txt and the creation of new
- The addition of the long-awaited ranking in !stats
- Beside all the statistics rankings are now in real time
- Addition top (The list of top players default top10) !top
- Addition toplines w settings.ini (You can edit the number of players displayed in top)
- Addition autorepair for rankpoint.db
-And as always minor fixes

It is worth noting that the script can run in safe mode ON!
Yet I'll show you an algorithm for calculating points to show how they are accurate!
Code: [Select]
(Kills * Damage) * Multiplier) / (damage received + ((Deaths + Selfkills)*50))Here we have an algorithm when friendly fire is turned on:
Code: [Select]
(((Kills - teamkills) * (Damage - FriendlyDamage)) * Multiplier)) / (damage received + ((Deaths + Selfkills)*50))

Offline dominikkk26

  • Camper
  • ***
  • Posts: 404
    • PMGsite
Re: ZitroFun
« Reply #23 on: November 17, 2013, 07:45:16 am »
ZitroFun 1.1.1:
- Fixed a bug with the ranking of after the recompiles script
- Fixed translations found deficiencies
- Added !top to the list of commands !reginfo
- Fix any errors in calculations, such 100.000000000000%
- Added limit kills the other statistics
- Limit Changed kills the 50 (of course you can edit settings.ini)
- Fixed completely !voteupdate and added support at the exit to from the game
- Added /lastplayed <name> showing the last time he played indicated player
- Commands have more expansions are also in Polish
- Added /updatestats updates all statistics (only for admin)


Works with old statistics and accounts (version 1.1.0), remove only rankpoint.db - the script will do the rest!
Please look for errors and write suggestions.
« Last Edit: November 17, 2013, 07:47:16 am by dominikkk26 »

Offline skrX

  • Soldier
  • **
  • Posts: 112
  • x ye.
Re: ZitroFun
« Reply #24 on: November 17, 2013, 11:45:29 am »
Code TOP from my script


DarkCrusade

  • Guest
Re: ZitroFun
« Reply #25 on: November 18, 2013, 06:04:00 am »
Stealing again, dominikkk26? You should know better than that..

Offline dominikkk26

  • Camper
  • ***
  • Posts: 404
    • PMGsite
Re: ZitroFun
« Reply #26 on: December 14, 2013, 04:11:13 pm »
ZitroFun 1.1.2:
- Fixed a loophole that allows someone to restart the statistics
- !top is now displayed publicly
- Added INF mode compatible
- Added Blue INF Points
- Added Alpha INF Points
- Added win i lose INF
- Fixed bugs with draws mode TDM
- Added INF wins i lose
- Fixed points system
- Added detection mode of the game and inform about the possible threat
- Added WriteLnSpam= ON|OFF wspam disables the console from the player is not logged. Useful when playing a lot of new players
- Survival stats planned and partly started
- Added tryb HTF compatible
- Added Blue HTF Point
- Added Alpha HTF Point
- Added HTF win i lose
- Added deathmatch mode compatible
- Other optimizations and minor fixes

Offline dominikkk26

  • Camper
  • ***
  • Posts: 404
    • PMGsite
Re: ZitroFun
« Reply #27 on: December 15, 2013, 08:56:53 am »
ZitroFun 1.1.3:
- Adding automatic registration players
- Admin can enable and disable the automatic registration in settings.ini
- Added KickTimer in settings.ini (Sets the time after which the player will be ejected if registered not login)
- Added /addpassword <password> - Only when the player was automatically registered when you add password command disappears.
Works with statistics from version 1.1.2!

Offline dominikkk26

  • Camper
  • ***
  • Posts: 404
    • PMGsite
Re: ZitroFun [Statistic + Ranks (No Lags)]
« Reply #28 on: December 25, 2013, 03:05:36 pm »
ZitroFun 1.1.3:
- Replacement of xplit function explode
- Fixed display serverstats when the mode deathmatch
- Added !stats ID|PartName|Name, when a player offline should be given whole nickname
- Added !flagstats ID|PartName|Name, when a player offline should be given whole nickname
- Fix the problem in WinStats of limitkills when mode deathmatch
- Added !generalstats ID|PartName|Name, when a player offline should be given whole nickname
- Added !damagestats ID|PartName|Name, when a player offline should be given whole nickname
- Optimization updatestats
- Fix the problem limitkills when !damagestats
- Optimization procedure OnLeaveGame
- Optimization procedure UpdateServStats
- Others not mentioned minor fixes and optimization
Works with statistics from version 1.1.2 and 1.1.3!

Offline Moroes

  • Soldier
  • **
  • Posts: 165
    • Soldat-Game.eu
Re: ZitroFun [Statistic + Ranks (No Lags)]
« Reply #29 on: December 30, 2013, 09:06:07 am »
I am running it on my server. Havent tried any commands so far. I might play with it later.
Just got an error:

Code: [Select]
(14:28:24) dfu scores for Alpha Team
(14:28:24)  [*] [Error] ZitroFUN -> OnFlagScore(2659:7) Exception: "+Inf" is an invalid integer

DarkCrusade

  • Guest
Re: ZitroFun [Statistic + Ranks (No Lags)]
« Reply #30 on: December 30, 2013, 01:22:47 pm »
Trying to convert a string to an integer there, dominikkk26? :o Physics broken.

Offline dominikkk26

  • Camper
  • ***
  • Posts: 404
    • PMGsite
Re: ZitroFun [Statistic + Ranks (No Lags)]
« Reply #31 on: December 30, 2013, 02:30:40 pm »
Trying to convert a string to an integer there, dominikkk26? :o Physics broken.
Error is caused by the number of players in the team bravo was 0.
ZitroFun 1.1.5:
- Improved information system
- Fixed /lastplayed now /lastplayed ID|PartName|Name, when a player offline should be given whole nickname
- Fixes stylistic in /addpassword
- Added possibility to enable and disable KickTimera when you need not login [ KickTimeON= ]
- Added /resetranks - Restart ranks
- Added /admincommands - Shows a list of commands administrator, admin only
- Added information added time asking password
- Adding the ability to edit the time, which is how to display the information of the request to add a password in settings [ TimeMes= ] in miniutach
- Adding the ability to enable and disable informational messages (requests to add password) in settings [ TimeMesON= ]
- Fixes OnFlagScore(2659:7) Exception: "+Inf" is an invalid integer
- Added OnException and creating log error [ scripts/ZitroFUN/ErrorLog.txt ]
Works with statistics from version: 1.1.2, 1.1.3, 1.1.4

Offline Leo

  • Soldat Beta Team
  • Veteran
  • ******
  • Posts: 1011
Re: ZitroFun [Statistic + Ranks (No Lags)]
« Reply #32 on: January 26, 2014, 03:15:50 am »
Hey, I wanna exclude Majors from registering. Is it possible ?

Offline dominikkk26

  • Camper
  • ***
  • Posts: 404
    • PMGsite
Re: ZitroFun [Statistic + Ranks (No Lags)]
« Reply #33 on: January 26, 2014, 05:28:29 am »
Currently, no, but I'll do it in the next version. Tell whether a player can not be registered, but have access to the statistics or do not have access to statistics.
You gave me a idea for blacknamelist, players who can not register and the ability to enable and disable them statistics.

Offline Leo

  • Soldat Beta Team
  • Veteran
  • ******
  • Posts: 1011
Re: ZitroFun [Statistic + Ranks (No Lags)]
« Reply #34 on: January 26, 2014, 06:21:20 am »
Major is default and I don't wanna kick them out of the server, also statistics for this nick as Major(1) etc.... should be disabled.

Offline dominikkk26

  • Camper
  • ***
  • Posts: 404
    • PMGsite
Re: ZitroFun [Statistic + Ranks (No Lags)]
« Reply #35 on: January 26, 2014, 08:12:30 am »
Currently registered nickname Major and create a password. Then set KickTimeON=OFF in settings.ini

Until the update should be enough, but players will be able to play on someone's nicknames, but do not worry that the statistics were active will have to login.

DarkCrusade

  • Guest
Re: ZitroFun [Statistic + Ranks (No Lags)]
« Reply #36 on: January 26, 2014, 08:51:02 am »
Just add a block for any user who's name is like this:

Code: [Select]
if GetPiece(Player[ID].Name,' ',0) = 'Major' then BlockStats(ID);

You'll have no problem with multiple Majors in that case, too.

Offline dominikkk26

  • Camper
  • ***
  • Posts: 404
    • PMGsite
Re: ZitroFun [Statistic + Ranks (No Lags)]
« Reply #37 on: January 26, 2014, 12:09:29 pm »
My only problem is that I do not have access to a computer. And I have begun on the versions of mapstats, of course, statistics maps and you can turn off in the settings.ini

Offline Leo

  • Soldat Beta Team
  • Veteran
  • ******
  • Posts: 1011
Re: ZitroFun [Statistic + Ranks (No Lags)]
« Reply #38 on: February 02, 2014, 11:39:32 am »
Hey dominik, your script is nice but I prefer zitro with a web interface. I have it running nicely and by using PlayerStats.php players can use !stats to view their rank in-game. I was wondering if you could make a script with !top command to grab the 10 top players from web page though, that would be very nice. My zitro is here: http://realistic-soldat.org/

*The page and servers are running local so no lag ;)


Nvm, forget about this :)
« Last Edit: February 02, 2014, 12:05:48 pm by Leo »

Offline dodo001

  • Major(1)
  • Posts: 15
Re: ZitroFun [Statistic + Ranks (No Lags)]
« Reply #39 on: October 20, 2014, 09:46:12 am »
On the occasion that someone who i wrote this script decided to remove the information about the creator of the script, I publish you this script!

This is a beta! Which literally passes last stylistic corrections! Getting ready for the official release.. Script use ELO-Formula for point system (As in the ZitroStats). Password is md5.  Code is big optimized (pls read the script, Please compare with older versions and see how much I've learned).
Contatybile with all gamemode 0-6;  Admin command is of /admincommands


===--===


Commands:
CommandParametrs   Description
!reginfoNo   Lista wszystkich komend dot. statystyk oraz rejestracji
!loginNo   Pokazuje jak się zalogować, dla przypomnienia pomoc znajdziesz tutaj
!voteupdateNo   Głosujesz za aktualizacją statystyk.
!topNo   Pokazuje top 10 najlepszych graczy
!top <Number><Number>: Ile graczy ma być w liście top   Pokazuje top wskazana liczbę graczy. Maksymalna ilość graczy do wyświetlenia to top 30.
!topmapsNo   Pokazuje top 10 najczęściej granych map
!ss !serverstatsNo   Wyświetla statystyki serwera
!mapstatsNo   Wyświetla statystyki aktualnej mapy
!mapstats <MapName><MapName>Nazwa mapy   Wyświetlenie statystyk wskazanej mapy
!statsNo   Wyświetlenie swoich statystyk (Statystyki widza wszyscy)
!stats <ID|FullName|PartName><ID>ID player
<FullName>You must give a full nick if a player offline
<PartName>: All or part of player nick
   Wyświetlenie statystyk wskazanego gracza (Statystyki widzisz tylko ty)
!flagstatsNo   Wyświetlenie swoich statystyk dotyczących flag (Statystyki widza wszyscy)
!flagstats <ID|FullName|PartName><ID>ID player
<FullName>You must give a full nick if a player offline
<PartName>: All or part of player nick
   Wyświetlenie statystyk dotyczących flag, wskazanego gracza (Statystyki widzisz tylko ty)
!otherstatsNo   Wyświetlenie reszty swoich statystyk (Statystyki widza wszyscy)
!otherstats <ID|FullName|PartName><ID>ID player
<FullName>You must give a full nick if a player offline
<PartName>: All or part of player nick
   Wyświetlenie innych statystyk, wskazanego gracza (Statystyki widzisz tylko ty)
!winstatsNo   Wyświetlenie statystyk dotyczących zwycięstw i przegranych(Statystyki widza wszyscy)
!winstats <ID|FullName|PartName><ID>ID player
<FullName>You must give a full nick if a player offline
<PartName>: All or part of player nick
   Wyświetlenie statystyk dotyczących zwycięstw i przegranych, wskazanego gracza (Statystyki widzisz tylko ty)
!search <Name><Name>Nazwa szukanego player   Wyszukuje graczy
!rankNo   Pokazuje na której pozycji w rankingu się znajdujesz oraz ile posiadasz punktów
!rank <ID|FullName|PartName><ID>ID player
<FullName>You must give a full nick if a player offline
<PartName>: All or part of player nick
   Pokazuje na której pozycji znajduje się wskazany gracz oraz ile ma punktów
!rankid <Number><Number>Numer rankingu   Pokazuje kto znajduje się na wskazanej pozycji w rankingu oraz ile ma punktów
!reginfoNo   Wyświetla informacje o autorze, kontakcie, wersji skryptu oraz liczbie zarejestrowanych graczy
/create <Password><Password>Hasło   Rejestracja nowego konta
/addpassword <Password><Password>Hasło   Dodanie hasła, tylko gdy zostaniesz automatycznie zarejestrowany
/login <Password><Password>Hasło   Signing up for an account
/autologin <Type><Type>HWID, IP, NICK, OFF   Changing the type of auto-login or turning off
/logoutNo   Logout of accound
/resetstatsNo   Restart all your stats
/changepass <Old_pass> <New_pass><Old_pass>Old password
<New_pass>New password
   Changing the password for the new
/changenick <Pass> <New_nick><Pass>Password
<New_nick>New nick
   Changing the current nickname to a new, the correct change should join again with a new nickname
/lastplayed <ID|FullName|PartName><ID>ID player
<FullName>You must give a full nick if a player offline
<PartName>: All or part of player nick
   Checking when a player was last on the server

What does the command:
Command:    Returns:
!stats   Rank, Points, Player Rating, KD, Kills, Death, SelfKill, Teamkills, Killed By Friend
!flagstats   Flag grab, Flag score, Flag return, Flag drop, Alpha caps, Bravo caps, Kill Flager, Bravo Points, Alpha Points
!otherstats   Shots, Hits, Mishit, Acuracy, Savior kill, Revenge, Assist, Posthumous kill, Friendly shoots
!winstats   Win, Lose, Draws, Win/Lose KD, Alpha win, Alpha lose, Brawo win, Brawo lose, CharlieWin, CharlieLose, DeltaWin, DeltaLose
!serverstats   Kills, Deatch, Selfkill, Team Kills, Server visit, Alpha join, Bravo join, Charlie join, Delta join, Spec join, Kicked players
!mapstats   Kills, Deatch, Selfkill, Teamkills, Flag grab, Flag score, Flag return, Flag drop, Game played, Player joins, Player leave, Kicked players
/lastplayed   The last time the server was last seen when he was a player online
« Last Edit: October 20, 2014, 10:18:30 am by dodo001 »