Dave Hoover
038604d1d2
Make piece prediction harder.
...
Since the client & server share RNGs, many puzzles (e.g. yohoho's
swordfighting) wind up lending themselves to easy piece prediction; the
board is set up with a seed, and the RNG is only ever used to generate
pieces. Someone snooping that could (and people have) pre-generate all
the pieces in order, letting you snoop ahead.
Now, Board implementations can choose to use certain events to pull bits
from the RNG so that the actual ACTIONS taken perturb things, making
things branch to the point that prediction is prohibitively hard.
A while back, I'd wanted to do this across the board for all actions,
but unfortunately in yohoho we have various non-board-altering events
that come in and are executed in different orders on client and server,
so things fell out of sync pretty quickly. The thought rattled around in
my head again, so I'm doing it again. This time, Boards have to
explicitly opt in on each event, so they can be sure to restrict it to
those that are safe to use.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@896 c613c5cb-e716-0410-b11b-feb51c14d237
2010-02-09 04:11:36 +00:00
Dave Hoover
fcd8a9d901
Whitespace
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@895 c613c5cb-e716-0410-b11b-feb51c14d237
2010-02-09 04:11:34 +00:00
Dave Hoover
1dac539f6d
Pngcrush
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@894 c613c5cb-e716-0410-b11b-feb51c14d237
2010-02-09 04:11:32 +00:00
Ray Greenwell
15c3a1996d
Regenerated: DSets just clone() now.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@893 c613c5cb-e716-0410-b11b-feb51c14d237
2010-02-04 21:49:40 +00:00
Ray Greenwell
d950cd6a51
Nix redundant cast.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@892 c613c5cb-e716-0410-b11b-feb51c14d237
2010-01-13 19:11:56 +00:00
Dave Hoover
fa3d68369f
Now-spurious casts
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@891 c613c5cb-e716-0410-b11b-feb51c14d237
2010-01-13 18:52:38 +00:00
Dave Hoover
c94d387815
Reconcile the differences between SparseMisoSceneModel.clone & AuxModel.clone
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@890 c613c5cb-e716-0410-b11b-feb51c14d237
2010-01-13 18:52:23 +00:00
Ray Greenwell
1a254f9e1d
clone() modernization.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@889 c613c5cb-e716-0410-b11b-feb51c14d237
2010-01-13 18:41:00 +00:00
Dave Hoover
364659116b
I swear; sometime before 2011 I'll be done stumbling across ways my
...
copyright updating missed things
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@888 c613c5cb-e716-0410-b11b-feb51c14d237
2010-01-06 01:11:24 +00:00
Dave Hoover
1b1b3782a0
Some more copyrights I'd missed
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@887 c613c5cb-e716-0410-b11b-feb51c14d237
2010-01-05 22:12:02 +00:00
Dave Hoover
c3fce4be77
Make this other batch of colorizations sort on the name
...
since it's a major PITA to have it inconsistent between the UI for
scene colors and object colors.
For the record, I will admit to feeling a bit dirty using
Comparators.combine only ~2.5 hours after Ray sent out email talking
about how awesome guava's ComparisonChain is, but I'm really not in
the mood to muck with pulling in the guava dependency.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@886 c613c5cb-e716-0410-b11b-feb51c14d237
2010-01-05 21:59:15 +00:00
Dave Hoover
2b8f68df8b
Welcome to the future.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@885 c613c5cb-e716-0410-b11b-feb51c14d237
2010-01-04 21:47:24 +00:00
Dave Hoover
e580adf522
Support tertiary & quaternary colors as added in nenya
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@884 c613c5cb-e716-0410-b11b-feb51c14d237
2009-12-05 00:56:10 +00:00
Par Winzell
3b06f339f9
This seems to be the only existing use of @Column(type=...) which is a loathsome piece of functionality that I'd like to rip out of Depot. I am not sure why we fixed on TIMESTAMP originally; only in MySQL would it make a difference at all, and I believe only Whirled uses this class?
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@883 c613c5cb-e716-0410-b11b-feb51c14d237
2009-10-29 15:34:12 +00:00
Michael Bayne
e0fea1c12e
Fluency--.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@882 c613c5cb-e716-0410-b11b-feb51c14d237
2009-10-04 23:26:27 +00:00
Andrzej Kapolka
5c7f0aea67
Allow customizing the ZoneMoveHandler.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@881 c613c5cb-e716-0410-b11b-feb51c14d237
2009-09-29 00:43:35 +00:00
Ray Greenwell
54c809d21a
Use Joiner instead of StringBuilder.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@880 c613c5cb-e716-0410-b11b-feb51c14d237
2009-09-16 21:15:03 +00:00
Michael Bayne
dce305ad0a
More Galileo hygiene.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@879 c613c5cb-e716-0410-b11b-feb51c14d237
2009-09-15 04:53:18 +00:00
Michael Bayne
6e5d2b57ba
Missed a spot.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@878 c613c5cb-e716-0410-b11b-feb51c14d237
2009-09-10 02:53:57 +00:00
Michael Bayne
0240e18140
Use Ops and FluentExp instead of doing things manually.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@877 c613c5cb-e716-0410-b11b-feb51c14d237
2009-09-10 02:31:16 +00:00
Par Winzell
8efbc2349c
Cope with the Funs->Funcs rename.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@876 c613c5cb-e716-0410-b11b-feb51c14d237
2009-09-09 20:18:03 +00:00
Par Winzell
9fe7cc340d
Use proper Depot support.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@875 c613c5cb-e716-0410-b11b-feb51c14d237
2009-09-09 14:52:13 +00:00
Ray Greenwell
20e1d45e43
We now make it a least-recently used map.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@874 c613c5cb-e716-0410-b11b-feb51c14d237
2009-09-01 23:47:14 +00:00
Charlie Groves
ac5d784a9e
Cleanup
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@873 c613c5cb-e716-0410-b11b-feb51c14d237
2009-08-25 18:01:30 +00:00
Ray Greenwell
3871628b27
New syntax for making a more complicated Map.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@872 c613c5cb-e716-0410-b11b-feb51c14d237
2009-08-25 02:13:09 +00:00
Ray Greenwell
e2b8ac9d42
New, more efficient Maps.
...
Don't these deck chairs look GREAT?
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@871 c613c5cb-e716-0410-b11b-feb51c14d237
2009-08-24 02:55:56 +00:00
Ray Greenwell
69a978d819
And here. Can't do it in narya yet until I trash Environment.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@870 c613c5cb-e716-0410-b11b-feb51c14d237
2009-08-21 22:05:47 +00:00
Ray Greenwell
f1ab599aa5
Oh, and compile against ooolib.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@869 c613c5cb-e716-0410-b11b-feb51c14d237
2009-08-21 21:28:20 +00:00
Ray Greenwell
79854a177d
We need ooolib (flash-utils) here.
...
This error was masked by the fact that a bunch of ooolib classes
are in naryalib.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@868 c613c5cb-e716-0410-b11b-feb51c14d237
2009-08-21 21:27:14 +00:00
Ray Greenwell
2f1a7a627b
Use an LRUHashMap to store scene models, as per TODO.
...
(Note: this doesn't compile, because the actionscript libs are jacked.
I'll try to sort that out now.)
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@867 c613c5cb-e716-0410-b11b-feb51c14d237
2009-08-21 21:11:55 +00:00
Ray Greenwell
8c14879fdb
Ye olde drive-by logging varargification.
...
Noticed that we aren't using a LRU Map for scene model storage,
which could explain client flakiness after visiting lots of scenes...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@866 c613c5cb-e716-0410-b11b-feb51c14d237
2009-08-20 23:54:35 +00:00
Dave Hoover
ad7561dae1
Prune spurious semicolons and redundant implementation declarations
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@865 c613c5cb-e716-0410-b11b-feb51c14d237
2009-08-17 21:46:33 +00:00
Ray Greenwell
85ef5ed4f9
Regenerated actionscript services, and the callers that love them.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@864 c613c5cb-e716-0410-b11b-feb51c14d237
2009-08-13 06:19:27 +00:00
Jamie Doornbos
accb67e407
Allow most recent ratings to be filtered by a specific list of game ids.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@863 c613c5cb-e716-0410-b11b-feb51c14d237
2009-07-27 21:31:42 +00:00
Charlie Groves
e31ce21c70
Use PresentsDObjectManager.newInterval
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@862 c613c5cb-e716-0410-b11b-feb51c14d237
2009-07-21 00:11:57 +00:00
Michael Bayne
e07fd189b6
Get our Presents tools from narya-tools, nix no longer needed dependencies.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@861 c613c5cb-e716-0410-b11b-feb51c14d237
2009-07-12 22:21:53 +00:00
Michael Bayne
71eb3d14d6
Out with commons lang, collections and io.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@860 c613c5cb-e716-0410-b11b-feb51c14d237
2009-07-12 21:28:36 +00:00
Jamie Doornbos
acb856c9cf
Method to access the most recent rating of a set of players. This will be used in msoy to determine recently played games of (facebook) friends.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@859 c613c5cb-e716-0410-b11b-feb51c14d237
2009-07-03 00:38:10 +00:00
Dave Hoover
44fd4d63f3
Mark overrides
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@858 c613c5cb-e716-0410-b11b-feb51c14d237
2009-06-22 17:36:34 +00:00
Michael Bayne
cd129b788c
Updates to reflect changes in Narya.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@857 c613c5cb-e716-0410-b11b-feb51c14d237
2009-06-20 01:04:01 +00:00
Michael Bayne
0ef8cf1c58
Fluency++, imports--.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@856 c613c5cb-e716-0410-b11b-feb51c14d237
2009-06-10 18:54:46 +00:00
Michael Bayne
4b136b2f88
Don't be such a stickler about our ids.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@855 c613c5cb-e716-0410-b11b-feb51c14d237
2009-06-09 20:32:11 +00:00
Michael Bayne
0c62deacdb
Actually we want purgePlayers().
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@854 c613c5cb-e716-0410-b11b-feb51c14d237
2009-06-09 20:30:53 +00:00
Michael Bayne
a8b5a3feb3
Added purgeGame(), purgePlayer(), nixed deletePercentiles().
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@853 c613c5cb-e716-0410-b11b-feb51c14d237
2009-06-09 20:29:11 +00:00
Dave Hoover
2496ec5701
Random cleanup I had kicking around
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@852 c613c5cb-e716-0410-b11b-feb51c14d237
2009-06-09 05:53:40 +00:00
Mike Thomas
bcedb24738
Make the placement constraints a bit more flexible to other wall types than "normal" or "low"
...
Note: This does potentially break some backwards compatibility, but I don't believe anyone's actually using PlacementConstraints other than Puzzle Pirates.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@851 c613c5cb-e716-0410-b11b-feb51c14d237
2009-06-09 01:50:04 +00:00
Ray Greenwell
b6e840ddbc
Updated RSL info, not statically linked.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@850 c613c5cb-e716-0410-b11b-feb51c14d237
2009-06-08 21:59:45 +00:00
Ray Greenwell
2ec786bb63
Allow the DObject to be set after construction.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@849 c613c5cb-e716-0410-b11b-feb51c14d237
2009-06-04 02:05:52 +00:00
Ray Greenwell
82f877db99
Logging varargification.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@848 c613c5cb-e716-0410-b11b-feb51c14d237
2009-06-03 23:35:22 +00:00
Ray Greenwell
cd138d2258
Broke-out all modifications to the tables DSet into overrideable methods.
...
updateTables was already there, but I renamed it for consistency.
Pretty sure this doesn't booch any subclasses.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@847 c613c5cb-e716-0410-b11b-feb51c14d237
2009-06-03 23:21:25 +00:00