Jump to content
View in the app

A better way to browse. Learn more.

RuneSuite RSPS Development

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted
comment_3768

Hey guys,

 

Holy crap I can't actually believe I am writing another help thread, feel like a noob haha. Although I never dealt with this kind of error so here we go. It basically talks about unhandled packets and stuff. I tried adding a gamble system and it gives me the error when I ask to gamble another player. Here are the errors:

This is the hidden content, please

And all I added were those packets: 

This is the hidden content, please

And this is GambleResponse:

This is the hidden content, please

 

comment_3769
5 minutes ago, mathy said:

Hey guys,

 

Holy crap I can't actually believe I am writing another help thread, feel like a noob haha. Although I never dealt with this kind of error so here we go. It basically talks about unhandled packets and stuff. I tried adding a gamble system and it gives me the error when I ask to gamble another player. Here are the errors:

This is the hidden content, please

And all I added were those packets: 

This is the hidden content, please

And this is GambleResponse:

This is the hidden content, please

 

Add me on my newer skype

Skype: gear.haze i can maybe help gotta look at the code more.

comment_3857

Make sure that your actually reading the full packet. Otherwise you'll be incorrectly reading the next packet in the queue.

Client -> Server

buffer.writeShort(value);
buffer.writeByte(value2);

 

Server 

int value = buffer.readShort();

byte value2 = buffer.readByte();

  • Author
comment_3875
2 hours ago, Arithium said:

Make sure that your actually reading the full packet. Otherwise you'll be incorrectly reading the next packet in the queue.

Client -> Server

buffer.writeShort(value);
buffer.writeByte(value2);

 

Server 

int value = buffer.readShort();

byte value2 = buffer.readByte();

I've been able to get more info on the error, these are the packet sizes in client.java:

This is the hidden content, please

As you can see, for example, 15 has a size of 4 but in the error it says that its size is 0..

comment_3880
1 hour ago, mathy said:

I've been able to get more info on the error, these are the packet sizes in client.java:

This is the hidden content, please

As you can see, for example, 15 has a size of 4 but in the error it says that its size is 0..

I see your problem.

 

Line with the // 140, count them from the start. 140, 141, 142, 143, make 142 and 143 with a packet size of 2.

  • Author
comment_3898
3 hours ago, Arithium said:

I see your problem.

 

Line with the // 140, count them from the start. 140, 141, 142, 143, make 142 and 143 with a packet size of 2.

I did, the interface wont come up so I set it to 4, still nothing then to 6, now it shows up but I can't put up any items on the interface so I set it to 8, same thing then 10 and I stopped there lol

  • 5 years later...

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.