Giter VIP home page Giter VIP logo

movecraft-for-sponge's Introduction

Hey, if you're here it means you've been looking at a coding project of mine.

You might be able to find it (and possibly more) on my Github profile.

movecraft-for-sponge's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

owoalex clienthax

movecraft-for-sponge's Issues

Update Configs and Settings

  • Configs and Settings
    • Review main config options
    • Add and/or implement main config options
    • Add default configs and auto-generation
    • Related Issues: #17

Movecraft types not loading

when I start my server movecraft give me an error that there are no craft types found.

[16:05:24] [Server thread/INFO] [minecraft/AdvancementList]: Loaded 582 advancements
[16:05:24] [Server thread/INFO] [minecraft/AdvancementList]: Loaded 7 advancement trees
[16:05:24] [Server thread/INFO] [Sponge]: Loading world [Dim-Aether] (aether_legacy:aetheri/4)
[16:05:24] [Server thread/INFO] [minecraft/DedicatedServer]: Done (2.980s)! For help, type "help" or "?"
[16:05:24] [Server thread/ERROR] [movecraft]: No CraftTypes Found!

image

am I not supposed to put the movecraft.jar and the movecraft folder into the mods folder?

Player Commands

  • Commands
    • Add back in commands
    • Add commands for commander signs to add/remove owners/members
    • Add command to hand over command of a craft

Phase blocks not working

Crafts can't travel through blocks, e.g. water.
Sinking crafts land on water as if it is solid.

Errors on Spongeforge

Describe the bug
Sometimes when running movecraft for sponge on a spongeforge server, an error occurs that prevents ships from moving and a "java.lang.IllegalAccessError: tried to access field" is thrown infinitely in the console. The craft can be activated and piloted, but not moved. There is no indication why this happens and can only be fixed by reconstructing the server from scratch.

To Reproduce
Steps to reproduce the behavior:

  1. Create a spongeforge server with movecraft for sponge.
  2. Create a basic craft.
  3. Pilot the craft.
  4. Attempt to move the craft.
  5. See error in console.

Expected behavior
Ships should be able to move with no problem.

Screenshots
Screen Shot 2020-10-04 at 7 31 27 PM

Versions (please complete the following information):

  • Movecraft: 0.35
  • Sponge: spongeforge-1.12.2-2838-7.3.0
  • Forge: forge-1.12.2-14.23.5.2854

Additional context
Occurred alongside other mods in an already established mc world.

Config not loading

Hello, I downloaded this plugin and tried installing it on my Sponge test server. However, this error turns up in console:

[00:54:59 ERROR] [STDERR]: java.nio.file.NoSuchFileException: C:\Users\eirik\Desktop\Sponge test\config\movecraft\248889249402900movecraft.cfg.tmp [00:54:59 ERROR] [STDERR]: at sun.nio.fs.WindowsException.translateToIOException(Unknown Source) [00:54:59 ERROR] [STDERR]: at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source) [00:54:59 ERROR] [STDERR]: at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source) [00:54:59 ERROR] [STDERR]: at sun.nio.fs.WindowsFileSystemProvider.newByteChannel(Unknown Source) [00:54:59 ERROR] [STDERR]: at java.nio.file.spi.FileSystemProvider.newOutputStream(Unknown Source) [00:54:59 ERROR] [STDERR]: at java.nio.file.Files.newOutputStream(Unknown Source) [00:54:59 ERROR] [STDERR]: at java.nio.file.Files.newBufferedWriter(Unknown Source) [00:54:59 ERROR] [STDERR]: at ninja.leaping.configurate.loader.AtomicFiles.createAtomicBufferedWriter(AtomicFiles.java:71) [00:54:59 ERROR] [STDERR]: at ninja.leaping.configurate.loader.AtomicFiles.lambda$createAtomicWriterFactory$0(AtomicFiles.java:52) [00:54:59 ERROR] [STDERR]: at ninja.leaping.configurate.loader.AbstractConfigurationLoader.save(AbstractConfigurationLoader.java:157) [00:54:59 INFO] [movecraft]: Movecraft Enabled. [00:54:59 ERROR] [STDERR]: at io.github.pulverizer.movecraft.Movecraft.onLoad(Movecraft.java:189) [00:54:59 ERROR] [STDERR]: at org.spongepowered.common.event.listener.GamePreInitializationEventListener_Movecraft_onLoad11.handle(Unknown Source) [00:54:59 ERROR] [STDERR]: at org.spongepowered.common.event.RegisteredListener.handle(RegisteredListener.java:95)

Also, there is no config loading as well

Server details:
Sponge implementation: SpongeVanilla
API version: 7.1.6
Minecraft version: 1.12.2
Operating system: Windows 10
Java version: 1.8

Number ids not being reused on Commander and Crew signs

Describe the bug
The issue is with Sponge. TileEntity object is deleted before ChangeBlockEvent.Break is fired. This did not use to be the case.

To Reproduce
Steps to reproduce the behaviour:

  1. Place Commander sign.
  2. Note the number id.
  3. Break the Commander sign and place a new one.
  4. See that the number id has not been reused.

Expected behaviour
On the breaking of Crew or Commander signs, the number id should be removed from the database and be available for the next sign to be placed.

Versions (please complete the following information):

  • Movecraft: dev
  • Sponge: 1.12.2-7.2.2 Recommended

Additional context
SpongePowered/SpongeVanilla#430

Craft files not generated/not working

When I start this mod it does not generate any .craft files. I try to use ones I have for a different fork of movecraft (forget the name, but it's the one for 1.16.2) and it doesn't reconize any of the block types (example: Invalide block type - ALL_WOOD) and it won't work at all (and whenever I join the server with said .craft files I get a constant stream of errors whenever I do anything, move, interact, etc...) if you need more info and stuff I will be more than happy to post. sorry for the lack of bug reports, but at this time I'm in a bit of a rush. I'll try and post more info later if needed.

Supporting blocks. eg. 1 Redstone Block requires 4 Iron Block

The ability to set minimum and maximum ratios between blocks independent of moveblocks and flyblocks. i.e. if a craft has 0.5% magma block, it can have up to 15% iron blocks, but if it has no magma blocks it can have no iron blocks onboard.

So crafts can be made more dynamic and modular, so say you've got three different tiers of armour materials, and certain blocks are required for a ship to carry that armour. Currently, you need three different crafts, one for each armour, so it'd be awesome if we could have a "blockRatios" thing akin to moveblocks and flyblocks, so you can instead have one craft file instead of three.

Idea by Blink__#9756 (Discord)

confused on how to build

ive been trying to build it but cant figure it out ive done all the commands and the movecraft for sponge dir looks like in pic below it keeps giving this error (one in pic) could could one please tell me how to build it or say what i might be doing wrong? also i tried with install instead of instal and still had an error its in second picture

cantbuild issues

Captur1red1e

Error when trying to move a craft

Hello. I tried moving a craft and had clicked the pilot sign. However, the plugin errors when trying to move:

[22:34:20 ERROR] [movecraft]: Internal Error - Proccessor thread encountered an error!
[22:34:20 ERROR] [STDERR]: java.util.NoSuchElementException: No value present
[22:34:20 ERROR] [STDERR]: at java.util.Optional.get(Unknown Source)
[22:34:20 ERROR] [STDERR]: at io.github.pulverizer.movecraft.craft.Craft.burnFuel(Craft.java:493)
[22:34:20 ERROR] [STDERR]: at io.github.pulverizer.movecraft.async.TranslationTask.execute(TranslationTask.java:73)[22:34:20 ERROR] [STDERR]: at io.github.pulverizer.movecraft.async.AsyncTask.task(AsyncTask.java:34)
[22:34:20 ERROR] [STDERR]: at org.spongepowered.api.scheduler.Task$Builder.lambda$execute$0(Task.java:139)
[22:34:20 ERROR] [STDERR]: at org.spongepowered.common.scheduler.SchedulerBase.lambda$startTask$0(SchedulerBase.java:197)
[22:34:20 ERROR] [STDERR]: at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
[22:34:20 ERROR] [STDERR]: at java.util.concurrent.FutureTask.run(Unknown Source)
[22:34:20 ERROR] [STDERR]: at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
[22:34:20 ERROR] [STDERR]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
[22:34:20 ERROR] [STDERR]: at java.lang.Thread.run(Unknown Source)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.