Bots and Simulations > The Gene depository

Viruses

(1/3) > >>

Elite:
Anyone got any particularly interesting viruses to share?

This one has a timer, then kills its host (place any payload you like into the 100 .fdbody space, 500 is the countdown time in cycles)


--- Code: ---cond
 878 8 !=
start
 *.thisgene .mkvirus store
 250 .vshoot store
 100 .fdbody *877 -500 add sgn 1 add 2 div mult store
 *.877 inc
stop
--- End code ---

This one turns those infected into zombies, who work together to spread the virus


--- Code: ---cond
start
100 .vshoot store
*.thisgene .mkvirus *.vtimer -1 mult 1 add mult store
676 .myeye store
676 *.memloc store
*.mkvirus 1 add  .delgene *.mkvirus *.thisgene sub dup mult sgn mult store
stop
--- End code ---

This one messes up antivirus systems


--- Code: ---cond
start
.vshoot inc
*.thisgene .mkvirus store
.delgene dec
stop
--- End code ---

This one randomly overwrites the bot's memory


--- Code: ---cond
start
.vshoot inc
*.thisgene .mkvirus store
32000 rnd 901 rnd store
stop
--- End code ---

This one deletes all the infected bots genes (works against The One 50% of the time) but doesn't replicate
Needs a condition attached to stop it affecting the 'patient zero' bot


--- Code: ---cond
start
 *.thisgene 1 rnd 2 mult -1 add add .delgene store
stop
--- End code ---

This one breaks up MBs


--- Code: ---cond
start
 *.thisgene .mkvirus store
 250 .vshoot store
 *.tiepres .deltie store
stop
--- End code ---

Endless possibilities ...
(conditionless bots programming skills are good for this sort of thing)

Feel free to add some more viruses to this thread
- Kinda like a beastiary for viruses :firedevil:

Light:
Have you tried any of them against furiae? not the greatest fighting bot in the world but a very good anti virus system  :D

Elite:
Cool. That's some nice coding.  :)  Una is immune to viruses too - it deletes them before they can execute (.delgene inc .delgene inc in an SG bot).
Ahh ... I see. The genes activate, but they don't execute if there's more than 6 genes - nice conditionless bot skills!  ^_^

Not even Supremus' viruses work against it. Unless the virus gets inserted after that last gene.

If Furiae can be made a better combat bot then it would have a real F1 advantage.

Hey, would .genes dec work?

 :idea:

EDIT: No, it doesn't. Hmm ...

Endy:
Try messing with thisgene. I seem to rember it having some effect.

Not 100% sure but I think a bot might be able to absorb multiple shots at once, potentially bypassing a antiviral defense.

Theres also a glitch(not combat legal) you can do to make super huge temporarily fast spreading viruses. If you delgene a previous gene being made into a virus the gene after it will be shot at the former's speed. Cool to see but not really legal to use -_-  :D

Numsgil:
I may have fixed that bug for 2.4 BTW.

Navigation

[0] Message Index

[#] Next page

Go to full version