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
5272911863
Don't really need the stack trace.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2833 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-25 00:04:00 +00:00
Michael Bayne
414152443b
We don't need to see the message.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2832 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-25 00:01:04 +00:00
Ray Greenwell
fcca6c3ce8
Take advantage of HashIntMap.Entry.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2831 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-24 22:15:23 +00:00
Ray Greenwell
eca5077375
Do the post-download portion of a bundle immediately after each bundle
...
instead of waiting for them all to complete.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2830 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-23 20:31:28 +00:00
Michael Bayne
e8056bca17
Throw a useful exception if the parameters are invalid.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2828 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-22 20:26:32 +00:00
Michael Bayne
3fadb2b1ea
Fucking JarFile throws a SecurityException if there's a signing error
...
which is *not* an IOException. Thanks guys.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2827 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-22 18:50:27 +00:00
Ray Greenwell
969008a6b8
Added a method for playing sounds after a specified delay.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2826 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-16 01:01:51 +00:00
Michael Bayne
a02d076d8e
Tone down the max path length, when searching for a path in unresolved
...
space, it ends up considering up to 10,000 nodes with a max path length of
50 which causes the client to hang for like 5 seconds. Not so good. With a
max path length of 20, that comes down to about 1,300 nodes which ends up
being non-linearly faster.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2825 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-15 23:20:40 +00:00
Michael Bayne
ba52e3cfa4
If we fail to deliver the objectAvailable() notification because the
...
client is disconnected, unsubscribe immediately. We normally unsubscribe
when the client loses its connection but it's possible for a subscription
request to come in and the client to lose connection before we can
communicate the object available response.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2824 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-10 23:23:41 +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
6b2c9cde14
Report the toString() output on long runners.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2822 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-08 04:10:29 +00:00
Michael Bayne
ff8211534f
Take no guff from freaking out network event handlers.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2821 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-07 22:41:24 +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
567d3696a9
Added toServerTime().
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2818 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-09-30 22:18:18 +00:00
Michael Bayne
670d346c6c
Clear out our subscription table in clearSubscrips() so that we don't
...
erroneously decide that we have stale subscriptions around, and log stale
subscriptions if we do end up clearing them.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2817 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-09-29 18:28:22 +00:00
Michael Bayne
c597a5c833
Not to freak out if a client logs off between the time they made their
...
pirate selection and the time we manage to load up their pirate.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2816 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-09-25 21:07:54 +00:00
Michael Bayne
e6ae375c00
Not to freak out if somehow we don't have a current path.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2815 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-09-25 21:07:20 +00:00
Michael Bayne
bedb859943
Demoted logging to debug.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2814 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-09-25 15:57:38 +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
73373b8844
Propagate up an exception if we're not able to download the resource
...
manager config (usually a transient DNS failure).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2812 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-09-24 23:54:59 +00:00
Michael Bayne
44f2a352cc
Removed vestigal business.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2811 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-09-24 21:39:42 +00:00
Michael Bayne
320f53913b
We only need to introspect and sort our fields array once per class, not
...
every time we create a distributed object.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2810 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-09-24 20:33:06 +00:00
Michael Bayne
0aecdc2069
Don't create our listen socket until we've actually be started up.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2809 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-09-24 18:37:55 +00:00
Michael Bayne
fe588b291b
Report long running invokers if we're tracking their run duration.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2808 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-09-24 17:10:49 +00:00
Michael Bayne
0d77519001
Let's allow auto-responses to actually be turned off.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2807 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-09-23 23:03:34 +00:00
Michael Bayne
b19fcb219b
getClass().getField() creates a new Field instance every time and possibly
...
creates an Object[] as well. Now we cache the Field instances and look
them up ourselves which will likely be much more efficient at only a small
additional memory cost.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2805 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-09-23 17:16:46 +00:00
Michael Bayne
8c219530d1
More debug log wrapping.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2804 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-09-22 23:59:39 +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
e15e54b7f6
Be sure to filter away messages as well, because they nastily show up as
...
feedback, and not a user type of chat.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2800 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-09-22 19:15:12 +00:00
Michael Bayne
5b66d1d672
Wasn't handling floating point preference values.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2799 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-09-18 21:35:02 +00:00
Michael Bayne
90816435f3
If we receive a tell and have an auto-response message configured, report
...
what we said to the teller so that we remember that we have the
auto-response active.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2798 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-09-18 18:13:28 +00:00
Michael Bayne
6add22f5d7
Refactored /tell idle auto-response; added support for configuring an
...
away/busy auto-response message.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2797 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-09-18 17:53:48 +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
Ray Greenwell
ac52342b17
- Refactored ChatValidator into ChatFilter, which can invalidate a message
...
by returning null instead of a filtered version.
- Changed the MuteDirector to implement ChatFilter.
- ChatDirector no longer needs a reference to the MuteDirector because
the outgoing mute-checking is now handled by the standard filtering code.
- Fixed a bug introduced by Walter back in December that caused the
MuteDirector to be _removed_ as a validator the first time you try to
/tell to a player that you've muted. How we never detected this, I'll
stay awake at night wondering...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2795 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-09-15 21:11:40 +00:00
Michael Bayne
cd6f38ee3d
More Big Brother facilities: observers can be registered to be notified
...
every time a particular person hears another person say something.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2794 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-09-11 16:36:39 +00:00
Michael Bayne
0812c3d8a1
Made the code for updating a player's occupant info more general purpose.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2793 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-09-11 03:20:06 +00:00
Michael Bayne
48cbb2d095
Track the amount of time we spend searching for paths and report it if
...
it's lengthy.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2792 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-09-08 18:42:38 +00:00
Michael Bayne
8b9199ed09
Make sure we don't have any dangling subscriptions if we receive a message
...
after having closed our client connection.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2791 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-09-07 23:30:13 +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
70a8c00388
If a connection is sitting in the system but is closed (perhaps possible
...
through some well-timed disconnection early in the initialization phase),
we should consider it idle because then we'll catch it on the next tick
and flush it whereas otherwise it would just sit around forever until
someone logged in from that IP again.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2788 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-20 19:32:27 +00:00
Michael Bayne
233ccbc01c
Not to freak out about unmapped authing connections, connections are only
...
mapped after they are authenticated.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2787 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-20 19:30:52 +00:00
Michael Bayne
a5367cb657
Only complain about big overflow queues every time we reach a new plateau
...
of 50 messages.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2786 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-20 18:54:23 +00:00
Michael Bayne
6b5542d915
Only read in the current version if we've got both the version file and
...
the bundle file.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2785 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-20 03:53:35 +00:00
Michael Bayne
026be0505a
Check for file existence.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2784 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-20 03:52:36 +00:00
Michael Bayne
a34e6a7fd8
Only log when we unload the place, not when it becomes empty.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2782 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-20 01:54:57 +00:00
Michael Bayne
46f4426e64
Warn on large overflow queue size.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2781 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-20 00:47:39 +00:00
Michael Bayne
693ce550d7
We need to update our last modified time after downloading the resource.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2780 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-18 21:50:03 +00:00