Play
Multi-Player
Coins
Community
Settings
Help
Community   Maps   Forum   Mail   Ladders   Clans   Recent Games
Sign In | Sign Up
<< Back to Help Forum   

Posts 1 - 9 of 9   
Bug with 90-troop attack at 35% killrate.: 12/12/2016 13:56:17

NewCompte 
Level 59
Report
With an offensive kill rate of 35% and Straight Round, an attack with 90 troops kills 31 troops when it should kill 32 troops.

90*0.35 = 31.5 which should be rounded up to 32, but is instead rounded down to 31.

The rounding up works on attacks with 10, 30, 50, 70 troops but glitches with 90.
It glitches on attacks with 170, 330, 350 troops too.

The 35% offensive killrate is used a lot (in games with "Warriors" in the name), so it's not a harmless bug.
Bug with 90-troop attack at 35% killrate.: 12/12/2016 20:10:20

player12345
Level 60
Report
Do you have a game link?
Bug with 90-troop attack at 35% killrate.: 12/12/2016 20:13:01

NewCompte 
Level 59
Report
https://www.warlight.net/MultiPlayer?GameID=12475860

Use Menu>Analyse Attack to see it. I also tested it with an actual attack in single-player.
Bug with 90-troop attack at 35% killrate.: 12/12/2016 20:17:20

NewCompte 
Level 59
Report
Bug with 90-troop attack at 35% killrate.: 12/12/2016 20:21:45

player12345
Level 60
Report
That does seem to be a bug.
Bug with 90-troop attack at 35% killrate.: 12/12/2016 20:38:53

NewCompte 
Level 59
Report
Even Google Chrome has the same issue:
Bug with 90-troop attack at 35% killrate.: 12/12/2016 20:52:21

NewCompte 
Level 59
Report

suggests a way to fix it.
Bug with 90-troop attack at 35% killrate.: 12/12/2016 23:28:38

DanWL 
Level 61
Report
^ same in Firefox.
Bug with 90-troop attack at 35% killrate.: 12/16/2016 01:54:44


psykkoman
Level 56
Report
Probably this is not a bug. It looks to me that this has something to do with the way computers deal with numbers. First they work with binary code. Second, they multiply and divide in complete different manner than we are used to do. Imo this explains abbreviations you describe.
I am not mathematically (or rather binary ;) ) skilled enough to give the exact explanation, but I found article which can be helpful to understand what is the issue:
http://mathforum.org/library/drmath/view/54338.html

Edited 12/16/2016 01:57:44
Posts 1 - 9 of 9   

Contact | About WarLight | Play Risk Online | Multiplayer Strategy Game | Challenge Friends, Win Money | Skill Game | Terms of Service