Author Topic: Bot with huge shooting range  (Read 2742 times)

Offline MacadamiaNuts

  • Bot Destroyer
  • ***
  • Posts: 273
    • View Profile
Bot with huge shooting range
« on: January 23, 2007, 07:23:09 PM »
I'm sorry I haven't got the time to test it with the last buddy drop.

One of my zerobots found a way to somehow shoot 4x ranged shots.

That seems weird. Or I missed something about .shootval?

I saved the bot and reran it and it happened again. Funny thing is it wasn't selected for evolution.

[attachment=545:attachment]
« Last Edit: January 23, 2007, 07:24:40 PM by MacadamiaNuts »
Sometimes you win, and sometimes you lose...

Offline EricL

  • Administrator
  • Bot God
  • *****
  • Posts: 2266
    • View Profile
Bot with huge shooting range
« Reply #1 on: January 23, 2007, 09:04:57 PM »
Values in .shootval increase the range of -1 and -6 shots by a factor of log(abs(.shootval) / 2) / log(2).

The few bots I looked at in your sim are storing -1239 into .shootval.  log(1239/2) /log(2) ~= 9.27.

You bot's shots are lasting 9X longer than normal.  Since you have no shot cost in the sim, bot's don't get penialized for large .shootval values.

By Design.
Many beers....

Offline MacadamiaNuts

  • Bot Destroyer
  • ***
  • Posts: 273
    • View Profile
Bot with huge shooting range
« Reply #2 on: January 24, 2007, 11:20:45 AM »
Ok, thank you.

I'll remind that the next time I hand code a bot. ;P
Sometimes you win, and sometimes you lose...