League Manager Software.

However you play online - Java, Vassal, Email, Cyanide etc - talk about it here.
This is also the place for discussing the various tools for managing leagues, teams and so on.

Moderator: TFF Mods

User avatar
christer
Star Player
Star Player
Posts: 565
Joined: Sat Jun 08, 2002 8:54 am
Location: Stockholm, Sweden
Contact:

Post by christer »

Update

I have begun working on the League Manager application.
Here are a few key features it will support:

Multiple scheduling systems:
- Round Robin
- Open
- Cup
- Monrad (which I believe is the same as "Swiss")

Multiple rating algorithms:
- Accumulated Points (x for win, y for draw, z for loss)
- Elo (Or more specifically, the variant the WCCF (world correspondence chess federation) use, same as Dave's spreadsheet)

At this point I have some of these features up and running and when I have everything working as I want it, I'll discuss integration with SkiJunkie. The resulting file format will most likely be open, so that if Ronald and Tom wants, they can implement an output file to be imported as well. Open formats are nice...

Anyway.. I'll get back to you when this this is ready for testing.

-- Christer

Reason: ''
User avatar
SixFootDwarf
Experienced
Experienced
Posts: 96
Joined: Mon Jun 10, 2002 1:03 pm
Location: Toronto, Canada
Contact:

Post by SixFootDwarf »

Where can we get this cool new thing?

Reason: ''
sean newboy
Legend
Legend
Posts: 4805
Joined: Thu Jan 01, 1970 12:00 am
Location: West Palm Beach, florida
Contact:

Post by sean newboy »

At Ronco.com. How much would u pay for this app?
299.99 NO 199.00 NO its available for 1.99 but wait theres more , after Ron Popeil shows u just what it can do . . .

Reason: ''
Hermit Monk of the RCN
Honourary Member of the NBA!
NAF Member #4329
Vault = putting in a 4 barrel Holley because the spark plugs need gapping.
User avatar
christer
Star Player
Star Player
Posts: 565
Joined: Sat Jun 08, 2002 8:54 am
Location: Stockholm, Sweden
Contact:

Post by christer »

Where can we get this cool new thing?
Nowhere yet. I'm hoping to have a beta version ready in a week or so.

-- Christer

Reason: ''
User avatar
SkiJunkie
Veteran
Veteran
Posts: 272
Joined: Mon Aug 20, 2001 9:21 pm

Post by SkiJunkie »

Cool. What lang are you writing it in? Just curious.

Reason: ''
User avatar
christer
Star Player
Star Player
Posts: 565
Joined: Sat Jun 08, 2002 8:54 am
Location: Stockholm, Sweden
Contact:

Post by christer »

My language of choice is usually Java. I like the platform independancy (or well, almost independant.. I've run into a couple of issues before, most notably thread scheduling, which differ a bit between platforms) and the general beauty of it...

And yes, that's what I'm writing this project in as well...

-- Christer

Reason: ''
User avatar
christer
Star Player
Star Player
Posts: 565
Joined: Sat Jun 08, 2002 8:54 am
Location: Stockholm, Sweden
Contact:

Post by christer »

Ok, Here's a teaser of the program.. Note that this is pre-alpha.. No schedule creation, no load or save, most styles don't work.
You can add coaches, teams and matches. The program will allow you to see the current table as well.. If you choose "Open" style, it will sort according to your "ranking algorithm" choice.

http://trollcave.no-ip.org/LeagueManage ... anager.jar

Run with "java -jar LeagueManager.jar". If you're using windows, you might be able to double-click on it as well... Developed using java2 1.4. Might work with earlier versions.

-- Christer

Reason: ''
User avatar
neoliminal
Ex-Mega Star, now just a Super Star
Ex-Mega Star, now just a Super Star
Posts: 1472
Joined: Thu Jan 01, 1970 12:00 am
Location: Utrecht
Contact:

Post by neoliminal »

Not sure what I'm doing wrong, but I can't get it to run. :cry:

Reason: ''
User avatar
christer
Star Player
Star Player
Posts: 565
Joined: Sat Jun 08, 2002 8:54 am
Location: Stockholm, Sweden
Contact:

Post by christer »

Hmm.. Weird.. Try running it from the console and tell me what it says..
Also, try "java -version" and tell me what that says as well..

-- Christer

Reason: ''
User avatar
SkiJunkie
Veteran
Veteran
Posts: 272
Joined: Mon Aug 20, 2001 9:21 pm

Post by SkiJunkie »

This is what I get when trying to run the jar like this:

java -jar LeagueManager.jar

Exception in thread "main" java.lang.NoSuchMethodError
at LeagueManager.<init>(LeagueManager.java:11)
at Main.main(Main.java:3)

Then the jvm hangs and I have to kill it.

This is what I get when I unzip the jar and try running the main class directly like this:

java Main

Exception in thread "main" java.lang.NoClassDefFoundError: LeagueManager
at Main.main(Main.java:3)

Of course I am running jre 1.3.1_01 since I can't upgrade to 1.4 yet because of work.

Hope this helps.

Reason: ''
User avatar
christer
Star Player
Star Player
Posts: 565
Joined: Sat Jun 08, 2002 8:54 am
Location: Stockholm, Sweden
Contact:

Post by christer »

Very weird bug. Never seen anything like it before. The program runs under the 1.4 release though. Tested on another computer...

Anyway. I compiled it again, targetting it to 1.3.. Can you try and see if it works? If it doesn't I'll just get a 1.3 jdk and compile it using that...

Here's the URL to the 1.3 compiled version:
http://trollcave.no-ip.org/LeagueManage ... ager13.jar

-- Christer

Reason: ''
User avatar
SkiJunkie
Veteran
Veteran
Posts: 272
Joined: Mon Aug 20, 2001 9:21 pm

Post by SkiJunkie »

Still doesn't work. Exactly the same problem. This is a good example why my company doesn't move to jdk 1.4 yet. Sun changed a lot under the covers, including a bunch of the jar caching stuff we rely upon. Not to say the jdk 1.4 is bad, just that code compiled with it doesn't always run under the jre 1.3.

The only thing I've seen that you have to worry about under jdk 1.3 compiled code running under the 1.4 jre is the virtual key constants. Some of them have apparently changed. <ctrl><enter> for example. :)

Is this thing going to run as a server where people (or programs) can log in and make secure changes without needing to be on the computer where it is running? Will it even manage rosters or does it just keep track of match sceduling? Just curious.

Reason: ''
User avatar
christer
Star Player
Star Player
Posts: 565
Joined: Sat Jun 08, 2002 8:54 am
Location: Stockholm, Sweden
Contact:

Post by christer »

You actually can make the code check the java vm version and set keycode checking based on that.. :)

In the first few versions, it won't handle team rosters. I might add that later on though.

The application is not meant to be running as a server.. I was thinking of it more as a tool for a league commisioner to generate schedules, report matches and generate league standings and statistics..

I'll just download the 1.3 jdk and see if I can reproduce the bug. If not, I'll compile it under 1.3 and post a working version.. :)

-- Christer

Reason: ''
User avatar
SkiJunkie
Veteran
Veteran
Posts: 272
Joined: Mon Aug 20, 2001 9:21 pm

Post by SkiJunkie »

>You actually can make the code check the java vm version
>and set keycode checking based on that..

We had to do that for the java caching differences in 1.3 and 1.4.

Problem with my app is that I don't have 1.4 so I don't know what the new key codes are for <ctrl><enter>. :( Thus I don't know what to check for when the version is 1.4.

Reason: ''
User avatar
christer
Star Player
Star Player
Posts: 565
Joined: Sat Jun 08, 2002 8:54 am
Location: Stockholm, Sweden
Contact:

Post by christer »

Problem with my app is that I don't have 1.4 so I don't know what the new key codes are for <ctrl><enter>. Thus I don't know what to check for when the version is 1.4.
Isn't that info in the api? They have it on java.sun.com.. :) If not, just point me in the right direction and I'll check it out.. Have both installed here now...

I figured out why my app didn't run on 1.3 though.. I had used a small method that was introduced into java.awt.Toolkit called getScreenInsets.. Added a tiny little if block around it, recompiled and voilà, runs just fine under 1.3 :)

Anyway, here's the new and improved version:
http://trollcave.no-ip.org/LeagueManage ... anager.jar

Reason: ''
Post Reply