Cuberite Forum
Lua Challenge: the Catastrophes plugin - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Plugins (https://forum.cuberite.org/forum-1.html)
+--- Forum: Plugin Discussion (https://forum.cuberite.org/forum-8.html)
+--- Thread: Lua Challenge: the Catastrophes plugin (/thread-1972.html)

Pages: 1 2 3 4 5 6 7 8 9 10


RE: Lua Challenge: the Catastrophes plugin - bearbin - 05-30-2015

I'm going to work on mine this weekend.


RE: Lua Challenge: the Catastrophes plugin - NiLSPACE - 05-31-2015

I'm working on a drought catastrophe.


RE: Lua Challenge: the Catastrophes plugin - tonibm19 - 05-31-2015

I'm working on 30 pages examsTongue


RE: Lua Challenge: the Catastrophes plugin - xoft - 05-31-2015

What a catastrophe! Smile


RE: Lua Challenge: the Catastrophes plugin - NiLSPACE - 05-31-2015

I think my drought catastrophes works really well:
[Image: 3497528854.jpg]

Especialy if you see PerfPages:
[Image: a3dff9569f.png]

You might think it uses up allot, but this was while 20 drought catastrophes were active at the same time. Wink


RE: Lua Challenge: the Catastrophes plugin - Jammet - 05-31-2015

Can I make one more suggestion? Smile A long time ago, I was on an a public server with lots of great buildings, and ... when that server went down, I found a tool that transformed the world into one that made it look like it's been aged thousands of years with no life. Just think wastelands, nobody around, decay ...

The pictures show landscapes that have been full of houses. Every building made of wood is completely gone.
Stone has decay.
Blocks from rock buildings have been selected to have "fallen down" or "tipped over".

Basically everything was aged a lot.

https://www.dropbox.com/sh/70emkw7891nvkgj/AACxisYJqQg6DDCFhfh30y1Ya?dl=0


RE: Lua Challenge: the Catastrophes plugin - xoft - 05-31-2015

That looks really cool!. But it might be better if implemented in a separate plugin with precision control about the area being aged.


RE: Lua Challenge: the Catastrophes plugin - NiLSPACE - 06-03-2015

For the people who are curious:
No LuaJiT:
[Image: 1e91f39e2f.png]

With LuaJit (DiamondToaster's old build):
[Image: d1ac3f6edd.png]

Both were done with 20 of my drought catastrophes.
It does seem that LuaJit is slightly slower.


RE: Lua Challenge: the Catastrophes plugin - xoft - 06-03-2015

Great job on the comparison!


RE: Lua Challenge: the Catastrophes plugin - NiLSPACE - 06-03-2015

Oh, god. I used the wrong executable for LuaJit. My apologies :|

It actualy looks like LuaJit is slightly slower then normal Lua. I changed the picture above.

Could the reason why LuaJit is actualy a little bit slower maybe be because it was compiled in a hackish way?