
TheKuba
Members-
Posts
11 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
TheKuba's Achievements

Tree Puncher (2/8)
0
Reputation
-
i'm trying to make a mod that announces a chosen player's joining to all other players with a sound. i managed to get a custom sound to play upon a player joining, but for some reason the sound can be only heard within maximum 8 blocks of the joining player's joining spot. i tried playing the sound to every single player's client, but for whatever reason the effect hasn't changed. the forge doc for sounds is barely helpful in this regard, so figuring out this issue by myself seems nigh impossible. two versions of my code, one that plays a sound from the joining player: @SubscribeEvent public void pickupItem(PlayerLoggedInEvent event) { String UUID = configmaker.names.get().toString().replace("[", "").replace("]", "").replace(" ", ""); String[] toStringArray = UUID.split(",");//get the list and split it in to different uuids System.out.println("Player's UUID: " + event.getEntity().getStringUUID().toString());//logs the player's uuid for (int i = 0; i < toStringArray.length; i++) { if (event.getEntity().getStringUUID().equals(toStringArray[i])) {//"893fe864-7b87-4155-b1de-82a517d0e294" is kuba26038 event.getEntity().playSound(ModSounds.THE_SOUND_ITSELF.get(), 1.0F, 1.0F); } } and another one that plays a sound for all clients that are currently in-game: @SubscribeEvent public void pickupItem(PlayerLoggedInEvent event) { String UUID = configmaker.names.get().toString().replace("[", "").replace("]", "").replace(" ", ""); String[] toStringArray = UUID.split(",");//get the list and split it in to different uuids MinecraftServer server = ServerLifecycleHooks.getCurrentServer(); System.out.println("Player's UUID: " + event.getEntity().getStringUUID().toString());//logs the player's uuid for (int i = 0; i < toStringArray.length; i++) { if (event.getEntity().getStringUUID().equals(toStringArray[i])) {//"893fe864-7b87-4155-b1de-82a517d0e294" is kuba26038 List<ServerPlayer> players = server.getPlayerList().getPlayers(); for (ServerPlayer player : players) player.playSound(ModSounds.THE_SOUND_ITSELF.get(), 1.0F, 1.0F); } } please tell me what i'm missing, i'm slowly going insane over this. thanks.
-
i tried making a minor mod that'd do a few things to enigmatic legacy, but none of the ways to implement it into my project and run it alongside said mod while it's still in the workspace i've seen worked for me, be that because of a crash when implementing the mod in the run/mods folder or the line of code that'd deobfuscate said mod seemingly not doing anything, so here comes yet another question- how do i import those 4 mods into my eclipse workspace? curios-forge-1.19.2-5.1.1.0 jei-1.19.2-forge-11.4.0.286 EnigmaticLegacy-2.26.3 caelus-forge-1.19.2-3.0.0.6 all i want is for them to show up in the client when it turns on, i think i can figure out the rest
-
my friend has no such issues, he can play normally on the server. but i do know one person who has the same issue as me, so i'll try to get their logs as well. the first two are using an ethernet cable with the router, the second two use a wireless connection. and sorry for the file problem: https://drive.google.com/drive/folders/1N3aYiCWzTtrFUHTboG7j1eau_v9eVpty?usp=sharing
-
i know this isn't really your problem, so i need to say that you helping me means a lot. i enabled the debugging on the client at last, so it might be a lot more helpfull: https://drive.google.com/file/d/15wvcy-xRgTpxwAkGuLMMfNiSn0A-kzC4/view i did four attempts: two with my home internet and two with my phone's data router or whatever it's called. miraculously, the net 2 attempt has resulted in a stable connection with the server, so we might learn something from that one. if you'd like, i can also ask a friend to join the server and share his logs
-
well, sorry for that and also the late response. i think i added the argument you gave me now to the list, so here they are, now fixed: server latest.log: https://pastebin.com/Kz3SFMha server debug.log: https://pastebin.com/b6H8EY6N client latest.log: https://pastebin.com/hsSYGj9p client debug.log: https://pastebin.com/bs0zR2v6
-
alright, i think this should be enough: client debug.log: https://pastebin.com/qjUWVNF7 client latest.log: https://pastebin.com/8TvQeK2a server debug.log: https://pastebin.com/89YuUzLw server latest.log: https://pastebin.com/Lm1Dvfqk i deleted a huge chunk of the server logs because i forgot to use a new world when i created those and the world that was used had mods installed, thus creating an absolute monster of an error message.
-
since i switched to 1.18 forge, i was unable to join any server more than once. my guess is that this is because of my internet connection, and i would've gave up a long time ago if that was true, because there's always the first time that i try to join- i get about 50ms the whole time, i can freely interact with the world and play the game. but the moment i log off, that is gone, i cannot return to that server ever again, for whatever reason i always start falling into the void with no chunks being able to load around me while my connection says i have 0ms. but why is this first time so easy on me? i'd like to know, but no one was really able to answer this question. please help, maybe there's a chance that if i can recreate this, i can play on servers normally?
-
this is a big one, it's been making my server impossible to attend since i was one of the people affected. basically, ever since i switched to 1.18.2 from 1.16.5 i had this issue with connecting. it didn't start straight away actually, i think it started to refuse my connection after a few in-game deaths. after that whenever i tried joining, no chunks would load and i would start falling into the void. my ping display (modified by the mod BetterPingDisplay) said i had 0ms while all of that was happening. i thought that my internet was temporarily down, so i ignored it. here i am 4 months later, with 3 more people with amazing internet and the same issue. we tried everything, and the thing that fixed the problem was installing a vanilla server.jar and running the server through it. the person who was the last one to report having the issue during that period had max 30ms, where i had max 1000 (despite all, i still have bad internet). we decided to switch to the newest version of forge, since the one we deleted was 40.1.16. unfortunately, 40.1.47 has the same problem. at this point i have no clue what to do, except making a bug report to this site. oh god please help.