papillon88 / tectonicus

Automatically exported from code.google.com/p/tectonicus
0 stars 0 forks source link

Players and beds no longer show #49

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Since the recent update any map rendered with players or beds enabled no 
longer show them.
2.
3.

What is the expected output? What do you see instead? Please attach a full
log file.

Map renders fine, the issue is the format change for play data.  We currently 
have 22 players on this server.  Log file not really needed but here is the top 
relevant part:
 + + + + + + + + + + + + + + + + + + + + + + +
                  Tectonicus
   Version: 2.19
   Build 42\:124M\r\n
   Constructed on November 10 2013 at 2003
 + + + + + + + + + + + + + + + + + + + + + + +
Started on Sat Jun 07 21:00:18 EDT 2014
System:
    OS Name: Mac OS X
    OS Architecture: x86_64
    OS Version: 10.6.8
    Java vendor: Apple Inc.
    Java version: 1.6.0_65
    Awt toolkit: apple.awt.CToolkit
    Headless?: null
Settings:
    mode:CommandLine
    rasteriser:Lwjgl
    outputDir:/Volumes/Closet/MCMaps/an
    useCache:true
    cacheDir:/Volumes/Closet/MCMaps/an/Cache
    minecraftJar:/Volumes/Closet/Dropbox/minecraft/versions/1.7.9/1.7.9.jar
    texturePack:/Volumes/Closet/Dropbox/minecraft/resourcepacks/AppleNovaBradTextures.zip
    colourDepth:32
    alphaBits:0
    numSamples:4
    tileSize:512
    numZoomLevels:7
    portalsInitiallyVisible:false
    showSpawn:true
    signsInitiallyVisible:false
    playersInitiallyVisible:false
    bedsInitiallyVisible:false
    spawnInitiallyVisible:true
    viewsInitiallyVisible:false
    eraseOutputDir:false
    extractLwjglNatives:true
    isVerbose:false
    forceLoadAwt:false
    force32BitNatives:false
    force64BitNatives:false
    logFile:/Volumes/Closet/Dropbox/mc/Logs/Tectonicus.log
    outputHtmlName:index.html
    numDownsampleThreads:4
    singlePlayerName:
'North East' map
    worldDir: /Volumes/Closet/Dropbox/mc/world
    dimension: Terra
    cameraAngle: 45
    cameraElevation: 35
    closestZoomSize: 23
    worldSubset: FullWorldSubset
    useBiomeColours: false
    'Day' layer
        renderStyle: Regular
        lightStyle: Day
        imageFormat: Jpg
        imageCompressionLevel: 0.75
        customBlockConfig: 
    'Night' layer
        renderStyle: Regular
        lightStyle: Night
        imageFormat: Jpg
        imageCompressionLevel: 0.75
        customBlockConfig: 
'South West' map
    worldDir: /Volumes/Closet/Dropbox/mc/world
    dimension: Terra
    cameraAngle: 225
    cameraElevation: 35
    closestZoomSize: 23
    worldSubset: FullWorldSubset
    useBiomeColours: false
    'Day' layer
        renderStyle: Regular
        lightStyle: Day
        imageFormat: Jpg
        imageCompressionLevel: 0.75
        customBlockConfig: 
    'Night' layer
        renderStyle: Regular
        lightStyle: Night
        imageFormat: Jpg
        imageCompressionLevel: 0.75
        customBlockConfig: 
'Overview' map
    worldDir: /Volumes/Closet/Dropbox/mc/world
    dimension: Terra
    cameraAngle: 90
    cameraElevation: 90
    closestZoomSize: 23
    worldSubset: FullWorldSubset
    useBiomeColours: false
    'Day' layer
        renderStyle: Regular
        lightStyle: Day
        imageFormat: Jpg
        imageCompressionLevel: 0.75
        customBlockConfig: 
    'Night' layer
        renderStyle: Regular
        lightStyle: Night
        imageFormat: Jpg
        imageCompressionLevel: 0.75
        customBlockConfig: 
Using existing player skin cache
Creating player icon assembler
Initialising display...
    Drawable: null
    created pbuffer: org.lwjgl.opengl.Pbuffer@3c6210fb
    used pixel format:   colour:32 depth:16 alpha:0 stencil:0 samples:4
    display created ok
Using rasteriser: tectonicus.rasteriser.lwjgl.LwjglRasteriser@197200b4
 -- Lwjgl Rasteriser -- 
    LWJGL version: 2.9.0
    type: Offscreen
    width: 2048
    heigth: 2048
    pBuffer: org.lwjgl.opengl.Pbuffer@3c6210fb
    OpenGL Vendor: Apple Computer, Inc.
    OpenGL Renderer: Apple Software Renderer
    OpenGL Version: 2.1 APPLE
Creating camera
TileRenderer init complete
StartingRenderer
Starting tile renderer
Loading world from base dir /Volumes/Closet/Dropbox/mc/world with dimension 
Terra
    Full dimension dir: /Volumes/Closet/Dropbox/mc/world
Loading level.dat
Loading textures
Creating block registry
Loading players
Loading players from /Volumes/Closet/Dropbox/mc/world/players
    loaded 0 players
Loading ops from /Volumes/Closet/Dropbox/mc/ops.txt
    found 2 players
Detected Anvil save format
CalculatingChunkHashes
Discovering chunks...
Looking for chunks in /Volumes/Closet/Dropbox/mc/world

Found 54334 chunks in total
Found 0 views
Finding visible tiles...
FindVisibleTiles
100%
found 19229 total tiles to output
Finding changed tiles since last render...
FindChangedTiles
Generating compass image...
Generating portal image...
Writing signs to /Volumes/Closet/MCMaps/an/Map0/signs.js
Outputting players to /Volumes/Closet/MCMaps/an/Map0/players.js
Outputted 0 players
Outputting beds to /Volumes/Closet/MCMaps/an/Map0/beds.js
Outputted 0 beds
Writing portals...
Writing views...
Outputting block stats to /Volumes/Closet/MCMaps/an/Map0/blockStats.js
Outputted 310 block counts
Outputting world stats to /Volumes/Closet/MCMaps/an/Map0/worldStats.js
Outputted world stats
Finding changed views...
Found 0 changed views (out of 0 total views)
Drawing Day views...
Drawing Night views...
View rendering done!
Tile cache directory found and is valid. Using cache at 
/Volumes/Closet/MCMaps/an/Cache/tileHashes/Map0/LayerA

What version of the product are you using? What is your operating system
and Java version?

Mac OS 10.6.8 and Java 1.6

Please provide any additional information below.

Again, map renders without errors but players are not readable since the format 
change for player and bed data.

Original issue reported on code.google.com by turtle2...@gmail.com on 8 Jun 2014 at 4:09

GoogleCodeExporter commented 9 years ago
I just noticed that part of the issue is the wrong folder being looked at:
[me@anmc world]$ /bin/ls playerdata/|wc -l
22
[me@anmc world]$ /bin/ls players/|wc -l
0

The contents of the playerdata folder is the new format player data.

Original comment by turtle2...@gmail.com on 8 Jun 2014 at 4:14

GoogleCodeExporter commented 9 years ago
The Tectonicus project is being moved over to GitHub here: 
https://github.com/tectonicus/tectonicus

I have added this issue over there as well: 
https://github.com/tectonicus/tectonicus/issues/49

I have checked in a fix for the player data directory location over in the 
GitHub repository.  Unfortunately, I don't know of a good way to get a username 
by querying with a UUID which means there are still some problems.  Also from 
what I understand Mojang changed the way player skins are handled, so some more 
research is needed in order to figure out how to get them working again.

Original comment by skoeven on 28 Aug 2014 at 3:41

GoogleCodeExporter commented 9 years ago

Original comment by skoeven on 28 Aug 2014 at 3:48