Had no trouble compiling and running this on Linux. It's quick! Copied the html/css files into the output directory. Unfortunately, all I got was a black page! What should I do?
This looks great! Are you still working on this to implement the missing block types mentioned in the README?
btw - for those of you using pigmap, you may be interested in the sundial widget I recently put together. It integrates nicely with pigmap: just edit template.html as described in the README.
sunkid, it seems that the unpack methods is broken ; it sometimes does nothing at all. Or just unpack some mcr, causing the map to be weird.
I got no error at all, just the unpack does nothing.
Edit ; this apparently works now ... stay tuned
Yeah, I noticed some odd stuff too. Luckily, pigmap was updated today to handle the region format itself. Alas, I am still getting strange results (unmapped areas on the world that definitely have been explored; missing "sides" on the generated map).
Man, this mapper is awesome :smile.gif: Easy to setup, fast, and featureful.
I've been using it for a while in my private server and it has worked perfectly. Many thanks for the update :smile.gif:
:Diamond:x1000 to you :smile.gif:
Couldn't just precompile this for us n00bs? Mrmf.
I hate stupid source I don't understand xD
Sick and tired of developers always thinking everyone is at least amateur level, don't get me wrong, I love your work, but you all seem to expect everyone to be just as good as you to use it.
EDIT: After installing Cygwin and having hell getting it to compile :
I just get "nothing to do!"
Nothing happens. Great.
EDIT: woah- that is INSANELY fast! all 8 cores going on a pretty small world and boom, done before I switched applications. I thought "ah damn, something wrong again..." and I check the folder and it's there...
EDIT2: I think a few bugs need to be worked out. I used
The first 3 levels were blurry zoomed out crap, then the next few were perfect, but the last level (closest) was missing a lot/not focusing.
see: http://imgur.com/tBXVa
Just to help others out, if you receive the error that aata844 did:
rgba.cpp:18: fatal error: png.h: No such file or directory
...then you need to install libpng. If you are using Ubuntu, the package name is "libpng++-dev". As this seemed a rather base package, I took it for granted that I had it installed, and had to do a bit of poking to find it. I hope this helps others.
user@---:~/pigmap$ make
g++ -c rgba.cpp -O3
rgba.cpp:18:17: error: png.h: No such file or directory
rgba.cpp: In destructor âfcloser::~fcloser()â:
rgba.cpp:79: error: âfcloseâ was not declared in this scope
rgba.cpp: At global scope:
rgba.cpp:84: error: âpng_structpâ does not name a type
rgba.cpp:85: error: âpng_infopâ does not name a type
rgba.cpp:86: error: âpng_infopâ does not name a type
rgba.cpp: In constructor âPNGReadCleaner::PNGReadCleaner()â:
rgba.cpp:87: error: class âPNGReadCleanerâ does not have any field named âpngâ
rgba.cpp:87: error: class âPNGReadCleanerâ does not have any field named âinfoâ
rgba.cpp:87: error: class âPNGReadCleanerâ does not have any field named âendinf oâ
rgba.cpp: In destructor âPNGReadCleaner::~PNGReadCleaner()â:
rgba.cpp:88: error: âpngâ was not declared in this scope
rgba.cpp:88: error: âinfoâ was not declared in this scope
rgba.cpp:88: error: âendinfoâ was not declared in this scope
rgba.cpp:88: error: âpng_destroy_read_structâ was not declared in this scope
rgba.cpp: At global scope:
rgba.cpp:93: error: âpng_structpâ does not name a type
rgba.cpp:94: error: âpng_infopâ does not name a type
rgba.cpp: In constructor âPNGWriteCleaner::PNGWriteCleaner()â:
rgba.cpp:95: error: class âPNGWriteCleanerâ does not have any field named âpngâ
rgba.cpp:95: error: class âPNGWriteCleanerâ does not have any field named âinfoâ
rgba.cpp: In destructor âPNGWriteCleaner::~PNGWriteCleaner()â:
rgba.cpp:96: error: âpngâ was not declared in this scope
rgba.cpp:96: error: âinfoâ was not declared in this scope
rgba.cpp:96: error: âpng_destroy_write_structâ was not declared in this scope
rgba.cpp: In member function âbool RGBAImage::readPNG(const std::string&)â:
rgba.cpp:103: error: âfopenâ was not declared in this scope
rgba.cpp:109: error: âfreadâ was not declared in this scope
rgba.cpp:110: error: âpng_sig_cmpâ was not declared in this scope
rgba.cpp:115: error: âpng_structpâ was not declared in this scope
rgba.cpp:115: error: expected â;â before âpngâ
rgba.cpp:116: error: âpngâ was not declared in this scope
rgba.cpp:118: error: âstruct PNGReadCleanerâ has no member named âpngâ
rgba.cpp:118: error: âpngâ was not declared in this scope
rgba.cpp:120: error: âpng_infopâ was not declared in this scope
rgba.cpp:120: error: expected â;â before âinfoâ
rgba.cpp:121: error: âinfoâ was not declared in this scope
rgba.cpp:123: error: âstruct PNGReadCleanerâ has no member named âinfoâ
rgba.cpp:123: error: âinfoâ was not declared in this scope
rgba.cpp:125: error: âpng_jmpbufâ was not declared in this scope
rgba.cpp:125: error: âsetjmpâ was not declared in this scope
rgba.cpp:128: error: âpng_init_ioâ was not declared in this scope
rgba.cpp:129: error: âpng_set_sig_bytesâ was not declared in this scope
rgba.cpp:131: error: âpng_read_infoâ was not declared in this scope
rgba.cpp:132: error: âPNG_COLOR_TYPE_RGB_ALPHAâ was not declared in this scope
rgba.cpp:132: error: âpng_get_color_typeâ was not declared in this scope
rgba.cpp:132: error: âpng_get_bit_depthâ was not declared in this scope
rgba.cpp:134: error: âpng_get_image_widthâ was not declared in this scope
rgba.cpp:135: error: âpng_get_image_heightâ was not declared in this scope
rgba.cpp:138: error: âpng_set_interlace_handlingâ was not declared in this scope
rgba.cpp:139: error: âpng_read_update_infoâ was not declared in this scope
rgba.cpp:141: error: âpng_bytepâ was not declared in this scope
rgba.cpp:141: error: ârowPointersâ was not declared in this scope
rgba.cpp:141: error: expected type-specifier before âpng_bytepâ
rgba.cpp:141: error: expected â;â before âpng_bytepâ
rgba.cpp:142: error: âpng_bytepâ cannot appear in a constant-expression
rgba.cpp:142: error: template argument 1 is invalid
rgba.cpp:142: error: invalid type in declaration before â(â token
rgba.cpp:145: error: expected â;â before âpâ
rgba.cpp:147: error: âpng_read_imageâ was not declared in this scope
rgba.cpp:149: error: âpng_read_endâ was not declared in this scope
rgba.cpp: In member function âbool RGBAImage::writePNG(const std::string&)â:
rgba.cpp:155: error: âfopenâ was not declared in this scope
rgba.cpp:171: error: âpng_structpâ was not declared in this scope
rgba.cpp:171: error: expected â;â before âpngâ
rgba.cpp:172: error: âpngâ was not declared in this scope
rgba.cpp:174: error: âstruct PNGWriteCleanerâ has no member named âpngâ
rgba.cpp:174: error: âpngâ was not declared in this scope
rgba.cpp:176: error: âpng_infopâ was not declared in this scope
rgba.cpp:176: error: expected â;â before âinfoâ
rgba.cpp:177: error: âinfoâ was not declared in this scope
rgba.cpp:179: error: âstruct PNGWriteCleanerâ has no member named âinfoâ
rgba.cpp:179: error: âinfoâ was not declared in this scope
rgba.cpp:181: error: âpng_jmpbufâ was not declared in this scope
rgba.cpp:181: error: âsetjmpâ was not declared in this scope
rgba.cpp:184: error: âpng_init_ioâ was not declared in this scope
rgba.cpp:186: error: âPNG_COLOR_TYPE_RGB_ALPHAâ was not declared in this scope
rgba.cpp:186: error: âPNG_INTERLACE_NONEâ was not declared in this scope
rgba.cpp:186: error: âPNG_COMPRESSION_TYPE_DEFAULTâ was not declared in this sco pe
rgba.cpp:186: error: âPNG_FILTER_TYPE_DEFAULTâ was not declared in this scope
rgba.cpp:186: error: âpng_set_IHDRâ was not declared in this scope
rgba.cpp:188: error: âpng_bytepâ was not declared in this scope
rgba.cpp:188: error: ârowPointersâ was not declared in this scope
rgba.cpp:188: error: expected type-specifier before âpng_bytepâ
rgba.cpp:188: error: expected â;â before âpng_bytepâ
rgba.cpp:189: error: âpng_bytepâ cannot appear in a constant-expression
rgba.cpp:189: error: template argument 1 is invalid
rgba.cpp:189: error: invalid type in declaration before â(â token
rgba.cpp:192: error: expected â;â before âpâ
rgba.cpp:194: error: âpng_set_rowsâ was not declared in this scope
rgba.cpp:196: error: âPNG_TRANSFORM_IDENTITYâ was not declared in this scope
rgba.cpp:196: error: âpng_write_pngâ was not declared in this scope
make: *** [rgba.o] Error 1
user@---:~/pigmap$
After several attempts at rendering, I finally got non-blank images. Trying to render to 3 cores when you have 2 does not work.
The -h *number* at the end of the render command specifies the number of cores. Hope that helps others.
If I use the thing currently not commented out, it displays nothing, but when the thing that came in the default html file is uncommented and the thing taken from google commented out, it displays the google maps overlay but no images.
Due to this not-working-ness, I checked the source of the Aporkaplyse map. They are using PHP as datavalues in the initialize section were customized to the data posted via my link. So if nobody here can help, I'll try to ask them.
Cygwin is linux compiler stuff for windows. I don't know the specifics I just know how to do it.
btw - for those of you using pigmap, you may be interested in the sundial widget I recently put together. It integrates nicely with pigmap: just edit template.html as described in the README.
http://tinyurl.com/9l6km29
http://tinyurl.com/9l6km29
We actively participate in the MC SMP global bannning system. Join up!
My modified RegionTool.jar is here, original thread is here
Yeah, I noticed some odd stuff too. Luckily, pigmap was updated today to handle the region format itself. Alas, I am still getting strange results (unmapped areas on the world that definitely have been explored; missing "sides" on the generated map).
I've been using it for a while in my private server and it has worked perfectly. Many thanks for the update :smile.gif:
:Diamond:x1000 to you :smile.gif:
While it is in /usr/X11/include. Any way I can get make to realize its right there?
I hate stupid source I don't understand xD
Sick and tired of developers always thinking everyone is at least amateur level, don't get me wrong, I love your work, but you all seem to expect everyone to be just as good as you to use it.
EDIT: After installing Cygwin and having hell getting it to compile :
I just get "nothing to do!"
Nothing happens. Great.
and then make and it said:
Thanks for the help guys....
EDIT: woah- that is INSANELY fast! all 8 cores going on a pretty small world and boom, done before I switched applications. I thought "ah damn, something wrong again..." and I check the folder and it's there...
EDIT2: I think a few bugs need to be worked out. I used
and the output:
The first 3 levels were blurry zoomed out crap, then the next few were perfect, but the last level (closest) was missing a lot/not focusing.
see:
http://imgur.com/tBXVa
...then you need to install libpng. If you are using Ubuntu, the package name is "libpng++-dev". As this seemed a rather base package, I took it for granted that I had it installed, and had to do a bit of poking to find it. I hope this helps others.
Thank you for the great open source software.
Isn't it supposed to do something?
The -h *number* at the end of the render command specifies the number of cores. Hope that helps others.
Anyway, this is my uploaded output.
http://75.69.28.82/map/
I put in the google maps API key into the generated html file
If I use the thing currently not commented out, it displays nothing, but when the thing that came in the default html file is uncommented and the thing taken from google commented out, it displays the google maps overlay but no images.
Due to this not-working-ness, I checked the source of the Aporkaplyse map. They are using PHP as datavalues in the initialize section were customized to the data posted via my link. So if nobody here can help, I'll try to ask them.
Any suggestions on what to do?
Thanks,
Scuzzball