Author Topic: how to virus  (Read 8410 times)

Offline MrMound

  • Bot Destroyer
  • ***
  • Posts: 156
    • View Profile
how to virus
« on: April 19, 2005, 07:33:42 PM »
could someone tell me how to make a virus that puts this gene into another bot?

cond
*.nrg 1 >=
*.refaimdex 2 =
start
60 .repro store
stop

 :)
cooperation is working together to achive a common goal
mrmound

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
how to virus
« Reply #1 on: April 19, 2005, 07:40:20 PM »
This post explains it pretty good.

Then you have *.thisgene, which works well in tandem with .mkvirus.

Offline MrMound

  • Bot Destroyer
  • ***
  • Posts: 156
    • View Profile
how to virus
« Reply #2 on: April 19, 2005, 07:42:40 PM »
wich post? :huh:
cooperation is working together to achive a common goal
mrmound

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
how to virus
« Reply #3 on: April 19, 2005, 08:06:07 PM »
Lol, my mind is going...

This post.

Offline MrMound

  • Bot Destroyer
  • ***
  • Posts: 156
    • View Profile
how to virus
« Reply #4 on: April 20, 2005, 08:54:23 AM »
so if it was gene 6 I wanted in another robot would the virus genes look like this?

start

6 .mkvirus store

stop

cond

.vtimer 0 =

start

-1 .vshoot store

stop
cooperation is working together to achive a common goal
mrmound

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
how to virus
« Reply #5 on: April 20, 2005, 09:00:29 AM »
Not quite

You won't get anywhere with "-1 .vshoot store" since for vshoot, the stored number represents both the range of the virus shot and the energy cost to the originator.
Try something like "50 .vshoot store" to get a reasonable range for your virus. Yes it is expensive. It was designed to be. Making and shooting a virus should not be undertaken lightly.
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline MrMound

  • Bot Destroyer
  • ***
  • Posts: 156
    • View Profile
how to virus
« Reply #6 on: April 20, 2005, 09:04:43 AM »
so it would look like this?


start

6 .mkvirus store

stop

cond

.vtimer 0 =

start

50 .vshoot store

stop
cooperation is working together to achive a common goal
mrmound

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
how to virus
« Reply #7 on: April 20, 2005, 09:09:10 AM »
That should do it.

Only one problem is that once one of your robots gets hit by one of its own viruses, the chance are that the intended gene (gene 6 that is) probably won't be gene 6 any more so the next virus sent out could be anything.

It gets really messy really fast
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline MrMound

  • Bot Destroyer
  • ***
  • Posts: 156
    • View Profile
how to virus
« Reply #8 on: April 20, 2005, 09:13:19 AM »
it doesn't work heres my bot and would you see if you see anything wrong with it?

 I mean the virus
« Last Edit: April 20, 2005, 09:14:16 AM by mrmound »
cooperation is working together to achive a common goal
mrmound

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
how to virus
« Reply #9 on: April 20, 2005, 09:19:40 AM »
You have a misspelling.  It's refaimdx, not refaimdex.

Also, and I quote myself in the now pinned virus thread:

Quote
vtimer is 1 when there is a virus ready to fire. 0 if there is no virus ready to fire, > 1 if there is still time left to wait.
.

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
how to virus
« Reply #10 on: April 20, 2005, 10:08:27 AM »
When a robot doesn't work properly and you don't know why, pause the sim, double click the robot and look at its DNA.

Any misspelled words in the code will appear as zeroes because the interpretter cannot recognize them as commands.

This is a really good way to find problems quickly.
« Last Edit: April 20, 2005, 12:14:02 PM by PurpleYouko »
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
how to virus
« Reply #11 on: April 20, 2005, 12:26:56 PM »
One more thing:

I strongly urge you to look into Spanish Conquistador's virus.  I kid you not, that thing is a monster.  A monster in its ability to leave SC unscathed.  It's ability to kill off other species (even species with intelligent anti-viral genes).  It's ability to create a self propogating virus that quickly takes over.  It's masterful (if I do say so myself) use of the stack.  It's definately the most deadly virus to date (deadly not because it causes instant kills (tried that, it wasn't as successful) but because it manages to leave the victim going for a few hundred cycles, reproducing like mad and creating new viral particles in each daughter cell).
« Last Edit: April 20, 2005, 12:28:47 PM by Numsgil »

Offline Zelos

  • Bot Overlord
  • ****
  • Posts: 707
    • View Profile
how to virus
« Reply #12 on: April 20, 2005, 12:32:55 PM »
sweet :D he used my simple bot to start whit :D
When I have the eclipse cannon under my control there is nothing that can stop me from ruling the world. And I wont stop there. I will never stop conquering worlds through the universe. All the worlds in the universe will belong to me. All the species in on them will be my slaves. THE ENIRE UNIVERSE WILL BELONG TO ME AND EVERYTHING IN IT :evil: AND THERE IS NOTHING ANYONE OF you CAN DO TO STOP ME. HAHAHAHAHAHAHAHA

Offline MrMound

  • Bot Destroyer
  • ***
  • Posts: 156
    • View Profile
how to virus
« Reply #13 on: April 20, 2005, 08:53:21 PM »
so  are you saying it should look more like this?

cond
.vtimer 0 =
start
6 .mkvirus store
stop

cond
.vtimer 1 <
start
'donothing
stop

cond
.vtimer 1 =
start
50 .vshoot store
stop

 :)
« Last Edit: April 20, 2005, 08:57:38 PM by mrmound »
cooperation is working together to achive a common goal
mrmound

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
how to virus
« Reply #14 on: April 21, 2005, 12:41:06 AM »
You've got the > and < signs confused, but other than that, yeah, looks good.