How to sleep in c++11:
std::this_thread::sleep_for(std::chrono::milliseconds(100));
cSleep can become just a header with no portability pre-processor directives!
The hunger games plugin is coming together quite nicely. I think I'll upload the first version today or else tomorrow.
STR, are you doing the plugin? You haven't said so.
Will it be coded for a specific map?
No it will work for any map you give it. You do have to set the bounding box though so the plugins knows wich chests it has to refill.
I have finally added the foundation-flooring, so the nether forts are no longer levitating:
![[Image: netherfort6.jpg]](http://mc-server.xoft.cz/img/netherfort6.jpg)
(disregard the color, I've changed it for better visibility, I'm shadow-blind)
Unfortunately this presents exactly the problems I was predicting, due to the stairs block being used in the construction there are now artifacts when those stairs interact with the existing terrain or the flooring of another piece:
![[Image: netherfort7.jpg]](http://mc-server.xoft.cz/img/netherfort7.jpg)
Yea I see what you mean. Is it possible to make the foundation change all the netherbrick stairs it comes in contact with to netherbrick blocks and then stop instead of stopping once it detects something else then air/transparent/whatelse?
That could be done, but it won't solve issues with already-existing terrain (netherrack).
(04-18-2014, 06:33 AM)xoft Wrote: [ -> ]That could be done, but it won't solve issues with already-existing terrain (netherrack).
Yea that's true. I guess there isn't another option exept changing all the stairs to normal nether bricks.
I uploaded my HungerGames plugin to github:
https://github.com/STRWarrior/HungerGames