Closed NextRaven10 closed 1 week ago
Lautsprecher (High Definition Audio Device)
Good old Lautsprecher of the fellow Deutsche Kartoffel :D
The issue seems to be related to Fabric's API, but that error shouldn't happen anymore. I thought I fixed that. Could be related to another mod OR the way you try to join the server is somehow bugged. Can you join the server with a normal button or does that also causes the game to crash?
//Edit: Oh I think I know what's happening. Your Ticker element joins the server the moment the Title screen opens, right? Yeah well, I think at that point the Fabric API has not finished doing its thing yet, so it thinks the screen is NULL instead of the Title screen. I don't know if I can fix that tbh.
Yes, the good old Deutsche Kartoffel xD
So it just isn´t possible? Or is there another way I can make the user join a server when a variable is true?
The issue seems to be related to Fabric's API, but that error shouldn't happen anymore. I thought I fixed that. Could be related to another mod OR the way you try to join the server is somehow bugged. Can you join the server with a normal button or does that also causes the game to crash?
Yes, I can join a server when I just press a button that joins it
Yes, the good old Deutsche Kartoffel xD
So it just isn´t possible? Or is there another way I can make the user join a server when a variable is true?
You could possibly do it by making a timer that makes the client join to the server slightly later.
You could possibly do it by making a timer that makes the client join to the server slightly later. Thx :D This worked and now I just need to figure out the exact timing :]
Describe the bug When I add a Ticker to my main menu that checks if a variable is true and if my server is online and then joins the server using my serverip variable
To Reproduce I will use the $ sign to indicate a variable Steps to reproduce the behavior (e.g.):
Expected behavior That when I start the game, $autojoinserver is true and my server is online that I would automatically join the server but instead it crashes :(
Game Log Here is the link: https://mclo.gs/NtYfgHM
Screenshots If screenshots would help to explain the issue, please include these.
Basic Informations (please complete the following information):