GithubHelp home page GithubHelp logo

juancarloscp52 / entropy Goto Github PK

View Code? Open in Web Editor NEW
28.0 28.0 17.0 6.88 MB

Entropy is a Chaos Mod where random events happens every 30 seconds. This mod allows twitch chat voting integration!

License: GNU General Public License v3.0

Java 99.83% Shell 0.17%
fabric fabricmc minecraft minecraft-mod twitch

entropy's People

Contributors

bl4ckscor3 avatar chihsiao avatar curio-sitas avatar deitymon avatar juancarloscp52 avatar kanawanagasaki avatar katrinaas avatar nfitzen avatar qsefthuopq avatar wesleybryie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

entropy's Issues

Timer Duration

How can I set the "Timer Duration" more than 75 seconds? I would like to increase it. Thanks

Can't run mod on server.

I've been trying to run Entropy on a server, but to no avail. I have downloaded a fabric server, and placed the entropy and fabric api jar files into the mods folder, but when I boot the fabric server and join, nothing happens. I read on the readme that I need to change multiplayer settings in the config/entropy.json, although I can't find any settings indicating multiplayer. I tried setting integrations to true and lowered the timers in the hopes something would happen, but nothing changed. It seems like a standard Minecraft server. I did revert the json back to original settings after changing them, but same problem of a normal Minecraft server. Attached is a log, however I've never tried this type of thing, so I am unsure of what I am doing wrong or what is wrong/causing the problem. Any help would be greatly appreciated on how to fix my issue. Thank you.

latest.log

No way to pause events/blacklist players

I realise this is more of a feature request than a bug report but it's basically impossible to have any players on a multiplayer server not be affected by events for any amount of time. This is an issue if I for example want to watch a game unfold in spectator mode or setup a server in creative mode without chaos going on around me the entire time.

A simple command to pause/stop events for myself or another player would fix this problem entirely.

[Bug] Empty event pool

At each timer's end, a random event is launched and removed from the event pool.
But it seems that when this pool is empty, it is not reset, so no event happen anymore.

Exemple

If i deactivate all events but one, only one event will be launched but the next event cannot be launched because the pool is empty :
This message appears in the log :
Capture d’écran 2022-12-06 182538

This occurs when activating more than one event too.

0.5x Timer Speed Bug

Hi,

When the '0.5x Timer Speed' event ends, the timer at the top of the screen resets and gets stuck at zero requiring a relog to fix. I found this on a 1.16.5 Minecraft multiplayer server using only the Entropy mod (1.2.0) and FabricAPI (0.34.6+1.16). Fabric loader 0.11.3 was used. The only Entropy settings changed were to allow Twitch voting on both the client and server.

Kind regards,
James

Teleport to spawn working ~25% of the time

When I watched people play minecraft with an entropy mod on twitch or youtube teleport to spawn worked about 25% of the time. In most cases it simply kept player in place and just place a stone under.

Auto-Jump settings bypass the No Jumping event

Since the mod only intercepts the keyboard input required in order to allow jumping, if auto-jump is enabled and the no-jumping event is triggered, players are still able to auto-jump up one block high inclines.

Game crashes if all effects are disabled

Looking at crash report we see recursive calls:

---- Minecraft Crash Report ----
// You're mean.

Time: 2022-11-07 11:16:46
Description: Exception in server tick loop

java.lang.StackOverflowError: Exception in server tick loop
	at me.juancarloscp52.entropy.events.db.TntEvent.<init>(TntEvent.java:26)
	at me.juancarloscp52.entropy.events.EventRegistry.getRandomDifferentEvent(EventRegistry.java:129)
	at me.juancarloscp52.entropy.events.EventRegistry.getRandomDifferentEvent(EventRegistry.java:132)
	at me.juancarloscp52.entropy.events.EventRegistry.getRandomDifferentEvent(EventRegistry.java:132)
        ....
	at me.juancarloscp52.entropy.events.EventRegistry.getRandomDifferentEvent(EventRegistry.java:132)

Configuration Folder not created on the Server Side

The folder for configuration files (config/entropy) is not created by the mod at boot, and no means exist to save the configuration of the mod on the server, as this is done through interaction with a UI. As a result, no configuration file is written, and the file must be manually created by users to configure the mod on the server-side.

Connection lost

11:36:13.590
Encountered exception while handling in channel with name "entropy:join-confirm"
java.lang.IllegalArgumentException: Must specify name
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:122)
at org.pircbotx.Configuration.(Configuration.java:147)
at org.pircbotx.Configuration$Builder.buildConfiguration(Configuration.java:894)
at me.juancarloscp52.entropy.client.integrations.TwitchIntegrations.(TwitchIntegrations.java:44)
at me.juancarloscp52.entropy.client.ClientEventHandler.(ClientEventHandler.java:36)
at me.juancarloscp52.entropy.client.EntropyClient.lambda$onInitializeClient$0(EntropyClient.java:74)
at me.juancarloscp52.entropy.client.EntropyClient$$Lambda$2422/1303329585.receive(Unknown Source)
at net.fabricmc.fabric.impl.networking.client.ClientPlayNetworkAddon.receive(ClientPlayNetworkAddon.java:97)
at net.fabricmc.fabric.impl.networking.client.ClientPlayNetworkAddon.receive(ClientPlayNetworkAddon.java:39)
at net.fabricmc.fabric.impl.networking.AbstractChanneledNetworkAddon.handle(AbstractChanneledNetworkAddon.java:100)
at net.fabricmc.fabric.impl.networking.client.ClientPlayNetworkAddon.handle(ClientPlayNetworkAddon.java:89)
at net.minecraft.class_634.handler$zeo000$handleCustomPayload(class_634.java:2474)
at net.minecraft.class_634.method_11152(class_634.java)
at net.minecraft.class_2658.method_11457(class_2658.java:65)
at net.minecraft.class_2658.method_11054(class_2658.java:10)
at net.minecraft.class_2535.method_10759(class_2535.java:156)
at net.minecraft.class_2535.method_10770(class_2535.java:147)
at net.minecraft.class_2535.channelRead0(class_2535.java:52)
at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1434)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:965)
at io.netty.channel.local.LocalChannel.readInbound(LocalChannel.java:304)
at io.netty.channel.local.LocalChannel.finishPeerRead0(LocalChannel.java:446)
at io.netty.channel.local.LocalChannel.access$400(LocalChannel.java:51)
at io.netty.channel.local.LocalChannel$5.run(LocalChannel.java:404)
at io.netty.channel.DefaultEventLoop.run(DefaultEventLoop.java:54)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884)
at java.lang.Thread.run(Thread.java:745)

Teleport to spawn / Teleport to random location not working

Noticed this issue in video from streamer MarweX Link with timestamp

Then tested by myself with console output.

19:53:27.841 me.juancarloscp52.entropy.Entropy Server thread [Chat Integrations] Winner event: entropy.events.FarRandomTPEvent
19:53:27.843 org.pircbotx.output.OutputRaw Render thread PRIVMSG #marcuscz3 :/me [Entropy Bot] Current poll:[ 1 - DVD Screen Saver ] [ 2 - Teleport Player To A Random Location ] [ 3 - Teleport To Spawn ] [ 4 - Random Event ] 
19:53:27.844 net.minecraft.server.MinecraftServer Server thread Unknown or incomplete command, see below for error
19:53:27.845
net.minecraft.server.MinecraftServer Server thread /spreadplayers 306 9188 0 120 false MarcusCZ<--[HERE]
19:53:27.846 me.juancarloscp52.entropy.Entropy Server thread New Event: entropy.events.FarRandomTPEvent total duration: 0

Seems like there is an issue while mod executes command /spreadplayers

Tested in 1.19, but watching streamer's older videos, the issue is also in 1.18 version.

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.