Author Topic: Err...WHAT IS BROKEN ON IT?  (Read 4637 times)

Offline spike43884

  • Bot Overlord
  • ****
  • Posts: 656
    • View Profile
Err...WHAT IS BROKEN ON IT?
« on: November 13, 2014, 04:21:27 PM »
I try to load my MB version of all-eyes into my sim and I get the error
overflow. path: C:\users\Luke\desktop\my bots\WIP\All eyes(spike43884)(MB).txt is not a valid robot

I've posted it here and not in the bugs part because im presuming its to do with the DNA as its the only bot to have this error, even after location being moved it still no works.
Code: [Select]
'All Eyes(MB)
'By Spike43884
'Waits for his prey, all eyes ready then pounces!
'Refer to Sentry-Rule


'Gene 0 Eye settings
cond
*.robage 5 <
start
-571 .eye2dir store
571 .eye8dir store
-126 .eye1dir store
126 .eye9dir store
-287 .eye3dir store
287 .eye7dir store
-96 .eye4dir store
96 .eye6dir store
149 .eye2width store
149 .eye8width store
-30 .eye1width store
-30 .eye9width store
149 .eye3width store
149 .eye7width store
93 .eye4width store
93 .eye6width store
-30 .eye5width store
stop


' Gene 1 Food Finder (waiting)
cond
*.eye1 0 = *.eye2 0 = *.eye3 0 = *.eye4 0 = *.eye5 0 = *.eye6 0 = *.eye7 0 = *.eye8 0 = *.eye9 0 = or or or or or or or
*.refeye *.myeye !=
start
157 rnd .aimdx store
stop


'Gene 2 Food Sighted
'*********************
cond
*.eye1 0 >
*.refeye *.myeye !=
start
140 .aimdx
stop

*.eye2 0 >
*.refeye *.myeye !=
start
105 .aimdx
stop

*.eye3 0 >
*.refeye *.myeye !=
start
70 .aimdx
stop

*.eye4 0 >
*.refeye *.myeye !=
start
35 .aimdx
stop

cond
*.eye6 0 >
*.refeye *.myeye !=
start
35 .aimsx
stop

cond
*.eye7 0 >
*.refeye *.myeye !=
start
70 .aimsx
stop

cond
*.eye8 0 >
*.refeye *.myeye !=
start
105 .aimsx
stop

cond
*.eye9 0 >
*.refeye *.myeye !=
start
140 .aimsx
stop
'*********************


' Gene 3 Chase Food
cond
*.eye5 0 > *.eye5 50 < and
*.refeye *.myeye =
start
 *.refveldx .dx store
 *.refvelup 30 add .up store
stop


' Gene 4 Eat Food
cond
*.eye5 50 > *.numties 1 >= and
*.refeye *.myeye !=
start
-1 .shoot store
 *.refvelup .up store
stop


' Gene 5 Avoiding Family
cond
 *.refeye *.myeye = or
start
 314 rnd .aimdx store
stop

' Gene 6 Join Colony
cond
 *.eye5 0 != *.multi 1 != *.nrg 40000 >= and and
*.refeye *.myeye = or
start
 .tie
 .stifftie 10
 .fixlen 200
 .fixang 20
 .stifftie 30
stop

' Gene 7 Reproduce
cond
 *.nrg 20000 > *.robage 3 > and
start
 10 .repro store
stop


end
Autism can allow so much joy, and at the same time sadness to be seen. Our world is weird, and full of contradiction everywhere, yet somehow at moments seems to come together, and make near perfect sense.

Offline Shadowgod2

  • Bot Destroyer
  • ***
  • Posts: 387
    • View Profile
Re: Err...WHAT IS BROKEN ON IT?
« Reply #1 on: November 13, 2014, 05:42:50 PM »
did you use the insert organism in the edit section at the top?

Offline spike43884

  • Bot Overlord
  • ****
  • Posts: 656
    • View Profile
Re: Err...WHAT IS BROKEN ON IT?
« Reply #2 on: November 14, 2014, 11:24:42 AM »
did you use the insert organism in the edit section at the top?
Insert organism? no im doing it from the start, trying to insert a bot into the very start of the sim (you know that little pop-up bit), its a DNA file not organism file
Autism can allow so much joy, and at the same time sadness to be seen. Our world is weird, and full of contradiction everywhere, yet somehow at moments seems to come together, and make near perfect sense.

Offline Shadowgod2

  • Bot Destroyer
  • ***
  • Posts: 387
    • View Profile
Re: Err...WHAT IS BROKEN ON IT?
« Reply #3 on: November 14, 2014, 11:59:42 AM »
Ok just trying to cover all the bases.

Did you move the file?
If not then delete it from the box and put it back on.

Offline spike43884

  • Bot Overlord
  • ****
  • Posts: 656
    • View Profile
Re: Err...WHAT IS BROKEN ON IT?
« Reply #4 on: November 14, 2014, 03:35:27 PM »
Ok just trying to cover all the bases.

Did you move the file?
If not then delete it from the box and put it back on.
Tried that. Insuccessful.
Autism can allow so much joy, and at the same time sadness to be seen. Our world is weird, and full of contradiction everywhere, yet somehow at moments seems to come together, and make near perfect sense.

Offline Shadowgod2

  • Bot Destroyer
  • ***
  • Posts: 387
    • View Profile
Re: Err...WHAT IS BROKEN ON IT?
« Reply #5 on: November 14, 2014, 04:13:27 PM »
Ok I'll look at it tonight

Offline Shadowgod2

  • Bot Destroyer
  • ***
  • Posts: 387
    • View Profile
Re: Err...WHAT IS BROKEN ON IT?
« Reply #6 on: November 15, 2014, 02:09:57 AM »
i found your issue. you had a number above 32000 in your dna. gene6, nrg

i also fixed the code a bit

Code: [Select]
'All Eyes(MB)
'By Spike43884
'Waits for his prey, all eyes ready then pounces!
'Refer to Sentry-Rule


'Gene 0 Eye settings
cond
*.robage 5 <
start
-571 .eye2dir store
571 .eye8dir store
-126 .eye1dir store
126 .eye9dir store
-287 .eye3dir store
287 .eye7dir store
-96 .eye4dir store
96 .eye6dir store
149 .eye2width store
149 .eye8width store
-30 .eye1width store
-30 .eye9width store
149 .eye3width store
149 .eye7width store
93 .eye4width store
93 .eye6width store
-30 .eye5width store
stop


' Gene 1 Food Finder waiting
cond
*.eye1 0 =
*.eye2 0 = or
*.eye3 0 = or
*.eye4 0 = or
*.eye5 0 = or
*.eye6 0 = or
*.eye7 0 = or
*.eye8 0 = or
*.eye9 0 = or
*.refeye *.myeye !=
start
157 rnd .aimdx store
stop


'Gene 2 Food Sighted
cond
*.eye1 0 >
*.refeye *.myeye !=
start
140 .aimdx store
stop

cond
*.eye2 0 >
*.refeye *.myeye !=
start
105 .aimdx store
stop

cond
*.eye3 0 >
*.refeye *.myeye !=
start
70 .aimdx store
stop

cond
*.eye4 0 >
*.refeye *.myeye !=
start
35 .aimdx store
stop

cond
*.eye6 0 >
*.refeye *.myeye !=
start
35 .aimsx store
stop

cond
*.eye7 0 >
*.refeye *.myeye !=
start
70 .aimsx store
stop

cond
*.eye8 0 >
*.refeye *.myeye !=
start
105 .aimsx store
stop

cond
*.eye9 0 >
*.refeye *.myeye !=
start
140 .aimsx store
stop

' Gene 3 Chase Food
cond
*.eye5 0 >
*.eye5 50 < and
*.refeye *.myeye =
start
 *.refveldx .dx store
 *.refvelup 30 add .up store
stop


' Gene 4 Eat Food
cond
*.eye5 50 >
*.numties 1 >= and
*.refeye *.myeye != and
start
-1 .shoot store
 *.refvelup .up store
stop


' Gene 5 Avoiding Family
cond
 *.refeye *.myeye =
start
 314 rnd .aimdx store
stop

' Gene 6 Join Colony

cond
 *.eye5 0 !=
 *.multi 1 != and
 *.nrg 30000 >= and
 *.refeye *.myeye = or
start
 .tie inc
 200 .fixlen store
 20 .fixang store
 30 .stifftie store
stop

' Gene 7 Reproduce
cond
*.nrg 20000 >
*.robage 3 > and
start
 10 .repro store
stop


end

you really need to remember your cond s and store s as well as... ok so i'm making a heavy tutorial on how to wright dna code because some of the stuff you do is just :wacko: . sorry no hard feelings and i've wanted to do a tutorial for a while anyway. i haven't because i had yet seen anyone have soo much trouble before now.
« Last Edit: November 15, 2014, 02:18:25 AM by Shadowgod2 »

Offline spike43884

  • Bot Overlord
  • ****
  • Posts: 656
    • View Profile
Re: Err...WHAT IS BROKEN ON IT?
« Reply #7 on: November 15, 2014, 06:31:56 AM »
i found your issue. you had a number above 32000 in your dna. gene6, nrg

i also fixed the code a bit

Code: [Select]
'All Eyes(MB)
'By Spike43884
'Waits for his prey, all eyes ready then pounces!
'Refer to Sentry-Rule


'Gene 0 Eye settings
cond
*.robage 5 <
start
-571 .eye2dir store
571 .eye8dir store
-126 .eye1dir store
126 .eye9dir store
-287 .eye3dir store
287 .eye7dir store
-96 .eye4dir store
96 .eye6dir store
149 .eye2width store
149 .eye8width store
-30 .eye1width store
-30 .eye9width store
149 .eye3width store
149 .eye7width store
93 .eye4width store
93 .eye6width store
-30 .eye5width store
stop


' Gene 1 Food Finder waiting
cond
*.eye1 0 =
*.eye2 0 = or
*.eye3 0 = or
*.eye4 0 = or
*.eye5 0 = or
*.eye6 0 = or
*.eye7 0 = or
*.eye8 0 = or
*.eye9 0 = or
*.refeye *.myeye !=
start
157 rnd .aimdx store
stop


'Gene 2 Food Sighted
cond
*.eye1 0 >
*.refeye *.myeye !=
start
140 .aimdx store
stop

cond
*.eye2 0 >
*.refeye *.myeye !=
start
105 .aimdx store
stop

cond
*.eye3 0 >
*.refeye *.myeye !=
start
70 .aimdx store
stop

cond
*.eye4 0 >
*.refeye *.myeye !=
start
35 .aimdx store
stop

cond
*.eye6 0 >
*.refeye *.myeye !=
start
35 .aimsx store
stop

cond
*.eye7 0 >
*.refeye *.myeye !=
start
70 .aimsx store
stop

cond
*.eye8 0 >
*.refeye *.myeye !=
start
105 .aimsx store
stop

cond
*.eye9 0 >
*.refeye *.myeye !=
start
140 .aimsx store
stop

' Gene 3 Chase Food
cond
*.eye5 0 >
*.eye5 50 < and
*.refeye *.myeye =
start
 *.refveldx .dx store
 *.refvelup 30 add .up store
stop


' Gene 4 Eat Food
cond
*.eye5 50 >
*.numties 1 >= and
*.refeye *.myeye != and
start
-1 .shoot store
 *.refvelup .up store
stop


' Gene 5 Avoiding Family
cond
 *.refeye *.myeye =
start
 314 rnd .aimdx store
stop

' Gene 6 Join Colony

cond
 *.eye5 0 !=
 *.multi 1 != and
 *.nrg 30000 >= and
 *.refeye *.myeye = or
start
 .tie inc
 200 .fixlen store
 20 .fixang store
 30 .stifftie store
stop

' Gene 7 Reproduce
cond
*.nrg 20000 >
*.robage 3 > and
start
 10 .repro store
stop


end

you really need to remember your cond s and store s as well as... ok so i'm making a heavy tutorial on how to wright dna code because some of the stuff you do is just :wacko: . sorry no hard feelings and i've wanted to do a tutorial for a while anyway. i haven't because i had yet seen anyone have soo much trouble before now.

Well...
1)Thanks for fixing the errors, didn't know we had a cap on values :o
2)Well, the tiebots & multibots tutorials are horrific...they're nigh impossible to comprehend (even when sleep deprived) so...that'd be useful, feel free to use my mistakes as examples in tutorials :P
Autism can allow so much joy, and at the same time sadness to be seen. Our world is weird, and full of contradiction everywhere, yet somehow at moments seems to come together, and make near perfect sense.

Offline spike43884

  • Bot Overlord
  • ****
  • Posts: 656
    • View Profile
Re: Err...WHAT IS BROKEN ON IT?
« Reply #8 on: November 15, 2014, 06:43:31 AM »
Err shadow, you've broken it, further...
Its now not-reproducing, not moving, not shooting...its litterally doing *nothing*
Autism can allow so much joy, and at the same time sadness to be seen. Our world is weird, and full of contradiction everywhere, yet somehow at moments seems to come together, and make near perfect sense.

Offline Shadowgod2

  • Bot Destroyer
  • ***
  • Posts: 387
    • View Profile
Re: Err...WHAT IS BROKEN ON IT?
« Reply #9 on: November 15, 2014, 09:18:40 AM »
actually i didn't break it. you've made some genes that fight each other when i fixed them. it's your conditions and your actions to those conditions.

ps the blob seems to do alright but does find a stable position and dies though.

Offline spike43884

  • Bot Overlord
  • ****
  • Posts: 656
    • View Profile
Re: Err...WHAT IS BROKEN ON IT?
« Reply #10 on: November 15, 2014, 09:44:52 AM »
actually i didn't break it. you've made some genes that fight each other when i fixed them. it's your conditions and your actions to those conditions.

ps the blob seems to do alright but does find a stable position and dies though.
Hmm. Im confused still.
Btw, go into startign gate and test some of your bots against teriyaki and all eyes and all swarm, they're quite powerful.
Autism can allow so much joy, and at the same time sadness to be seen. Our world is weird, and full of contradiction everywhere, yet somehow at moments seems to come together, and make near perfect sense.