I believe it is based off what the category the weapon is a part ofMike wrote: ↑Sat Jan 09, 2021 3:33 pm Remembering weapon style surely is a tricky one for me, because I honestly have no idea how it's supposed to work. If anyone can tell me how that all works, I'll be sure to fix it (it's one of those nasty to-do's that's been on my list for 4 years but just don't know how to get it done).
Like, what happens when you switch from an ags to a whip? Both have completely different styles.
What if you switch from an ags to a whip and then back to your ags?
What if you switch from an ags to a whip to a bgs?
What if you switch from a magic shortbow to a whip, to a staff and back to the magic shortbow?
Once these questions are answered, I'm sure I can work this out. Believe me, I want this fixed just as much as you all do
9 January Updates: New teleport interface
- Monys
- Forum Addict
- Posts: 2576
- Joined: Sat Apr 13, 2013 3:08 am
- Location: Upper Earth
- Contact:
Re: 9 January Updates: New teleport interface
Spoiler: show
Spoiler: show
Remember to ::vote for "Mony" ingame
Proud member of PkHonor
- Empty
- Honor Player
- Posts: 2371
- Joined: Mon May 06, 2013 7:43 am
- Location: Hustlers University
- Contact:
-
- Helper
- Posts: 1182
- Joined: Sun May 26, 2013 12:26 pm
Re: 9 January Updates: New teleport interface
I think a simple way to code it (if possible):Mike wrote: ↑Sat Jan 09, 2021 3:33 pm Remembering weapon style surely is a tricky one for me, because I honestly have no idea how it's supposed to work. If anyone can tell me how that all works, I'll be sure to fix it (it's one of those nasty to-do's that's been on my list for 4 years but just don't know how to get it done).
Like, what happens when you switch from an ags to a whip? Both have completely different styles.
What if you switch from an ags to a whip and then back to your ags?
What if you switch from an ags to a whip to a bgs?
What if you switch from a magic shortbow to a whip, to a staff and back to the magic shortbow?
Once these questions are answered, I'm sure I can work this out. Believe me, I want this fixed just as much as you all do
Each item has its own attack style memory linked to each individual account, and it can only be changed manually. Here are examples using your provided examples.
The first time an account uses an AGS, it is set to crush, once it is changed to stab, that memory is stored on that account, it it’ll only change if changed by the account. So every time to equip an AGS, it will be in stab. This would be done for every weapon (or weapon style if that’s simpler) in the game.
What if you switch from a magic shortbow to a whip, to a staff and back to the magic shortbow?
So your Shortbow will be set to rapid, then when you switch to a whip, it’ll go to whatever the attack style was the last time you used a whip (slash), then when you switch to the staff, it’ll go to the last attack style you used with a staff (or the specific staff if you can be that technical) (crush), then when you switch back to a short bow, the style it was on when you unequiped it (rapid) will be selected when you reequip it.
I hope that makes sense.
- Rapsey
- Sysadmin
- Posts: 5505
- Joined: Tue Dec 01, 2009 8:00 am
- Location: Belgium
Re: 9 January Updates: New teleport interface
Simple to code perhaps, although you then need to store the attack style for every weapon that has ever been used, for every player, forever. Not very efficient.Xsquire1 wrote: ↑Sat Jan 09, 2021 5:38 pm I think a simple way to code it (if possible):
Each item has its own attack style memory linked to each individual account, and it can only be changed manually. Here are examples using your provided examples.
The first time an account uses an AGS, it is set to crush, once it is changed to stab, that memory is stored on that account, it it’ll only change if changed by the account. So every time to equip an AGS, it will be in stab. This would be done for every weapon (or weapon style if that’s simpler) in the game.
What if you switch from a magic shortbow to a whip, to a staff and back to the magic shortbow?
So your Shortbow will be set to rapid, then when you switch to a whip, it’ll go to whatever the attack style was the last time you used a whip (slash), then when you switch to the staff, it’ll go to the last attack style you used with a staff (or the specific staff if you can be that technical) (crush), then when you switch back to a short bow, the style it was on when you unequiped it (rapid) will be selected when you reequip it.
I hope that makes sense.
I'm pretty sure that's not how attack styles are supposed to behave. Seems better to just get it right.
-
- Developer
- Posts: 2688
- Joined: Mon Dec 24, 2018 4:15 pm
Re: 9 January Updates: New teleport interface
Slap a ho wrote: ↑Thu Feb 20, 2020 2:05 am I realize this post is old.
As of today, previous comments made are not accurate as they’re outdated.
As of today, OSRS classifies each combat weapon under a category: staff, dagger, bow, dart, sword, whip, hammer, etc..
The combat style you use for that weapon category is remembered and applied. So if you’re using a sword on accurate and previously had used a bow on rapid, switching to a bow will be remembered as being on rapid and switching back to a sword will be remembered as being on accurate.
You can read the update here: https://secure.runescape.com/m=news/6th ... ldschool=1
- Mike
- Programmer
- Posts: 6348
- Joined: Sun Nov 01, 2009 8:00 pm
- Location: PkHonor HQ
Re: 9 January Updates: New teleport interface
There's a total of 18 weapon categories, or rather 18 unique combat interfaces (unarmed, whip, 2h, chins, salamanders, bow, sword, staff, throwing weapon, pickaxe, axe, halberd, scythe, spear, mace, claws, hammer and sword). I suppose what that post says is that the weapon style for each of these 18 categories is remembed and saved per account.Nazuths wrote: ↑Sat Jan 09, 2021 5:44 pmSlap a ho wrote: ↑Thu Feb 20, 2020 2:05 am I realize this post is old.
As of today, previous comments made are not accurate as they’re outdated.
As of today, OSRS classifies each combat weapon under a category: staff, dagger, bow, dart, sword, whip, hammer, etc..
The combat style you use for that weapon category is remembered and applied. So if you’re using a sword on accurate and previously had used a bow on rapid, switching to a bow will be remembered as being on rapid and switching back to a sword will be remembered as being on accurate.
You can read the update here: https://secure.runescape.com/m=news/6th ... ldschool=1
Makes sense to me, and also relatively easy to implement (and far easier in storage than remembering every single weapon). Thank you for sharing this information with us, I'll make sure this is added in the next update!
- Respire1337
- Premium Donator
- Posts: 2555
- Joined: Fri Dec 02, 2016 9:56 pm
Re: 9 January Updates: New teleport interface
Keep in mind that, if you equip a staff and set it on a spell, the next time you'll equip it again, it will remember the spell selected. That works in OSRS since only a handful of staves can autocast spells, but here it should be easier to implement since all staves can autocast almost every spell. However, I might be wrong on this and I need citation from someone much more experienced in OSRS than me.Mike wrote: ↑Sat Jan 09, 2021 6:03 pm
There's a total of 18 weapon categories, or rather 18 unique combat interfaces (unarmed, whip, 2h, chins, salamanders, bow, sword, staff, throwing weapon, pickaxe, axe, halberd, scythe, spear, mace, claws, hammer and sword). I suppose what that post says is that the weapon style for each of these 18 categories is remembed and saved per account.
Makes sense to me, and also relatively easy to implement (and far easier in storage than remembering every single weapon). Thank you for sharing this information with us, I'll make sure this is added in the next update!
- Iron reck
- Premium Donator
- Posts: 303
- Joined: Sat Jun 14, 2014 1:27 pm
Re: 9 January Updates: New teleport interface
As for switching attack styles it partially works now for melee to range and visa versa, as when you have a whip on lash when switching to range it goes to rapid, but where this QOL change really matters is mage to range, where you switch from auto casting or even trident spell and it goes back to accurate on the range item rather than rapid. On OSRS when switching back to the range weapon from mage the attack style wouldn't change.
- Pk gts
- Honor Player
- Posts: 225
- Joined: Wed Oct 19, 2016 6:41 am
Re: 9 January Updates: New teleport interface
nice now we just need this for the slayer block interface
- Brant
- Honor Player
- Posts: 4324
- Joined: Tue Aug 12, 2014 3:17 am
Re: 9 January Updates: New teleport interface
As for the range combat style, we can just have it auto set to rapid everytime because let's be honest. No one uses accurate.