Commit Graph

726 Commits

Author SHA1 Message Date
Tom Conkling ecafc0849c StatSet.addStat()/updateStat() need to know if they were called from syncStat() so that our ServerStatSet subclass that does sneaky badge-related stuff in msoy can do the right thing with regards to badge updating.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@733 c613c5cb-e716-0410-b11b-feb51c14d237
2008-08-20 01:30:04 +00:00
Nathan Curtis 85d7df6181 That last bit sounded good, so lets add it to the class docs. Also, fixed a copy/paste comment.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@732 c613c5cb-e716-0410-b11b-feb51c14d237
2008-08-16 00:14:48 +00:00
Nathan Curtis 95159a69d2 A StatModifier to ensure that an IntStat has been set to a minimum value. If the stat's value
is already greater than or equal to the minimum requested, the stat is not modified.

git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@731 c613c5cb-e716-0410-b11b-feb51c14d237
2008-08-16 00:13:38 +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
Tom Conkling e53c8aae20 Ok, now we're ready for this change
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@724 c613c5cb-e716-0410-b11b-feb51c14d237
2008-08-11 23:04:13 +00:00
Tom Conkling fa7b70c63e Undo a premature checkin. Not yet ready to commit the code that depends on this change.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@723 c613c5cb-e716-0410-b11b-feb51c14d237
2008-08-11 22:20:49 +00:00
Tom Conkling 7ee0c156b2 StatRepository.updateStat returns the new value of the Stat if it was modified, rather than a boolean
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@722 c613c5cb-e716-0410-b11b-feb51c14d237
2008-08-11 21:38:07 +00:00
Tom Conkling e1fa63562f undo
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@721 c613c5cb-e716-0410-b11b-feb51c14d237
2008-08-11 19:44:12 +00:00
Tom Conkling a983ca025a Add a constructor that takes a single Stat, for some msoy Passport code being worked on
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@720 c613c5cb-e716-0410-b11b-feb51c14d237
2008-08-11 19:26:12 +00:00
Michael Bayne be49dd45f1 Needs not Serializable nor @NotStreamable.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@719 c613c5cb-e716-0410-b11b-feb51c14d237
2008-08-10 01:23:28 +00:00
Tom Conkling b0d4ab9adb StatSet is no longer final, so that we can extend it for sneaky Whirled purposes
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@718 c613c5cb-e716-0410-b11b-feb51c14d237
2008-08-08 21:35:02 +00:00
Bruno Garcia e590dfe1bf Ban by visible name, not username: Thanks Ray
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@717 c613c5cb-e716-0410-b11b-feb51c14d237
2008-08-08 21:30:19 +00:00
Bruno Garcia 0a4b20d412 Booting bug fix: Don't zero out the bodyOid we need until we're done with it
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@716 c613c5cb-e716-0410-b11b-feb51c14d237
2008-08-07 23:46:56 +00:00
Mike Thomas 78fe9878a1 Stop eclipse copying .svn dirs to output dir.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@715 c613c5cb-e716-0410-b11b-feb51c14d237
2008-08-07 23:09:09 +00:00
Bruno Garcia 2ce287a2b1 Formatting
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@714 c613c5cb-e716-0410-b11b-feb51c14d237
2008-08-07 22:24:00 +00:00
Bruno Garcia 7d75f0c760 - Ban booted players from a table
- Boot by sitting position, not oid


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@713 c613c5cb-e716-0410-b11b-feb51c14d237
2008-08-06 22:52:41 +00:00
Bruno Garcia aa84c5055a Booting support to the AS version of TableDirector
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@712 c613c5cb-e716-0410-b11b-feb51c14d237
2008-08-06 01:04:27 +00:00
Bruno Garcia 72935d719c Adding booting TableDirector
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@711 c613c5cb-e716-0410-b11b-feb51c14d237
2008-08-06 00:57:00 +00:00
Michael Bayne 8410b8893c Actually these had been generated. Bruno must have regenerated them with an old
version of Narya.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@710 c613c5cb-e716-0410-b11b-feb51c14d237
2008-08-06 00:53:22 +00:00
Bruno Garcia 9a822fe561 - Adding support for booting players from a table
- Apparently genservice hasn't been run in a while, so half of vilya just got poked


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@709 c613c5cb-e716-0410-b11b-feb51c14d237
2008-08-06 00:41:46 +00:00
Dave Hoover 6c91e7cb96 Checking if (foo = bar) is begging for disaster.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@708 c613c5cb-e716-0410-b11b-feb51c14d237
2008-08-05 21:13:43 +00:00
Jamie Doornbos b52db86905 Added a reference so that vilya.swc consumers (e.g. thane client) will not need to explicitly do so
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@707 c613c5cb-e716-0410-b11b-feb51c14d237
2008-08-04 22:17:31 +00:00
Michael Bayne 9f91324260 Regenerated services and fixed service matching which was missing the
micasa.lobby services because they don't follow the pattern of being in a
micasa.lobby.client package.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@706 c613c5cb-e716-0410-b11b-feb51c14d237
2008-08-04 21:03:01 +00:00
Michael Bayne c0492fcce4 More output fixes.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@705 c613c5cb-e716-0410-b11b-feb51c14d237
2008-08-04 17:47:49 +00:00
Michael Bayne c5de0f2ccf More type jockeying.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@704 c613c5cb-e716-0410-b11b-feb51c14d237
2008-08-04 13:05:35 +00:00
Michael Bayne d6c55a091f Again, always on the variable, not the method.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@703 c613c5cb-e716-0410-b11b-feb51c14d237
2008-08-04 12:59:43 +00:00
Michael Bayne 12bd9e9db7 Be sure to use the logger from the appropriate package. However in this case,
let's not be checking in debug logging. Bang! Howdy calls these methods
hundreds of thousads of times a day and we don't really want the log spam.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@702 c613c5cb-e716-0410-b11b-feb51c14d237
2008-08-04 12:58:08 +00:00
Michael Bayne 299d63fd14 Always suppress unchecked warnings on an individual declaration plus
assignment, not an entire method. Eclipse is helpfully stupid about this, but
we'll just have to use our big brains and help it out.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@701 c613c5cb-e716-0410-b11b-feb51c14d237
2008-08-04 12:56:08 +00:00
Michael Bayne cf1972870e Let's not build ActionScript interfaces for those services for which we don't
use them.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@699 c613c5cb-e716-0410-b11b-feb51c14d237
2008-08-01 14:44:46 +00:00
Michael Bayne bb0d6c5ba4 More code hygiene. Need to do some fiddling to make dispatchers not generate
generics warnings when calling methods with generic types.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@698 c613c5cb-e716-0410-b11b-feb51c14d237
2008-08-01 14:40:54 +00:00
Michael Bayne 7708bc96a6 Type that DSet.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@697 c613c5cb-e716-0410-b11b-feb51c14d237
2008-08-01 11:22:40 +00:00
Par Winzell 117d9cb03f Move PlayManager*.java from crowd.server to parlor.server.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@696 c613c5cb-e716-0410-b11b-feb51c14d237
2008-07-31 17:28:18 +00:00
Par Winzell 9ba443d432 Revert that.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@695 c613c5cb-e716-0410-b11b-feb51c14d237
2008-07-31 06:25:14 +00:00
Par Winzell f3dff81492 Do the right thing, not the wrong thing. It's late...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@694 c613c5cb-e716-0410-b11b-feb51c14d237
2008-07-31 06:20:32 +00:00
Par Winzell 23311ca4f7 Oops, the contract is to return playerId's occupant. I dunno, I have some doubts about all this...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@693 c613c5cb-e716-0410-b11b-feb51c14d237
2008-07-31 06:15:27 +00:00
Par Winzell a3232d645e Basic implementation of the PlayManager interface.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@692 c613c5cb-e716-0410-b11b-feb51c14d237
2008-07-31 05:49:33 +00:00
Michael Bayne aae3a0152a Let the type system know that we know that we don't know what kind of
comparable we're dealing with.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@691 c613c5cb-e716-0410-b11b-feb51c14d237
2008-07-30 14:00:23 +00:00
Michael Bayne 18608763ea Regenerated services and objects.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@690 c613c5cb-e716-0410-b11b-feb51c14d237
2008-07-30 13:56:07 +00:00
Tom Conkling 3ac87296a6 StatModifier is Streamable, so that we can send stat updates from the game server to the world server
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@689 c613c5cb-e716-0410-b11b-feb51c14d237
2008-07-30 01:16:42 +00:00
Tom Conkling 31d855837a StatSet.updateStat -> StatSet.syncStat. syncStat() should be called after a stat has been successfully updated in the repository, to keep the in-memory version in sync with the repo changes.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@688 c613c5cb-e716-0410-b11b-feb51c14d237
2008-07-30 00:58:36 +00:00
Dave Hoover bcbe163a12 Prune unneeded imports, nuke some unneeded casts, rerun code generators.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@687 c613c5cb-e716-0410-b11b-feb51c14d237
2008-07-28 17:27:38 +00:00
Michael Bayne eb935ecfab Nixed unused variable references.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@686 c613c5cb-e716-0410-b11b-feb51c14d237
2008-07-26 22:04:34 +00:00
Tom Conkling dd285192d9 missed one
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@685 c613c5cb-e716-0410-b11b-feb51c14d237
2008-07-25 22:52:37 +00:00
Tom Conkling 6e9a245db2 svn id keywords and Vilya preambles where appropriate
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@684 c613c5cb-e716-0410-b11b-feb51c14d237
2008-07-25 22:48:40 +00:00
Tom Conkling 6f8a1e0db0 - Created SetStat<T> generic type
- IntSetStat and StringSetStat extend SetStat
- consolidated SetStat-related functions in StatSet, and added StatSet.getSetStatSize()
- she sells SetStat StatSets by the seashore

git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@683 c613c5cb-e716-0410-b11b-feb51c14d237
2008-07-25 22:48:13 +00:00
Tom Conkling 2a18ff5f02 switch on brain
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@682 c613c5cb-e716-0410-b11b-feb51c14d237
2008-07-25 21:01:07 +00:00
Tom Conkling bc38d2dde9 added StatSet.updateStat(), which uses a StatModifier to do its business
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@681 c613c5cb-e716-0410-b11b-feb51c14d237
2008-07-25 20:55:14 +00:00