Stunts Forum

ZakStunts - the Competition => Competition and Website => Topic started by: zaqrack on June 26, 2009, 09:16:50 AM

Title: ZakStunts 8.0
Post by: zaqrack on June 26, 2009, 09:16:50 AM
These are only plans right now, but I'd be happy to hear your comments.

No major changes will be done to the site design. I'll focus on functionality.
I plan to dismiss the top menu (the one with the years) and only have two options: current competition and archives.
I think it is already close to impossible, to effectively browse through the archives of the past 9 years. I want to make it easier, featuring dropdown lists containing every track from 2001-2009. You would be able to search tracks by date, by winner, by car and other parameters.

This is a very huge job, as right now each year I start the new season with new, completely empty database tables, and thus every year is in separate tables. I have to synchronize them together, and this is hard, as the rules and the database structure changed year by year. Hopefully I'll have time to do this (have to do it sooner or later), but initially I'd like to hear your opinions, what would improve usability for you, what functions you would like to have in the ZakStunts archives.

One thing is sure, not depending on whether I do the joint archives or not: starting from 2010 ZakStunts wont have separate tables for every year. I'll think of a way modifying data structure to allow using next years tables through a longer period of time.
 

Title: Re: ZakStunts 8.0
Post by: alanrotoi on June 26, 2009, 04:51:20 PM
Sounds cool! Anyway we must think about a big advertising or else for zct100. It must be the best race ever and with the most quantity of pipsqueaks possible :)
Title: My suggestions
Post by: Mingva on June 26, 2009, 06:50:35 PM
It's better to merge all competition data to one page. Two dropdown options: select year, and then on second dropdown list appear tracks from selected year. But remember to write somewhere near table the track number and year. Because right now after selecting some old track, you cann't see what scoreboard you just opened. Only by remembering what you selected (or going back and watching whats the track number is active on the dropdown list).

I'd also suggest to redo pipsqueaks page. E.g., something like members list in forums (http://forum.stunts.hu/index.php?action=mlist (http://forum.stunts.hu/index.php?action=mlist)). First column - pipsqueak's name with link to his profile, then flag, team name, maybe number of races he took a part, join date, email & photo icons, icon indicating if driver submitted his background, activity status (e.g., raced during half a year), maybe also last track he drove, or even news spamming number. But the page should be compact. Maybe at the top of pipsqueaks page to add three options: Current Stunts drivers (those who raced at least once in upgoing season), Past Stunts drivers (who raced in past years) and Registered members (who only registered at ZakStunts). Maybe it would be possible to delete only registered members who never connected and not submitted some data (d.o.b., email, etc.) after some two years. Then the list of Registered members wouldn't be very large.

Finally add sorting ability by all columns to pipsqueaks page. Also I would like to see more stats by visiting pipsqueaks profile. Like points in season (as it was in 2003-2004 profiles), option quickly to check sent replays analysis, ability to add a comment from other drivers (one per driver or one per month to avoid spamming), and more.

The current scoreboard page is very attractive! I like very much that graphical scoreboard with cars :) The graphs looks awesome too (but it won't appear in IE because of invalid argument in index.php file). Podium page must be corrected as well.
Title: Re: ZakStunts 8.0
Post by: Duplode on June 29, 2009, 06:52:46 AM
Sounds nice, indeed  ;) Unifying the scoreboard database would make not only browsing but also statistics gathering (either manual, by the users, or automated, server-side) much easier.  Would it also mean we might have the graphical scoreboard for old races too?  :) Mingva's suggestions about the pipsqueak profiles are nice as well, but they imply unifying profile pages from different years, and I guess that might too troublesome difficult to pull off. And since he also mentioned dropdown lists, one minor usability issue is that at pages such as Sent Replays Analysis or News Archive the dropdown list does not retain your latest selection. That is most noticeable on the Sent Replays page, as whenever you're checking consecutive races you need to set the year every time you change to the next track.

Anyway we must think about a big advertising or else for zct100. It must be the best race ever and with the most quantity of pipsqueaks possible :)

Since the buzz about Z100 is already on, let me ask a silly technical question: will the track file really be called ZCT100.TRK? I know it looks awesome, but having three-digit file names would cause trouble for archiving purposes due to alphanumeric order (the track selection menu it would end up as: ZCT09, ZCT10, ZCT100, ... , ZCT20, etc.). I suggest considering the alternative of naming the track files as ZCTA0, ZCTA1, etc. Maybe it is too confusing, but at least we would avoid any sorting issues of that kind until ZCT359  :)
Title: Re: ZakStunts 8.0
Post by: zaqrack on June 29, 2009, 08:59:31 AM
I know a three digit number looks awesome, but due to the same reasons you mentioned above I was thinking about creating a new naming scheme starting next year. On the other hand, it is really not that hard to review all the previous files and rename to 21 to 021. I'll have to do it anyway if I am restructuring the archvies. In dropdown lists it is even easier to make the change.
Title: Re: ZakStunts 8.0
Post by: CTG on June 29, 2009, 10:21:35 AM
I know a three digit number looks awesome, but due to the same reasons you mentioned above I was thinking about creating a new naming scheme starting next year. On the other hand, it is really not that hard to review all the previous files and rename to 21 to 021. I'll have to do it anyway if I am restructuring the archvies. In dropdown lists it is even easier to make the change.

Okay, okay... but what will you do at ZCT1000? ;D
Title: Re: ZakStunts 8.0
Post by: zaqrack on June 29, 2009, 11:06:50 AM
Okay, okay... but what will you do at ZCT1000? ;D

Most likely will take a turn in my grave (will be 103 yrs old)
Title: Re: ZakStunts 8.0
Post by: CTG on June 29, 2009, 11:10:38 AM
Okay, okay... but what will you do at ZCT1000? ;D

Most likely will take a turn in my grave (will be 103 yrs old)


Btw there's a theoretical limit for ZCT: 99999! (8 characters in DOS) ;D

That will be in year 10334... :D
Title: Re: ZakStunts 8.0
Post by: BonzaiJoe on June 29, 2009, 03:04:47 PM
That is only at the current rate of 1 track per month. If the competition format changes to one track per minute, we will be in trouble a lot earlier.  :(
Title: Re: ZakStunts 8.0
Post by: zaqrack on June 29, 2009, 04:08:26 PM
but then we would have no problems with replay handling :)

and how should we calculate leading time seconds for the LTB?  :D
Title: Re: ZakStunts 8.0
Post by: CTG on June 30, 2009, 11:58:37 AM
If the competition format changes to one track per minute, we will be in trouble a lot earlier.  :(

That's a serious limit for track length considering you have to download the zip file, extract, open Stunts, choosing car, starting the race, saving file, switch it off, sending - also hard work for the manager... ;D
Title: Re: ZakStunts 8.0
Post by: zaqrack on June 30, 2009, 12:55:18 PM
one track per hour seems feasible though. imagine a 24 hour stunts marathon on 24 tracks :-)
Title: Re: ZakStunts 8.0
Post by: CTG on June 30, 2009, 01:06:42 PM
one track per hour seems feasible though. imagine a 24 hour stunts marathon on 24 tracks :-)

Exhausting - sounds like fun. :D
Title: Re: ZakStunts 8.0
Post by: zaqrack on July 01, 2009, 01:58:11 PM
I have started some preliminary database merges.
The 2001-2003 period will be detached from the rest in the archives, because the storage format is completely different (only one record/track/pipsqueak as opposed to the one record/sent replay format used later on)

An interesting data:
ZakStunts number of replays sent 2003.01.01-today: 5191  :o
Title: Re: ZakStunts 8.0
Post by: zaqrack on July 04, 2009, 07:09:58 PM
The first page of the 8.0 site is available. You cannot see the background work, but this table gets all its data from the joint database tables containing all data between 2004-2008 (2009 not yet uploaded to the joint database). What's even better, this script is completely season independent by using some new variables, it can serve us for a long time, and needs no modification from me. :)

And finally, an auto-submit & auto-refresh form is available at the top. :)
Comments are welcome! I'll keep on working on other pages. The major work (database merge) is done, so it'll be easier from now.

http://zak.stunts.hu/index.php?page=season (http://zak.stunts.hu/index.php?page=season)
Title: Re: ZakStunts 8.0
Post by: Mingva on July 04, 2009, 08:40:01 PM
Nice :)
Title: Re: ZakStunts 8.0
Post by: Chulk on July 04, 2009, 09:35:11 PM
It's great! I love already!
Title: Re: ZakStunts 8.0
Post by: zaqrack on July 05, 2009, 06:22:32 PM
and here is today's present: http://zak.stunts.hu/index.php?page=results (http://zak.stunts.hu/index.php?page=results)

possibly some minor lists are next (tracks listing, pipsqueak listing) and then the pipsqueak statistics, which will be the biggest improvement. If you'd like to see some stats, post them here! What I want to do (not complete list):

- achieved seasonal positions
- complete result listing
- sent replays / season
- sent replays listing / track
- average points / season
- best achieved results
- last activity (based on last sent replay)
- number of newsposts
...and your feasible requests

Title: Re: ZakStunts 8.0
Post by: Mingva on July 05, 2009, 10:10:55 PM
When selecting year I'm getting this message pop-up: "JSChart: Not enough data to render chart"

And you should use selected value for season, as now it shows as selected 2004 but you cann't choose tracks.
Title: Re: ZakStunts 8.0
Post by: zaqrack on July 06, 2009, 08:32:05 AM
selected value is defined by php code - except on the first page load. will default the first load to the latest season of course - this is only a tech demo.

Where and how did you get the JSChart error? I battled with it for about an ahour and it finally works for me in firefox, I dont get it anymore.

Title: Re: ZakStunts 8.0
Post by: Mingva on July 06, 2009, 10:03:52 AM
I get this error with Opera and Internet Explorer after going from 2005 track C47 to 2004 season, and from 2006 track C59 to 2005.

There's hidden webpage error on IE:

Code: [Select]
Message: Invalid argument.
Line: 352
Char: 1
Code: 0
URI: http://zak.stunts.hu/index.php?page=results
Title: Re: ZakStunts 8.0
Post by: Duplode on July 06, 2009, 10:22:55 PM
The scoreboards look so richer with this new data  :) Browsing from FF3, I think I saw some JSChart popup at some point while browsing 2004 races, but it was working normally anyway.
Title: Re: ZakStunts 8.0
Post by: Krys TOFF on August 20, 2009, 03:10:52 PM
one track per hour seems feasible though. imagine a 24 hour stunts marathon on 24 tracks :-)

Exhausting - sounds like fun. :D
Oh yes, let's call it the 24 hours of Le Stunts (hommage to Pershing II). ;)

this table gets all its data from the joint database tables containing all data between 2004-2008 (2009 not yet uploaded to the joint database). What's even better, this script is completely season independent by using some new variables, it can serve us for a long time, and needs no modification from me. :)

Nice job, well done Zak.
But what about 2001-2003 data ?
Title: Re: ZakStunts 8.0
Post by: zaqrack on September 07, 2009, 07:08:48 PM
had some spare time during worktime today  ;D so did some coding for ZS8.0
Apart from further improvements on the joint scoreboard, I almost finished the tracks page.
http://zak.stunts.hu/index.php?page=track (http://zak.stunts.hu/index.php?page=track)

The design is not finished yet.
It is worth to mention, that the tracks page -until now- was the only page which required monthyl update by hand-coding. This has changed now. The new tracks page is completely automatic and based on php functions. In fact most of the work today I did was developing new functions, because these make site code cleaner and speed up further developments.

For example, my favorite function needs only two variables: track and position, and it returns the pipsqueak's name who finished in that position on that race.

Krys, 2001-2003 will not be included in the joint database. At least not now. It would require an insane amount of coding time which I do not possess now. There will be a "2001-2003 archives" menu item where you can access this data.
Title: Re: ZakStunts 8.0
Post by: Duplode on September 08, 2009, 03:55:48 AM
New track pages, as well as the common interface for '04-'09 scoreboards we can access through them, look great. So far the only thing I couldn't do was to switch from scoreboard to scoreboard using the unified drop-down menus, but that's just beacuse the "Submit"/"Show" button appears to be missing  :)  By the way, season scoreboards from 2004 onwards aren't working right now, but judging from the PHP error displayed,

Code: [Select]
Fatal error: Cannot redeclare tookpart() (previously declared in /home/virtual-ftp/stunts/zak/newengine.php:123) in /home/virtual-ftp/stunts/zak/2007season.php on line 52

it's just some simple double-declaration issue.
Title: Re: ZakStunts 8.0
Post by: zaqrack on September 08, 2009, 08:52:26 AM
yep, I did some modifications in the evening at home, and introduced several mistakes - you should never code when you are tired!  :D

the season/track selection form will not have a submit button. I just could not finish the autoreload form. Now it is done. :)
Title: Re: ZakStunts 8.0
Post by: zaqrack on September 08, 2009, 04:31:23 PM
lots of work done today (pipsqueak list,further extending scoreboards,newbie league implementation,car coefficient tables 50% done, . I must say the conversion of existing stuff is 80% complete. The big stuff left to do is making the seasonal score calculator season-independent and to migrate 2009 data to the joint tables. As soon as this is done, we will be able to start the public beta test and implement new functions.
Title: Re: ZakStunts 8.0
Post by: zaqrack on September 09, 2009, 04:57:49 PM
The majority of the work is done, and made available to the public. Feel free to test it and write bug reports here!
The only thing missing is the podium - but I plan to recreate that site from scratch.
I have also update the site design amd layout coding a little bit - but it is not finished yet.
Now it's time to implement the completely new features, most importantly the long-awaited pipsqueak profile page.
Requests, reviews and recommendations are more than welcome!
Title: Re: ZakStunts 8.0
Post by: Mingva on September 09, 2009, 08:19:37 PM
Missing driver's name over car in graphical scoreboard. Only time difference is showed.
Title: Re: ZakStunts 8.0
Post by: Duplode on September 10, 2009, 01:10:45 AM
Very nice usability improvements so far, the current race/scoreboard page is a lot more useful now. Only thing I'm really missing right now is a link to the front page of the site somewhere on the menus - although it is not so useful if you really think about it, I still reach instinctively for the gone "2009" when I want to reload :) Minor stuff includes the 2003 standings, which aren't loading (that dual league thing must be a pain to integrate...) and the News Archive interface, which is slightly less advanced than the scoreboards in that the year drop-down menu resets to 2009 once you change the month.
Title: Re: ZakStunts 8.0
Post by: zaqrack on September 10, 2009, 08:40:37 AM
thank you, all fixed!
The top banner image (which is not final yet...) now links to the welcome page.
Title: Re: ZakStunts 8.0
Post by: Mingva on September 10, 2009, 10:23:40 AM
Some minor mistakes:
2005: Alan Chuytrix 70 is a member of MeganiuM Aces High  :D  ;D
2006 and 2007: AMG's REAL points are counted incorectly.
2009: missing some team images. Please add "-" in season standings to match layout of previous years.
Title: Re: ZakStunts 8.0
Post by: zaqrack on September 10, 2009, 11:33:04 AM
All done!

About marking confirmed ghosts:
The easily possible solution is to display the name of ghosts in italics or strike through fonts throughout the page, or adding an asterisk to the name. (like: *)

I do not think which would be the best solution, and I also need the list of confirmed ghosts for this.

Title: Re: ZakStunts 8.0
Post by: Mingva on September 10, 2009, 01:06:21 PM
Ghost list from Stunts wiki:

Alan Chuytrix 70 - 2005
Andrea Sacchi - 2005
BeerBor - 2005
CTG - 2002, 2003, 2006
Chicken in the oven - 2005
CrazyDriver - already deleted
Desert Ice - 2005
Dragonfly - 2005
Freeza - 2005
FTC Stormy Scamps - 2005
Fuoco (not sure about it)
Gelato Baker - 2006
H-Bomb - 2005
Milka Hakkinen - 2005
Super Pursuit Mode - 2005
CTG - 2002
Ursin - 2005
Wrecking Punk - 2005
XTorres - 2005

Also should be ghosts:
4.44.45, Chicago Striker - both in 2006

There are more suspicious names in season 2005. If in 2002-2003 we could live with Bolo and CTG (no ghosts in 2004 at all?) then during 2005-2006 it was an absolute madness with creating multiple fake names.

I'd vote for strike through font, light grey scoring points and changing flag to pirates :)
Title: Re: ZakStunts 8.0
Post by: Mingva on September 10, 2009, 01:28:22 PM
I see times from some ghosts (Alan Chuytrix 70, Chicago Striker, Gelato Baker, Ursin) are removed, so their accounts can be deleted as well. It won't change final standings.

Is testerlnx a ghost of Zak?  ;D
Title: Re: ZakStunts 8.0
Post by: zaqrack on September 10, 2009, 04:11:14 PM
From now on seasonal scores are not updated periodically from crontab, but after the submit of each replay.

Took me only 5 years to figure this out that this is easier and much more feasible.  :P
Title: Re: ZakStunts 8.0
Post by: Mingva on September 11, 2009, 12:05:59 AM
It seems LTB is not added to total points in current season standings.
Title: Re: ZakStunts 8.0
Post by: zaqrack on September 11, 2009, 08:25:36 AM
It seems LTB is not added to total points in current season standings.

thanks, fixed!
Title: Re: ZakStunts 8.0
Post by: BonzaiJoe on September 11, 2009, 11:07:29 AM
I think we should leave it up to curious newbies to discover which pipsqueaks with dubious names are ghosts. It's part of Stunts mythology and I think it's wonderful.
Title: Re: ZakStunts 8.0
Post by: zaqrack on September 11, 2009, 03:50:36 PM
todays little update could not have happened, if www.pixlr.com (http://www.pixlr.com) did not exist. Thanks for the developers!
(go, find out the update :))
Title: Re: ZakStunts 8.0
Post by: Mingva on September 11, 2009, 08:08:29 PM
I like added feature for logo :) Only Bernie for now?

P.S. I like funny comments. Some are fabulous  :D
Title: Re: ZakStunts 8.0
Post by: zaqrack on September 11, 2009, 09:28:47 PM
only Bernie's shirt fits with the hills :) but I might add more later
Title: Re: ZakStunts 8.0
Post by: Mingva on September 12, 2009, 11:29:44 PM
 RPLinfo Online is not working. It says Can't select table!You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM 2009cars' at line 1
Title: Re: ZakStunts 8.0
Post by: Duplode on September 18, 2009, 07:15:36 PM
RPLinfo Online is not working. It says Can't select table!You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM 2009cars' at line 1

I can confirm this bug; it only happens when you use the "Show Correction" feature.
Title: Re: ZakStunts 8.0
Post by: zaqrack on September 18, 2009, 08:46:18 PM
thanks, fixed, it was still mapped to the old database
Title: Re: ZakStunts 8.0
Post by: Duplode on September 18, 2009, 09:02:36 PM
Now it doesn't give the error, yet it seems the bonuses aren't being correctly loaded, the corrected value returned is a very small one (around 0:00.1x).
Title: Re: ZakStunts 8.0
Post by: Duplode on September 24, 2009, 02:45:55 AM
I see that's fixed as well, thanks Zak  :)

There is another little addition that might be useful... I realize the left menu of the site is already lengthened almost to the break point, but still it could be nice to back-link to stunts.hu using a "Competition Portal" or similar link. In fact, I think adding easy-to-reach links to the Portal should be standard convention on site design (after all, the Portal is the closest thing to those web-rings which were so prolific on past ages. The fact that most pages these days reside on the same server would make for a somewhat unusual ring, but anyway... :D)
Title: Re: ZakStunts 8.0
Post by: zaqrack on October 31, 2009, 10:25:18 AM
I unified the track pictures (improves quality, saves bandwidth) yesterday night and also uploaded the trackblaster view of each track - you may find it on the bottom of each scores page.

I did not forget about the pipsqueak profiles page, just had no time to code. Another stat popped into my mind: infos per pipsqueak on the best and average result achieved with each car.

Also cleaned up the site files, removing some obsolete stuff and archived it. For hardcore stats fans:
ZakStunts, excluding the database currently occupies 35 MBytes
this consists of the following:
Site php code 700kB
Track pictures and archives 4.5MB
Time Machine 3.1MB
Articles and their pics 3.6MB
Stuff for download  17MB
Pictures, images 5.7MB
Title: Re: ZakStunts 8.0
Post by: Chulk on November 01, 2009, 12:20:25 AM
Time Machine 3.1MB
What is that?
Title: Re: ZakStunts 8.0
Post by: zaqrack on November 01, 2009, 07:26:09 AM
Time Machine 3.1MB
What is that?

click on Archives 2001-2003, then on Time Machine under the 2001 column. Enjoy :)
Title: Re: ZakStunts 8.0
Post by: zaqrack on November 07, 2009, 07:58:53 AM
I finally managed to spend some time coding the profiles page Click on any pipsqueak name to see the current progress. It is nowhere near complete neither content nor layout-wise, but as usual, your comments are welcome!
Title: Re: ZakStunts 8.0
Post by: zaqrack on November 07, 2009, 06:37:48 PM
layout was tuned and more content added
still more to come!
Title: Re: ZakStunts 8.0
Post by: CTG on November 07, 2009, 10:55:05 PM
WOW! Btw is it possible to add 2001-2003 data for each pipsqueaks?
Title: Re: ZakStunts 8.0
Post by: zaqrack on November 08, 2009, 08:57:34 AM
I have to convert some databases, the dual league results would disappear for sure. The biggest problem is, that the pre-2004 database uses a one entry per track storage system instead of a one entry per replay. So we can only get seasonal results, the stuff you can see now on the profile page, and no further details (which will be available later on the 2004+ data)
Will do the conversion once the rest of the profile page is coded :)
Title: Re: ZakStunts 8.0
Post by: Duplode on February 07, 2010, 02:06:39 AM
I was going to make a list of low-priority tiny bugs on the site for future use by Zak but nearly forgot it. Mingva's post on the news reminded me of them though:

Quote from: Mingva@ZakNews
Some bugs: when pressing on pipsqueak in newbie league it shows blank profile page. Another one is with Pitman: in overall standings his status is newbie but on track scoreboard he's missing in newbie standings.

Other little things:


And finally: I am sure this is in your future plans, Zak, and I'm also sure I already mentioned it somewhere else (therefore, sorry for being annoying... :)), but anyway I'd love to see the return of the personal räcer profiles (with funny background stories and all) - maybe there could be link to them on the current räcer stats page?
Title: Re: ZakStunts 8.0
Post by: zaqrack on February 07, 2010, 06:21:53 PM

thanks!

all fixed but the 2003 scoreboard and the extension of the current profiles page - hopefully I  will not forget these...
Title: Re: ZakStunts 8.0
Post by: CTG on August 20, 2010, 04:52:22 PM
CTG is drunk. Again. Finally. Böff!!!
Title: Re: ZakStunts 8.0
Post by: zaqrack on January 30, 2011, 10:18:01 PM
Please let me know if there is any specific improvement you would like to see on the website...
Title: Re: ZakStunts 8.0
Post by: Duplode on January 30, 2011, 11:50:25 PM
For now, just a clarification: will races end at 20:00 (as the rules and counter say) or at 23:59 (as you mentioned on the other thread)? I am completely neutral about this choice, BTW.
Title: Re: ZakStunts 8.0
Post by: zaqrack on January 31, 2011, 07:41:49 AM
23:59, I just forgot to modify the relevant code. Thanks for the heads-up!
Title: Re: ZakStunts 8.0
Post by: Duplode on February 02, 2011, 12:04:52 AM
Just noticed leading hours computation is out-of-sync, with Renato having negative hours (like it happens sometimes when we send replays before the start of the month).
Title: Re: ZakStunts 8.0
Post by: zaqrack on February 02, 2011, 08:00:36 PM
thanks, fixed! start date was set to 03-01 :)
Title: Re: ZakStunts 8.0
Post by: Duplode on February 12, 2011, 02:05:25 AM
Another small thing: the track map image on the scoreboard page is currently missing. BTW, I just noticed the maps on the Tracks page are now php-generated; that's cool  :)
Title: Re: ZakStunts 8.0
Post by: Friker on December 05, 2012, 10:56:02 AM
Ok, so next bunch of bugs:
-"Track deadline is 20:00 on the last day of the track." Deadlines are still set up to 23:59..
-Some data (from db - login names and shoutbox) are in different encoding than a rest of the page. Both are utf8 but sql seems to be utf8_something_ci. This leads to errors when viewed with (at least) Google Chrome (question mark characters) and IE (no width character).
-Logout button has a bad redirect - does not have "&season=XXXX" part when needed (also a track should not be switched)
-When logged in, "Scoreboard" link has the "&track=CXXX" part - when changing a track from the dropdown menu, this value is unchanged. Simply do not show "&track=CXXX".
-When logged in, "View Profile" link does not work properly.
-Team profiles do not work properly, at least not from scoreboard pages.
-"Show guide" link works completely bad.
-When posting a replay, in penalty section accept bigger integers than 99! When inserting "X:YY" do not accept it.
-When posting a replay during quiet days there should not be ANY clue that replay was sent!!! This is completely FAIL. Last time it could be calculated how strong my replay was..
-In "News spamming" page, when nothing is selected also nothing should has be shown (no warnings)
-No replays sent at a begging of the race must not lead into errors.
-Shoutbox's widht should have be fixed. Also "Random newspost of the moment" has the same problem.

Things that are not bugs, but I am wondering:
-Wow, there were no teams in 2008?
-Why a leading time table is uploaded before a race starts?
-The same thing for a graph below table.
-Why there is not a negative y-axis in a car bonus table?
Title: Re: ZakStunts 8.0
Post by: zaqrack on December 06, 2012, 09:15:43 AM
oh great, great, I will fly home tonight, from the 15th I am on vacation so will have time to fix these (or at least most of them). Many thanks for pointing out the issues!

Title: Re: ZakStunts 8.0
Post by: CTG on June 03, 2013, 07:05:12 AM
Quote from: ZakStunts, messageboard + latest replays box
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct() [<a href='datetime.--construct'>datetime.--construct</a>]: Failed to parse time string (2013-06-03 436) at position 11 (4): Unexpected character' in /home/virtual-ftp/stunts/zak/latest.php:91 Stack trace: #0 /home/virtual-ftp/stunts/zak/latest.php(91): DateTime->__construct('2013-06-03 436') #1 /home/virtual-ftp/stunts/zak/latest.php(27): relativeDate('2013-06-03 436') #2 /home/virtual-ftp/stunts/zak/index.php(296): include('/home/virtual-f...') #3 {main} thrown in /home/virtual-ftp/stunts/zak/latest.php on line 91
Title: Re: ZakStunts 8.0
Post by: CTG on August 03, 2013, 04:27:48 PM
'Statistics / Sent replay analysis' is not working for 2010-2013 seasons.
Title: Re: ZakStunts 8.0
Post by: dreadnaut on August 03, 2013, 09:44:27 PM
Patched up, but might still fail. I have no idea what that code does :P
Title: Re: ZakStunts 8.0
Post by: CTG on August 03, 2013, 09:51:55 PM
Patched up, but might still fail. I have no idea what that code does :P

Now it (almost) works. :D

Btw are you the reincarnation of Zak McKracken?
Title: Re: ZakStunts 8.0
Post by: dreadnaut on August 03, 2013, 09:55:27 PM
If I am, I still forgot everything about code written in my previous life :(
Title: Re: ZakStunts 8.0
Post by: Duplode on August 04, 2013, 12:15:28 AM
Patched up, but might still fail. I have no idea what that code does :P

Now it (almost) works. :D

More precisely: C126 should be in 2012 and C138 in 2013 (season 2011 had only 11 races), and from 2008 onwards the results are not being filtered by season; other than that, now it works  :)
Title: Re: ZakStunts 8.0
Post by: dreadnaut on August 04, 2013, 11:34:36 AM
Ok, that should be fixed too 8)
Title: Re: ZakStunts 8.0
Post by: dreadnaut on August 05, 2013, 04:43:24 PM
Statistics page (http://zak.stunts.hu/index.php?page=statreplay) reworked, have fun!
Title: Re: ZakStunts 8.0
Post by: zaqrack on August 05, 2013, 04:50:52 PM
how very nice!
 8) 8) 8)
Title: Re: ZakStunts 8.0
Post by: Duplode on August 06, 2013, 12:42:24 AM
Statistics page (http://zak.stunts.hu/index.php?page=statreplay) reworked, have fun!

Sweet!  8)

Minor issue: in some seasons, the first race started during the final days of December (Z59 in 2006 and Z91 in 2009). In such cases, said race is being split between the two seasons.
Title: Re: ZakStunts 8.0
Post by: CTG on August 06, 2013, 08:33:29 AM
Whohoooooo, new perspectives in useless stats: personal car preferences, replay distribution in a typical month, ranking vs number of sent replays correlation, etc. ;D
Title: Re: ZakStunts 8.0
Post by: dreadnaut on August 07, 2013, 07:59:40 PM
Minor issue: in some seasons, the first race started during the final days of December (Z59 in 2006 and Z91 in 2009). In such cases, said race is being split between the two seasons.

Darn, my smart way to detect seasons isn't smart enough :(
Title: Re: ZakStunts 8.0
Post by: Duplode on September 02, 2013, 03:19:15 AM
Minor issue: in some seasons, the first race started during the final days of December (Z59 in 2006 and Z91 in 2009). In such cases, said race is being split between the two seasons.

Darn, my smart way to detect seasons isn't smart enough :(

Last time I played with ZakStunts historic data (http://forum.stunts.hu/index.php?topic=2735.msg49433#msg49433) the replay entries carried season information...

---

Another little thing: I really appreciate that there is a link to Southern Cross in the Downloads page, even though there is a typo in the link  :)
Title: Re: ZakStunts 8.0
Post by: Duplode on September 04, 2013, 05:06:18 PM
And another: the season scoreboard is still calculating SUM according to 2012 rules (i.e. dropping 4 rather than 3 races).
Title: Re: ZakStunts 8.0
Post by: dreadnaut on September 13, 2013, 02:51:14 PM
Last time I played with ZakStunts historic data (http://forum.stunts.hu/index.php?topic=2735.msg49433#msg49433) the replay entries carried season information...

They do, great! Stats now show the correct tracks in each season. Thanks Duplode!

Another little thing: I really appreciate that there is a link to Southern Cross in the Downloads page, even though there is a typo in the link  :)
Fixed!
Title: Re: ZakStunts 8.0
Post by: Duplode on September 24, 2013, 06:59:33 AM
Two more details:
Title: Re: ZakStunts 8.0
Post by: dreadnaut on September 24, 2013, 11:09:02 AM
Markdown support is still incomplete, also because I'm not sure if Zak is interested in using it —Zak, are you interested? :D

Links: yep, all broken and they are quite a few. I can 'fix' that temporarily with <base> tag, but I need to change them all over the place, if I keep the pretty urls. However, there's a bit of a feature queue at the moment, all stuck behind actual work :P
Title: Re: ZakStunts 8.0
Post by: CTG on November 14, 2013, 04:15:42 PM
A strange mistake: check satanziege's performance for 2013. Two races are missing from his stats - however, the sum score is correct.
Title: Re: ZakStunts 8.0
Post by: alanrotoi on November 19, 2013, 02:59:33 AM
He is desapearing from the reality... maybe he is now a...
Title: Re: ZakStunts 8.0
Post by: Duplode on November 19, 2013, 03:10:04 PM
A strange mistake: check satanziege's performance for 2013. Two races are missing from his stats - however, the sum score is correct.

Seems that results below 12th are not being displayed in the performance chart.
Title: Re: ZakStunts 8.0
Post by: alanrotoi on November 19, 2013, 08:35:23 PM
I have an idea about some rules, help me to complete it. I was watching the season's standings and I compared Aburaf's and mine results. Anelio has a SUM = 68 and REAL = 56. I have SUM = 59 and REAL = 52. I guess this rule prices the lazy pipsqueaks like me and gives a disadvantage to regular pipsqueaks like Anelio.

What about for the next year if we change the rule "three worst results don't count at the season's rankings" to something like "two or three missing races doesn't count at the season's rankings" or something more fair in this case?

I mean this rule took 9 aburaf's points and to me only 2 points. Maybe this rule is more useful when there are more pipsqueaks because now if I race this month I'll have 1-4 points not because my performance but the lack of pipsqueaks.
Title: Re: ZakStunts 8.0
Post by: CTG on November 22, 2013, 09:23:19 AM
I guess this rule prices the lazy pipsqueaks like me and gives a disadvantage to regular pipsqueaks like Anelio.

???

Regular pipsqueaks have endurance bonus.

But let's compare the results of you two (finished races, after ZCT147):

ABU: 10-9-7-6-6-5-5-4-4-4; EB: +1; sum: 61, minus the worst three results or missed races (4-0-0): 57 pts
ROT:   9-9-8-7-7-5-4-4-3-2; EB: +1; sum: 59, minus the worst three results or missed races (2-0-0): 57 pts

Let's presume that AbuRaf will stay on the 6th place, earning 7 points with that - while you miss this race (hopefully not).

ABU: 67 pts from races; EB: +3; sum: 70, minus the worst three results (4-4-0): 62 pts
ROT: 58 pts from races; EB: +1; sum: 59, minus the worst three results (2-0-0): 57 pts

I think it's a decent difference. Now let's go further: AbuRaf finishes 7th in December (average ranking for him in this season), while you: 1, miss the race; 2, finish between 1st and 12th.

ABU: 73 pts from races (6.08 pts/race); EB: +6; sum: 79, minus the worst three results (4-4-4): 67 pts
ROT, first scenario: 57 pts (5.8 pts/race)
ROT, second scenario: 59-70 pts from races; EB: +3; sum: 62-73, minus the worst three results...
- 12th place: 59+3-(2+1+0)= 59 pts (5.36 pts/race, from pure race points)
- 11th place: 60+3-(2+2+0)= 59 pts (5.45)
- 10th place: 61+3-(3+2+0)= 59 pts (5.55)
- 9th place: 62+3-(3+2+0)= 60 pts (5.64)
- 8th place: 61 pts (5.73)
- 7th place: 62 pts (5.82)
- 6th place: 63 pts (5.91)
- 5th place: 64 pts (6.00)
- 4th place: 65 pts (6.09), slightly better average ranking than AbuRaf's, still behind him.
- 3rd place: 66 pts (6.18), significantly better average ranking, still behind him.
- 2nd place: 67 pts (6.27), draw
- 1st place (very unlikely, but still, for the complete table :D): 68 pts (6.36)

I think this system is fair enough with the current EB compensation.
Title: Re: ZakStunts 8.0
Post by: CTG on November 22, 2013, 09:44:33 AM
For another oversimplfied example, we have two pipsqueaks: Stable Jim and Hectic John.

Stable Jim completes all the races, of course with a narrow ranking distribution:
4th - twice
5th - four times
6th - four times
7th - twice

According to the current system, he would have 90 pts from races, +6 from EB, -19 from the worst three races ---> SUM: 77 pts. His average ranking was 5.5.

Hectic John is an unpredictable pipsqueak, his performance (and participation rate) chart looks like a mad rollercoaster track.
1st - 2 races
2nd - 2 races
4th - 1 race
5th - 1 race
7th - 1 race
9th - 1 race
10th - 1 race
missing: 3 races

That's 76 pts from the races, no bonus/reduction. Average ranking: 4.56 - although it's a lot better than Jim's (containing even 4 podium places), he lost the duel because of missing three races.
Title: ZCT 149 is an awful track!
Post by: CTG on December 02, 2013, 02:35:35 PM
Will we ever see ZakStunts 9.0? :D
Title: Re: ZakStunts 8.0
Post by: zaqrack on January 04, 2014, 11:38:22 PM
As we practically have new code under the hood at several places, I have updated version to 9.0 :)