Skip to content

Conversation

@Syntax2022
Copy link

  • Add Constant.java — centralized zoom/FOV tuning constants.
  • Change Class320.java to use Constant.ZOOM_OFFSET_DEFAULT.
  • Change Class348_Sub42_Sub3.java — linear FOV offset zoom, clamping, and offset re-sync.
  • Change client.java — mouse‑wheel zoom handling (direction + step, range).

- Change Class320.java to use Constant.ZOOM_OFFSET_DEFAULT.
- Change Class348_Sub42_Sub3.java — linear FOV offset zoom, clamping, and offset re-sync.
- Change client.java — mouse‑wheel zoom handling (direction + step, range).
@Syntax2022
Copy link
Author

Copy link
Owner

@GregHib GregHib left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very cool, I don't usually accept client edits but this is a tempting one.

In order to accept this it'd need:

  1. The min+max zoom limited a little more
  2. A fix for scrolling on interfaces - aka zooming only works when the mouse is over the game screen.

Unrelated note: why does lumbridge have floating one way invisible tiles 🤔

@Syntax2022
Copy link
Author

I will limit that abit more, also there's a constants file that has the ability to edit the min and max i think it'll be a good idea for you to edit that and pick what you feel is acceptable just incase.

I will get that fixed for the UI

Lumbridge is haunted, confirmed lol

@Syntax2022
Copy link
Author

Syntax2022 commented Jan 23, 2026

hello Greg, i been going through this client, and you added the middle mouse + drag I believe, what class are you doing checks for if over widget or not? i've tried to reverse the whole middle mouse + drag code and I just cannot find it...

i don't know that much about how cache handles stuff, but does the cache handle hovering too? does that mean i am looking for an ID.

@GregHib
Copy link
Owner

GregHib commented Jan 23, 2026

Middle mouse drag was done by copying the cs2 script from 667 and applying it the correct interface, I presume it uses a mouse button listener. It's script 4731 (See MoveCameraClientScript on the server side)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants