Darwinbots Forum
Bots and Simulations => DNA - General => Topic started by: havingphun on October 13, 2011, 06:24:36 PM
-
Is there any other ways to identify if another bot is friend or foe instead of checking there eyes?
-
You can use many of the other "*.my----" and *.ref----" such as "mypoison" and "refpoison".
Then there's memval.
There's not really an unbreakable way of doing it, though, most other bots can fake it all..
I don't have time to explain them all now, but I will at some point.
-
Well thats what i was planning on doing i made a bot that can trick some basic bots into thinking it is there friend, but what do the other bots use?
-
Most simple bots will use myeye and refeye but a lot will use memloc and memval. Or the use of "out" and "in" is good, too. Everything method I've seen can be faked, though.
-
thats good i want to make a bot that is unnoticed by all others then it just tie feeds like a parasite.
-
To fake every single method would be difficult, though, as new methods can be created quickly. For example
def total 50
def outval1 50
def outval2 50
'set two out values at birth
cond
*.robage = 0;
start
20 rand .outval1 store
20 rand .outval2 store
*.outval1 *.outval2 add .total store
stop
'output values
cond
start
*.outval1 .out1 store
*.outval2 .out2 store
stop
'add in1 and in2
cond
start
*.in1 *.in2 add .out3 store
stop
'attack if in3 is not the sum of own totals
cond
*.in3 *.total !=
start
'attack code
stop
end
I'm not sure if I've ever seen that before but I suspect it has. It's likely that it has and it's easy to fake, if you know it exists but somebody may use it with 3 vars or multiply instead of adding.
I haven't tested the code but I think it would work.
-
I was looking at the code of some bots and realised it wouldn't be useful for long even if i could trick every one.
-
There's a training veggy somewhere in the bestiary that spoofs a large number of conspec systems. I can't seem to find it anymore, though :( I'm pretty sure it's in the bestiary somewhere.
-
I found it: clicky (http://forum.darwinbots.com/index.php/topic,2738.msg1379529.html#msg1379529)