LeagueManager source released.
Moderator: TFF Mods
- christer
- Star Player
- Posts: 565
- Joined: Sat Jun 08, 2002 8:54 am
- Location: Stockholm, Sweden
- Contact:
LeagueManager source released.
I have decided to drop all support for my LeagueManager due to not having the time to answer questions. But in order for those of you who are using it, I decided to release the sources so you can figure out the undocumented features for yourself.
Find it at the LeagueManager official homepage.
-- Christer
Find it at the LeagueManager official homepage.
-- Christer
Reason: ''
FUMBBL - http://fumbbl.com
I have continued to develop LeagueManager. Running jars with templates and source can be found at
http://hem.bredband.net/b158319/index.html
I do not use LM mainly for leagues, but to keep track of my private teams which I play against friend just for fun. But the League functionallity should of course work! Feel free to contact me with questions and/or requests and I will see what can be done.
http://hem.bredband.net/b158319/index.html
I do not use LM mainly for leagues, but to keep track of my private teams which I play against friend just for fun. But the League functionallity should of course work! Feel free to contact me with questions and/or requests and I will see what can be done.
Reason: ''
- SkiJunkie
- Veteran
- Posts: 272
- Joined: Mon Aug 20, 2001 9:21 pm
Does this league manager still rely on the .res files from jbb? I was thinking about dropping that sometime in the near future as I didn't think anything used it anymore. If it does, do you have plans to parse the newer .xml results file instead?
Reason: ''
--SkiJunkie
________________________________
Java BBowl - [url]http://www.geocities.com/javabbowl[/url]
Mirror - [url]http://javabbowl.no-ip.org[/url]
Mirror - [url]http://home.austin.rr.com/javabbowl[/url]
________________________________
Java BBowl - [url]http://www.geocities.com/javabbowl[/url]
Mirror - [url]http://javabbowl.no-ip.org[/url]
Mirror - [url]http://home.austin.rr.com/javabbowl[/url]
I do use the res file, but I can use a xslt to transform the xml into whatever I need. Someday, somehow I WILL convert the dataformat.
And if anyone else ever need the old res files, I can share my xslt, here and now: (Reservation for changes in the jbbaxl format!!!!)
And if anyone else ever need the old res files, I can share my xslt, here and now: (Reservation for changes in the jbbaxl format!!!!)
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:output method="text"/>
<xsl:template match="report">--BeginProperty Match<xsl:apply-templates select="result"/>
IGate : <xsl:value-of select="gate"/>
BConceded : <xsl:value-of select="conceded"/><xsl:if test="string(conceded) = string('')">false</xsl:if>
--EndProperty
</xsl:template>
<xsl:template match="result">
RTeam<xsl:value-of select="position()"/> : t<xsl:value-of select="@team"/>
IRating<xsl:value-of select="position()"/> : <xsl:value-of select="rating"/>
IScore<xsl:value-of select="position()"/> : <xsl:value-of select="score"/>
ICompletions<xsl:value-of select="position()"/> : <xsl:if test="string(completions) = string('')">0</xsl:if><xsl:value-of select="completions"/>
IInterceptions<xsl:value-of select="position()"/> : <xsl:if test="string(interceptions) = string('')">0</xsl:if><xsl:value-of select="interceptions"/>
IBH<xsl:value-of select="position()"/> : <xsl:if test="string(casualties/@bh) = string('')">0</xsl:if><xsl:value-of select="casualties/@bh"/>
ISI<xsl:value-of select="position()"/> : <xsl:if test="string(casualties/@si) = string('')">0</xsl:if><xsl:value-of select="casualties/@si"/>
IRIP<xsl:value-of select="position()"/> : <xsl:if test="string(casualties/@k) = string('')">0</xsl:if><xsl:value-of select="casualties/@k"/>
IWinnings<xsl:value-of select="position()"/> : <xsl:value-of select="winnings"/>
IFFchange<xsl:value-of select="position()"/> : <xsl:value-of select="fanfactor"/>
ILuck<xsl:value-of select="position()"/> : <xsl:value-of select="luck"/>
<xsl:apply-templates select="players"/>
PlayerStats<xsl:value-of select="position()"/> : ModelData</xsl:template>
<xsl:template match="players">
--BeginModel PlayerStats<xsl:apply-templates select="performance"/>
--EndModel
</xsl:template>
<xsl:template match="performance"><xsl:if test="string(injury/effect) != string('') or string(completions) != string('') or string(touchdowns) != string('') or string(interceptions) != string('') or string(casualties) != string('') or string(mvps) != string('')">
--BeginProperty PlayerStats
IPlayer : <xsl:value-of select="@player"/>
SInj : <xsl:value-of select="injury/effect"/>
ICmp : <xsl:if test="string(completions) = string('')">0</xsl:if><xsl:value-of select="completions"/>
ITD : <xsl:if test="string(touchdowns) = string('')">0</xsl:if><xsl:value-of select="touchdowns"/>
IInt : <xsl:if test="string(interceptions) = string('')">0</xsl:if><xsl:value-of select="interceptions"/>
ICas : <xsl:if test="string(casualties) = string('')">0</xsl:if><xsl:value-of select="casualties"/>
IMVP : <xsl:if test="string(mvps) = string('')">0</xsl:if><xsl:value-of select="mvps"/>
--EndProperty</xsl:if></xsl:template>
</xsl:stylesheet>
Reason: ''
-
- Rookie
- Posts: 27
- Joined: Sun Jan 30, 2005 11:48 am
- Location: Urbandale, IA
Mattias-
I downloaded the tool from your site but cannot locate any executable file? It has all the support files but I can't find anything to launch. I'm sure I'm just overlooking something simple, but I've spent over 2 hours on it and decided to swallow my pride and just ask. Any help you can provide would be deeply appreciated.
Also thanks to you for continuing the support on this program and to Christer (hope I've got that right) for the design of it in the first place.
I downloaded the tool from your site but cannot locate any executable file? It has all the support files but I can't find anything to launch. I'm sure I'm just overlooking something simple, but I've spent over 2 hours on it and decided to swallow my pride and just ask. Any help you can provide would be deeply appreciated.
Also thanks to you for continuing the support on this program and to Christer (hope I've got that right) for the design of it in the first place.
Reason: ''
-
- Rookie
- Posts: 1
- Joined: Thu Feb 17, 2005 10:12 am
You need to have java installed, obviously. Get it from http://java.sun.com
Then double-click on the file with the .jar extension
Then double-click on the file with the .jar extension
Reason: ''
-
- Rookie
- Posts: 27
- Joined: Sun Jan 30, 2005 11:48 am
- Location: Urbandale, IA
- DoubleSkulls
- Da Admin
- Posts: 8219
- Joined: Wed May 08, 2002 12:55 pm
- Location: Back in the UK
- Contact: