Hi.
I try to create a rowboat from inside a plugin. I need to spawn this at some vector3f position. But so far i don't find a method to achieve that. Any have a clue how i can do that?
Thx.
Hi.
I try to create a rowboat from inside a plugin. I need to spawn this at some vector3f position. But so far i don't find a method to achieve that. Any have a clue how i can do that?
Thx.
Hi
In version 0.7.x game algorithm for generating island in sector changed with introducing of new cold and arid islands. I have a very old world with some sectors generated with legacy version older than 0.7.x. In meantime i make some plugins to extract raw data for creating a map of islands. So now need a version 0.6.x to can run plugins against word generated before biome/cave update. In the past version 0.6.7 was a option to download on steam beta option. But now the oldest version is 0.7.x :(. Any way to download a snapshot of game for this version?
Thx.
Same for me. i have too a switch to use Timer or native thread. No hurry.
About error from log when i use custom events? It seems is just a wrong message for custom events. All event are fired and work correctly.
No need to wipe. POI are generating in existing worlds.
i tested too only on dedicated server.
I see this behavior some time ago and suspected is something with context switch of thread but i don't reported yet as possible problem and almost forgot about it. Thx james1bow to bring this to attention!
Same thing i se on my plugin too. I use a background thread to move a vehicle along a route. First i tried with Timer and well worked well, but limited to a single vehicle. Latter i use proper thread to move many simultaneous vehicle, and when i use my thread i see a lot of messages like:
[Java] [DEBUG] Vehicle: Move from (1900.171, 90.09956, 1920.7201) to (1886.0, 90.1, 1889.0) for task 1 step atribute=2
[Java] [DEBUG] Vehicle: Move from (1888.9164, 90.09978, 1895.47) to (1862.0, 90.1, 1847.0) for task 1 step atribute=3
On java side :
public static ExecutorService executor = Executors.newFixedThreadPool(10); // max 10 simultaneous vehicle moving
And BTW when i use Custom Event
And when i used custom event and register this event for listening i get in log for every custom event:
I search but i can't find yet release note about API Changes. It still unreleased or just i don't find it?
[New] Added command "deletechunk" to delete/reset a chunk.
Thx Red!
Could you edit the db file?
No. In definition you can change some data, but to spawn occur still need a unmodified chunk!
I think it’s easier than that. I believe there is a console command to reset a chunk.
not yet this command. we hope red introduce in next udate. now you can only reset whole sector, not just a single chunk.
No, they spawn only on unmodified chunks. Unmodified chunk is a chunk where you don't do anything (except killing animals/npcs). If cut a tree, pick a rock, destroy terrain, etc the chunk is modified, stored in db and here no longer spawn npc, including bandits! A chunk have size of 32x32 with 64 height. You can use a console command to show chunk borders.
So, if you chop entire forest, no longer bandits spawn here.
But we have hope next update will contain new console command resetchunk to aid to reclaim modified chunk as unmodified one and npc start spawning again ...
When do mining what careful what hit. If reach gravel/sand and deep is under 90 height, stop asap! Keep a rake on hot bar. If fast and have a bit of luck, you can ''repair" accidentally hole if you are fast enough before water fill all.
i think, in creative mode you can place "static" water. For survival no. For destroyed base with a bit of work you can save them. First you can place some raw materials (stone, dirt,sand, etc,,) to block water. After make a cavern under base and drill a hole to water go under base. All work depends how big is base. So for a relative small base it's easy to fix. For big base ...
The best gold source is deep cavern around -500. Here you will find many exposed gold vein to easy collect them. Deep caves is a alternative too to find exposed gold vein.
In next update, you will can collect water (barrel and water trough will be filled by rain).
Red say update will be in very soon (less than 2 week).
Go at 0,0 coordinates and find them here!
Hi.
You can get biome of position of a player with help of the following BiomeHelper class:
A command deletechunk i think will be god, If this command can be called from a plugin for a regular user (plugin will check if user can do that) i can achieve scope (reset chunk as a new one generated where animals/npc can spawn again, and delete all construction/modification of terrain done to that chunk). And of course this command must be working in MP running server. I think will not be a problem with old legacy world pre cave update, where some sectors have generated with another algorithm (because seed of chunks are saved in metadata of sector?)? I wait to have very soon that command (maybe red surprise us with next update?
)!
Thx
red51 any hint how can i achieve that safe?