Easy Question?

Jump to navigation Jump to search

If you hit the wall with speed <2.0 you get no wall damage. So the 4 (2) -> 0 shoot 1.0 example would result in an 1.0 energy drop. Same as if you hit the wall with speed 4 and no shooting.

For the inactivity thing - nope it is not to confuse wave detection it just messed with my bullet calculation. I guess i should not bring up 2 different things in one thread, sorry for that. Both things are just related to "Energy drop" and by now i want a almost 100% energy calculation.

Wompi21:36, 13 December 2012

I thought all collisions resulted in 0.6 damage. Combat would detect a 0.4 bullet being fired in the example above, and would react to the firing, although it should detect a wall collision with 1.0 damage. Sort of a Performance Enhancing Bug.

The energy drop is ambiguous and the real collision damage is anything between 0.0 and 1.0. Maybe dodging a "thick" wave representing bullet powers from 0.1 to 1.0 can account for this uncertainty. Similar to waves in melee where you don't know exactly in which tick the wave was fired due to gaps in radar scans. And taking extra care with gun heat tracking (maybe assuming the lowest case).

MN03:43, 14 December 2012
 

If you hit suddenly slowed before hitting the wall, Nene would assume it hit the wall and did not fire a bullet. Allowing you to get away with a free shot.

But I remind you that slamming into the wall may lower your own score (if you mess up). It also gives a huge and useful data spike and stops your robot. Which means may not work against the top bots very well. Since they are made to capitalize on that. After hitting a wall your avenue of escape is much smaller.

As I have shown with Nene very well, movement trumps targeting. You can hit the top 10 with a gun from 2004 (even if said gun from 2004 was the best from that time).

Chase05:26, 14 December 2012
 

@MN: check out http://robowiki.net/wiki/Robocode/Game_Physics#Collisions
@Wompi: I detect accelerating/decelerating bots, except when they only do it that last tick before hitting the wall, like your example. That's why I said it is not 100% proof.

As for the inactivity timer, a top bot would not have that situation often. Usually they fire until 0.1 energy left, and then just keep moving. When inactivity timer kicks in, the battle is immediately over. To counter that, you could move closer or even ram the opponent when it stops firing.

Just out curiosity, what is the purpose of keeping track of your own energy? I can't think of anything useful for me.

GrubbmGait11:01, 14 December 2012

Tracking your own energy helps detect inactivity damage kicking in. If the opponents energy drops 0.1, it could be due to inactivity or due to a 0.1 power bullet being fired. You can't be sure. But if your own energy drops 0.1 and you didn't shoot, it should be due to inactivity.

Not tracking inactivity damage results in a bunch of false 0.1 power waves being detected at end game. Usually not an issue, but having highly accurate wave detection is cool.

MN21:43, 14 December 2012
 

Remembered one case where inactivity damage is a big issue. Reference bots of targeting challenges don't shoot and always outlast candidates with inactivity damage. If they wrongly detect 0.1 power waves, it introduces a lot of noise in their wave histories and makes dodging weaker.

MN21:51, 14 December 2012
 

You do not have permission to edit this page, for the following reasons:

  • The action you have requested is limited to users in the group: Users.
  • You must confirm your email address before editing pages. Please set and validate your email address through your user preferences.

You can view and copy the source of this page.

Return to Thread:Talk:Energy Drop/Easy Question?/reply (11).