0
Commit Graph

2176 Commits

Author SHA1 Message Date
Andrew Chin
322922b8e6 Implement a UUID lookup cache, to avoid hitting the mojang server so much
The cache is a gzip'd JSON file.  Soon we will have a small script to
help manage the cache

See #1090 and #1117
2014-08-19 22:08:15 -04:00
Andrew Chin
59d277a131 Change ctime to localtime.
See discussion in #1082
2014-08-19 21:28:25 -04:00
Andrew Chin
8257220657 Merge PR# 1082 2014-08-19 21:17:57 -04:00
Andrew Chin
8cc2346f6d Merge pull request #1141 from enaut/docfix
Fix error in the config.rst file
2014-08-19 21:15:06 -04:00
Franz Dietrich
55bbe26916 Fix error in the config.rst file 2014-08-14 10:35:44 +02:00
Andrew Chin
da3e6fdd41 Merge pull request #1133 from bmbeverst/patch-1
Latest version of minecraft jar
2014-08-05 21:58:47 -04:00
Brooks
6cca3ed004 Latest version of minecraft jar
Updated the version variable in the short script to install the latest minecraft jar for textures.
2014-07-30 22:24:23 -04:00
Andrew Chin
0b3f91e752 Merge pull request #1131 from CounterPillow/genpoi-dimfix
Fix genPOI dimension parsing
2014-07-28 12:19:12 -04:00
Nicolas F
792b049dd5 FIx genPOI dimension parsing
Fixes Issue #1130
2014-07-18 20:08:34 +02:00
Andrew Chin
6e29245a36 Merge pull request #1129 from Aaron1011/patch-2
Fix typo
2014-07-09 16:50:54 -04:00
Aaron1011
51e75a7d06 Fix typo 2014-07-09 10:52:12 -04:00
Aaron Griffith
35863578d7 Merge remote-tracking branch 'matrixhacker/master'
Conflicts:
	docs/config.rst
2014-06-26 05:14:49 -04:00
Aaron Griffith
97778e4a67 Merge pull request #1113 from CounterPillow/docs-cleanup
Docs cleanup
2014-06-26 04:58:51 -04:00
Aaron Griffith
c920c0ab7a Merge pull request #1118 from CounterPillow/patch-1
genPOI: Fix warning for unresolvable UUID
2014-06-23 05:08:59 -04:00
Nicolas F.
a77f4aa5f4 Fix warning for unresolvable UUID
Exception while catching an exception. Try to make an inception joke of that.
2014-06-20 19:53:34 +02:00
Andrew Chin
9d7e1d2e02 Merge pull request #1110 from CounterPillow/genpoi-triage
genPOI triage
2014-06-18 22:51:25 -04:00
Andrew Chin
fdb3e4d599 Merge pull request #1112 from CounterPillow/worldnamefix
Remove broken special case for ancient worlds
2014-06-04 09:57:07 -04:00
Nicolas F
948d2fa741 Minor fixes to documentation
* Fix the copypasted section in the README

  * Update version and dates
2014-06-04 13:23:30 +02:00
Nicolas F
3c33080e3d Update front page of the docs
lol
2014-06-04 12:23:43 +02:00
Nicolas F
57fd1e2ffb config.rst restructuring with new headings
This hopefully makes the page slightly less intimidating.
2014-06-04 12:17:29 +02:00
Nicolas F
192ff4c1a0 Long overdue addition of information to docs
* Add 2 FAQ entries, one concerning mod blocks, the other
    about the maps API.

  * Add note about The End and lighting strength. (Closes #1111)
    (Also, nice quads.)
2014-06-04 11:44:38 +02:00
CounterPillow
c15b9383c8 Remove broken special case for ancient worlds
And to whoever wrote that thing: "World10" is not 6 characters
long, so the workaround was broken anyway.
2014-06-03 18:08:27 +02:00
Andrew Chin
381d66f36d Try to prevent findGitHash from ever returning None
See #1093
2014-06-01 21:13:55 -04:00
Andrew Chin
a7aab9d1b2 Try to prevent findGitHash from ever returning None 2014-06-01 21:13:14 -04:00
Nicolas F
8053eaca72 Lazily get names from UUIDs
Instead of doing the UUID->name resolution for all players in every
case, only do it when EntityId is accessed and the name hasn't been
retrieved this run already. This makes genPOI usable for people who
have many players on their servers but don't wish to use player POI
while still using other genPOI features.

To do this, a PlayerDict has been created, which contains a dirty
hack to see if the requested item is EntityId and whether it hasn't
been set already.
2014-05-30 10:16:28 +02:00
Andrew Chin
5427b28ca2 Use is not None instead of != None 2014-05-26 14:02:40 -04:00
Andrew Chin
f6825dd8da Merge pull request #1102 from Shadark/rename_fix
Fixed pngnq rename error in Windows
2014-05-17 10:55:25 -04:00
Shadark
b3f41c7928 Fixed pngnq rename error in Windows
Fixed error 183 (File already exists) in Windows when trying to use
pngnq and trying to rename "file.png.tmp" to "file.png".
2014-05-14 01:49:45 +02:00
matrixhacker
bb1c4a7b85 Updated documentation and added an additional validation check for
improperly formatted crop zones.
2014-05-12 14:47:45 -04:00
Aaron Griffith
95de300276 fix jar caching forcing default textures (caused by 183da128) 2014-05-10 18:45:58 -04:00
matrixhacker
b6ac54a2b6 Added the ability to specify multiple crop zones. 2014-05-09 23:44:46 -04:00
Aaron Griffith
8881ba608d Merge pull request #1098 from CounterPillow/optimizehints
Clarify optimizeimg docs; Warn if the order of optimizers does not make sense.
2014-05-09 14:58:09 -04:00
CounterPillow
6812cad596 Fix validator for empty lists (the default value)
Whoops.
2014-05-09 16:58:47 +02:00
CounterPillow
6d28942626 Clarify optimizeimg docs; add warnings
The validator will now warn if it detects that a crushed output
is fed into something that is not a crusher.

The is_crusher method of an optimizer shall return True if the
optimisation process is lossless, and does try to find optimal
encoding parameters as opposed to only removing unneeded channels
or reducing palettes.
2014-05-08 20:56:46 +02:00
Aaron Griffith
a39c45d473 Merge pull request #1087 from rymate1234/master
Add a small message stating where the render is and how to open it
2014-05-06 18:25:31 -04:00
Aaron Griffith
4b2cbfb5ee Merge pull request #1074 from CounterPillow/optimizerewrite
Rewrote image optimisation stuff.
2014-05-06 18:25:09 -04:00
CounterPillow
03561dccfa Use check_call(), add workaround for broken pngnq
Also -f pngnq to write files, in case something didn't work
last render.
2014-05-06 22:31:23 +02:00
CounterPillow
8817972b36 Move the check for program availability into class
We also actually execute it now. Go us!
2014-05-06 20:10:42 +02:00
CounterPillow
866c2fe064 Work around and warn if old optimizeimg definition
Before someone says this is incorrect because it only ever uses
pngcrush: The old code always used pngcrush and nothing else
anyway. This is absolutely correct and the old behaviour.

I also added a check to make sure it's a list, as some people might
forget the whole list thing.
2014-05-06 19:54:43 +02:00
Andrew Chin
9487d6f5bd Added a --check-version option 2014-05-03 00:23:10 -04:00
Aaron Griffith
7c23d6e86a added rendercheck mode 3, the identity function of rendercheck modes! 2014-05-01 16:48:28 -04:00
Andrew Chin
7d87d25658 Fix ServerAnnounceObserver typo 2014-04-15 11:22:41 -04:00
rymate1234
9a3305932e Add a small message stating where the render is and how to open it 2014-04-11 16:10:56 +02:00
Andrew Chin
8e5944d5c3 Catch some additional UUID lookup errors from urllib2 2014-04-10 19:52:50 -04:00
Andrew Chin
ae586a7d27 Merge PR #1079 -- Handle UUID player files semi-nicely in POIgen 2014-04-10 19:44:24 -04:00
Aaron Griffith
a8fc3300b4 general fixes for min/maxzoom, documentation cleared up
hopeful fix for #1086
2014-04-05 20:29:58 -04:00
Andrew Chin
49cf0b4187 Merge PR #1055 2014-03-30 20:09:30 -04:00
Andrew Chin
3f222796c5 Print a limit=1 traceback if failed to build 2014-03-30 18:50:46 -04:00
Andrew Chin
90071e999f Merge #1055 -- Prevent opening and parsing files which haven't been modified since the last time that the render was done. 2014-03-30 18:21:08 -04:00
kiyote
a5b7c9617f Added ['time'] attribute to Players POI
It's nice that we can see where a player was at logout, but now we can see when that logout was.
2014-03-29 09:17:59 -05:00