Commit Graph

2790 Commits

Author SHA1 Message Date
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
Michael Bayne 442a2a5759 Added missing newline.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2779 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-18 21:38:07 +00:00
Michael Bayne f013aba02b Additional robustness: mark the server dobjmgr internal events as private
and refuse subscriptions to invalid oids (it's not out of the realm of
possibility that the clients were somehow subscribing to oid 0 and funny
things were happening).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2778 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-16 04:14:56 +00:00
Michael Bayne 11fc21a59b Added code for refreshing the currently displayed scene.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2777 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-16 03:42:28 +00:00
Michael Bayne d06c0fad00 Some debug logging to try to track down the "I entered the puzzle but it
never started and the server eventually gave me the boot."


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2776 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-16 00:28:43 +00:00
Michael Bayne c78accd506 Minor edit.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2775 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-15 23:58:02 +00:00
Michael Bayne c0ea432776 Changed dynamic resource URL handling such that it must be set
programmatically or it will be assumed to be the same as the normal
resource URL.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2774 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-15 23:23:05 +00:00
Michael Bayne 6c1274eef3 This should never be sent over the wire, but it is somehow, sometimes, and
by making these transient we can hopefully debug it more effectively if it
happens in the future.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2773 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-15 18:50:02 +00:00
Michael Bayne 4a302495d5 Unload scene managers (and all their associated business) after they've
been unoccupied for five minutes.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2772 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-15 18:40:48 +00:00
Michael Bayne ef17c4487e Would you believe, we still missed a fricking newline.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2771 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-13 22:46:13 +00:00
Michael Bayne c9f9cfe34d Fix up registered interval reporting.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2770 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-13 21:38:37 +00:00
Michael Bayne 72674bbf49 Report the number of intervals registered as well as the number fired in
the reporting interval. Now we can see if we're leaking intervals (which
would be double plus ungood).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2769 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-13 21:05:28 +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 32bfc704d7 Not to freak out while we're not connected.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2767 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-12 01:01:09 +00:00
Michael Bayne 8ab26de8b0 Now that we're closing the jarfile after unpacking it, we can't be poking
around in there for other reasons. We also avoid looking up the entry in
the jar file every time it is requested.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2766 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-11 20:34:21 +00:00
Michael Bayne cb89eaf73d Reorganized so that we notice bundle unpack failure and report the failure
to our bundle download observer.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2765 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-09 05:51:12 +00:00
Michael Bayne 36f738949d Made sourceIsReady() more robust and it now returns whether or not it
successfully unpacked its jar file so that we can report bundle download
borkage and retry in the face of potentially transient fuckolas.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2764 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-09 05:42:13 +00:00
Michael Bayne 927881306d Use FileUtil.resuffix().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2763 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-09 05:27:07 +00:00
Michael Bayne c289da2150 They're big, they're partial and we don't need to hear about 'em!
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2762 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-09 05:00:01 +00:00
Michael Bayne 206dd46e68 This too can now be related to the land of debug messages.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2761 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-09 04:58:25 +00:00
Michael Bayne ff12758dc0 That can be a debug message for surely-sure-opolis.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2760 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-09 04:57:41 +00:00
Michael Bayne 3d5ab0c79a The #1 most popular Narya log message gets the can. No need to hear about
this 50,000 times a day.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2759 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-09 04:56:35 +00:00