Commit Graph

66 Commits

Author SHA1 Message Date
Dave Hoover 23b46bd7ea Update source headers to point to our new home.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@987 c613c5cb-e716-0410-b11b-feb51c14d237
2010-10-18 19:03:13 +00:00
Nathan Curtis 2cf9d3abe0 That's odd... I'm not entirely sure why that compiled.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@976 c613c5cb-e716-0410-b11b-feb51c14d237
2010-10-12 23:24:26 +00:00
Andrzej Kapolka 140677fe71 Added missing import.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@972 c613c5cb-e716-0410-b11b-feb51c14d237
2010-10-05 21:37:49 +00:00
Mike Thomas 2aefe741ad Gah, these go with my last commit about handling server/client simultaneous moves.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@971 c613c5cb-e716-0410-b11b-feb51c14d237
2010-10-05 21:27:58 +00:00
Mike Thomas 9fe0c6f082 Fix a bug where the client & server happen to attempt to change location nearly simultaneously.
Rather than ignoring all forced moves from the server, let's instead ignore those which are truly duplicates of our pending move, but merely postpone those which are a separate move until our pending move is complete.

(This works very similarly to the change to LocationDirector in narya)

Relatedly, if a portal traversal is ignored due to staleness (again, due to near-simultaneous client & server moves), tell the client about it so that it doesn't wait around forever thinking it's got a pending move in progress.



git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@970 c613c5cb-e716-0410-b11b-feb51c14d237
2010-10-05 20:56:24 +00:00
Mike Thomas 45a8ad9a03 Need to save the scene director's pendingdata across a server-switch logoff/logon cycle when the user is moving via a zone move.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@967 c613c5cb-e716-0410-b11b-feb51c14d237
2010-08-31 20:09:54 +00:00
Dave Hoover dc789fc46d In with the new logging
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@937 c613c5cb-e716-0410-b11b-feb51c14d237
2010-07-09 23:33:56 +00:00
Dave Hoover 4f6a3767fd Like getPendingModel, cope if there's no _pendingData
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@931 c613c5cb-e716-0410-b11b-feb51c14d237
2010-06-18 23:40:18 +00:00
Mike Thomas 4f739b8bfe Incorporate the fixes from the java side to make actionscript handle the not-yet-cached scene case correctly.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@922 c613c5cb-e716-0410-b11b-feb51c14d237
2010-06-08 01:52:35 +00:00
Mike Thomas adeb3054d4 Make the zone handling appropriately peer-aware. It's worth noting that due to adding moveRequiresServerSwitch() to ZoneService, this will break some things which use this.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@913 c613c5cb-e716-0410-b11b-feb51c14d237
2010-05-27 20:30:53 +00:00
Mike Thomas a996cf60c8 Add Zone handling to vilya's actionscript side to go with scene handling. Also, handle SceneDirector's forcedMove in the same way the java side does in the face of already pending moves.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@910 c613c5cb-e716-0410-b11b-feb51c14d237
2010-05-25 20:46:23 +00:00
Dave Hoover 1b1b3782a0 Some more copyrights I'd missed
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@887 c613c5cb-e716-0410-b11b-feb51c14d237
2010-01-05 22:12:02 +00:00
Ray Greenwell 54c809d21a Use Joiner instead of StringBuilder.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@880 c613c5cb-e716-0410-b11b-feb51c14d237
2009-09-16 21:15:03 +00:00
Ray Greenwell 20e1d45e43 We now make it a least-recently used map.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@874 c613c5cb-e716-0410-b11b-feb51c14d237
2009-09-01 23:47:14 +00:00
Ray Greenwell 3871628b27 New syntax for making a more complicated Map.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@872 c613c5cb-e716-0410-b11b-feb51c14d237
2009-08-25 02:13:09 +00:00
Ray Greenwell e2b8ac9d42 New, more efficient Maps.
Don't these deck chairs look GREAT?


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@871 c613c5cb-e716-0410-b11b-feb51c14d237
2009-08-24 02:55:56 +00:00
Ray Greenwell 2f1a7a627b Use an LRUHashMap to store scene models, as per TODO.
(Note: this doesn't compile, because the actionscript libs are jacked.
 I'll try to sort that out now.)


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@867 c613c5cb-e716-0410-b11b-feb51c14d237
2009-08-21 21:11:55 +00:00
Ray Greenwell 8c14879fdb Ye olde drive-by logging varargification.
Noticed that we aren't using a LRU Map for scene model storage,
which could explain client flakiness after visiting lots of scenes...


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@866 c613c5cb-e716-0410-b11b-feb51c14d237
2009-08-20 23:54:35 +00:00
Ray Greenwell 85ef5ed4f9 Regenerated actionscript services, and the callers that love them.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@864 c613c5cb-e716-0410-b11b-feb51c14d237
2009-08-13 06:19:27 +00:00
Michael Bayne ae63902203 Fixes for asdoc (which is a piece of shit, kthx).
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@807 c613c5cb-e716-0410-b11b-feb51c14d237
2009-03-30 23:09:12 +00:00
Ray Greenwell 7148e78405 Our invocation adapters now expect success first.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@790 c613c5cb-e716-0410-b11b-feb51c14d237
2008-12-09 02:21:40 +00:00
Michael Bayne e894f8cbb7 Nix verbose messages whenever we walk around.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@771 c613c5cb-e716-0410-b11b-feb51c14d237
2008-10-30 20:57:37 +00:00
Ray Greenwell c26ffc6958 Linky changey.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@767 c613c5cb-e716-0410-b11b-feb51c14d237
2008-10-25 01:24:33 +00:00
Jamie Doornbos d2557dfb7f Change "readObject() as Type" to "Type(readObject())" for vilya for better error checking and faster failure
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@758 c613c5cb-e716-0410-b11b-feb51c14d237
2008-10-13 17:42:58 +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
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 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
Jamie Doornbos 1597fc938a Regenerated vilya action script marshallers etc, preparing for abc build
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@604 c613c5cb-e716-0410-b11b-feb51c14d237
2008-05-23 07:03:27 +00:00
Michael Bayne 55d16fc0c9 More over the wire class dependency noting.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@602 c613c5cb-e716-0410-b11b-feb51c14d237
2008-05-22 15:35:37 +00:00
Michael Bayne 6a783e8bc4 Make the spot services work if you don't implement ClusteredBodyObject. You
won't be able to use clusters but you'll still be able to use locations and
portals.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@501 c613c5cb-e716-0410-b11b-feb51c14d237
2007-11-15 02:09:51 +00:00
Ray Greenwell 26f5a67328 Log -> com.threerings.util.Log
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@493 c613c5cb-e716-0410-b11b-feb51c14d237
2007-11-13 09:31:12 +00:00
Michael Bayne f338096580 Freak out in a controlled way if this happens.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@482 c613c5cb-e716-0410-b11b-feb51c14d237
2007-11-07 03:22:49 +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
Michael Bayne 2123c43c3b The SceneDirector should observer location changes so that it can clear out its
current scene information if we move to a non-scene location. Previously when
we did so, it simply didn't notice and thought we were still in the last scene
that we had occupied.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@369 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-18 23:49:56 +00:00
Michael Bayne d4e113d784 Missed this.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@366 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-17 21:35:52 +00:00
Michael Bayne b6562d91e6 Keep our pending data in an extensible object so that we can easily preserve it
across server switches, when it would otherwise be cleared out.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@365 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-17 21:14:40 +00:00
Michael Bayne 522a96ef96 Regeneratd services, got new mo' betta type handling.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@360 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-13 23:53:31 +00:00
Michael Bayne d5023554e8 Allow a SceneService.moveTo() to respond by requesting that the client move to
a new server and reissue its request, which it, in theory, now does.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@354 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-13 21:59:46 +00:00
Michael Bayne 6a77a7e1f1 Widening.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@353 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-13 19:57:46 +00:00
Michael Bayne 15bbb435c7 Grab our starting location from the scene when we switch scenes so that
getIntendedLocation() will return a valid value even before we've moved
somewhere in our new scene.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@327 c613c5cb-e716-0410-b11b-feb51c14d237
2007-06-23 02:08:03 +00:00
Michael Bayne d895c99484 Widening.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@326 c613c5cb-e716-0410-b11b-feb51c14d237
2007-06-23 02:00:20 +00:00
Ray Greenwell a36376ccc2 Some cleanup/fixup, although we're probably not going to use this...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@268 c613c5cb-e716-0410-b11b-feb51c14d237
2007-04-02 21:24:07 +00:00
Michael Bayne 33f55d5a8d Header patrol. Please be sure to use the header in lib/SOURCE_HEADER when
creating new source files.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@209 c613c5cb-e716-0410-b11b-feb51c14d237
2007-02-24 00:37:33 +00:00
Michael Bayne 7a36e3a858 Regenerated ActionScript listener marshallers.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@180 c613c5cb-e716-0410-b11b-feb51c14d237
2007-02-12 21:52:20 +00:00
Michael Bayne 62808c9fc6 We got more sinkin' up to do man. Yeah man, it's mighty groovy.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@178 c613c5cb-e716-0410-b11b-feb51c14d237
2007-02-11 03:33:04 +00:00
Ray Greenwell a4ae0dd2dc Regenerated with new templates.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@122 c613c5cb-e716-0410-b11b-feb51c14d237
2006-11-15 02:56:12 +00:00
Ray Greenwell 3caec3d8bc New method sig to match auto-generated stuff
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@105 c613c5cb-e716-0410-b11b-feb51c14d237
2006-10-06 01:52:17 +00:00
Ray Greenwell 7e3e8b981d Regenerated more actionscript service business.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@103 c613c5cb-e716-0410-b11b-feb51c14d237
2006-10-06 01:40:52 +00:00
Michael Bayne 469e15e58e ActionScript versions of the Card stuff and Zone stuff. The Card stuff is
non-trivial and shouldn't entirely be trusted until it's actually used for
something.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@101 c613c5cb-e716-0410-b11b-feb51c14d237
2006-10-06 00:22:41 +00:00