Author Topic: Nasty self-replicating virus  (Read 2166 times)

Offline googlyeyesultra

  • Bot Destroyer
  • ***
  • Posts: 109
    • View Profile
Nasty self-replicating virus
« on: July 01, 2007, 02:38:11 AM »
Yes, I know virii is incorrect. It just sounds so cool, though.

Anyways, this virus, designed for 2.4.3, will make veggies spread it but not be killed by it, and other bots will die quickly if they receive it. It uses some fancy condition-less logic. Make sure to write in some sort of condition to prevent it from killing your bots.

Code: [Select]
cond
start
*.thisgene .mkvirus store
*.myeye *.myshoot add 32000 mult 50 add 32000 ceil .vshoot store
.delgene dec
stop
« Last Edit: July 01, 2007, 02:39:59 AM by googlyeyesultra »

Offline Jez

  • Bot Overlord
  • ****
  • Posts: 788
    • View Profile
Nasty self-replicating virus
« Reply #1 on: July 02, 2007, 02:37:05 PM »
quote "In the English language, the normal plural of virus is viruses. This form of the plural is correct, and used most frequently, both when referring to a biological virus and when referring to a computer virus. The forms viri and virii are also used as a plural, although less frequently. There is disagreement among users of the Internet over whether these forms should be considered correct. No reputable printed dictionary includes them as correct forms. " /quote

So I guess you can get away with virii! LOL

Nice gene, I had never thought of using '.delgene dec' but I guess you've tested it and it works!!
If you try and take a cat apart to see how it works, the first thing you have in your hands is a non-working cat.
Douglas Adams

Offline googlyeyesultra

  • Bot Destroyer
  • ***
  • Posts: 109
    • View Profile
Nasty self-replicating virus
« Reply #2 on: July 02, 2007, 02:51:46 PM »
Ya, it'll beat any antivirus if this gets a chance to run.

Essentially, veggies will spread the virus but won't die from it. Non-veggies will use hideous amounts of energy to fire uber-ranged virii, either killing or crippling themselves in the process.

Offline Endy

  • Bot Overlord
  • ****
  • Posts: 852
    • View Profile
Nasty self-replicating virus
« Reply #3 on: July 06, 2007, 01:20:27 AM »
Unless it hits a blind tie only feeder.  

Might be fun to let a mutable virus loose and see what happens.

Code: [Select]
cond
start
*.thisgene .mkvirus store
.vshoot inc
99 .mrepro store
stop

Be cool to see what this would do in a sim.

Offline fulizer

  • Bot Destroyer
  • ***
  • Posts: 198
    • View Profile
    • http://www.freewebs.com/explodeimplode/
Nasty self-replicating virus
« Reply #4 on: December 24, 2007, 05:04:41 AM »
its cool to look at viruses because they are my wak spot (or my weakest im bad at about everything)
"If this is coffee bring me tea, If this is tea, bring me coffee"

Offline bacillus

  • Bot Overlord
  • ****
  • Posts: 907
    • View Profile
Nasty self-replicating virus
« Reply #5 on: March 24, 2008, 05:39:09 PM »
Actually, this gene wouldn't be bad in a blind tie-feeder. In fact, the ".delgene dec" makes this virus double up as an antivirus gene; if a bot uses the standard gene-wiper:
[div class=\'codetop\']CODE[div class=\'codemain\' style=\'height:200px;white-space:pre;overflow:auto\']
 *.thisgene 1 rnd 2 mult -1 add add .delgene store

then as soon as the virus tries to delete the following gene, it will destroy itself.
Nice!
"They laughed at Columbus, they laughed at Fulton, they laughed at the Wright brothers. But they also laughed at Bozo the Clown."
- Carl Sagan