Author Topic: DEf limit?  (Read 3505 times)

Offline MysticalDumpling

  • Bot Destroyer
  • ***
  • Posts: 205
  • Kurwa chuj!
    • View Profile
DEf limit?
« on: February 14, 2014, 07:53:26 PM »
I tried to create a bot to see whether eyeval evolution has an effet. Half of the defs are 0 in the sim. Helpings?

Quote
'Defs
'Evals (stored in epigemem)
def e1w 971
def e2w 972
def e3w 973
def e4w 974
def e5w 975
def e6w 976
def e7w 977
def e8w 978
def e9w 979

def e1 980
def e2 981
def e3 982
def e4 983
def e5 984
def e6 985
def e7 986
def e8 987
def e9 988

'If it is 1, coose random eyevals
def ie1w 21
def ie2w 22
def ie3w 23
def ie4w 24
def ie5w 25
def ie6w 26
def ie7w 27
def ie8w 28
def ie9w 29

def ie1 30
def ie2 31
def ie3 32
def ie4 33
def ie5 34
def ie6 35
def ie7 36
def ie8 37
def ie9 38

cond
*.robage 0 =
start
1 rnd .ie1 store
1 rnd .ie1 store
1 rnd .ie2 store
1 rnd .ie3 store
1 rnd .ie4 store
1 rnd .ie5 store
1 rnd .ie6 store
1 rnd .ie7 store
1 rnd .ie8 store
1 rnd .ie9 store
1 rnd .iew1 store
1 rnd .iew2 store
1 rnd .iew3 store
1 rnd .iew4 store
1 rnd .iew5 store
1 rnd .iew6 store
1 rnd .iew7 store
1 rnd .iew8 store
1 rnd .iew9 store

-1221 1221 rnd *.iew1 .ew1 mult store
-1221 1221 rnd *.iew2 .ew2 mult store
-1221 1221 rnd *.iew3 .ew3 mult store
-1221 1221 rnd *.iew4 .ew4 mult store
-1221 1221 rnd *.iew5 .ew5 mult store
-1221 1221 rnd *.iew6 .ew6 mult store
-1221 1221 rnd *.iew7 .ew7 mult store
-1221 1221 rnd *.iew8 .ew8 mult store
-1221 1221 rnd *.iew9 .ew9 mult store

-1221 1221 rnd *.ie1 .ew1 mult store
-1221 1221 rnd *.ie2 .ew2 mult store
-1221 1221 rnd *.ie3 .ew3 mult store
-1221 1221 rnd *.ie4 .ew4 mult store
-1221 1221 rnd *.ie5 .ew5 mult store
-1221 1221 rnd *.ie6 .ew6 mult store
-1221 1221 rnd *.ie7 .ew7 mult store
-1221 1221 rnd *.ie8 .ew8 mult store
-1221 1221 rnd *.ie9 .ew9 mult store

*.e1 521 store
*.e2 522 store
*.e3 523 store
*.e4 524 store
*.e5 525 store
*.e6 526 store
*.e7 527 store
*.e8 528 store
*.e9 529 store

*.ew1 531 store
*.ew2 532 store
*.ew3 533 store
*.ew4 534 store
*.ew5 535 store
*.ew6 536 store
*.ew7 537 store
*.ew8 538 store
*.ew9 539 store
stop
To być albo nie być, oto jest ze pytanie

Offline Shadowgod2

  • Bot Destroyer
  • ***
  • Posts: 387
    • View Profile
Re: DEf limit?
« Reply #1 on: February 15, 2014, 01:13:31 AM »
there is a limit but if i recall it was 50 being raised to 100. you only have 36.

the only thing i can say is to re wright the bot using the actual memlocs and no defs while botsareus tries to figure out what is going on so you can still continue testing. be sure to save the settings and everything before you start a new sim though for botsareus might need to see them as well.

Offline PhiNotPi

  • Bot Builder
  • **
  • Posts: 64
    • View Profile
Re: DEf limit?
« Reply #2 on: February 15, 2014, 09:20:58 AM »
Here's your problem:  At the top, you defined e1w, e2w, e3w, etc.  Later in the program, you use ew1, ew2, ew3, etc. 

Also, you did the same thing with ie#w to iew#.
I am biased neither towards nor against any single mathematical constant.

Offline MysticalDumpling

  • Bot Destroyer
  • ***
  • Posts: 205
  • Kurwa chuj!
    • View Profile
Re: DEf limit?
« Reply #3 on: February 15, 2014, 09:39:00 AM »
Oh, ok. *I feel retarded now*
To być albo nie być, oto jest ze pytanie

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: DEf limit?
« Reply #4 on: February 15, 2014, 12:30:31 PM »
Quote
actual memlocs and no defs while botsareus tries to figure out what is going on

lol what was wrong with the defs shadowgod?

Quote
be sure to save the settings and everything before you start a new sim though for botsareus might need to see them as well.

Shadowgod, settings save auto when you click "start new" simulations save every 2000 cycles.

Offline Shadowgod2

  • Bot Destroyer
  • ***
  • Posts: 387
    • View Profile
Re: DEf limit?
« Reply #5 on: February 16, 2014, 02:26:46 AM »
i miss the simplest things. i still had to look at it for a while before i saw it.


well what if you start a new and completely different sets before you post them while you wait for a reply or something. not even autosave saves you from that.

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: DEf limit?
« Reply #6 on: February 16, 2014, 09:58:49 AM »
Good point. This system was primarily put it place to catch program crashes.
You still have a choice to save settings on program exit. It will prompt you to save to the "lastexit.set" (not the "lastran.set" that saves auto)
So yea, in some cases your argument is valid.

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: DEf limit?
« Reply #7 on: February 16, 2014, 10:20:45 AM »
Also, the system uses "lastexit.set" when you restart darwinbots normally as it always did. "lastran.set" was designed for crashes only remember, and is output only unless you manually load it.