Author Topic: ComboStats v0.7  (Read 2029 times)

0 Members and 1 Guest are viewing this topic.

Offline Vyka

  • Major
  • *
  • Posts: 59
ComboStats v0.7
« on: April 09, 2009, 05:47:42 am »
Script Name: Combo Stats v0.7
Original Author: Wyk (Vyka)
Core Version: 2.6.3
Script Description:  Script stores all players combos. For example. Somebody joined server, and he gained double kill. Script will save file (.txt) with his stats. When he gains another double, triple, multi, multi x2 kill, script will update data in file. I've  added funky messages when somebody has combo. Player can also see opponent stats. There is also toplist, it shows player who has the most double, triple, multi, multi x2 and all combos.
Commands:
/combo info - script info
/combo top - toplist
/combo stats - stats preview, for player
/combo show - draws player stats, everybody see it
/combo id (ID) - preview other player stats]

Stats are stored up to multi kill x2. I think, more is useless.

some screens:












« Last Edit: April 09, 2009, 05:42:16 pm by EnEsCe »

Offline AntiHero

  • Camper
  • ***
  • Posts: 289
  • INF all the way!
    • TheAllStarsClan Site
Re: ComboStats v0.7
« Reply #1 on: April 09, 2009, 01:44:53 pm »
Nice script dude :D
Infiltration|Veterinarian

Offline Gizd

  • Flagrunner
  • ****
  • Posts: 586
  • (Re)tired
    • Eat-this! community site
Re: ComboStats v0.7
« Reply #2 on: April 09, 2009, 01:49:00 pm »
Piece of spamming s***.

Offline tk

  • Soldier
  • **
  • Posts: 235
Re: ComboStats v0.7
« Reply #3 on: April 09, 2009, 02:15:45 pm »
Yeah, one message takes 4 lines in console, it would be much better with one without space and border. Also double kill shouldn't be shown in the console because it's achieved too often.

I found some mistakes like for example this:
Quote
Procedure ActivateServer();
begin
   for i:=1 to 32 do begin
      Combo.H:=0;
      Combo.T:=0;
   end;
   for i:=1 to 8 do Info:='';
//its not needed btw

   Info[2]:='|  Double Kill  -  ';
   Info[3]:='|  Triple Kill  -  ';
   Info[4]:='|  Multi Kill  -  ';
   Info[5]:='|  Multi Kill x2 -  ';
   Info[6]:='|  Serial Kill  -  ';
   Info[7]:='|  Insane Kill  -  ';
   Info[8]:='|  Gimme More  -  ';
   Info[8]:='|  Masta Killa  -  '; //8 used two times
end;

I wouldn't recommend using AppOnIdle for checking combos because its 0-1 second inaccurate. GetTickCount() should be much better here.

Offline JFK

  • Camper
  • ***
  • Posts: 255
    • My TraxInSpace Account
Re: ComboStats v0.7
« Reply #4 on: April 09, 2009, 02:26:36 pm »
I thought of putting this on the new !Elite saw dm server, but eventually decided not to because of the many files it will create. Nickreg from toumaz already runs there and that is taking enough space.

It would be nice to use, but it indeed spams too much. Before i decided not to use it I removed a bunch of WriteConsole lines, added a timer for the /combo show command and stopped it from spamming the double kills, only doing triple and higher. That reduced the output a lot, if you like i can send you the code.
Come join: EliteCTF
Listen to: My Music

Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: ComboStats v0.7
« Reply #5 on: April 09, 2009, 05:42:51 pm »
This isn't hosted on SoldatCentral, so don't ninja my bandwidth by using its images. *removed*.