cd2d0ef47b
Completely hacky debugging code added to help me figure out why intro pirates sometimes (never on my server!) released twice. This will save the stack trace from the first release and spit it out after the "normal" error-reporting stack trace from the second release.
Ray Greenwell
2004-02-13 19:10:54 +00:00
3ae08bc60d
Never drain(), it's just buggy.
Ray Greenwell
2004-02-12 04:14:21 +00:00
66b627ef2c
Incorporated profiles into the 15 minute dump; removed some vestigal constants.
Michael Bayne
2004-02-09 02:13:35 +00:00
1d97122a81
Use the fine grained timer (measure in microseconds rather than milliseconds) and same every 100th event instead of profiling every event.
Michael Bayne
2004-02-09 02:08:28 +00:00
596f55e315
Adding in ye' old McHack until I can figure out what is actually booched with the macs copyarea. This lets the game play all happy like.
Eric Lundberg
2004-02-05 18:53:00 +00:00
072606b23a
Added exists().
Michael Bayne
2004-02-05 17:39:03 +00:00
ecb6c5a005
Added some logging to track down people who lose sounds after a while in Windows.
Ray Greenwell
2004-02-04 19:04:46 +00:00
1da661731f
Added support for Date fields.
Michael Bayne
2004-02-03 15:02:13 +00:00
15e11bd9ef
Maybe a fix for the mac booch?
Ray Greenwell
2004-02-03 07:32:41 +00:00
21c6dbfc48
Fixed up toString().
Michael Bayne
2004-01-31 12:16:12 +00:00
70cb0c1cfd
It's not a draw if one player leaves the puzzle before the other one scores any points: we are only a draw if the number of winners equals the number of players who have not bailed.
Ray Greenwell
2004-01-30 23:03:22 +00:00
3efc81b1ab
We want to fall back to our parent bundle both if we don't find a resource or if we have no resource bundle at all ourselves.
Michael Bayne
2004-01-25 13:23:09 +00:00
e8c355dff8
Obtain our system properties in a security manager aware manner.
Michael Bayne
2004-01-24 05:58:16 +00:00
2552fd471b
Simplified implementation.
Ray Greenwell
2004-01-17 01:55:46 +00:00
afccde1dd2
INitial checkin of a streamable version of an ArrayIntSet. I like sets.
Eric Lundberg
2004-01-17 01:14:12 +00:00
1688a19704
Allow for "loose" path location which gets the sprite as close as possible by normal means and then walks them in a straight line from there (when the straight line part will invariably be off-screen, this is OK).
Michael Bayne
2004-01-12 05:53:59 +00:00
7568ae1223
Provide support for locating incomplete paths.
Michael Bayne
2004-01-12 05:52:05 +00:00
ca89a3c122
Demoted logging.
Ray Greenwell
2004-01-11 17:43:12 +00:00
7f4a01b795
Made getBlock() public, added enumerateResolvedBlocks(), pressObject().
Michael Bayne
2004-01-11 12:22:05 +00:00
197067593f
Added support for visiting just the interesting objects.
Michael Bayne
2004-01-11 12:21:17 +00:00
0315c4316f
Removed the hard coded jiggery pokery that we were doing to layout scene object tips, replaced it with a system whereby custom tip layout mechanisms can be registered for object action prefixes. The default tip layout centers the tip in the object exactly as before minus the height limitation business (which is actually no longer needed as the sailing duty stations are no longer assigned to the rigging but to the wall below the rigging).
Michael Bayne
2004-01-11 08:26:18 +00:00
9f48d11b4e
Make the screen coordinates of the object's spot available since we have them.
Michael Bayne
2004-01-11 08:24:16 +00:00
424c9b0e0e
Let object action handlers have a crack at modifying the tool tip text for an action (we already let them have a crack at the icon).
Ray Greenwell
2004-01-07 22:03:08 +00:00
44247f19c6
Sigh, instead let's try giving each drop sprite only two "pop-ups".
Ray Greenwell
2003-12-31 01:26:23 +00:00
cbec145f7b
Fix the floating sword-block exploit. Pretty much what I was trying to do before, only instead of forcing the block to a position, we continue to let the loop attempt to find a rotation that works. Let's test and see how we like this.
Ray Greenwell
2003-12-31 00:03:14 +00:00
ddeadbcff1
Let's get jiggy with the verbosity in hopes of shedding some light on this ever-repeating sound situation.
Michael Bayne
2003-12-22 22:25:34 +00:00
07dfb982d7
No indication of time wickosity, so we can can this call.
Michael Bayne
2003-12-19 18:31:11 +00:00
5774f1b6a5
Removed verbose logging. Didn't discover anything useful with regard to disconnects.
Michael Bayne
2003-12-19 18:30:23 +00:00
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.
Michael Bayne
2003-12-18 18:32:34 +00:00
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.
Michael Bayne
2003-12-17 00:15:08 +00:00
1138be216f
Combined some things that didn't need to be separated and added better checking and error reporting.
Michael Bayne
2003-12-16 03:45:31 +00:00
e213827ee9
Let's just warn and cope rather than sticking a fork in things.
Michael Bayne
2003-12-15 20:06:09 +00:00
f623572a33
Corrected log message.
Michael Bayne
2003-12-15 20:04:09 +00:00
50a3db61d3
The destination file is already versioned so we just replace the version information with our regular expression.
Michael Bayne
2003-12-15 19:40:11 +00:00
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.
Michael Bayne
2003-12-15 19:37:32 +00:00
d425ec7abb
Added isActive().
Michael Bayne
2003-12-15 17:12:11 +00:00
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.
Michael Bayne
2003-12-13 02:59:05 +00:00
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.
Michael Bayne
2003-12-13 02:56:29 +00:00
d43f20d60f
Only warn if we take a (relatively) long time path finding (ie. over 500ms).
Michael Bayne
2003-12-13 02:52:00 +00:00
3af7167f2c
Track and report whether we go long periods of time without being ticked. We should be ticked every five seconds.
Michael Bayne
2003-12-13 02:50:12 +00:00
ede1aafffd
Allow a custom cluster record to be used.
Michael Bayne
2003-12-11 22:50:55 +00:00
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.
Michael Bayne
2003-12-11 21:36:12 +00:00
f93c87cfb2
Properly manage the _pending flag in requestFailed().
Michael Bayne
2003-12-11 18:47:43 +00:00
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'.
Michael Bayne
2003-12-11 18:46:02 +00:00
0bbb6759db
Yes kids, it's important to be safe when you're playing in the dangerous playground of distributed object subscription.
Michael Bayne
2003-12-11 18:36:55 +00:00
69a973efb2
Make our object manager available to nice askers.
Michael Bayne
2003-12-11 18:36:32 +00:00
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.
Michael Bayne
2003-12-11 06:34:43 +00:00
f0b7c187c4
Not to freak out if someone hasn't stuffed the right s3cr3t business in the UIManager.
Michael Bayne
2003-12-10 03:32:07 +00:00
f8664ab2b5
Some tweaks to the simulator services.
Michael Bayne
2003-12-10 03:31:41 +00:00
06230b3d47
Note and warn rather than choke.
Michael Bayne
2003-12-09 21:01:43 +00:00
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.
Michael Bayne
2003-12-09 20:57:14 +00:00
5418ffd2fd
We love to be robust.
Michael Bayne
2003-12-09 20:41:23 +00:00
ece997e937
Made getPuzzleFont() public.
Michael Bayne
2003-12-05 05:15:03 +00:00
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.
Michael Bayne
2003-12-05 02:00:48 +00:00
b4ad08ad81
Hell, let's give 'em 10000. We blow through that many distributed object events in 500 milliseconds.
Michael Bayne
2003-12-04 18:42:40 +00:00
fcef745724
We use fast computers, let's give 'em 1000 loops.
Michael Bayne
2003-12-04 18:41:59 +00:00
0cd11f034b
Not to freak out if we've no bootstrap.
Michael Bayne
2003-12-03 23:38:58 +00:00
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.
Michael Bayne
2003-12-03 23:38:45 +00:00
030a8c801d
Let's include the puzzle stuff with the parlor stuff to avoid having to do a lot of jar file dicking around.
Michael Bayne
2003-11-27 02:13:15 +00:00
bd24341589
Rejiggered the order in which board state comparison logging is done.
Michael Bayne
2003-11-26 23:16:43 +00:00
72f4b6e1d9
This should extend ParlorContext. We be gaming.
Michael Bayne
2003-11-26 23:16:13 +00:00
6fd403b88d
Wait until tick() is done before we clear the action.
Michael Bayne
2003-11-26 23:06:05 +00:00
b3e07b1bc1
This needs to go back in.
Michael Bayne
2003-11-26 18:04:37 +00:00
fa1c7af17a
More updates.
Michael Bayne
2003-11-26 17:46:06 +00:00
c5a422f7a2
Track our manager in the base delegate.
Michael Bayne
2003-11-26 03:17:16 +00:00
2f0db5ea0f
Yet more bits.
Michael Bayne
2003-11-26 02:11:34 +00:00
5424a66006
Missed some bits.
Michael Bayne
2003-11-26 02:07:45 +00:00
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.
Michael Bayne
2003-11-26 01:43:31 +00:00
1178984f48
Moved KeyDispatcher into Narya because it's generally useful (and needed by the puzzle stuff).
Michael Bayne
2003-11-26 01:42:57 +00:00
54eaddb27d
Holy crap Batman! It's the beginnings of refactoring the basic puzzle stuff into Narya.
Michael Bayne
2003-11-26 01:42:34 +00:00
0601c94e42
Cope.
Michael Bayne
2003-11-25 22:35:10 +00:00
da03a2b775
No need to log here, sometimes it happens every frame.
Michael Bayne
2003-11-25 19:42:54 +00:00
97a9b91531
Cancel any path on a sprite if it's removed while in the middle of execution.
Michael Bayne
2003-11-24 21:58:36 +00:00
4436720153
Added where().
Michael Bayne
2003-11-24 21:06:36 +00:00
29d2d781f6
Not a warnable offense.
Michael Bayne
2003-11-24 20:42:22 +00:00
0fd5923421
This is not a warnable offense.
Michael Bayne
2003-11-24 18:17:41 +00:00
94e10e81cd
Scratch that we can deal with this in DutyPuzzleManager.
Michael Bayne
2003-11-24 18:09:03 +00:00
4415472bef
Allow that warning to be disabled for duty puzzles.
Michael Bayne
2003-11-24 18:07:58 +00:00
ba9e8276ce
Let's make that key public.
Michael Bayne
2003-11-24 17:53:11 +00:00
6f336305f8
Obtain the idle time from our client config.
Michael Bayne
2003-11-24 17:52:15 +00:00
cb9ed7030d
Provide a config instance.
Michael Bayne
2003-11-24 17:51:56 +00:00
30190bfd85
Provide a config instance via which we can communicate customizations down to various and sundry services.
Michael Bayne
2003-11-24 17:51:08 +00:00
7056f6dfac
Log a warning and return null.
Michael Bayne
2003-11-22 19:57:16 +00:00
2e69e6770e
Log a stack trace when this happens.
Michael Bayne
2003-11-22 19:57:03 +00:00
e3b2930778
Added getNaturalWidth() and getNaturalHeight().
Michael Bayne
2003-11-19 18:27:10 +00:00
f634ee53dc
We don't need to be so Draconian, we can just do our best and leave it at that.
Michael Bayne
2003-11-15 00:17:59 +00:00
515e5a293e
Instead of drawing thousands of little pieces of the background tiled, draw but 9 images, with the non-corner ones being scaled as appropriate.
Ray Greenwell
2003-11-14 19:39:52 +00:00
f77cceffe6
Make our _iid available to the SafeInterval.
Michael Bayne
2003-11-12 23:37:47 +00:00
bb11cd4d0a
Some better comments, tightening up.
Ray Greenwell
2003-11-12 23:13:45 +00:00
7795edf604
Use BaseTile objects to contain fringe tile info, mark them as impassible if they are fringed on by any SPECIFIED tileId (ie, not the default tileId) that is impassible.
Ray Greenwell
2003-11-12 23:05:41 +00:00
708008b65f
Changed so that to follow a pathable you pass in the pathable and one of the public follow mode constants, instead of having a different method for enabling each different follow mode. Added a new follow mode: track, which aligns the upper-left coordinate of the view with the hotspot of the pathable.
Ray Greenwell
2003-11-12 21:47:09 +00:00
98e59b847e
I discovered that ResourceBundle messages finally seem to do the right thing with unescaped ticks (') which led me to modify MessageBundle to automatically escape ticks before passing things to MessageFormat. This allows us to use unescaped ticks willy nilly in our translation strings. Yay! No more annoying worrying about whether we should use \' or '' or having things be booched because we forgot one or the other.
Michael Bayne
2003-11-05 23:10:43 +00:00
342cce503e
Added isRegisteredFrameParticipant().
Michael Bayne
2003-11-03 22:19:51 +00:00
9672534004
Make sure the cache and .stamp paths are not versioned. Also ensure we don't leave any unversioned bundles lying around after a conversion.
Michael Bayne
2003-10-29 23:09:48 +00:00
41ce70349b
Revamped the way we handle versioned jar files such that each bundle is named according to its version number so that when we patch an old version to create a new version, we don't have to do any renaming, we just create the new version directly and hopefully avoid this bullshit problem on Windows where we're unable to rename a goddamned file.
Michael Bayne
2003-10-29 22:31:55 +00:00
7a9f2557f0
Try another strategy if we fail to remain our original file.
Michael Bayne
2003-10-29 02:42:56 +00:00
d7c1a05854
Deal more gracefully if some pathological circumstance prevents us from resolving a scene object.
Michael Bayne
2003-10-29 01:42:37 +00:00
ba26e551bd
Differentiate between dynamic resource URLs.
Michael Bayne
2003-10-27 11:43:26 +00:00
77bc33214a
Handle string and int arrays.
Michael Bayne
2003-10-27 05:34:19 +00:00