AsoDesu / IslandUtils

A client-side utility mod for MCC Island
MIT License
50 stars 22 forks source link

Discord Presence creates internal exception #32

Closed PhokosMC closed 1 year ago

PhokosMC commented 1 year ago

Error Occurred as follows: When loading onto servers, it says: Fail to connect to the servers Internal Exception: java.lang.UnsatisfiedLinkError:'long de.jcm.discordgamesdk.activity.Activity.allocate()'

Screenshot 2022-12-14 at 7 30 17 PM
LukynkaCZE commented 1 year ago

This should be fixed now so I will close this issue

eklyst commented 1 year ago

i still have this issue

AsoDesu commented 1 year ago

@LukynkaCZE i didn't fix this one yet lul, @eklyst do you think you could send me a log?

eklyst commented 1 year ago

is there any way to have the mod without the discord presence feature entirely

Architect1st commented 1 year ago

I'm also having this issue. :/

AsoDesu commented 1 year ago

Could any of you please send me a log? Also if you're having this issue, you might be able to disable discord presence and not have this, but i'm not too sure.

ColaniYT commented 1 year ago

Could any of you please send me a log? Also if you're having this issue, you might be able to disable discord presence and not have this, but i'm not too sure.

latest.log

also have the issue, here's my log file. Hope this helps!

ColaniYT commented 1 year ago

I’ve looked through the files of the project and found that there is no discord_games_sdk file for arm devices (only x86).

Could it be that everyone having this issue is running minecraft on an arm device and that that is an issue?

I’ll have a look later if I can find an arm compatible file and if I can manage to swap the files. Maybe that solves the issue.

I’ll edit this comment with the outcome once I got around to do it.

Alternatively, what files would I need to edit to remove the discord presence?

AsoDesu commented 1 year ago

The library i use for Discord GameSDK does not yet support ARM devices I am looking into switching to one that is a little more up-to-date

I've realised that IslandUtils tries to create Discord Presence regardless of whether the option is disabled or not, I'll push an update later to not bother with the Discord SDK if it's disabled, or if the SDK is not found.

ColaniYT commented 1 year ago

Thank you so much! I really appreciate it!

eklyst commented 1 year ago

has this feature been implemented yet?

The library i use for Discord GameSDK does not yet support ARM devices I am looking into switching to one that is a little more up-to-date

I've realised that IslandUtils tries to create Discord Presence regardless of whether the option is disabled or not, I'll push an update later to not bother with the Discord SDK if it's disabled, or if the SDK is not found.

ColaniYT commented 1 year ago

Tried out the new update today and it works flawlessly! Thank you very much!! :D