udoprog / c10t

A minecraft cartography tool
Other
225 stars 50 forks source link

Floating point exception since Minecraft update 1.3 #128

Closed ghost closed 13 years ago

ghost commented 13 years ago

Hi,

according to http://notch.tumblr.com/post/3446675806/minecraft-beta-1-3 the way world data is being saved has changed. Now c10t returns a floating point exception.

minecraft@foobar /opt/minecraft $ /opt/c10t/c10t -v
c10t - a cartography tool for minecraft
version: git 3534dfa, built on Jan 21 2011
by: Udoprog  et. al (see README)
site: http://github.com/udoprog/c10t

minecraft@foobar /opt/minecraft $ /opt/c10t/c10t -m 1 -M 256 -w /opt/minecraft/foobar/ --show-players -z -n --ttf-path /usr/share/fonts/corefonts/Ubuntu-R.ttf --ttf-size 28 -o /tmp/iso.png --debug
Threads: 1

Generating PNG Map

 --- LOOKING FOR DATABASES --- 
players: /opt/minecraft/foobar/players: 4 player(s) OK
 --- SCANNING WORLD DIRECTORY --- 
world: /opt/minecraft/foobar/
        0 parts
 --- DEBUG WORLD INFO --- 
mc::world
  min_x: 2147483647
  max_x: -2147483648
  min_z: 2147483647
  max_z: -2147483648
  levels: 0
  chunk pos: 0x0
 --- ALLOCATING MEMORY --- 
memory usage: 0.07 MB
memory limit: 268.44 MB
 --- RENDERING ---
Floating point exception

Best regards, Mike

ghost commented 13 years ago

https://github.com/udoprog/c10t/issues/#issue/119

Shame on me, duplicate.