Author Topic: Other ways of identifying freinds and foes  (Read 4632 times)

Offline havingphun

  • Bot Builder
  • **
  • Posts: 54
    • View Profile
Other ways of identifying freinds and foes
« 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?

Offline Panda

  • Global Moderator
  • Bot Destroyer
  • *****
  • Posts: 476
  • Computer Science Undergraduate (nerd)
    • View Profile
Re: Other ways of identifying freinds and foes
« Reply #1 on: October 14, 2011, 02:54:15 AM »
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.

Offline havingphun

  • Bot Builder
  • **
  • Posts: 54
    • View Profile
Re: Other ways of identifying freinds and foes
« Reply #2 on: October 15, 2011, 09:40:00 AM »
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?

Offline Panda

  • Global Moderator
  • Bot Destroyer
  • *****
  • Posts: 476
  • Computer Science Undergraduate (nerd)
    • View Profile
Re: Other ways of identifying freinds and foes
« Reply #3 on: October 15, 2011, 09:50:09 AM »
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.

Offline havingphun

  • Bot Builder
  • **
  • Posts: 54
    • View Profile
Re: Other ways of identifying freinds and foes
« Reply #4 on: October 15, 2011, 10:05:11 AM »
thats good i want to make a bot that is unnoticed by all others then it just tie feeds like a parasite.

Offline Panda

  • Global Moderator
  • Bot Destroyer
  • *****
  • Posts: 476
  • Computer Science Undergraduate (nerd)
    • View Profile
Re: Other ways of identifying freinds and foes
« Reply #5 on: October 15, 2011, 10:51:33 AM »
To fake every single method would be difficult, though, as new methods can be created quickly. For example

Code: [Select]
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.
« Last Edit: October 15, 2011, 10:53:59 AM by Panda »

Offline havingphun

  • Bot Builder
  • **
  • Posts: 54
    • View Profile
Re: Other ways of identifying freinds and foes
« Reply #6 on: October 17, 2011, 04:03:44 PM »
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.

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Re: Other ways of identifying freinds and foes
« Reply #7 on: October 19, 2011, 03:20:32 AM »
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.

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Re: Other ways of identifying freinds and foes
« Reply #8 on: October 19, 2011, 03:24:26 AM »
I found it: clicky