Commit Graph

254 Commits

Author SHA1 Message Date
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 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 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 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
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 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 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 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 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
Eric Lundberg 957faac149 Slap the CommunicationAuthorizer code in such that we block all user
communication if the user is not authorized.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2715 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-07-18 01:58:38 +00:00
Eric Lundberg c2a5e8966b Initial checkin of ye ole' pluggable interface for authorizing player
communication.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2714 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-07-18 01:54:51 +00:00
Ray Greenwell 829f3ad0eb Start transactions outside of the try-finally clause so that if there
is a problem with starting a transaction, we don't get an exception
for failing to commit the transaction.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2712 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-07-16 18:03:30 +00:00
Ray Greenwell 2726f6a29d Slight optimization to chat history pruning.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2710 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-07-14 23:46:03 +00:00
Michael Bayne e85e6ad617 Catch our funny choking getOccupantInfo and log the failure prior to
allowing things to get out of hand. Since getOccupantInfo may normally
return null, doing so in our strange failure case will not cause further
freakout.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2697 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-07-11 00:47:33 +00:00
Michael Bayne 993c79e9d2 Added interface method documentation, rejiggered formatting.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2689 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-07-01 21:53:02 +00:00
Eric Lundberg 00286b608e Added interface to all other packages to plug into the chat provider and
provide an auto response to a tell.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2688 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-07-01 21:50:18 +00:00
Michael Bayne 78cf95ed49 Some minor reformatting.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2685 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-06-26 19:57:24 +00:00
Ray Greenwell ec6cf00d6f Ask the place object if it needs to be broadcasted on before doing so.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2683 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-06-25 17:17:41 +00:00
Michael Bayne faee2e4088 Whoops, we add new history messages to the end, so start pruning from the
beginning. To do this more efficiently, we end up having to do some
jockeying.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2679 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-06-24 05:19:57 +00:00
Michael Bayne aacca4ca02 Only log if we have a user message but no speak object.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2659 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-06-14 06:23:41 +00:00
Eric Lundberg b9271233ac Har, lets be scanning down, not up.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2658 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-06-14 01:55:42 +00:00
Michael Bayne 3701cef1d7 Only track UserMessage since we only care to log things other players
said; prune any big history when a new message is noted.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2657 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-06-14 01:18:27 +00:00
Michael Bayne 1523629ef6 Provide the option to deliver listener body oids or usernames.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2656 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-06-14 00:59:24 +00:00
Michael Bayne f1ac86936e Be speaker aware. Big brother loves us.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2655 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-06-14 00:55:40 +00:00
Michael Bayne 61168c737c Don't double note UserMessage instead specifically note tells() which is
the only circumstance where we're not getting sent our own message back to
us.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2654 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-06-14 00:55:19 +00:00
Michael Bayne e6dc5c38d7 The basis for logging all recent chat on the server. Now I have to make
every type of chat object known to man capable of reporting who's
listening.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2653 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-06-14 00:47:16 +00:00
Ray Greenwell 092299d23f Updated SpeakMarshaller import, which I missed the other day because
I was just search .java files.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2646 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-06-06 23:58:53 +00:00
Ray Greenwell 5f515133c3 Chat revamp, phase 2.
- FeedbackMessage has been subsumed into SystemMessage, which now has three
  modes: INFO, FEEDBACK, or ATTENTION.
- Cleaned up methods for sending those system messages.
  - on the server: sendInfo(), sendFeedback(), sendAttention()
  - on the client: displayInfo(), displayFeedback(), displayAttention().


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2635 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-06-04 02:50:19 +00:00
Ray Greenwell 674523b365 Tell feedback message.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2633 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-06-03 23:46:10 +00:00
Ray Greenwell d3f3995cb7 Allow an optional ResultListener to be passed into requestTell that will
tell us whether or not the tell succeeded.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2632 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-06-03 23:36:18 +00:00
Ray Greenwell 40afe3cb94 Chat revamp, phase 1.
- Repackaged crowd/chat
- All messages are delivered to the client via ChatMessage messages,
  including tells.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2631 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-06-03 21:41:33 +00:00
Michael Bayne 6aba06219d Make where() available to the delegates.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2608 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-05-26 21:24:56 +00:00
Michael Bayne 2c94e12490 Regenerated DObject definitions with new policy.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2514 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-30 22:45:57 +00:00
Ray Greenwell 758d0a4456 Give mute feedback
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2390 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-08 02:49:43 +00:00
Michael Bayne 19354e55af Added shout chat mode.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2352 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-03-30 02:53:05 +00:00
Michael Bayne 3ac861d72b Better toString().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2351 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-03-30 02:52:53 +00:00
Michael Bayne a79b771411 Formatting.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2350 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-03-30 02:52:41 +00:00
Michael Bayne 8fef03b84e Make where() not freak out if we do not yet have our place object.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2320 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-03-25 01:12:29 +00:00
Ray Greenwell d53b707e4f Can init the mutelist with a String[] of muted players.
Can get a String[] of the currently muted players.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2312 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-03-20 00:46:34 +00:00
Michael Bayne 56b0012782 Use Comparable for the to be removed distributed set key.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2290 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-26 17:54:56 +00:00
Michael Bayne a5c7342cdf Include our class name in toString().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2253 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-11 06:00:51 +00:00
Michael Bayne fc1a45dbaa Make where() publicly accessible.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2242 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-05 00:23:52 +00:00
Walter Korman ccb5eb4b92 Added provisions for registering a speak observer that will be notified of
all speak and system speak messages.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2212 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-22 23:14:44 +00:00