Page 1 of 1

Automatically export map images every x minutes

Posted: March 9th, 2012, 2:19 am
by TheAcen
Hello,
Seeing as this feature is already partially made inside the config's map editor - I hope you can manage this.

Being able to export the map images to a set location, or ftp server or something, every certain amounts of minutes.
Would give us the ability to have a website for the users to view the maps without having to log on.


Thanks for considering this suggestion!

Re: [Suggestion] Automatically export map images every x min

Posted: March 9th, 2012, 2:23 am
by Lim-Dul
The ghost of fList comes back to haunt us! Booooo! :3

Re: [Suggestion] Automatically export map images every x min

Posted: March 9th, 2012, 2:44 am
by TheAcen
Image Booooooooooo!
* genuinely have no idea*

Re: Automatically export map images every x minutes

Posted: March 9th, 2012, 8:57 am
by Jonty800
is fCraft going to have .NET plugins?

This'll be a cool plugin.

Re: Automatically export map images every x minutes

Posted: March 9th, 2012, 3:08 pm
by Hellenion
You could also try a hard-link or an update script.

Re: Automatically export map images every x minutes

Posted: March 9th, 2012, 11:26 pm
by fragmer
@TheAcen - Yes, I was actually working on a standalone command-line MapRenderer utility yesterday, that will be able to do batch conversion. All you'll need to do is schedule it to run every x minutes.

@Jonty - fCraft 0.700 is going to have .NET and IronPython plugins, yes.

Re: Automatically export map images every x minutes

Posted: March 9th, 2012, 11:39 pm
by TheAcen
I shall look forward to it's release.

Thank you

Re: Automatically export map images every x minutes

Posted: March 10th, 2012, 2:09 am
by Jonty800
@fragmer that's awesome, I'm excited for that!
I know you'll probably do this, but some things are set to internal, like Player.RaisePlacedBlock so plugins cannot manually show who placed a block.

@Python pffft

Re: Automatically export map images every x minutes

Posted: March 10th, 2012, 1:34 pm
by fragmer
Working on the map renderer. Too many damn options!

Code: Select all

MapRenderer [-a=angle] [--noshading] [--noshadows] [--seethroughWater] [--seethroughLava] [-q=JPEGQuality] [--cut | --peel | --chunk=x1,y1,z1,x2,y2,z2] [-f=filter] [-r] [-y] [-o=outputPath] [-i=imageFormat] "FileOrDirectory"
Some of the options' effect (click image for full size):

See-through water

ON Image - OFF Image


Shading

ON Image - OFF Image


Shadows

ON Image - OFF Image

Re: Automatically export map images every x minutes

Posted: March 10th, 2012, 6:18 pm
by BobKare
fragmer wrote:Working on the map renderer. Too many damn options!

Code: Select all

MapRenderer [-a=angle] [--noshading] [--noshadows] [--seethroughWater] [--seethroughLava] [-q=JPEGQuality] [--cut | --peel | --chunk=x1,y1,z1,x2,y2,z2] [-f=filter] [-r] [-y] [-o=outputPath] [-i=imageFormat] "FileOrDirectory"
Some of the options' effect (click image for full size):
See-through water

ON Image - OFF Image


Shading

ON Image - OFF Image


Shadows

ON Image - OFF Image
Gonna be awesome