Sneak peek: custom F keys, presets!

PkHonor's work in progress and future updates will be posted here.
User avatar
Mike
Programmer
Posts: 6297
Joined: Sun Nov 01, 2009 8:00 pm
Location: PkHonor HQ

Sneak peek: custom F keys, presets!

Post by Mike » Tue Sep 05, 2017 7:16 pm

Considering they are relatively small updates, I decided to go ahead and do these two things that the community would certainly know to appreciate!

Custom F keys will be included in the next update, which is planned for later this week! The interface is relatively simple to use and similar to a lot of other games: simply click the current keybinding next to an icon and press a key on your keyboard to assign a new one!
Image

I couldn't manage to make an expandable drop-down box (like OSRS has), but the above approach should work just as well ;)

We'll even allow people to bind other keys to their tabs, such as Esc, Ctrl, Page Up, Page Down, Pause & Insert (basically whatever keys aren't otherwise used in the client).


Inventory & equipment presets will not be included in the next update, but I did go ahead and make the necessary save & load buttons for the bank interface already:
Image

There is still quite some server-sided code that needs to be written, so I'm not sure when presets will be released. We'll definitely want to release some QoL and wilderness updates before presets. But we'll see. At least all of the client-sided code is now present.

The usage will be relatively simple as well - clicking one of the 9 options on the Save button will store your current inventory & equipment as a template (you'll be prompted to enter a name for it), so you can restore them to the template by selecting the appropriate menu option on the Load button. Regular players will have 5 presets, donators 7 and premium members 9.

The system will even allow people to set a preset for only your inventory (so it does not change your equipment on load) by creating a preset without having anything equipped. The other way around works too - setting a preset only for your equipment by having nothing in your inventory.

I'll admit the buttons are not the fanciest and look a bit crowded, but I had to make them myself and pixel art has never been my strong suit. If anyone feels like having a go at making better preset buttons, be my guest ;) below are their current sprites if you need them.

Image
Image

User avatar
Mr etho
Premium Donator
Posts: 984
Joined: Tue Aug 06, 2013 1:40 pm

Re: Sneak peek: custom F keys, presets!

Post by Mr etho » Tue Sep 05, 2017 7:20 pm

When are we getting Shift drop? overall amazing job

User avatar
Iron adam
Event Coordinator
Posts: 11693
Joined: Sun Aug 24, 2014 6:07 am
Contact:

Re: Sneak peek: custom F keys, presets!

Post by Iron adam » Tue Sep 05, 2017 7:21 pm

Very nice. This should shut up pkers for a while :badjokeeel:

User avatar
Mike
Programmer
Posts: 6297
Joined: Sun Nov 01, 2009 8:00 pm
Location: PkHonor HQ

Re: Sneak peek: custom F keys, presets!

Post by Mike » Tue Sep 05, 2017 7:24 pm

Mr etho wrote:When are we getting Shift drop? overall amazing job
Shift drop?

User avatar
Mr etho
Premium Donator
Posts: 984
Joined: Tue Aug 06, 2013 1:40 pm

Re: Sneak peek: custom F keys, presets!

Post by Mr etho » Tue Sep 05, 2017 7:25 pm

Mike wrote:
Mr etho wrote:When are we getting Shift drop? overall amazing job
Shift drop?
You hold down shift and click on the item it drops the item
Imageˇ
Last edited by Mr etho on Tue Sep 05, 2017 7:26 pm, edited 1 time in total.

User avatar
Iron adam
Event Coordinator
Posts: 11693
Joined: Sun Aug 24, 2014 6:07 am
Contact:

Re: Sneak peek: custom F keys, presets!

Post by Iron adam » Tue Sep 05, 2017 7:26 pm

Mike wrote:
Mr etho wrote:When are we getting Shift drop? overall amazing job
Shift drop?
It was jagex's answer to banning Ahk. Holding shift and clicking an item will drop it.
http://services.runescape.com/m=news/sh ... ldschool=1

User avatar
Pim
Premium Donator
Posts: 1911
Joined: Thu Jul 21, 2016 10:35 pm
Location: KBD

Re: Sneak peek: custom F keys, presets!

Post by Pim » Tue Sep 05, 2017 7:27 pm

LOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOVEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE

FOOKIN F KEYS M8

THANKS MIKE ALL I NEED

GL ALL @ KBD
Last edited by Pim on Tue Sep 05, 2017 7:27 pm, edited 1 time in total.
Image

User avatar
Mike
Programmer
Posts: 6297
Joined: Sun Nov 01, 2009 8:00 pm
Location: PkHonor HQ

Re: Sneak peek: custom F keys, presets!

Post by Mike » Tue Sep 05, 2017 7:27 pm

Mr etho wrote:
Mike wrote:
Mr etho wrote:When are we getting Shift drop? overall amazing job
Shift drop?
Image
Cool, I didn't know that existed. Sure, we can make it happen. Maybe not in this update, but good thing you brought it up (I'm guessing that might be another overlooked in-game suggestions topic)

User avatar
Andres
Developer
Posts: 4846
Joined: Fri Apr 12, 2013 6:23 pm
Location: Belgium

Re: Sneak peek: custom F keys, presets!

Post by Andres » Tue Sep 05, 2017 7:27 pm

Mr etho wrote:
Mike wrote:
Mr etho wrote:When are we getting Shift drop? overall amazing job
Shift drop?
Image
would be nice!

If you hold shift it will drop your item you select on the go. So you don't have to right-click and press 'drop'
Image

User avatar
Jon
Honor Player
Posts: 4704
Joined: Mon Jun 10, 2013 6:31 pm
Location: Iowa, USA
Contact:

Re: Sneak peek: custom F keys, presets!

Post by Jon » Tue Sep 05, 2017 7:31 pm

Hype
Image

Locked