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_10416

Some are fine, everything is fine in fixed mode but when i go into wild and resize the screen the interfaces don't resize as they should, any ideas?

This is the hidden content, please

 

I don't usually ask for help unless I'm genuinely stuck.

Edited by NathyLad

comment_10419

It's been a long time since I've added resizable to a client, but resizing is not your issue, repositioning is though. From what I remember, you'll need to find in the client class where drawInterface is being called, and change the position parameters to be relative to your game window height & width. Since I don't use resizable clients anymore, I couldn't tell you how to do this. From what I can tell, only your walkable interfaces are having issues, which means that you'll only need to change the positions for where your walkable interfaces are being called to draw.

Edited by Mayhem

  • Author
comment_10420
11 minutes ago, Mayhem said:

It's been a long time since I've added resizable to a client, but resizing is not your issue, repositioning is though. From what I remember, you'll need to find in the client class where drawInterface is being called, and change the position parameters to be relative to your game window height & width. Since I don't use resizable clients anymore, I couldn't tell you how to do this. From what I can tell, only your walkable interfaces are having issues, which means that you'll only need to change the positions for where your walkable interfaces are being called to draw.

 
This is the hidden content, please

Where i believe it's being called from.

comment_10447

strange, your code should be working. Since it's not, my last two ideas are that you have a modified version of drawInterface method that isn't properly done, or there's a remaining RSImageProducer that your client is drawing certain types of interfaces inside.

comment_10529

Now I've never had to do something like this in my life. I'm more server sided. However under your code in draw3dscreen where the resizable mode is there's this under it.

Configuration.clientHeight - 271, 5);

Now correct me if im wrong. But your height seems a biT fucked up. Backup all your shit and perhaps try removing - 271? Or cancel that section out by making it -0 as a placeholder.

Configuration.clientHeight, 5); or

Configuration.clientHeight - 0, 5); if it gives you a syntax error.

Now I've warned you im not client sided and I am begging you to back up before you try this because I won't be held responsible if it doesn't work.

Keep us updated on how it turns out.

Edited by Charisma

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.