Commit Graph

29 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
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 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 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 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
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
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
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
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 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 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 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 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 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 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 b0c7ddf861 Log the version of the new model if persistence fails.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@22 c613c5cb-e716-0410-b11b-feb51c14d237
2006-07-13 18:37:51 +00:00
Ray Greenwell 19f22b01f1 When a scene update is received while in the scene, apply it immediately
and also save the new updated model.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@19 c613c5cb-e716-0410-b11b-feb51c14d237
2006-07-13 17:47:55 +00:00
Ray Greenwell 458a187145 Fixes to compile.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@6 c613c5cb-e716-0410-b11b-feb51c14d237
2006-06-28 22:04:27 +00:00
Ray Greenwell 01866933eb Whirled actionscript code, transferred from narya.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@5 c613c5cb-e716-0410-b11b-feb51c14d237
2006-06-23 19:21:10 +00:00