Commit Graph

228 Commits

Author SHA1 Message Date
Michael Bayne a9720fd905 LGPLed the library. Hello world.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3099 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-27 02:21:06 +00:00
Michael Bayne a2ae7d499d Track more objects!
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3091 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-23 21:05:04 +00:00
Ray Greenwell 7033108662 Fixed the bug whereby someone hears a cluster that they've long left.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3073 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-13 21:46:46 +00:00
Ray Greenwell ec022ed1b2 Ask the SceneProvider to handle a moveBody request if the body is already
in the correct zone.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3064 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-07-30 21:13:41 +00:00
Michael Bayne 1da753e14d Brought things up to date with the latest Jakarta Commons world order.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3058 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-07-13 16:34:49 +00:00
Michael Bayne e1d5b096ed Invoker refactoring.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3041 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-06-29 03:22:22 +00:00
Ray Greenwell 9a998f9e69 Forgot something import-ant.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3010 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-05-19 22:09:04 +00:00
Ray Greenwell 0091a445f5 Don't actually register our scene manager until all of the our subclasses
have finished running didStartup.
This is a little hacky, but it's far easier than requiring that all our
subclasses call super() at the end, and booching it if someday they don't.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3009 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-05-19 22:04:45 +00:00
Michael Bayne 72ea6248ae Zone names are Name objects.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3007 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-05-18 11:04:08 +00:00
Michael Bayne 1af8c46fcf A bit 'o logging in places where it's handy and not too verbose.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2984 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-03-10 16:20:04 +00:00
Michael Bayne 32dee3cbaf 405 modified source files and 17,367 lines of diffs later we now enforce
more discipline when handling names in our code base. Any user entered
name should find its way into a Name object as soon as it comes out of a
text field or whatnot, and stay that way until it makes its way into a
text field or into a database record (for which String objects are vastly
simpler because of JORA magic).

Dear God, let me never again make a change this large for the rest of my
mortal life.

Unfortunately, this means we have to keep an eye out for funny business
pretty much everywhere. However, since we will absolutely want to test
market stalls and so forth on Azure, we'll have an opportunity to iron out
any funny business that might fall under the radar during our internal
testing.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2980 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-03-06 11:29:19 +00:00
Michael Bayne d618d3c771 Eclipse suggested cleanup.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2971 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-02-25 14:50:28 +00:00
Michael Bayne ede1aafffd Allow a custom cluster record to be used.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2908 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-11 22:50:55 +00:00
Michael Bayne eac5cc2e01 The body object might have already been destroyed by the time we get here.
If so, don't start a transaction on it just let the events quietly float
off into the ether.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2898 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-09 20:57:14 +00:00
Michael Bayne 4436720153 Added where().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2872 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-24 21:06:36 +00:00
Michael Bayne 29d2d781f6 Not a warnable offense.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2871 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-24 20:42:22 +00:00
Michael Bayne 0fd5923421 This is not a warnable offense.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2870 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-24 18:17:41 +00:00
Michael Bayne 0fc8813314 Let's not freak out if our caller disappears while we're off resolving a
scene.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2834 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-25 00:10:35 +00:00
Michael Bayne 2afc52d18d Don't freak out if we're missing our scene.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2823 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-10 19:18:18 +00:00
Michael Bayne b032f51b84 Refuse moves to invalid zones, scenes or places.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2819 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-03 20:41:32 +00:00
Michael Bayne c1c3285b96 Added a toString() to our scene loading unit.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2813 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-09-25 00:26:16 +00:00
Michael Bayne d675a1612e Cleaning up more straining debugging.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2803 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-09-22 23:57:20 +00:00
Michael Bayne 0d890bc8c4 Let's go ahead and log this so that we can determine whether or not it
actually happens.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2802 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-09-22 23:48:58 +00:00
Michael Bayne b6c3c58ca3 Commented out some debug logging that's creating storms of strings on the
server and added more sanity checking to handleJoinCluster().


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2801 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-09-22 23:42:49 +00:00
Ray Greenwell e876090b93 Cluster chat is still a special case: make a special call to the filter
method of the chat director prior to sending cluster chat.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2796 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-09-16 21:26:15 +00:00
Michael Bayne 199daccacc Make damned sure a body is removed from any clusters they occupied when
they leave our scene. Somehow we're not properly catching cluster
departures in some circumstances.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2789 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-20 21:02:16 +00:00
Michael Bayne c2299fbbd7 Require that the current scene be specified in the change location request
because odd things frequently happen if a player somehow double clicks or
in some other way queues up a change scene then a change loc from the
previous scene.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2768 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-13 00:11:03 +00:00
Michael Bayne ef2d31db0b Canned vestigal population crap.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2719 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-07-22 07:29:11 +00:00
Eric Lundberg 957faac149 Slap the CommunicationAuthorizer code in such that we block all user
communication if the user is not authorized.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2715 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-07-18 01:58:38 +00:00
Ray Greenwell 829f3ad0eb Start transactions outside of the try-finally clause so that if there
is a problem with starting a transaction, we don't get an exception
for failing to commit the transaction.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2712 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-07-16 18:03:30 +00:00
Michael Bayne f1ac86936e Be speaker aware. Big brother loves us.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2655 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-06-14 00:55:40 +00:00
Michael Bayne 1c7fbbdccf Need to name this differently to avoid conflicts.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2650 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-06-11 17:06:42 +00:00
Michael Bayne 575337b429 Added support for dispatching scene updates made to the currently occupied
scene.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2649 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-06-11 04:14:11 +00:00
Michael Bayne 087f26b41b Further work on dynamic scene updating.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2648 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-06-11 02:48:07 +00:00
Ray Greenwell 40afe3cb94 Chat revamp, phase 1.
- Repackaged crowd/chat
- All messages are delivered to the client via ChatMessage messages,
  including tells.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2631 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-06-03 21:41:33 +00:00
Michael Bayne 061e27d54c Fixed up cluster object handling; wasn't doing the right thing on
reconnect and needs to know the name of the field to listen for to avoid
issuing rapid-fire subscription requests.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2546 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-05-06 00:21:59 +00:00
Michael Bayne 2c94e12490 Regenerated DObject definitions with new policy.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2514 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-30 22:45:57 +00:00
Michael Bayne 3de98670db Give scene managers the opportunity to do something when a player
traverses a portal and give them the ability to position the player other
than on top of the entering portal when entering.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2412 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-17 19:17:07 +00:00
Michael Bayne 8d49b3cf7c Log message edits.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2385 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-07 21:50:04 +00:00
Michael Bayne dca70506f0 Cluster oid turns out to be zero when we don't have one, not -1.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2374 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-04 05:44:47 +00:00
Michael Bayne b2c24763ba Logging to help debug repeated subscription to cluster objects.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2373 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-03 22:16:51 +00:00
Michael Bayne f870b025b8 Make our intended location available.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2366 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-03-31 22:54:09 +00:00
Michael Bayne dea75fde0d Added some debug logging.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2355 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-03-30 19:45:58 +00:00
Michael Bayne 4c74d96eee Add facilities for vetoing a start cluster request.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2353 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-03-30 03:33:52 +00:00
Michael Bayne f0ef1a95bb Don't resubscribe if nothing changed.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2341 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-03-27 17:24:55 +00:00
Michael Bayne 9532dbe02a Whoops, have to add them in the proper order otherwise the target walks
over to the person who started the cluster rather than vice versa.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2340 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-03-27 17:13:38 +00:00
Michael Bayne dfe0e7aa5e Report to the caller (by excepting) when a cluster is full; demoted log
messages to debug.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2339 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-03-27 16:45:30 +00:00
Michael Bayne 5bf27ca281 Whoops, wrong error code.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2338 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-03-27 16:04:26 +00:00
Michael Bayne 07a426fe9b Make cluster extend Rectangle so that we get all of its lovely methods.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2337 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-03-27 15:57:47 +00:00
Michael Bayne c8b1404483 New error code.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2336 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-03-27 00:10:29 +00:00