-
I assume that you're asking if it's possible to have a computer player that participates in games.
Currently, as downloaded from SourceForge, Jogre does not have infrastructure to handle computer players. And none of the games available in the SourceForge repository have computer player support.
However, there was a web site (which I believe is now defunct) that modified the Jogre engine...
2009-10-16 05:41:36 UTC in Java Online Gaming Real-time Engine
-
rwalter42 committed patchset 1779 of module jogre to the Java Online Gaming Real-time Engine CVS repository, changing 7 files.
2009-09-24 03:58:57 UTC in Java Online Gaming Real-time Engine
-
Iori,
You'll need to update your local files to get the latest source from CVS from sourceforge to get my updates; there's no package with this change yet.
Once you get it, you should find ...jogre/server/src/org/jogre/server/IRatingSystem.java. If you have that file, then you'll have the other changes to make it work.
-Richard.
2009-09-24 01:10:25 UTC in Java Online Gaming Real-time Engine
-
I just checked in an update that does this. (It was somewhat easier than I thought it would be.)
It's basically what I wrote above, except for step 4. Since the ratings system for a game should be static, there's no reason to keep calling getRatingSystem() each time a game ends. So, instead I've added a constructor for the ServerController that takes a parameter which is the rating system...
2009-09-22 05:37:08 UTC in Java Online Gaming Real-time Engine
-
rwalter42 committed patchset 1778 of module jogre to the Java Online Gaming Real-time Engine CVS repository, changing 8 files.
2009-09-22 05:13:22 UTC in Java Online Gaming Real-time Engine
-
Iori,
Thanks for the response. So, you do want to manage your own ratings system rather use the ELO system provided by the Jogre system.
I've had a chance to look at the code some and in order to accomplish that, I think that we need to rearrange how the ratings are currently done. However, I don't think that it will be too bad to do.
Currently, the module...
2009-09-22 01:38:59 UTC in Java Online Gaming Real-time Engine
-
Iori,
Sorry about not responding sooner. I wanted to be able to look over the code before answering, but it's been a busy week where I didn't get a chance. But I also don't want to thinking that I'm ignoring you.
By managing the scores, are you talking about the player ratings? These are the numbers that are displayed next to a player's name in the lobby window and start at 1200 and go...
2009-09-21 17:45:16 UTC in Java Online Gaming Real-time Engine
-
Gladi,
I don't believe that there is any functional difference between the owner and a non-owner of a table currently. I don't know if Bob had something in mind for keeping track of the number of tables that were created by a specific player other than placing a limit on the amount of server resources that could be consumed by an individual player.
However, I think that you do make a good...
2009-08-07 03:08:23 UTC in Java Online Gaming Real-time Engine
-
Ok, I just checked in a fix for this. The methods that deal with message parsing are synchronized, so I believe that the simple fix of dropping messages that are going to non-existent clients should fix the problem. (At least, when I duplicate the steps to reproduce this with the fixed code, the server no longer takes the null pointer exception.)
You'll have to check out and build from the...
2009-08-07 02:55:13 UTC in Java Online Gaming Real-time Engine
-
rwalter42 committed patchset 1777 of module jogre to the Java Online Gaming Real-time Engine CVS repository, changing 2 files.
2009-08-07 02:47:48 UTC in Java Online Gaming Real-time Engine