Commit Graph

  • 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 Jamie Doornbos 2008-11-13 23:26:04 +00:00
  • e480fed7ce Widening Dave Hoover 2008-11-12 18:46:33 +00:00
  • ac0df2aa6d Misc cleanup Dave Hoover 2008-11-10 17:52:17 +00:00
  • 0f635a862e RunQueue related updatery. Michael Bayne 2008-11-08 00:07:58 +00:00
  • dbd17886c3 ClientFactory -> SessionFactory, etc. Michael Bayne 2008-11-06 18:24:50 +00:00
  • 555a379742 WhirledClient -> WhirledSession. Michael Bayne 2008-11-06 18:05:51 +00:00
  • 2ea7b94d72 PresentsClient -> PresentsSession (and so on). Michael Bayne 2008-11-06 18:05:02 +00:00
  • 122d2fc102 Headless building for happy Mac development. Ray Greenwell 2008-11-04 01:41:05 +00:00
  • 793e139b65 Let's use a different name for our local variable so that we don't end up adding nothing to our nothingness. Michael Bayne 2008-10-30 21:18:04 +00:00
  • e894f8cbb7 Nix verbose messages whenever we walk around. Michael Bayne 2008-10-30 20:57:37 +00:00
  • 1889d427da Purge the use of the getChatName() hack. Mike Thomas 2008-10-29 22:26:38 +00:00
  • 3fff321829 Allow derived classes to work with more specifically typed arrays if they like. Mike Thomas 2008-10-28 23:47:36 +00:00
  • 387eb32349 Some widening & logening Dave Hoover 2008-10-27 23:52:47 +00:00
  • c26ffc6958 Linky changey. Ray Greenwell 2008-10-25 01:24:33 +00:00
  • 83ae9ccbd6 Added support for tracking multiple percentilers for a particular game. Michael Bayne 2008-10-24 01:34:26 +00:00
  • 3afd325c31 Whatdyaknow, INVALID_TABLE_POSITION was actually being used for something sensible before it was coopted to report totally unrelated errors. Michael Bayne 2008-10-23 20:48:58 +00:00
  • 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. Michael Bayne 2008-10-23 20:20:14 +00:00
  • 8a76c0de9f Allow a custom error handler to be provided to the TableDirector. Michael Bayne 2008-10-23 20:08:47 +00:00
  • 68c4218324 Fixed improper indentation. Michael Bayne 2008-10-23 20:03:15 +00:00
  • 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. Dave Hoover 2008-10-20 22:41:59 +00:00
  • 8b737a10fd Allow a particular random object to be specified when shuffling the deck. Mike Thomas 2008-10-17 23:33:58 +00:00
  • 57cefe5619 Report table creation failure via chat. Michael Bayne 2008-10-14 22:15:37 +00:00
  • d2557dfb7f Change "readObject() as Type" to "Type(readObject())" for vilya for better error checking and faster failure Jamie Doornbos 2008-10-13 17:42:58 +00:00
  • 9cf566de38 This should use the new getChatName() method. Mike Thomas 2008-10-10 01:26:23 +00:00
  • 40445fa7f9 Just noticed this old sc workaround file, it is no longer needed Jamie Doornbos 2008-10-08 20:17:58 +00:00
  • 5dcafa47ae Add getDisplayName for names to be shown in the client. Charlie Groves 2008-10-03 00:53:39 +00:00
  • 9cd03095a9 Whoops, didn't mean to add this guy Charlie Groves 2008-10-02 00:29:47 +00:00
  • 5a270c00d0 Genericize Charlie Groves 2008-10-02 00:11:26 +00:00
  • 3c77f74a8a Allow components to be added spanning the width of the configurator. Mike Thomas 2008-10-01 22:30:54 +00:00
  • 8b03be111e Imports cleanup Dave Hoover 2008-09-26 17:36:37 +00:00
  • 4ddb11c5bb Scenes aren't required to have a default entrance Charlie Groves 2008-09-26 00:34:57 +00:00
  • 8699c2c4c5 Load our string codes in init(). Michael Bayne 2008-09-24 18:33:35 +00:00
  • 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. Michael Bayne 2008-09-24 00:56:51 +00:00
  • 7d160194a3 Random javadoc fixes I have kicking around. Dave Hoover 2008-09-22 20:39:02 +00:00
  • 961675157e Nixed unused imports. Michael Bayne 2008-09-19 19:50:50 +00:00
  • 722f867fa7 Grumble. Let's just make modified and modCount non-transient as that is screwing us on Whirled when we move members' stat sets between servers. This means Bang will be transmitting a couple of extra bytes per Stat instance down to the client but I'd rather not have some way to make some kooky distinction between when we're sending Stat instances between servers versus to a client. Michael Bayne 2008-09-19 02:15:10 +00:00
  • 4193ac8767 No longer need the cache invalidator for deleteAll(), also updated some logging calls. Michael Bayne 2008-09-19 02:12:45 +00:00
  • 279f76a055 Include the modification count in our toString() output. Michael Bayne 2008-09-19 01:55:50 +00:00
  • 3bef51c544 Expose computeEnteringLocation directly on a StageLocation Charlie Groves 2008-09-16 17:21:31 +00:00
  • 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. Dave Hoover 2008-09-12 18:04:39 +00:00
  • 02ec2e68a9 Revert r739. The consensus is that getDetail is too heavyweight for something that can just be parsed out of the name. Charlie Groves 2008-09-12 02:02:59 +00:00
  • 890628a5e4 Use the getDetail method for instance specific bits to keep invoker names constant Charlie Groves 2008-09-11 20:51:06 +00:00
  • 36c3607585 Updated to use new DatabaseException. Michael Bayne 2008-09-03 16:20:32 +00:00
  • 24455b4ab8 Allow filtering of top-ratings list by recency of play. Michael Bayne 2008-09-02 19:34:54 +00:00
  • 8868835220 We're getting lots of collisions storing MINUTES_ACTIVE stats. Be more verbose when this happens. Tom Conkling 2008-08-25 23:51:14 +00:00
  • f862f5363f Javadoc fixery Charlie Groves 2008-08-21 01:52:03 +00:00
  • 9025ecc6f0 Flex 3.1 changes Bruno Garcia 2008-08-20 22:31:51 +00:00
  • 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. Tom Conkling 2008-08-20 01:30:04 +00:00
  • 85d7df6181 That last bit sounded good, so lets add it to the class docs. Also, fixed a copy/paste comment. Nathan Curtis 2008-08-16 00:14:48 +00:00
  • 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. Nathan Curtis 2008-08-16 00:13:38 +00:00
  • a72c810193 Boot by Name instead of table position Bruno Garcia 2008-08-15 23:37:46 +00:00
  • e149bbb05b Formatting formatting. Michael Bayne 2008-08-12 01:52:53 +00:00
  • 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. Charlie Groves 2008-08-12 01:45:59 +00:00
  • 8f7b90d131 The buckets start at min, so it needs to be included when calculating a score from a given percentile Charlie Groves 2008-08-11 23:23:17 +00:00
  • e53c8aae20 Ok, now we're ready for this change Tom Conkling 2008-08-11 23:04:13 +00:00
  • fa7b70c63e Undo a premature checkin. Not yet ready to commit the code that depends on this change. Tom Conkling 2008-08-11 22:20:49 +00:00
  • 7ee0c156b2 StatRepository.updateStat returns the new value of the Stat if it was modified, rather than a boolean Tom Conkling 2008-08-11 21:38:07 +00:00
  • e1fa63562f undo Tom Conkling 2008-08-11 19:44:12 +00:00
  • a983ca025a Add a constructor that takes a single Stat, for some msoy Passport code being worked on Tom Conkling 2008-08-11 19:26:12 +00:00
  • be49dd45f1 Needs not Serializable nor @NotStreamable. Michael Bayne 2008-08-10 01:23:28 +00:00
  • b0d4ab9adb StatSet is no longer final, so that we can extend it for sneaky Whirled purposes Tom Conkling 2008-08-08 21:35:02 +00:00
  • e590dfe1bf Ban by visible name, not username: Thanks Ray Bruno Garcia 2008-08-08 21:30:19 +00:00
  • 0a4b20d412 Booting bug fix: Don't zero out the bodyOid we need until we're done with it Bruno Garcia 2008-08-07 23:46:56 +00:00
  • 78fe9878a1 Stop eclipse copying .svn dirs to output dir. Mike Thomas 2008-08-07 23:09:09 +00:00
  • 2ce287a2b1 Formatting Bruno Garcia 2008-08-07 22:24:00 +00:00
  • 7d75f0c760 - Ban booted players from a table - Boot by sitting position, not oid Bruno Garcia 2008-08-06 22:52:41 +00:00
  • aa84c5055a Booting support to the AS version of TableDirector Bruno Garcia 2008-08-06 01:04:27 +00:00
  • 72935d719c Adding booting TableDirector Bruno Garcia 2008-08-06 00:57:00 +00:00
  • 8410b8893c Actually these had been generated. Bruno must have regenerated them with an old version of Narya. Michael Bayne 2008-08-06 00:53:22 +00:00
  • 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 Bruno Garcia 2008-08-06 00:41:46 +00:00
  • 6c91e7cb96 Checking if (foo = bar) is begging for disaster. Dave Hoover 2008-08-05 21:13:43 +00:00
  • b52db86905 Added a reference so that vilya.swc consumers (e.g. thane client) will not need to explicitly do so Jamie Doornbos 2008-08-04 22:17:31 +00:00
  • 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. Michael Bayne 2008-08-04 21:03:01 +00:00
  • c0492fcce4 More output fixes. Michael Bayne 2008-08-04 17:47:49 +00:00
  • c5de0f2ccf More type jockeying. Michael Bayne 2008-08-04 13:05:35 +00:00
  • d6c55a091f Again, always on the variable, not the method. Michael Bayne 2008-08-04 12:59:43 +00:00
  • 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. Michael Bayne 2008-08-04 12:58:08 +00:00
  • 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. Michael Bayne 2008-08-04 12:56:08 +00:00
  • cf1972870e Let's not build ActionScript interfaces for those services for which we don't use them. Michael Bayne 2008-08-01 14:44:46 +00:00
  • bb0d6c5ba4 More code hygiene. Need to do some fiddling to make dispatchers not generate generics warnings when calling methods with generic types. Michael Bayne 2008-08-01 14:40:54 +00:00
  • 7708bc96a6 Type that DSet. Michael Bayne 2008-08-01 11:22:40 +00:00
  • 117d9cb03f Move PlayManager*.java from crowd.server to parlor.server. Par Winzell 2008-07-31 17:28:18 +00:00
  • 9ba443d432 Revert that. Par Winzell 2008-07-31 06:25:14 +00:00
  • f3dff81492 Do the right thing, not the wrong thing. It's late... Par Winzell 2008-07-31 06:20:32 +00:00
  • 23311ca4f7 Oops, the contract is to return playerId's occupant. I dunno, I have some doubts about all this... Par Winzell 2008-07-31 06:15:27 +00:00
  • a3232d645e Basic implementation of the PlayManager interface. Par Winzell 2008-07-31 05:49:33 +00:00
  • aae3a0152a Let the type system know that we know that we don't know what kind of comparable we're dealing with. Michael Bayne 2008-07-30 14:00:23 +00:00
  • 18608763ea Regenerated services and objects. Michael Bayne 2008-07-30 13:56:07 +00:00
  • 3ac87296a6 StatModifier is Streamable, so that we can send stat updates from the game server to the world server Tom Conkling 2008-07-30 01:16:42 +00:00
  • 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. Tom Conkling 2008-07-30 00:58:36 +00:00
  • bcbe163a12 Prune unneeded imports, nuke some unneeded casts, rerun code generators. Dave Hoover 2008-07-28 17:27:38 +00:00
  • eb935ecfab Nixed unused variable references. Michael Bayne 2008-07-26 22:04:34 +00:00
  • dd285192d9 missed one Tom Conkling 2008-07-25 22:52:37 +00:00
  • 6e9a245db2 svn id keywords and Vilya preambles where appropriate Tom Conkling 2008-07-25 22:48:40 +00:00
  • 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 Tom Conkling 2008-07-25 22:48:13 +00:00
  • 2a18ff5f02 switch on brain Tom Conkling 2008-07-25 21:01:07 +00:00
  • bc38d2dde9 added StatSet.updateStat(), which uses a StatModifier to do its business Tom Conkling 2008-07-25 20:55:14 +00:00
  • 41be22fdd6 MDB would prefer that we ignore these via .subversion/config, rather than svn:ignore. Nathan Curtis 2008-07-25 17:28:57 +00:00
  • 32cec9c7d7 Blank line patrol. Michael Bayne 2008-07-25 09:59:07 +00:00
  • 7ee6788a5f Lets go ahead and svn:ignore the Flex Builder property files Nathan Curtis 2008-07-24 21:54:54 +00:00