Dave Hoover
cf1ad4ac4d
Prune trailing whitespace & foreachize loops.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@840 c613c5cb-e716-0410-b11b-feb51c14d237
2009-05-23 02:00:23 +00:00
Dave Hoover
3c5c5e6ba5
A healthy swig of google-collections
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@839 c613c5cb-e716-0410-b11b-feb51c14d237
2009-05-23 01:33:28 +00:00
Dave Hoover
1bfaa30761
Use NamedAttributeListener
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@838 c613c5cb-e716-0410-b11b-feb51c14d237
2009-05-19 19:31:31 +00:00
Ray Greenwell
75fdd4b2fc
The UserIdentifier is global. Cut through the crap.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@837 c613c5cb-e716-0410-b11b-feb51c14d237
2009-05-02 01:24:20 +00:00
Michael Bayne
b0dcb25553
Don't let toBucketIndex freak out if someone requests the percentile for a
...
value out of our seen range. That's OK. Also switch to PrintWriter from
PrintStream when dumping.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@834 c613c5cb-e716-0410-b11b-feb51c14d237
2009-05-01 22:57:37 +00:00
Michael Bayne
0fe7c93745
Update comment and throws based on what I ended up going with.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@833 c613c5cb-e716-0410-b11b-feb51c14d237
2009-05-01 21:02:09 +00:00
Michael Bayne
cfe2e3126a
Publish our table after we create the game if we're going to immediately create
...
the game. Also factor that out into tableCreated() for easy subclass listening.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@832 c613c5cb-e716-0410-b11b-feb51c14d237
2009-05-01 21:01:24 +00:00
Michael Bayne
da05e8a781
Added getTableCount().
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@831 c613c5cb-e716-0410-b11b-feb51c14d237
2009-05-01 20:52:23 +00:00
Michael Bayne
065d0e243f
Add support for differentiating properly between interesting and not
...
interesting tables and not publishing the not interesting tables in the table
lobby object.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@830 c613c5cb-e716-0410-b11b-feb51c14d237
2009-05-01 20:48:52 +00:00
Michael Bayne
e84a3fa3d7
Futureproofed.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@829 c613c5cb-e716-0410-b11b-feb51c14d237
2009-05-01 19:36:59 +00:00
Michael Bayne
88ccd59b35
Some log tidying up.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@828 c613c5cb-e716-0410-b11b-feb51c14d237
2009-05-01 17:28:54 +00:00
Michael Bayne
a4a42673ee
Add a brief method for getting our id.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@827 c613c5cb-e716-0410-b11b-feb51c14d237
2009-05-01 17:21:29 +00:00
Ray Greenwell
f0b800d75c
Drive-by logging varargification.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@825 c613c5cb-e716-0410-b11b-feb51c14d237
2009-04-28 21:57:02 +00:00
Ray Greenwell
7c028fa977
Added back a form of getPlayerPersistentId() that takes a BodyObject, for convenience.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@819 c613c5cb-e716-0410-b11b-feb51c14d237
2009-04-28 03:12:58 +00:00
Michael Bayne
74fb88002b
Obtain our persistent id from our name, not the whole object.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@816 c613c5cb-e716-0410-b11b-feb51c14d237
2009-04-21 20:48:48 +00:00
Ray Greenwell
d873854578
Moved UserIdentifier to data.
...
We'll be using it on the client as well, because I'm going to have
to finally pay down some code debt (and do something actually
useful for the creators): expose memberIds to the whirled screen-game api.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@815 c613c5cb-e716-0410-b11b-feb51c14d237
2009-04-20 23:02:10 +00:00
Michael Bayne
c38b709b6a
Use handy new addDispatcher().
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@814 c613c5cb-e716-0410-b11b-feb51c14d237
2009-04-20 17:56:44 +00:00
Michael Bayne
3b70248329
Changed a bunch of Thread.dumpStack() calls into stack traces properly logged
...
via the logging system.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@806 c613c5cb-e716-0410-b11b-feb51c14d237
2009-03-24 18:47:15 +00:00
Mike Thomas
139e900b44
We cannot initialize these intervals until the init() function, otherwise _omgr is null and we end up getting things called on the wrong thread.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@805 c613c5cb-e716-0410-b11b-feb51c14d237
2009-03-17 18:04:31 +00:00
Dave Hoover
20657dbaff
Remove trailing whitespace throughout, and then widen/vararg/foreachize some
...
card game stuff that we were looking at.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@804 c613c5cb-e716-0410-b11b-feb51c14d237
2009-03-17 17:46:50 +00:00
Michael Bayne
6c3c435c7c
Report our max and min when we compute a bogus bucket index.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@802 c613c5cb-e716-0410-b11b-feb51c14d237
2009-02-19 17:06:54 +00:00
Jamie Doornbos
cded198b22
Got rid of rogue dumpStack and varargified
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@798 c613c5cb-e716-0410-b11b-feb51c14d237
2009-01-09 21:49:13 +00:00
Michael Bayne
a8f4e9fc9b
Updated to new Depot world order.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@797 c613c5cb-e716-0410-b11b-feb51c14d237
2009-01-08 02:10:42 +00:00
Jamie Doornbos
b748974845
Once a table is purged, stop listening to the game object, otherwise we get warnings when the game goes away or the occupants change. purgeTable is called from a number of places, apparently sometimes before unmapTable
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@796 c613c5cb-e716-0410-b11b-feb51c14d237
2009-01-06 01:24:55 +00:00
Par Winzell
395950b3f2
Add a method for deleting precisely one percentiler of a given game mode.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@788 c613c5cb-e716-0410-b11b-feb51c14d237
2008-12-07 18:57:55 +00:00
Michael Bayne
2c8c193705
Tuple.create -> Tuple.newTuple.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@782 c613c5cb-e716-0410-b11b-feb51c14d237
2008-11-18 21:15:57 +00:00
Michael Bayne
c83064c2c2
Find Depot in its new home.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@781 c613c5cb-e716-0410-b11b-feb51c14d237
2008-11-16 07:46:19 +00:00
Jamie Doornbos
2d427dc407
Fixed edge case where the table and game go out of sync if the user manages to leave a table after the game starts... probably not too hard on a busy server or slow connection. This was the cause of 547 "WARN TableManager: No body to table mapping to clear?" lines in yesterday's log
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@780 c613c5cb-e716-0410-b11b-feb51c14d237
2008-11-13 23:26:04 +00:00
Mike Thomas
3fff321829
Allow derived classes to work with more specifically typed arrays if they like.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@769 c613c5cb-e716-0410-b11b-feb51c14d237
2008-10-28 23:47:36 +00:00
Michael Bayne
83ae9ccbd6
Added support for tracking multiple percentilers for a particular game.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@766 c613c5cb-e716-0410-b11b-feb51c14d237
2008-10-24 01:34:26 +00:00
Michael Bayne
3afd325c31
Whatdyaknow, INVALID_TABLE_POSITION was actually being used for something
...
sensible before it was coopted to report totally unrelated errors.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@765 c613c5cb-e716-0410-b11b-feb51c14d237
2008-10-23 20:48:58 +00:00
Michael Bayne
244b9b22b8
Use error message names that make sense. Differentiate between not allowing
...
something because the requester is not the owner of the table and trying to
boot onesself from the table.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@764 c613c5cb-e716-0410-b11b-feb51c14d237
2008-10-23 20:20:14 +00:00
Dave Hoover
830653a449
Don't let us create a percentiler with an insane range, and carp if
...
we expand to one. I'm half tempted to also try and cap the range to something
less broken, but the bug I had that caused insanity involved recording a value of
infinity, and there's not a hell of a lot I can do to sanely recover in that
case (other than throw it away, I suppose). So let's yell a little bit
and keep from hosing us quite as much as I was when I wound up with crazy stuff
persisted to my ratings table.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@761 c613c5cb-e716-0410-b11b-feb51c14d237
2008-10-20 22:41:59 +00:00
Mike Thomas
8b737a10fd
Allow a particular random object to be specified when shuffling the deck.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@760 c613c5cb-e716-0410-b11b-feb51c14d237
2008-10-17 23:33:58 +00:00
Michael Bayne
57cefe5619
Report table creation failure via chat.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@759 c613c5cb-e716-0410-b11b-feb51c14d237
2008-10-14 22:15:37 +00:00
Charlie Groves
5dcafa47ae
Add getDisplayName for names to be shown in the client.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@755 c613c5cb-e716-0410-b11b-feb51c14d237
2008-10-03 00:53:39 +00:00
Charlie Groves
9cd03095a9
Whoops, didn't mean to add this guy
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@754 c613c5cb-e716-0410-b11b-feb51c14d237
2008-10-02 00:29:47 +00:00
Charlie Groves
5a270c00d0
Genericize
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@753 c613c5cb-e716-0410-b11b-feb51c14d237
2008-10-02 00:11:26 +00:00
Mike Thomas
3c77f74a8a
Allow components to be added spanning the width of the configurator.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@752 c613c5cb-e716-0410-b11b-feb51c14d237
2008-10-01 22:30:54 +00:00
Dave Hoover
8b03be111e
Imports cleanup
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@751 c613c5cb-e716-0410-b11b-feb51c14d237
2008-09-26 17:36:37 +00:00
Michael Bayne
223ccb86a1
Allow a joiner to say "any available seat". Also attempt to report errors in
...
the TableDirector (in Flash) even though none of that is actually wired up in
MSOY.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@748 c613c5cb-e716-0410-b11b-feb51c14d237
2008-09-24 00:56:51 +00:00
Dave Hoover
7d160194a3
Random javadoc fixes I have kicking around.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@747 c613c5cb-e716-0410-b11b-feb51c14d237
2008-09-22 20:39:02 +00:00
Dave Hoover
8b0488b3c9
Javadoc warnings cleanups.
...
Note: this involves generated code from a samskivert patch I only just sent to mdb,
but he's in a meeting, so that won't show up for a little.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@741 c613c5cb-e716-0410-b11b-feb51c14d237
2008-09-12 18:04:39 +00:00
Michael Bayne
36c3607585
Updated to use new DatabaseException.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@738 c613c5cb-e716-0410-b11b-feb51c14d237
2008-09-03 16:20:32 +00:00
Michael Bayne
24455b4ab8
Allow filtering of top-ratings list by recency of play.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@737 c613c5cb-e716-0410-b11b-feb51c14d237
2008-09-02 19:34:54 +00:00
Charlie Groves
f862f5363f
Javadoc fixery
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@735 c613c5cb-e716-0410-b11b-feb51c14d237
2008-08-21 01:52:03 +00:00
Bruno Garcia
a72c810193
Boot by Name instead of table position
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@730 c613c5cb-e716-0410-b11b-feb51c14d237
2008-08-15 23:37:46 +00:00
Michael Bayne
e149bbb05b
Formatting formatting.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@729 c613c5cb-e716-0410-b11b-feb51c14d237
2008-08-12 01:52:53 +00:00
Charlie Groves
5982369b2a
Allow the initial bucket range to be passed to the percentiler on creation. As long as the recorded values stay within the range, the percentiler won't do its 20% greater than range expansion, so the values reported by getRequiredScore will reflect the initial min-max.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@728 c613c5cb-e716-0410-b11b-feb51c14d237
2008-08-12 01:45:59 +00:00
Charlie Groves
8f7b90d131
The buckets start at min, so it needs to be included when calculating a score from a given percentile
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@725 c613c5cb-e716-0410-b11b-feb51c14d237
2008-08-11 23:23:17 +00:00