17 coaches online • Server time: 07:14
* * * Did you know? Up until now, 1479782 players have died on the pitch.
Log in
Recent Forum Topics goto Post Conceding v Goblins/...goto Post War Drums?goto Post Advice tabletop tour...
Shraaaag
Last seen 10 days ago
Overall
Experienced
Overall
Record
0/0/3
Win Percentage
0%
Archive

2021

2021-10-16 10:30:02
rating 6

2020

2020-08-09 15:33:40
rating 6

2019

2019-12-08 01:29:16
rating 5.9
2019-01-04 16:30:00
rating 6

2018

2018-01-12 00:10:21
rating 6

2017

2017-03-05 14:19:23
rating 5

2016

2016-07-07 19:19:26
rating 5.7
2016-05-06 18:39:15
rating 5.4
2016-04-14 00:01:38
rating 4.4

2015

2015-05-14 12:08:25
rating 5.5

2014

2014-03-28 15:37:14
rating 6
2014-02-15 16:51:17
rating 6

2013

2013-12-27 19:40:49
rating 6
2013-12-13 10:20:22
rating 6
2013-11-23 10:46:11
rating 5.7
2013-11-12 14:47:53
rating 5
2013-09-11 11:24:54
rating 4.1
2013-08-03 00:44:24
rating 5.1
2013-07-03 22:10:40
rating 5.7
2013-06-10 08:51:14
rating 5.7
2013-02-17 23:10:52
rating 5.9

2012

2012-11-19 19:52:17
rating 5.9
2012-11-17 19:56:25
rating 5.9
2012-11-01 21:03:09
rating 5.6
2012-08-30 23:27:59
rating 5.9
2012-06-01 09:31:06
rating 4.3
2012-04-06 11:34:58
rating 5.2
2012-02-23 18:58:53
rating 5.7
2012-02-21 19:55:43
rating 4.4
2012-02-12 12:22:41
rating 5.7

2011

2011-09-05 16:51:50
rating 5.5
2011-07-20 08:01:40
rating 5

2010

2010-08-14 22:50:10
rating 4.9
2010-03-19 16:14:05
rating 5.2
2010-02-17 12:22:32
rating 4.2

2009

2009-09-19 08:48:15
rating 5.4
2010-03-19 16:14:05
27 votes, rating 5.2
Shraaaag's FUMBBL scripts
I had this thread I was updating, but it started to look more like a blog than a thread. To make a long story short, future updates will be announced in my blog.

Link:
http://www.pvv.ntnu.no/~brill/fumbbl/ (NOTE: new link)

Description:
Several scripts fetches information from FUMBBL and formats it into tables.
* Match script: parses matches, and outputs a Top Player table.
* Group script: parses a group, and outputs a list of teams and tournaments in that group. For further use in the Match Script.
* Tournament script: parses a tournament, and fetches all matches in that tournament for use in the Match Script.
* Team script: can fetch all players of a team and make a top list, or it can fetch all matches played by the team, for use in the Match script.
* Player script: parses a team, and outputs all players (current and past) into a neatly formatted and colour-coded table.

Data sources:
* XML documents provided by Christer.
* (When the XML documents doesn't contain the needed information: HTML pages)

Script languages:
* PHP (server-side)
* jquery/javascript (client-side)
* ajax (asynchronous javascript)
* Smarty (template-engine)

Todo:
* Less HTML parsing, more XML parsing. As soon as more information is available through XML, existing features will be improved, and more features will be added. (DONE)
* Add choice of colour-codes for the player table (DONE)
* Find and add lacking player icons. (ie. tournament prize players, LRB5 players etc...)
* Add inactive player filter.
* Make League specific scripts (NBBM, E.L.F., BB7)
* Add a pie-making script.

Bugs:
Send me a PM if you find any.
Known Bugs:
* The script is sometimes unable to fetch an XML document, this might cause the script to retrieve corrupted data or time out early. This usually happen when submitting alot of matches.

Requests:
Send me a PM.

Note:
* The time limit set in the script is 300 seconds, but the server forces it down to less. Big queries will most likely time out. Reducing script time is being worked on.
* Your browser should be updated to the newest version, and you need javascript activated. Do not ask me to make it compatible with old browsers.
* You can copy/paste both the Top Players and the Team Players table. If you want your own icons, or change anything, feel free to do so. The code is HTML, so it will only work where you can use HTML (this means, among other things, it wont work in the forum, but will work in team bios).
Rate this entry
Comments
Posted by Woodstock on 2010-03-19 16:18:08
Rated 6 for super awesome! :D
Posted by Prinz on 2010-03-19 16:40:36
That is pretty damn cool
Posted by Rijssiej on 2010-03-19 16:44:14
Too bad it doesn't work on 1001 matches...
Posted by Shraaaag on 2010-03-19 17:25:52
"Too bad it doesn't work on 1001 matches..."

I'm guessing the script timed out. Allthough the script timeout limit is set to 300s, the server seems to overrule it and set it to 100s. Hopefully in the future the match reports are in XML, and would be much faster to fetch and parse.
Posted by nazgob on 2010-03-19 17:29:32
179 matches parsed - no problems.

I vote Shraaaag mayor of awseomeville.
Posted by Prinz on 2010-03-19 17:33:12
"Too bad it doesn't work on 1001 matches..."

I'm guessing the script timed out. Allthough the script timeout limit is set to 300s, the server seems to overrule it and set it to 100s. Hopefully in the future the match reports are in XML, and would be much faster to fetch and parse."

Actually, I don't think it's a timeout issue. I tried parsing about 900, and it actually finished it's run in 55 seconds, but still failed.
I tried one with 580 and it completed successfully in 92 seconds.
Posted by Prinz on 2010-03-19 17:39:38
There also seems to be a difference in if you add the team filter or not.

Tried 630 matches without filter team. Took 55 seconds but failed to come back with results.
Tried 630 matches with filter team. Took 93 seconds and came back with proper results.
Posted by Shraaaag on 2010-03-19 18:21:23
After abit more testing, it seemslike the script stops regardless of the time limit. Not entire sure why, but doing some debugging to find out exactly when the script fails.
Posted by Prinz on 2010-03-19 18:28:26
Actually had it go through with 916 entries and a filter team in. Took about 135 seconds and came back with proper results.
Hit the button again to do the same operation, and it came back blank after 2 minutes.
Posted by princevaliant on 2010-03-19 22:19:36
Really interesting...and handy.
Posted by zakatan on 2010-07-26 14:02:19
super amazing scripts!

thanks