Michael Bayne
6194948d56
Added toString().
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@434 c613c5cb-e716-0410-b11b-feb51c14d237
2007-09-12 02:16:19 +00:00
Michael Bayne
8e52521b20
Nix debug logging.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@433 c613c5cb-e716-0410-b11b-feb51c14d237
2007-09-11 22:24:21 +00:00
Michael Bayne
ea3ab0bf3f
Nix PercentileRecord.type allow gameId to be fiddled by derive class.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@432 c613c5cb-e716-0410-b11b-feb51c14d237
2007-09-11 21:47:06 +00:00
Michael Bayne
fe3db313bf
Grammar patrol.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@431 c613c5cb-e716-0410-b11b-feb51c14d237
2007-09-11 20:58:28 +00:00
Michael Bayne
93d65cfb61
Need to reset modified when saving rating for departing player.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@430 c613c5cb-e716-0410-b11b-feb51c14d237
2007-09-11 20:57:42 +00:00
Michael Bayne
8316c3f40c
Revamped the rating manager delegate to support party games and to only read
...
and write ratings once regardless of how many times the game is played.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@429 c613c5cb-e716-0410-b11b-feb51c14d237
2007-09-11 20:56:45 +00:00
Michael Bayne
9450dc5f2c
Don't complain about transitioning back to PRE_GAME.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@428 c613c5cb-e716-0410-b11b-feb51c14d237
2007-09-11 19:45:38 +00:00
Michael Bayne
2b81903c73
Zoiks, missed the parameterized type.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@427 c613c5cb-e716-0410-b11b-feb51c14d237
2007-09-11 18:39:05 +00:00
Michael Bayne
e95d0aa58f
Oops, we need 412 bytes to store a percentiler's data.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@426 c613c5cb-e716-0410-b11b-feb51c14d237
2007-09-11 02:20:30 +00:00
Michael Bayne
27c8eac61c
Added getRecordedCount().
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@425 c613c5cb-e716-0410-b11b-feb51c14d237
2007-09-11 01:50:24 +00:00
Michael Bayne
c08cad2642
Added tracking for percentiler modification; nixed some unneeded casts.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@424 c613c5cb-e716-0410-b11b-feb51c14d237
2007-09-11 00:36:35 +00:00
Michael Bayne
15dd17a308
Added SCHEMA_VERSION.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@423 c613c5cb-e716-0410-b11b-feb51c14d237
2007-09-10 23:17:19 +00:00
Michael Bayne
5dd8695a9a
Added support for tracking multiple per-game percentile distributions.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@422 c613c5cb-e716-0410-b11b-feb51c14d237
2007-09-10 20:44:50 +00:00
Michael Bayne
5392df8770
Make it possible for a player to report in when they arrive in a room but not
...
cause the game to start. In Whirled we'll have all players report in
immediately for games that want to handle playerReady() themselves so that they
can do whatever they want before the game starts and then finally start it with
a call to playerReady() from all the players.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@417 c613c5cb-e716-0410-b11b-feb51c14d237
2007-08-24 23:40:21 +00:00
Michael Bayne
8f3293eb0b
Don't try to rate players if there are no winners. Otherwise everyone is rated
...
as losing.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@411 c613c5cb-e716-0410-b11b-feb51c14d237
2007-08-22 00:19:02 +00:00
Michael Bayne
f1a94dfac9
More tidying.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@410 c613c5cb-e716-0410-b11b-feb51c14d237
2007-08-22 00:14:26 +00:00
Michael Bayne
a6398a2d60
Oops missed a spot.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@409 c613c5cb-e716-0410-b11b-feb51c14d237
2007-08-22 00:10:59 +00:00
Michael Bayne
f6481922f6
Tidied things up, avoid doing things on the invoker thread that should be done
...
on the dobj thread.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@408 c613c5cb-e716-0410-b11b-feb51c14d237
2007-08-22 00:09:57 +00:00
Michael Bayne
abeac5d1b2
Allow rating records to be deleted (we'll probably want a delete for just the
...
game and one for just the user as well but I'll add those later).
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@406 c613c5cb-e716-0410-b11b-feb51c14d237
2007-08-21 21:50:11 +00:00
Par Winzell
4567264b91
We're not going to do this INDEX: comment thing.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@404 c613c5cb-e716-0410-b11b-feb51c14d237
2007-08-16 21:53:47 +00:00
Michael Bayne
b4e207eeae
columns -> fields.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@401 c613c5cb-e716-0410-b11b-feb51c14d237
2007-08-13 23:21:16 +00:00
Par Winzell
e386d6c3a0
Add an index, document index use for Depot operations. Do you think this is worthwhile? We should really just about never see a non-indexed query during normal production use and one way to maintain that discipline is with a comment line like this.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@399 c613c5cb-e716-0410-b11b-feb51c14d237
2007-08-07 18:05:44 +00:00
Michael Bayne
09ad0ca87d
Updates to reflect SpeakProvider refactoring.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@395 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-31 21:05:36 +00:00
Michael Bayne
2885a2b41c
Use a PersistenceContext to initialize the RatingRepository.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@380 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-26 00:22:38 +00:00
Michael Bayne
505d75ca6c
Note our persistent record classes.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@379 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-25 23:48:10 +00:00
Michael Bayne
c826583754
More Depot NWO.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@377 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-25 21:07:35 +00:00
Mike Thomas
e6b104f688
Don't trigger that the players have all arrived if it happens after the game has already started. This could previously occur if all the participants of the game leave and come back (without the game shutting down, possibly due to watchers).
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@376 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-25 16:33:11 +00:00
Michael Bayne
e03ddd71e8
Updates to reflect new BodyObject.location change. We now have a ScenePlace and
...
ScenedBodyObject goes away.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@372 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-21 00:47:00 +00:00
Dave Hoover
8c88195b8b
Now that games clear out their player oids when they finish, card games
...
need to keep around a copy to confirm that somebody is allowed to request
a rematch, and then pull everyone into it.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@368 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-18 16:39:50 +00:00
Dave Hoover
6958d99563
Widen.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@367 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-18 00:01:41 +00:00
Dave Hoover
755b835c93
Christmas comes but once a year, but svn keyword substitution day comes
...
whenever the urge strikes!
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@362 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-14 00:27:03 +00:00
Par Winzell
872d13660c
If there's nothing to query, don't query.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@352 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-10 16:42:13 +00:00
Par Winzell
48bde23d17
Don't rate guests, and don't include guests in the rating adjustments for persistent players. Generally more robust code.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@349 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-06 01:07:03 +00:00
Par Winzell
3484e8cd1f
Let the rating repository accept integers rather than Names, and tweak the delegate accordingly. Hrm, does this handle guests correctly, actually?
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@348 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-05 23:18:44 +00:00
Michael Bayne
4628b8fdff
Move UserIdentifier up to GameManager where it can be used by other services.
...
Revamped the way the GameCookieManager does its business.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@346 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-05 19:50:33 +00:00
Par Winzell
a3d1d0b7cb
First draft of rating support in Vilya. The algorithm implementation was stolen from Bang and mutated. This implementation assumes that the subclasser can always map Name to an integer user identifier. If this is not the case we'll need to do something tricky with subclassed generic RatingRecords or whatever.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@342 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-05 15:06:49 +00:00
Dave Hoover
6b1066169f
Tabs -> spaces
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@331 c613c5cb-e716-0410-b11b-feb51c14d237
2007-06-26 00:07:57 +00:00
Michael Bayne
338e9e789b
gameDidEnd():
...
Clear out _playerOids when a game ends so that all players must re-call
playerReady() to restart the game.
playersAllhere();
Start the game if all players call playerReady() when the game is not in play
(previously this only happened if the game was in the pre-game state).
I know of one place this will affect Yohoho which I will fix, but if there's
anywhere else where we are restarting an ended game, fixes will be needed.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@329 c613c5cb-e716-0410-b11b-feb51c14d237
2007-06-25 20:38:45 +00:00
Mike Thomas
a22a6e5551
Ensure we've registered our receiver before we call our superclass's function, since this queues up a playerReady and it's important that our addToReceivers event is queued up before that so the game doesn't start before we're ready to go.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@319 c613c5cb-e716-0410-b11b-feb51c14d237
2007-06-21 00:10:25 +00:00
Michael Bayne
c4fbf34f44
We need to sort card sprites using a comparator if we want to sort them not
...
based on render order as we use render order. Also some widening.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@301 c613c5cb-e716-0410-b11b-feb51c14d237
2007-05-15 18:03:54 +00:00
Michael Bayne
84080ecb61
Naturally order card sprites by their card values.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@300 c613c5cb-e716-0410-b11b-feb51c14d237
2007-05-15 17:55:33 +00:00
Michael Bayne
7538ddcc7f
Hold on to your seats kids, it's another installment of "A Boy and His
...
Blowtorch". Refactored GameConfig and the EZ game framework, cleaning up some
old cruft from GameConfig (which will break other projects and which I'll fix
ASAP) and moved the XML based configuration system from ToyBox into EZGame.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@286 c613c5cb-e716-0410-b11b-feb51c14d237
2007-05-01 22:26:25 +00:00
Dave Hoover
7c28390287
Allow GameManagers to trivially override the message displayed when someone's
...
game ends.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@282 c613c5cb-e716-0410-b11b-feb51c14d237
2007-04-19 03:19:59 +00:00
Ray Greenwell
b75acdf89e
- Expanded the user listener to listen for users to become disconnected
...
and automatically removed them from any pending tables.
- Always use the user listener now, even if we're not in a place.
So also ensure that notePlayerRemoved() is called as a result of bodyLeft()
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@281 c613c5cb-e716-0410-b11b-feb51c14d237
2007-04-17 00:26:10 +00:00
Michael Bayne
94384e8fc7
Don't note removed on empty slots.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@276 c613c5cb-e716-0410-b11b-feb51c14d237
2007-04-10 17:30:28 +00:00
Michael Bayne
d1672d7c79
Use notePlayerRemoved() so that we remove our object death listener
...
appropriately.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@275 c613c5cb-e716-0410-b11b-feb51c14d237
2007-04-10 17:27:02 +00:00
Michael Bayne
97a8417d4e
Listen for object death on table participants when we're not in a place and
...
can't rely on hearing that they left the place to clean up after them.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@274 c613c5cb-e716-0410-b11b-feb51c14d237
2007-04-10 17:05:48 +00:00
Michael Bayne
8193a87ff2
Freak not out if we're shutdown before all of our games are ended.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@265 c613c5cb-e716-0410-b11b-feb51c14d237
2007-03-23 21:52:56 +00:00
Michael Bayne
f62498de20
Idempotency is always handy.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@264 c613c5cb-e716-0410-b11b-feb51c14d237
2007-03-23 20:45:58 +00:00
Nathan Curtis
e1ca18f8ed
add getter for our currently seated table
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@260 c613c5cb-e716-0410-b11b-feb51c14d237
2007-03-22 18:45:56 +00:00