Commit Graph

68 Commits

Author SHA1 Message Date
Walter Korman a97e9db978 Moved remaining client.*Codes classes into their respective data packages
as they are intended to represent codes shared between the client and the
server.  Made correspondingly necessary changes throughout.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1240 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-15 16:28:05 +00:00
Walter Korman f6fedf5bdf Renamed OccupantManager to OccupantDirector.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1239 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-15 14:38:46 +00:00
Walter Korman 5ec2bdcfe0 Use JPasswordField.getPassword() as per deprecation warning.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1234 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-12 16:26:12 +00:00
Walter Korman 093edd4750 Pass along the user password if specified.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1174 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-03 21:53:17 +00:00
Michael Bayne b486315e47 Revamp! Modified the way configuration is handled.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1166 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-28 22:32:34 +00:00
Walter Korman 984f2cc9f0 Build simulant names with the index counter rather than the simulant size
now that we resolve clients asynchronously.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1147 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-26 01:30:37 +00:00
Michael Bayne 7ccb9594b9 Changed DSet.Element to DSet.Entry in preparation for the addition of
array element update support. (Arrays have elements, sets have entries.)


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1133 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-18 23:21:26 +00:00
Michael Bayne 1d956214dd Added SessionObserver which is a pared down version of ClientObserver that
only reports logon and logoff.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1117 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-11 19:51:25 +00:00
Michael Bayne 0177f77dfd Regenerated with fixed gendobj.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1098 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-08 01:06:12 +00:00
Michael Bayne 9e16e87a69 Doris the refactorasaurus. Restructured the whole client object resolution
process so that it can be done by other entities than just the client
management services. Coordination between these parties is managed so that
no toes are stepped on in the course of loading and unloading clients and
everything is generally much nicer.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1086 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-05 05:33:25 +00:00
Michael Bayne dc154423e0 Added code to support the new localized system messages; first by creating
a message manager and making it available to the micasa code and second by
actually using it to translate system messages.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1075 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-26 05:48:11 +00:00
Michael Bayne 5f18acd3d8 Modified distributed object attribute setting such that attributes are
*always* set immediately because after some deliberation, we decided that
doing that led to less unexpectedly annoying behavior than having to wait
for the event to propagate to see the new value.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1062 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-20 23:35:42 +00:00
Michael Bayne 635e9cf930 addObserver -> addClientObserver.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@982 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-09 20:47:11 +00:00
Michael Bayne 5581b3e65b Converted more dobj classes to use the gendobj script. (Had to do a wee
bit of fiddling to accomplish some things that used to be done by hand.)


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@973 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-08 23:55:25 +00:00
Michael Bayne 62c466b95f Changed getContext() to getParlorContext() to prevent naming conflict.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@942 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-05 22:58:23 +00:00
Michael Bayne ff97ce2c25 Report the error if we fail to load game config; minor restructuring.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@941 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-05 22:57:44 +00:00
Michael Bayne bf049dc1c7 Set up our SimulatorManager on init().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@940 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-05 22:57:10 +00:00
Michael Bayne 9e6e07ea61 Extracted the simulator server services out into an implementable
interface so that we can replace the server with a more sophisticated one
when running the simulator.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@938 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-05 22:12:42 +00:00
Michael Bayne 8dd6ac2b32 Need to be provided with an omgr rather than referencing it via the
SimulatorServer.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@937 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-05 22:11:51 +00:00
Michael Bayne 9cafc77659 Modified simulator manager to obtain helper managers at construct time
rather than referencing them through SimulatorServer. This is step on in
eliminating SimulatorServer.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@930 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-05 20:27:07 +00:00
Michael Bayne a83e512270 Modified DObject.toString() to use fieldsToString() so that all of its
derived classes need not do their own toString()ing.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@928 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-04 01:47:20 +00:00
Michael Bayne c1dcc614f7 Clean up marshalling a bit.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@913 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-01 23:43:45 +00:00
Michael Bayne a0a1a48057 Have to separately alloc and init now.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@878 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-01-19 04:16:02 +00:00
Michael Bayne c6b0638e9e Apparently, we need an explicit protected constructor in the client
context impl inner class.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@877 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-01-19 04:15:25 +00:00
Michael Bayne ef9c12672e Restructured MiCasaClient such that it could be extended for games that
need a custom (extended) client context.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@876 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-01-19 04:02:11 +00:00
Michael Bayne b88b5c61e5 Modified the simulator stuff to allow it to be extended with the intent of
providing a specially configured client context for use by the code that
runs in the simulator.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@861 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-01-16 02:59:08 +00:00
Walter Korman 8c6bc2d129 Map simulant body objects into the server on creation.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@843 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-20 01:11:18 +00:00
Walter Korman 7ba9618ac9 Expanded imports and removed obsolete imports and member data.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@842 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-20 01:10:52 +00:00
Walter Korman d4837512f6 Initialize the simulant with the game config as well as their body object.
Have the simulant notify the game object when it's ready rather than doing
it in the SimulatorManager so that game-specific Simulant variants can set
themselves up in timely fashion.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@840 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-19 23:30:47 +00:00
Walter Korman 0f8a78bf7c Let the game manager know when the simulant is ready for the game to
begin.  Give the simulant body objects their correct username.  Cleaned up
logging.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@838 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-19 10:02:53 +00:00
Walter Korman 3e1e1dea83 Initial version of game simulator to facilitate game testing. Runs a
client and game server in a single process, creating as many Simulant
players to round out the game as desired.  Still more work to do, but
currently creates simulants, starts up the game, and awaits players.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@837 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-19 09:32:02 +00:00
Michael Bayne 65401007de Javadoc edits.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@816 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-17 01:06:35 +00:00
Michael Bayne 227a8addfd Handle (by ignoring) the new type information associated with chat
messages.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@808 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-16 21:47:13 +00:00
Walter Korman af4b1175d7 Use AncestorAdapter.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@779 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-14 16:08:00 +00:00
Walter Korman e5d514aa8a Added facility for setting whether the chat text entry field should
request keyboard focus.  Expanded imports.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@778 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-14 04:33:53 +00:00
Michael Bayne 4a31725ff2 Allow the specification of the server host via a system property.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@637 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-26 23:46:47 +00:00
Michael Bayne cf51ce8a9c Connect to the server specified by our codebase host.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@574 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-25 23:43:02 +00:00
Michael Bayne 20d8b968c2 Catch the security exception if our invite-test code chokes on
System.getProperty(). We want to leave it in, but we don't want applets to
complain about it.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@573 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-25 23:42:33 +00:00
Michael Bayne ea6248f99d Only attempt to log off in stop() if we're actually logged on.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@570 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-25 23:29:00 +00:00
Michael Bayne 9c781457c6 Revamped logon and logoff handling so that the driver is responsible for
either exiting or closing the window when we logoff rather than the client
or the client controller which don't know if we're in an applet or an
application or something else.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@569 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-25 23:21:32 +00:00
Michael Bayne 264a71ddd5 Created a basic applet driver for the MiCasa client.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@568 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-25 23:03:48 +00:00
Michael Bayne e3767a5241 Added faked login code to the app.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@567 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-25 23:03:29 +00:00
Michael Bayne 22ee2981cb Wrapped the jumpOid check in a catch clause in case we're running in an
applet. Removed the faked login code.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@566 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-25 23:02:57 +00:00
Michael Bayne 000463f491 Added a "Go" button to games in progress that can be used to enter those
game rooms.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@549 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-24 01:26:54 +00:00
Michael Bayne 218eea6dc2 Changed TableManager to TableDirector. Will I ever learn?
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@534 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-23 23:52:01 +00:00
Michael Bayne ea3964d702 Now uses TableManager to do table management.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@533 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-23 23:47:33 +00:00
Michael Bayne 1849e90797 More progress on table lobby. Everything mostly works. Need to fix up some
boundary cases and deal with users and games going away.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@530 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-23 20:24:10 +00:00
Michael Bayne dcf38d7a09 Have to pass a second arg to createPlace().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@522 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-22 23:56:42 +00:00
Michael Bayne 7844e4db85 Handle system messages.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@502 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-18 23:55:37 +00:00
Michael Bayne a78728edcb Add /clear for clearing the chat box.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@500 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-18 23:10:32 +00:00