Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

https://en.wikipedia.org/wiki/Crash_%28computing%29

 

"...computer program stops functioning properly."

 

That's the thing about crashes, you can't expect them to say: "hey, I just crashed".

 

If you are basing anything on crashes then you are probably doing it wrong. If you want to make anti-crash system: there is no such thing, you would have to save everything per-tick or use direct-memory manipulation and data restoration (which I can't say if is possible in Java, maybe in deep java internals like unsafe).

 

I'll just note that there are ways of making sure stuff is saved when program crashes, but that is ouside Forge (and I am not that good with Java to be smartass here).

1.7.10 is no longer supported by forge, you are on your own.

A wild guess - you want to auto-send crashes of your beta-testers to your repo somewhere?

 

I suggest reading about JVM itself. MC is running 4 threads (maybe even more, like skin downloads, not sure, never looked).

Crashing one thread (e.g running into infinite loop on Server thread) won't necessarily crash others.

Program != Thread. Lookup on google on how to deal with it, there is plenty of it, it's just not shipped as forge event, because that is not forge's job.

Thread.class itself has exception handlers of some sorts. You could e.g run background thread that will be catching errors from other threads for you and doing stuff with them.

 

Disclaimer:

d6a1143f571184db25f94613edd43b40af6d3a629221aba00d9efdcfef5efd84.jpg

1.7.10 is no longer supported by forge, you are on your own.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.