Spacing for sendOptions Interface (228)

Various development-related discussions
Post Reply
User avatar
downthecrop
Staff
Posts: 32
Joined: Thu Aug 11, 2022 10:37 am
Location: twitch.tv/downthecrop
Has thanked: 12 times
Been thanked: 12 times
Contact:

Spacing for sendOptions Interface (228)

Post by downthecrop »

Is there a way for me to space the swords at the edges of the chatbox interface id: 228

Reference: https://gitlab.com/2009scape/2009scape/ ... .java#L492

2009 Source

Image

Current

Image
Image
User avatar
Ceikry
Site Admin
Posts: 577
Joined: Wed Aug 10, 2022 11:48 pm
Location: Draynor Village
Has thanked: 81 times
Been thanked: 93 times

Re: Spacing for sendOptions Interface (228)

Post by Ceikry »

Nope, the interface with the swords wider apart is a completely separate interface. You'll need to find that interface, hook it up to the send options handling packet with the correct button IDs, etc.
Nerds
User avatar
Ceikry
Site Admin
Posts: 577
Joined: Wed Aug 10, 2022 11:48 pm
Location: Draynor Village
Has thanked: 81 times
Been thanked: 93 times

Re: Spacing for sendOptions Interface (228)

Post by Ceikry »

Though I suppose if you wanted to do it the lazy way, you could do what Arios did when put in similar situations: find the children for the sword sprites and send manual component repositioning packets for each.

Don't do that, though. I probably would ask you to fix it.
Nerds
Post Reply