Michael Bayne
07dfb982d7
No indication of time wickosity, so we can can this call.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2924 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-19 18:31:11 +00:00
Michael Bayne
5774f1b6a5
Removed verbose logging. Didn't discover anything useful with regard to
...
disconnects.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2923 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-19 18:30:23 +00:00
Michael Bayne
7bccc5f5e3
Make sure we have a version and also do our matching without a regular
...
expression because Windows \s in paths booch the regex code to the high
heavens.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2922 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-18 18:32:34 +00:00
Michael Bayne
b029b5d8c3
Clear our active flag before passing requestFailed() onto the subscriber
...
so that things go smoothly if they decide in requestFailed() to call
unsubscribe() in the course of their normal shuttings down.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2920 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-17 00:15:08 +00:00
Michael Bayne
1138be216f
Combined some things that didn't need to be separated and added better
...
checking and error reporting.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2919 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-16 03:45:31 +00:00
Michael Bayne
e213827ee9
Let's just warn and cope rather than sticking a fork in things.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2918 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-15 20:06:09 +00:00
Michael Bayne
f623572a33
Corrected log message.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2917 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-15 20:04:09 +00:00
Michael Bayne
50a3db61d3
The destination file is already versioned so we just replace the version
...
information with our regular expression.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2916 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-15 19:40:11 +00:00
Michael Bayne
7088a6b7db
Removed transitionary code; added code to delete old bundle files from
...
previous releases that sometimes cannot be deleted because of the
mysterious "no you can't delete a file that you created" Windows bug.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2915 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-15 19:37:32 +00:00
Michael Bayne
d425ec7abb
Added isActive().
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2914 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-15 17:12:11 +00:00
Michael Bayne
3e466530f6
We call RunAnywhere.currentTimeMillis() so that we can find out as soon as
...
possible if time has leaped into the past. This is primarily useful so
that we can correlate such happenings with other strangeness that may be
caused by time bogosity.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2912 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-13 02:59:05 +00:00
Michael Bayne
1bdfb805ab
We can't do this, currentTimeMillis() will return bogus values such that
...
the math appears to work out even though time stopped. We can use
RunAnywhere.currentTimeMillis() which will warn if time goes backwards but
since when that happens the IntervalManager stops dead in it's tracks,
we'll never get ticked to find out about it. Fucking Windows.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2911 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-13 02:56:29 +00:00
Michael Bayne
d43f20d60f
Only warn if we take a (relatively) long time path finding (ie. over 500ms).
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2910 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-13 02:52:00 +00:00
Michael Bayne
3af7167f2c
Track and report whether we go long periods of time without being ticked.
...
We should be ticked every five seconds.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2909 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-13 02:50:12 +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
62e0e9cf37
Add a single method that we call in the various circumstances where our
...
client object has been updated so that the 90% of the directors that just
need to know any time that sort of thing happens so that they can listen
on the current client object can easily and robustly do so.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2907 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-11 21:36:12 +00:00
Michael Bayne
f93c87cfb2
Properly manage the _pending flag in requestFailed().
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2906 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-11 18:47:43 +00:00
Michael Bayne
810a6baf44
Make the safesub a little nicer about an unsubscribe() request that comes
...
on the heels of a requestFailed(). They don't have to do it, but it's
easier to just always call unsubscribe() whether things succeeded or
failed, so we'll quietly allow an unsubscribe() even if we have no object
or nothin'.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2905 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-11 18:46:02 +00:00
Michael Bayne
0bbb6759db
Yes kids, it's important to be safe when you're playing in the dangerous
...
playground of distributed object subscription.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2904 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-11 18:36:55 +00:00
Michael Bayne
69a973efb2
Make our object manager available to nice askers.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2903 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-11 18:36:32 +00:00
Michael Bayne
9cfe784c2f
Use the appropriate methods from MessageUtil and provide pass-throughs for
...
our zillions of lines of code that expect the methods to be in
MessageBundle.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2902 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-11 06:34:43 +00:00
Michael Bayne
f0b7c187c4
Not to freak out if someone hasn't stuffed the right s3cr3t business in
...
the UIManager.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2901 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-10 03:32:07 +00:00
Michael Bayne
f8664ab2b5
Some tweaks to the simulator services.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2900 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-10 03:31:41 +00:00
Michael Bayne
06230b3d47
Note and warn rather than choke.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2899 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-09 21:01:43 +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
5418ffd2fd
We love to be robust.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2897 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-09 20:41:23 +00:00
Michael Bayne
ece997e937
Made getPuzzleFont() public.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2895 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-05 05:15:03 +00:00
Michael Bayne
505674bfbe
Remove crack pipe, finish job.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2894 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-05 02:39:12 +00:00
Michael Bayne
fedf57cbcd
No implementing listener interfaces in the controller. Bad bad bad.
...
Unfortunately PlaceController already implements AttributeChangeListener
and various things take advantage of that. At some point I'll go in and
clean that all up, but for now I'll limit my fiddling to PuzzleController
on down.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2893 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-05 02:00:48 +00:00
Michael Bayne
b4ad08ad81
Hell, let's give 'em 10000. We blow through that many distributed object
...
events in 500 milliseconds.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2892 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-04 18:42:40 +00:00
Michael Bayne
fcef745724
We use fast computers, let's give 'em 1000 loops.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2891 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-04 18:41:59 +00:00
Michael Bayne
0cd11f034b
Not to freak out if we've no bootstrap.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2890 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-03 23:38:58 +00:00
Michael Bayne
8de11561ac
Out with XLATE_MODES which Narya doesn't use; and make sure it's a default
...
message received on the user object that we consider to be a tell.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2889 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-03 23:38:45 +00:00
Michael Bayne
030a8c801d
Let's include the puzzle stuff with the parlor stuff to avoid having to do
...
a lot of jar file dicking around.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2888 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-27 02:13:15 +00:00
Michael Bayne
bd24341589
Rejiggered the order in which board state comparison logging is done.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2886 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-26 23:16:43 +00:00
Michael Bayne
72f4b6e1d9
This should extend ParlorContext. We be gaming.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2885 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-26 23:16:13 +00:00
Michael Bayne
6fd403b88d
Wait until tick() is done before we clear the action.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2884 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-26 23:06:05 +00:00
Michael Bayne
b3e07b1bc1
This needs to go back in.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2883 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-26 18:04:37 +00:00
Michael Bayne
fa1c7af17a
More updates.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2882 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-26 17:46:06 +00:00
Michael Bayne
c5a422f7a2
Track our manager in the base delegate.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2881 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-26 03:17:16 +00:00
Michael Bayne
2f0db5ea0f
Yet more bits.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2880 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-26 02:11:34 +00:00
Michael Bayne
5424a66006
Missed some bits.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2879 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-26 02:07:45 +00:00
Michael Bayne
104763ac88
Moved SoundCodes into Narya because it's a reasonable basic set of sound
...
types and the puzzle stuff wants to classify the sounds it produces.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2878 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-26 01:43:31 +00:00
Michael Bayne
1178984f48
Moved KeyDispatcher into Narya because it's generally useful (and needed
...
by the puzzle stuff).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2877 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-26 01:42:57 +00:00
Michael Bayne
54eaddb27d
Holy crap Batman! It's the beginnings of refactoring the basic puzzle
...
stuff into Narya.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2876 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-26 01:42:34 +00:00
Michael Bayne
0601c94e42
Cope.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2875 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-25 22:35:10 +00:00
Michael Bayne
da03a2b775
No need to log here, sometimes it happens every frame.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2874 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-25 19:42:54 +00:00
Michael Bayne
97a9b91531
Cancel any path on a sprite if it's removed while in the middle of
...
execution.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2873 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-24 21:58:36 +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