Page 1 of 1

Code Checks with Dual-Wield and Sole-Wield

Posted: Sun Mar 01, 2015 1:45 pm
by Melkor
I noticed today that my sole-wield skill went up while I was sparring with a wooden longsword and a wooden dagger. I never dropped one of them so I was dual-wielding the whole time. How did this happen? Is the code not checking the right skills?

Re: Code Checks with Dual-Wield and Sole-Wield

Posted: Sun Mar 01, 2015 2:51 pm
by cfelch
Currently, sole wield is your main hand, dual wield is the off hand.
Both were being used, one just is greater than the other.

Re: Code Checks with Dual-Wield and Sole-Wield

Posted: Sun Mar 01, 2015 9:28 pm
by Melkor
The code has never worked that way, unless this is a change that was made just for SOI3.

The only thing I can figure is that it's a bug being caused by using two different types of weapons. Because one is long-blade and the other is small-blade, it's treating it as if I'm sole-wielding for each weapon.

Re: Code Checks with Dual-Wield and Sole-Wield

Posted: Sun Mar 01, 2015 11:00 pm
by krelm
It's most likely a bug in the series of progs that deal with the arena.

Re: Code Checks with Dual-Wield and Sole-Wield

Posted: Sun Mar 01, 2015 11:07 pm
by Ceredir
You most likely used 'train longblade noshield' The arena looks for the command you used, not for the equipment you're actually holding (you could run it barehanded and train longblade and dual-wield. Poor roleplay, but you could)

Shield = training dual wield
Noshield = training sole wield

Re: Code Checks with Dual-Wield and Sole-Wield

Posted: Mon Mar 02, 2015 12:05 am
by Melkor
it wasn't with the arena prog, it was a regular spar

Re: Code Checks with Dual-Wield and Sole-Wield

Posted: Mon Mar 02, 2015 12:16 am
by krelm
Possible that you dropped an item, then missed an attack with your single weapon. That counts.

Re: Code Checks with Dual-Wield and Sole-Wield

Posted: Mon Mar 02, 2015 12:23 am
by Melkor
Like I said in the first post, I never dropped either weapon. I was dual-wielding the entire time. I typed skill before and after the fight, I know sole-wield went up because it's descriptor changed.

Is it possible that some code has been added so that you can learn from your opponent? Or maybe this has been here all along and Kithrater never mentioned it (to my knowledge)? The opponent was sole-wielding.

If not, the only explanation I can see is a bug causing the two different kinds of weapons (long-blade and small-blade) to be viewed by the code as being two instances of sole-wielding instead of one instance of dual-wielding like it should be.

edit: After it happened, I scrolled back through the log looking at it very carefully to try and figure out what happened. The first thing I looked for was whether I dropped one of the weapons. The above are the only explanations I can see.