Author Topic: Chloroplast cheaters  (Read 8265 times)

Offline Testlund

  • Bot God
  • *****
  • Posts: 1574
    • View Profile
Chloroplast cheaters
« on: September 08, 2013, 07:05:56 AM »
Some bots gain chloroplasts when they shouldn't. No .mkchlr command in the dna.
The internet is corrupt and controlled by criminally minded people.

Offline Panda

  • Global Moderator
  • Bot Destroyer
  • *****
  • Posts: 476
  • Computer Science Undergraduate (nerd)
    • View Profile
Re: Chloroplast cheaters
« Reply #1 on: September 08, 2013, 08:03:31 AM »
Hmmmmmmmmm, I have no idea about this. I'll have a look at this later.

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: Chloroplast cheaters
« Reply #2 on: September 08, 2013, 09:12:02 AM »
What is the name of the robot? There is a good chance that it is not using .mkchlr directly. Example:

It may doing something like:

160 910 11 add store

which will be translated to:

160 921 store

that should translate to:

160 .mkchlr store

edit: there is no mutations in this simulation, that makes the problem easier to diagnose. I think the name of the robot being refereed to is "PokeMe." Panda do you want to take it, or you want to do it? If you want me to do it will not be earlier then 5pm Berlin time.
« Last Edit: September 08, 2013, 09:23:26 AM by Botsareus »

Offline Testlund

  • Bot God
  • *****
  • Posts: 1574
    • View Profile
Re: Chloroplast cheaters
« Reply #3 on: September 08, 2013, 09:24:06 AM »
It's the bot PokeMe shown on the picture to the upper left. I know it doesn't have any dna for chloroplasts since I wrote it and it hasn't mutated yet. There are a few other bots with the same if you click around.  :)
The internet is corrupt and controlled by criminally minded people.

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: Chloroplast cheaters
« Reply #4 on: September 08, 2013, 10:43:33 AM »
oh sorry, did not see the picy right away.

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: Chloroplast cheaters
« Reply #5 on: September 08, 2013, 11:00:31 AM »
I think I found it, it is the altzheimer code. It has to do with waste.
It was effecting .chlr directly.
« Last Edit: September 08, 2013, 11:09:27 AM by Botsareus »

Offline Testlund

  • Bot God
  • *****
  • Posts: 1574
    • View Profile
Re: Chloroplast cheaters
« Reply #6 on: September 08, 2013, 11:11:28 AM »
Then they are more sensitive to waste than they should be imo, cause I've set it quite high, and most of the bots with chloroplasts don't have any waste at all.
The internet is corrupt and controlled by criminally minded people.

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: Chloroplast cheaters
« Reply #7 on: September 08, 2013, 11:16:11 AM »
Altzheimer is definitely a possibility, it can overwrite mkchlr. I disabled this feature just now for a test only.

What is really bothering me is, chloroplasts should never have floating point values. edit: eh, nm, that will happen if the robot reproduces.

Anyway, I gtg, try this version and see if it fixed it, If not I'll keep digging.

Panda, try some stuff, maybe you can figure it out.
« Last Edit: September 08, 2013, 11:19:10 AM by Botsareus »

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: Chloroplast cheaters
« Reply #8 on: September 08, 2013, 11:24:27 AM »
Panda, here is the exact code I implemented btw:


Private Sub altzheimer(n As Integer)
'makes robots with high waste act in a bizarre fashion.
  Dim loc As Integer, val As Integer
  Dim loops As Integer
  Dim t As Integer
  loops = (rob(n).Pwaste + rob(n).Waste - SimOpts.BadWastelevel) / 4

  For t = 1 To loops
    loc = Random(1, 1000)
    If loc = mkchlr Then Exit For
    val = Random(-32000, 32000)
    rob(n).mem(loc) = val
  Next t
 
End Sub

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: Chloroplast cheaters
« Reply #9 on: September 08, 2013, 11:39:13 AM »
eh, I goofed up, I am bypassing the entire loop...

Private Sub altzheimer(n As Integer)
'makes robots with high waste act in a bizarre fashion.
  Dim loc As Integer, val As Integer
  Dim loops As Integer
  Dim t As Integer
  loops = (rob(n).Pwaste + rob(n).Waste - SimOpts.BadWastelevel) / 4

  For t = 1 To loops
    loc = Random(1, 1000)
    If not loc = mkchlr Then
      val = Random(-32000, 32000)
      rob(n).mem(loc) = val
    End If
  Next t
 
End Sub

That should be cleaner.

Panda, go ahead and post your exe mods here.
Unless, I just figured out what the problem was.

Offline Panda

  • Global Moderator
  • Bot Destroyer
  • *****
  • Posts: 476
  • Computer Science Undergraduate (nerd)
    • View Profile
Re: Chloroplast cheaters
« Reply #10 on: September 08, 2013, 11:41:10 AM »
I can't remember why I made them floating point variables, I think it was because energy and body were. It won't be a big issue to change this, though. Do you want me to change it? Erm, other than that there might be something a little bit wrong with the managing chloroplasts code. I'll have a go at it, though. Only just got to doing any of this. Spent the whole day packing for university.

EDIT: oh and did we do the tie sharing chloroplasts code or...?
« Last Edit: September 08, 2013, 11:43:52 AM by Panda »

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: Chloroplast cheaters
« Reply #11 on: September 08, 2013, 11:43:18 AM »
emmm, no that is fine, it was fun to hack a robot to start with 1001 chlr and watch it reproduce.  :P

1001
500.5
250.25
etc.

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: Chloroplast cheaters
« Reply #12 on: September 08, 2013, 11:48:20 AM »
Quote
Spent the whole day packing for university.

good luck :)

Quote
EDIT: oh and did we do the tie sharing chloroplasts code or...?

Yea, I have implemented what you svn'd me. Would not hurt to check if that is working.
Btw, when I checked it, seemed to work backwards. 1% will give most energy to tie robot while 99% gave the least. I am ns if that is just for chloroplasts, or, are all sharing functions written backwards? Never had enough energy to check...

Offline Panda

  • Global Moderator
  • Bot Destroyer
  • *****
  • Posts: 476
  • Computer Science Undergraduate (nerd)
    • View Profile
Re: Chloroplast cheaters
« Reply #13 on: September 08, 2013, 11:56:04 AM »
I think I wrote it in the same with the rest. Also, Testlund, did any of your other bots use venom or something because that corner bot has a seriously messed up memory?

EDIT: I only say this because it is really just that collection of bots there that have the chloroplasts but there are other bots with very messed up memories also.
« Last Edit: September 08, 2013, 11:59:44 AM by Panda »

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: Chloroplast cheaters
« Reply #14 on: September 08, 2013, 12:00:03 PM »
Quote
that corner bot has a seriously messed up memory.

That is what I am talking about, it is altzheimers man.