Author Topic: Virus shot flavor is -7  (Read 601 times)

Offline MysticalDumpling

  • Bot Destroyer
  • ***
  • Posts: 205
  • Kurwa chuj!
    • View Profile
Virus shot flavor is -7
« on: April 07, 2014, 05:10:06 PM »
Perhaps the best antivirus trigger yet! By trawling through the source code subforum, I discovered that in the code, viruses are handled as -7 shots! No more need for clumsy *.thisgene manipulation! (I think...)  :happy:
To być albo nie być, oto jest ze pytanie

Offline Moonfisher

  • Bot Overlord
  • ****
  • Posts: 592
    • View Profile
Re: Virus shot flavor is -7
« Reply #1 on: April 11, 2014, 02:28:30 AM »
Depends if you use slime though. I'm guessing it'll still show the show flavor even if you didn't get infected, but not sure.
But if you check *.thisgene then you'll always know if it's no longer at the right spot. Shot flavor is not as reliable, you could get hit by 2 shots at the same time, and even when you catch it, you need to store it somewhere since shot flavor will change next time you get hit.
Just find a wide range of empty memory locations, and have each gene increment the location offset by it's gene nr, then when the last gene is no longer at the right spot you can check which memory location is no longer being incremented and delete that gene and reset all your counters.
Or if it's an IM/Evo bot you could just have a strong anti virus gene at the end and keep track of foreign viruses and use them as your own instead.