Technical Support


Bug in melee combat experience award

Sinvaders
You shouldn't have gotten 6000 points for 2 handed sword.
You started a fight with 1 arma using 2 handed sword (lvl 176), the fight keep going and you used 1 handed axe (lvl 231) in order to kill a gubani.
At this point, the fight is agains 1 arma and 1 gubani with highest lvl skill used being 231.
You kill the gubani, but the fight is still on-going agains 1 arma, highest skill use in the fight is still 231 (still the same fight you are involved in).
You kill the arma and get the xp (based on the highest skill use in the fight (231)). Fight ending.

I suppose that's one way to interpret it; assuming you don't mind a sloppy simulation. It was probably easier to write the code the way it currently works. Quite likely the original programmer never anticipated this type of situation. I've found over the years that most code issues are due to the original programmer not work out all of the possible scenarios before writing the code. Poor design instead of poor coding.

1) Experience is supposed to be based on the use of skills. I never used my master axe skill against the arma.

2) If experience is based on multiple skills used on the target, then the split of experience should be based on the percentage of damage done by each skill. Again, no damage was done to the arma using master axe; all damage was done using two handed sword. The split should have been 0% of the exp for master axe and 100% of the experience for two-handed sword.

3) Why is the exp so low? My exp points for two-handed sword seem to be based on my master axe skill level and not my two-handed sword skill level. The total exp seems to be based on the maximum skill level used and not on the skill level of the skill that actually caused damage.

Magez
shouldn't he also have gotten 2h xp for killing the gubani?
@I kill the gunai and get 62 points of experience in master axe (correct).

would be odd if the game decides the gubani was purely 1 type of weapon, while the arma has to share 2 types, when they are considered 1 battle overall.

I switched to master axe before I actually attacked the gubani so I guess the gubani was never aware that I had been using a two-handed sword.

Again, sloppy simulation; bad code.


Update:
Had the same situation again fighting an arma with two-handed mace. This time I managed to finish off the arma first and got full exp for two-handed mace. I then attacked the gubani and switched to master axe to finish it off and got 55 exp in master axe and 6 exp in two-handed mace - so that worked as expected.

---

Yaandor | Cult of Dgambi | He who walks alone
Atys is a stern and determined teacher; willing to repeat the same lesson as often as necessary.
Show topic
Last visit Wednesday, 24 April 23:22:44 UTC
P_:

powered by ryzom-api