Page 1 of 1

Client Crashes upon logging in - Fishing Trawler

Posted: Thu Feb 22, 2024 4:35 am
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.

Re: Client Crashes upon logging in - Fishing Trawler

Posted: Thu Feb 22, 2024 5:53 am
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

Re: Client Crashes upon logging in - Fishing Trawler

Posted: Wed Mar 20, 2024 5:41 am
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