Darwinbots Forum

Code center => Suggestions => Dead-End and Solved Suggestion Requests => Topic started by: Endy on February 24, 2005, 05:01:22 PM

Title: Perfect Identification
Post by: Endy on February 24, 2005, 05:01:22 PM
Any thoughts of having a *.refdnalen and *.refgenes? Thought about this when working with vtimer and how it is unique for each bot. Would allow near perfect identification of another bot. Let me know your thoughts on this.

Endy ;)

p.s.
Is something off with the mem/tmemlocs/val? It almost seems like they are not being refreshed correctly or something.
Title: Perfect Identification
Post by: Numsgil on February 24, 2005, 05:27:18 PM
Memloc turns to 0 whenever a value is put into memval by the program.  Memval won't refresh if theres nothing it sees, same as all refvars.



Your system would break down during virus infections and mutations.
Title: Perfect Identification
Post by: Anonomous Guest Person on February 24, 2005, 05:56:40 PM
Or perhaps would work more efficiently.
That way it acts to get rid of viruses or mutations, causing only the very best mutants to survive.
Title: Perfect Identification
Post by: Numsgil on February 24, 2005, 07:24:04 PM
IMO it provides a little too intimate details on another bot.

(you're trying to use memloc and memval to find anothers genelen and genes, right?)

No outright objections on my part though.  If everyone wants it its no problem to add.
Title: Perfect Identification
Post by: PurpleYouko on February 24, 2005, 11:08:53 PM
Just stick to using memloc and memval.

Directly reading the DNA length of another robot is too invasive and a little unrealistic IMO

 :rolleyes:  PY  :rolleyes:
Title: Perfect Identification
Post by: Endy on February 25, 2005, 01:41:07 AM
True.

Endy ;)
Title: Perfect Identification
Post by: Old Henk on February 25, 2005, 10:27:45 AM
Agreed.
Memloc and memval are vicious enough in terms of being able to know the other bot.

Henk  :)
Title: Perfect Identification
Post by: SyndLig on February 25, 2005, 11:35:23 AM
Quote
Just stick to using memloc and memval.

Directly reading the DNA length of another robot is too invasive and a little unrealistic IMO

 :rolleyes:  PY  :rolleyes:
We can already directly read every bit of coding, sans length.

We can see .up, .dn, .sh, .dh, (not sure on the latter 2's names anymore, been playing Noctis, ^.^;), .shoot, .shootval, .robage, .nrg, etc...
Title: Perfect Identification
Post by: PurpleYouko on February 25, 2005, 11:53:13 AM
I just think we have enough refvars already. Besides Memloc and Memval can read any value from the robot you are looking at already.

A very underused feature IMO

if you want to know how many genes a robot has just use this couplet of genes in your own robot.

Code: [Select]
cond
*.eye5 0 !=
start
.genes .memloc store
stop

cond
*.memval *.genes !=
start
-1 .shootthehelloutofitcuzitisntmyspecies store
stop

Could be a custom variable equal to .shoot :P just more fun this way.

 :D  PY  :D