bugs

Forum > Bugs > No xp after 100 won fights??!!
Reply To Thread (login)
tontofac3 [110]
2011-03-27 23:56:47
[13 years, 273 days ago]

Smeagol [87] attacked you 1 time.
You won 1 time and lost 0 times.
You gained 0 exp.
You gained 5,968 kudos.
2011-03-27 15:04:03
[8 hours ago]
Smeagol [87] attacked you 99 times.
You won 99 times and lost 0 times.
You gained 0 exp.
You gained 99 kudos.
2011-03-27 11:13:35
[12 hours ago

uh huh wtf


 
Smeagol [87]
2011-03-27 23:58:00
[13 years, 273 days ago]

I got xp on my bot.

You attacked RAIDEN [110] 1 time.
You won 0 times and lost 1 time.
You gained 0 exp.
You lost 5,968 kudos.

and

You attacked RAIDEN [110] 99 times.
You won 0 times and lost 99 times.
You gained 2,999,378 exp.
You lost 99 kudos.


Think we found a bug here


 
Smeagol [87]
2011-03-28 00:18:33
[13 years, 273 days ago]

We tried this with another bot, 20lvls+ below mine.

Prototype [65] attacked you 16 times.
You won 9 times and lost 7 times.
You gained 0 exp.
You lost 81,763 kudos.
2011-03-28 00:13:39
[3 minutes ago]

So the defender gets no xp if the attacker is 20+ lvls below?


 
tontoface2 [1]
2011-03-28 00:23:34
[13 years, 273 days ago]

yea!! or is it jus that smeagols bots and my bots dnt like each other so much that they dont give each other xp? hmmm now thats the troubling question...

the worl may never know


 
bluei [55]
2011-03-28 00:26:38
[13 years, 273 days ago]

Your bot doesn't gain any xp because it's level is too high compared to the attacker. I'm not entirely sure, but I think if the attacker's level < 0.8*defender's level there is no xp gain for the defender.


 
Smeagol [87]
2011-03-28 00:27:12
[13 years, 273 days ago]

Maybe its a sign.. Hope it says: Free Chocolate


 
tontoface2 [2]
2011-03-28 00:31:36
[13 years, 273 days ago]

herseys mhmmm


 
Ender [38]
Administrator
2011-03-28 01:13:49
[13 years, 273 days ago]

What bluei said is correct. You do not gain experience from beating much lower level bots.

However, in the process of investigating this, I found a problem with the experience formula. Look at this part of it:

1 + ( 5 * ( [Target's Level] - [Your Level] ) ) / [Your Level]

If your level is much higher than your opponents', this value is negative. With 87 and 110, it's -0.0455. This was resulting in experience actually being *taken away* from the higher level bot. You weren't seeing this negative value in the fight history because this is stored as an unsigned integer, thus masking the bug.

This probably explains the (very rare) deleveling bug as doing so obviously requires the ability to lose experience.

Thanks for reporting this.


 
tontoface2 [9]
2011-03-28 01:17:06
[13 years, 273 days ago]

OMG i was losing xp as i was winning every fight ahhhhhhh very interesting though.. well at least we kno now so no more negatives yay.. lets try n make life positive.

no prob ender its been a pleasure


 
Emanuel [91]
2011-03-28 03:01:24
[13 years, 273 days ago]

Finally cracked that bug, ey Ender? :P


 
Ender [39]
Administrator
2011-03-28 07:49:21
[13 years, 273 days ago]

Mayhaps...


 
Hobo [75]
2011-03-28 07:55:14
[13 years, 273 days ago]

Dun Dun Dun!!


 
Smeagol [88]
2011-03-28 10:24:59
[13 years, 273 days ago]

No problems, thats why we play beta :)


 
Forum > Bugs > No xp after 100 won fights??!!
Reply To Thread (login)