CraftBook 4


#81

That's really odd, I can't reproduce the issue. I'll look into it tomorrow


#82

OK, thanks. That will be great from you.


#83

Elevator and Pipe are working for me now - Door and Bridge do not. Haven't tried anything else yet

Sponge dev. 651


#84

Door and Bridge are enabled in the config file?


#85

Yep, same problems on dev 1515 - 655


#86

The same problem on 671.


#87

@me4502 hi there, unfortunately, elevator and gate aren't working with 677 or 678 - haven't tried anything else yet. There is nothing obvious in the log either .... Anyway, off to watch some rugger ... :sunglasses:


#88

Gate, Door, Bridge not working on Sponge 1.8-1515-2.1DEV-688
(OS Ubuntu, Java 8, plugins: PEX, EssentialSponge, AdminShop, Kits, TotalEconomy)
ErrorsCode:
1. Door: http://pastebin.com/WwMHwGvQ
2. Gate: http://pastebin.com/wSA8kVWN
3. etc...


#89

CB is working well again. Thanks, pal :+1:


#90

Will we see an update for this project for the latest version of SpongeForge?


#91

Yeah, I'll do it later today. I didn't realise it broke.


#92

It's still erroring out, this is the error:

[15:15:22] [Server thread/ERROR] [Sponge]: Could not pass FMLServerStartedEvent to Plugin{id=CraftBook, name=CraftBook, version=4.0}
java.lang.NoSuchMethodError: org.spongepowered.api.Game.getEventManager()Lorg/spongepowered/api/service/event/EventManager;

When attempting to load any of the enabled mechanics. In this instance it's TreeLopper; last time it was Door.


#93

Fixed now, thanks for reporting.


#94

Thanks! If you'd like some help maintaining/developing, I'd love to learn Java.


#95

This plugin needs updating for Sponge's new Text III API, also there is some sort of memory leak that happens after playing with too many people or for too long, plus Craftbook throws errors left and right when doing that. I took this mod off my server about a week back because of that, but if you get it updated I'll load it again and I can give you all sorts of bug reports!


#96

I've already updated it for text API 3, are you able to give me the errors thrown?


#97

I'll do that as soon as I get home tonight! I was waiting on one more mod to update to the new API until I restart my server, but it's no worry.

EDIT: The log is giant so I sent it to your email address as an attachment


#98

I've fixed the error you sent via email in this SpongeCommon commit,


#99

Most errors are gone as of that last commit! Sometimes these still happen:

[18:32:28] [Server thread/ERROR] [Sponge]: Could not pass ChangeBlockEvent$Break$Impl to Plugin{id=CraftBook, name=CraftBook, version=4.0}
java.lang.NullPointerException
        at org.spongepowered.common.block.SpongeBlockSnapshot.get(SpongeBlockSnapshot.java:342) ~[SpongeBlockSnapshot.class:1.8-1577-3.1.0-BETA-1016]
        at com.sk89q.craftbook.sponge.mechanics.TreeLopper.lambda$onBlockBreak$5(TreeLopper.java:34) ~[TreeLopper.class:?]
        at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_66]
        at com.sk89q.craftbook.sponge.mechanics.TreeLopper.onBlockBreak(TreeLopper.java:32) ~[TreeLopper.class:?]
        at org.spongepowered.common.event.listener.BreakListener_TreeLopper_onBlockBreak74.handle(Unknown Source) ~[?:?]
        at org.spongepowered.common.event.RegisteredListener.handle(RegisteredListener.java:86) ~[RegisteredListener.class:1.8-1577-3.1.0-BETA-1016]
        at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:233) [SpongeModEventManager.class:1.8-1577-3.1.0-BETA-1016]
        at org.spongepowered.mod.event.SpongeModEventManager.postBulk(SpongeModEventManager.java:220) [SpongeModEventManager.class:1.8-1577-3.1.0-BETA-1016]
        at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:259) [SpongeModEventManager.class:1.8-1577-3.1.0-BETA-1016]
        at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:245) [SpongeModEventManager.class:1.8-1577-3.1.0-BETA-1016]
        at org.spongepowered.common.SpongeImpl.postEvent(SpongeImpl.java:117) [SpongeImpl.class:1.8-1577-3.1.0-BETA-1016]
        at net.minecraft.world.World.handlePostTickCaptures(World.java:764) [aqu.class:?]
        at net.minecraft.network.PacketThreadUtil$1.onProcessPacket(SourceFile:112) [ih.class:?]
        at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13) [ih.class:?]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_66]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_66]
        at net.minecraftforge.fml.common.FMLCommonHandler.callFuture(FMLCommonHandler.java:714) [FMLCommonHandler.class:?]
        at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:656) [MinecraftServer.class:?]
        at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:364) [po.class:?]
        at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:598) [MinecraftServer.class:?]
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:478) [MinecraftServer.class:?]
        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_66]

#100

Hi, can you envisage adding pipes in the future? That would really be a treat .... :grinning: