Author Topic: Making another bot delete it's own genes  (Read 5767 times)

Offline Martian

  • Bot Neophyte
  • *
  • Posts: 44
    • View Profile
Making another bot delete it's own genes
« on: July 06, 2007, 09:37:37 AM »
I modified Animal minimalis to force another bot to delete its genes with info shots, but it isn't working. Can someone please tell me why.  

cond
 *.eye5 0 >
 *.refeye *.myeye !=
start
 *.refveldx .dx store
 *.refvelup 30 add .up store
stop

cond
 *.eye5 50 >
 *.refeye *.myeye !=
 *.refeye 0 =
start
-1 .shoot store
 *.refvelup .up store
stop

cond
*.refeye 0 !=
*.eye5 50 >
*.refeye *.myeye !=
start
*.refvelup .up store
1 .shootval store
.delgene .shoot store
stop

cond
 *.eye5 0 =
 *.refeye *.myeye =
start
 314 rnd .aimdx store
stop

cond
 *.nrg 5100 >
start
 50 .repro store
stop

end

Offline Anazasi

  • Bot Neophyte
  • *
  • Posts: 11
    • View Profile
Making another bot delete it's own genes
« Reply #1 on: July 06, 2007, 09:56:38 AM »
cond
*.eye5 0 =
*.refeye *.myeye =
start
314 rnd .aimdx store
stop

this gene is wrong it only activates when there is noone at sight and refeye = myeye (thats never)

you need to add an or like this

cond
*.eye5 0 =
*.refeye *.myeye = or
start
314 rnd .aimdx store
stop

Offline Anazasi

  • Bot Neophyte
  • *
  • Posts: 11
    • View Profile
Making another bot delete it's own genes
« Reply #2 on: July 06, 2007, 10:12:24 AM »
ok I modified it and seems that the problem is with the memory location, for some reason you cannot write in 340 (.delgene) if you replace it with 341 you can see it works.
sorry, maybe someone else could help you.

Offline Martian

  • Bot Neophyte
  • *
  • Posts: 44
    • View Profile
Making another bot delete it's own genes
« Reply #3 on: July 06, 2007, 10:34:09 AM »
Quote from: Anazasi
ok I modified it and seems that the problem is with the memory location, for some reason you cannot write in 340 (.delgene) if you replace it with 341 you can see it works.
sorry, maybe someone else could help you.

OK. Maybe someone thought that deleting genes was overpowered.

Offline Anazasi

  • Bot Neophyte
  • *
  • Posts: 11
    • View Profile
Making another bot delete it's own genes
« Reply #4 on: July 06, 2007, 10:38:48 AM »
I think you could do it with ties

Offline Anazasi

  • Bot Neophyte
  • *
  • Posts: 11
    • View Profile
Making another bot delete it's own genes
« Reply #5 on: July 06, 2007, 10:54:06 AM »
I stole it from the tie tutorial and modified it, I think it works check it out

replace this gene

cond
*.refeye 0 !=
*.eye5 50 >
*.refeye *.myeye !=
start
*.refvelup .up store
1 .shootval store
.delgene .shoot store
stop

with this 3 others

cond
*.refeye *.myeye !=
*.eye5 45 >
start
13 .tie *.robage sgn mult *.refage sgn mult store
stop

cond
*.tiepres 0 >
*.tienum 0 =
start
*.tiepres .tienum store
stop

cond
*.tienum 0 >
start
*.refvelup .up store
340 .tieloc store
1 .tieval store
stop

Offline Martian

  • Bot Neophyte
  • *
  • Posts: 44
    • View Profile
Making another bot delete it's own genes
« Reply #6 on: July 06, 2007, 11:12:21 AM »
Thanks! It works perfectly now!  

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Making another bot delete it's own genes
« Reply #7 on: July 06, 2007, 11:18:18 PM »
Delgene was deemed too powerful and a block was put in specifically to limit venom and info shots from deleting genes.  Ties were supposed to be included in that, but I think they were overlooked.

It's kind of a dirty trick

Offline Martian

  • Bot Neophyte
  • *
  • Posts: 44
    • View Profile
Making another bot delete it's own genes
« Reply #8 on: July 07, 2007, 08:34:38 AM »
Quote from: Numsgil
Delgene was deemed too powerful and a block was put in specifically to limit venom and info shots from deleting genes.  Ties were supposed to be included in that, but I think they were overlooked.

It's kind of a dirty trick

OK.

Offline Trafalgar

  • Bot Destroyer
  • ***
  • Posts: 122
    • View Profile
Making another bot delete it's own genes
« Reply #9 on: July 15, 2007, 08:14:00 PM »
Of course, since you can instakill a bot with info shots or ties (writing to strvenom or strpoison or the like), whacking a bot with a delgene doesn't sound quite as bad.

I tried thinking of clever things to use venom or info shots for, but in the end it came down to "Well, it would be more effective to just instakill them instead of doing X clever disrupting thing. :|"

Offline Endy

  • Bot Overlord
  • ****
  • Posts: 852
    • View Profile
Making another bot delete it's own genes
« Reply #10 on: July 20, 2007, 12:04:34 AM »
Well for venom shots it was way too overpowered. You could have just fired a single shot and had the bot deleting all its genes. At least with ties the bots have some chance of reversing the attack or breaking free.

I like venom and poison to mess with the bots hunting abilities. Makes your own attacks tons easier.