Coder Social home page Coder Social logo

cronmc's People

Contributors

lynnpye avatar

Watchers

 avatar

cronmc's Issues

java.lang.NoSuchMethodError: 'int net.minecraft.commands.Commands.m_82117_(net.minecraft.commands.CommandSourceStack, java.lang.String)'

Hi (Again) :D

A different pack, this time on 1.19.2, plenty of mods. Still running alive and well on ARM64, openjdk 17.0.6

> java.lang.NoSuchMethodError: 'int net.minecraft.commands.Commands.m_82117_(net.minecraft.commands.CommandSourceStack, java.lang.String)' at TRANSFORMER/[email protected]/com.pyehouse.mcmod.cronmc.api.Cronmc$2.run(Cronmc.java:126) at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.DistExecutor.safeRunWhenOn(DistExecutor.java:123) at TRANSFORMER/[email protected]/com.pyehouse.mcmod.cronmc.api.Cronmc.opCommand(Cronmc.java:121) at TRANSFORMER/[email protected]/com.pyehouse.mcmod.cronmc.api.task.OpHandler$1.run(OpHandler.java:28) at TRANSFORMER/[email protected]/com.pyehouse.mcmod.cronmc.api.schedule.CronTask$2.run(CronTask.java:87) at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.DistExecutor.safeRunWhenOn(DistExecutor.java:123) at TRANSFORMER/[email protected]/com.pyehouse.mcmod.cronmc.api.schedule.CronTask.executeRunnable(CronTask.java:84) at TRANSFORMER/[email protected]/com.pyehouse.mcmod.cronmc.api.schedule.CronTask.execute(CronTask.java:64) at TRANSFORMER/[email protected]/com.pyehouse.cronmc.relocated.cron4j.TaskExecutor$Runner.run(Unknown Source) at java.base/java.lang.Thread.run(Thread.java:833)

The schedule works, and the console actually shows that error when the tasks are about to be executed. Although I don't usually dabble in Java, a blind guess - Forge introduced a breaking change in handling commands, perhaps?

Thanks for the mod again, honestly at this point I'm just too used to a civilized, fully featured cron implementation to even image coming back to /schedule shenanigans, command blocks, and other types of primitive recurrent task handling/scheduling :P

~S

Cannot invoke "it.unimi.dsi.fastutil.ints.IntArrayList.getInt(int)" because "this.wrapped" is null

Hi there,
For starters, thank you for your work - I've had tremendous trouble finding a mod providing cron-like capabilities for Forge.

But anyway - I found an issue that seems to be associated with this mod, somehow.
In my mod pack, I've set up a cron job that clears up drops and entities every 20 and 40 minute of an hour. Soon, we've started experiencing crashes from time to time - and weirdly, the scheduled command time is exactly when a crash happens - precisely at HH:20:00 or HH:40:00. Literally, never crashing in any other circumstances - just in this exact one, when cronmc executes the scheduled command. One of my players have noticed, that the command scheduled at the time of the crash actually executes twice.

I'm using the 1.18.2 version, on Forge 40.1.84. I'm attaching a crash log - maybe you'll find something that might help you there?
crash-2022-11-18_22_20.00-server.txt

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.