Client Crashes upon logging in - Fishing Trawler

Having issues? Ask here!
Forum rules
- Search for existing answers before creating a new topic
- Topic titles must be descriptive and searchable
- Duplicate questions will be redirected to the existing answer(s) and locked.
Post Reply
User avatar
ann
Noob
Posts: 11
Joined: Sat Feb 10, 2024 3:12 pm
Has thanked: 10 times
Been thanked: 5 times

Client Crashes upon logging in - Fishing Trawler

Post by ann »

Hi, my username is Ann

I was up on deck in the fishing trawler mini-game when the timer ran out.
The mini-game wouldn't end because of the known bug (which I didn't know at the time)
I tried teleporting, but it said 'A magical force is preventing you from teleporting'

I logged out, and now whenever I try to log in - the client crashes.
Kirayaba said the character would need to be moved.
User avatar
ryannathans
Staff
Posts: 501
Joined: Thu Aug 11, 2022 12:25 am
Location: ɐᴉlɐɹʇsn∀
Has thanked: 40 times
Been thanked: 96 times

Re: Client Crashes upon logging in - Fishing Trawler

Post by ryannathans »

ann wrote: Thu Feb 22, 2024 4:35 am Hi, my username is Ann

I was up on deck in the fishing trawler mini-game when the timer ran out.
The mini-game wouldn't end because of the known bug (which I didn't know at the time)
I tried teleporting, but it said 'A magical force is preventing you from teleporting'

I logged out, and now whenever I try to log in - the client crashes.
Kirayaba said the character would need to be moved.
Fixed
kirayaba
Froob
Posts: 54
Joined: Sun Feb 26, 2023 5:03 am
Has thanked: 28 times
Been thanked: 12 times

Re: Client Crashes upon logging in - Fishing Trawler

Post by kirayaba »

Need this done on my alt as well, rsn 'Hagane'.
Nevermind, got it fixed. Here's a client patch Player Name made to work around this:
diff --git a/client/src/main/java/rt4/Protocol.java b/client/src/main/java/rt4/Protocol.java
index 9621a04..f4125b4 100644
--- a/client/src/main/java/rt4/Protocol.java
+++ b/client/src/main/java/rt4/Protocol.java
@@ -446,7 +446,7 @@ public class Protocol {
local100 = true;
}
for (local138 = (local31 - 6) / 8; local138 <= (local31 + 6) / 8; local138++) {
- for (local151 = (local60 - 6) / 8; local151 <= (local60 + 6) / 8; local151++) {
+ for (local151 = (local60 - 6) / 8; local151 <= (local60 + 6) / 8 && local20 < LoginManager.regionBitPacked.length; local151++) {
local169 = (local138 << 8) + local151;
if (local100 && (local151 == 49 || local151 == 149 || local151 == 147 || local138 == 50 || local138 == 49 && local151 == 47)) {
LoginManager.regionBitPacked[local20] = local169;
Pre-patched client .jar: https://www.dropbox.com/scl/fi/yux3f62p ... y76e8&dl=0
Post Reply