Author Topic: Climbing stats system (updated 30/08/10)  (Read 9014 times)

0 Members and 1 Guest are viewing this topic.

Offline Silnikos

  • Soldier
  • **
  • Posts: 129
Climbing stats system (updated 30/08/10)
« on: February 16, 2010, 04:51:23 pm »
Script Name: Climbing stats system
Script Description: Map scores' recorder.
Original Author(s): Silnikos
Core Version: 2.6.5
Code:

Description:
As I'm not using it anymore and it got spread to some people without my knowledge, I'm releasing it for everyone. Basically it's map scores' recorder, including top times for every map and personal stats for every player.

This script is provided as-is. It's using text files as a database, which might not be effective with large files.

Script needs folders /Times/ and /Times/Players/ in root soldatserver folder.

Ingame commands:
(words in <> are not required)

!top <mapname>
!ctime <player>
!stats <player> @ <mapname>
!stats ingame <player> (this one works for players ingame, if you want to check stats of player "~_ProPlayer~_-somecooltag-_~", just do "!player ingame pro")
/timer (shows your current climb-time, updated every second)
/deathtimer (enables/disables showing climb-time after death)

Credits:
- CurryWurst (ixsplit, sort, calculationoftime functions, help with sorting the data in files)
- Curt (microtime managing functions)
« Last Edit: August 30, 2010, 06:12:09 am by Silnikos »

Offline Hacktank

  • Camper
  • ***
  • Posts: 462
  • Soldat Scripter
    • HTZRPG
Re: Climbing stats system
« Reply #1 on: February 16, 2010, 04:58:11 pm »
Your zip seems corrupted.


Offline Silnikos

  • Soldier
  • **
  • Posts: 129
Re: Climbing stats system
« Reply #2 on: February 16, 2010, 05:01:59 pm »
Your zip seems corrupted.
Reuploaded.

Offline y0uRd34th

  • Camper
  • ***
  • Posts: 325
  • [i]Look Signature![/i]
Re: Climbing stats system
« Reply #3 on: February 17, 2010, 05:30:19 am »
Great work, it was about time that someone realeases such a script for climbservers :)

Offline Bonecrusher

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1397
  • High above
    • Zabijaka.pl
Re: Climbing stats system
« Reply #4 on: February 20, 2010, 10:51:59 am »
oh im using it on my climb server

Im chill like that

Offline dominikkk26

  • Camper
  • ***
  • Posts: 404
    • PMGsite
Re: Climbing stats system
« Reply #5 on: February 21, 2010, 08:28:00 am »
Try to fix these errors ok?

Offline y0uRd34th

  • Camper
  • ***
  • Posts: 325
  • [i]Look Signature![/i]
Re: Climbing stats system
« Reply #6 on: February 21, 2010, 12:55:42 pm »
It doesn't help when you don't tell him which errors you mean. Post them too.

If you mean the ones he posted, sorry, but he wrote he is not using it anymore and you can fix these errors by yourself since he is not going to do it.

Offline dominikkk26

  • Camper
  • ***
  • Posts: 404
    • PMGsite
Re: Climbing stats system
« Reply #7 on: February 21, 2010, 01:41:24 pm »
Well, who knows how to fix it, post here on this piece and it will turn.

Offline Silnikos

  • Soldier
  • **
  • Posts: 129
Re: Climbing stats system
« Reply #8 on: February 22, 2010, 02:32:47 am »
If you mean the procedures I mentioned - they are not necessery for script running properly. They are just unfinished, but you don't need them. They're admin-tools for removing player's statistics and moving them to other player. But, as I said, script is running fine without them.

Offline dominikkk26

  • Camper
  • ***
  • Posts: 404
    • PMGsite
Re: Climbing stats system
« Reply #9 on: February 22, 2010, 03:42:34 am »
But it is not loaded right !Stats player

Offline Silnikos

  • Soldier
  • **
  • Posts: 129
Re: Climbing stats system
« Reply #10 on: February 22, 2010, 08:48:16 am »
English please. Do "!stats" or "!stats <nick>".

Offline Silnikos

  • Soldier
  • **
  • Posts: 129
Re: Climbing stats system
« Reply #11 on: August 30, 2010, 06:12:46 am »
Ok, the new version is here.

- time is measured in more efficient way
- implemented miliseconds (old databases are still compatible)
- added more tools for admin to get rid of hacked/bugged caps:
  - '/removetop <X>' will remove top X cap on current map (/removetop 1 removes the best score etc.)
  - '/removecap <map> <player>' will remove all caps by player on map (use 'current' to use current mapname)
  - '/removeplayer <player>' will remove all caps by player on all the maps
- added command '!ctime' to check current player's time
- more info is displayed in !stats
- removed all the unfinished/unused functions and procedures

Thanks to Curt (DorkeyDear) for sharing two functions for managing microtime.


The new attachment can be found in the first post. Enjoy.

Offline Bonecrusher

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1397
  • High above
    • Zabijaka.pl
Re: Climbing stats system (updated 30/08/10)
« Reply #12 on: August 30, 2010, 01:20:20 pm »
uploaded to my climb server

Im chill like that

Offline Stuffy

  • Soldier
  • **
  • Posts: 182
  • Very stuffy.
    • Climb-Zone Forum
Re: Climbing stats system (updated 30/08/10)
« Reply #13 on: September 02, 2010, 06:53:04 am »
I'm think of using this system too, just have to make it compatible to the TopCap logs...
The truth is out there? Does anyone know the URL?
The URL is here

Offline Spotix

  • Major
  • *
  • Posts: 63
  • Shut up! I just give my sentimental side!
    • http://steamcommunity.com/id/Spotix
Re: Climbing stats system (updated 30/08/10)
« Reply #14 on: October 04, 2011, 09:55:41 am »
The script is not work for Soldat server v2.7.1 and v2.7.2 if you are in a row! stats will write down the server

pls fixit this.

Here the Error log:

Code: [Select]
[spot!x.sH`] !top
[spot!x.sH`] !topServer Encountered an error:
I/O error 103
Shutting down server...
Shutting down FileServer...
Shutting down admin server...
Shutting down ScriptCore...


Mfg: Spotix
« Last Edit: October 13, 2011, 06:45:33 am by Spotix »

Offline rOy

  • Soldier
  • **
  • Posts: 120
Re: Climbing stats system (updated 30/08/10)
« Reply #15 on: May 24, 2012, 06:17:58 pm »
Hi

This is very nice Climb Script !

I have fixed version on 2.7.3 version this script.

Tested only on Windows Xp = passed

I need this script fixed on Linux (debian)
« Last Edit: January 06, 2013, 01:18:54 am by rOy »

Offline Bonecrusher

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1397
  • High above
    • Zabijaka.pl
Re: Climbing stats system (updated 30/08/10)
« Reply #16 on: May 25, 2012, 04:06:21 am »
tell me about it ;d

Im chill like that

Offline Silnikos

  • Soldier
  • **
  • Posts: 129
Re: Climbing stats system (updated 30/08/10)
« Reply #17 on: July 04, 2012, 04:48:56 am »
I'm not really into soldat coding and soldat at all anymore, so don't expect any update from me. If someone else would like to rewrite it for new soldat server versions, feel free to do it.

Offline Bonecrusher

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1397
  • High above
    • Zabijaka.pl
Re: Climbing stats system (updated 30/08/10)
« Reply #18 on: July 07, 2012, 12:53:58 pm »
I hope someone recodes it cause it was used on my climb server and now it's gone ;<

Im chill like that

Offline rOy

  • Soldier
  • **
  • Posts: 120
Re: Climbing stats system (updated 30/08/10)
« Reply #19 on: November 21, 2012, 02:21:35 pm »
Why no one fix this script?

For Linux ...etc