1
Bugs and fixes / Erro 76
« on: April 27, 2008, 01:08:36 PM »
When I go to internet mode, it gives me runtime error 76 and then crashes. When I exit, it gives me a run time error 7 and crashes.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Oh well, guess I'll just build a random swarmer then.Continue your goal, the touch sensor now works so a bot can communicate through touch, might be a faster way for large communication in a group.
Woah this thing is confusing, having a hard time making sence of it.
Did notice one thing that may be an error :
cond
*.numties 0 >
start
*52 *.numties store
*52 .readtie store
stop
Isn't it suposed to be *.numties 52 store, or *52 .numties store ?
And also noticed this : 50 .setlen store
Is this a new sysvar ? If it isn't then you forgot to define the var in your header...
And I noticed in your other post about slim evo that you're working on a memmory system, but I'm still trying to understand how it will work, the post is a litle confusing... I'm also wondering why several bots are needed for this, it sounds like it could be done inside a single bot.
Either way I'm interested because I'm running a neural network in an evo sim, and I'm toying with the idea of making a mutations mod for generating neural networks from scratch... but I'm not sure how to managed memmory, so far I was thinking of making everything adjustable, so you could set the odds of refvars spawning as inputs versus the odds of free memmory locations or generaly any other kinds of inputs... this way you can choose to have no preferences if you feel it's cheating to increase odds for the usefull types of mutations...
But now I'm starting to think there may be a better way to handle memmory, I'm especialy interested in "thoughts" generated over several cycles...
So a bot will have to emit a sort of adhesive that sticks anything that touches it in place, or to something else.
cond
*.robage 1 =
start
*51 inc
51 .tie store
stop
cond
*.refnrg 4500 >
*40 3 <
start
70 .repro store
40 inc
stop
cond
*.robage 20 =
*.numties 0 >
start
*51 .readtie store
40 .stifftie store
50 .fixlen store
1 52 store
stop
cond
*.numties 0 >
*.eyef 80 >
start
*.maxvel -1 mult .up .vel store
stop
cond
*.rdboy 0 *.numties add =
start
*.setboy inc
stop
cond
1 *52 =
start
50 .sharenrg store
50 .sharewaste store
stop
cond
*40 2 >
*.eyef 0 !=
start
*51 .readtie store
*.tieang .setaim store
-60 .sexrepro store
-8 .shoot store
stop
cond
*303 1 =
start
60 .sexrepro store
.out2 inc
stop
cond
*.pain 0 <
*.refeye *.in1 !=
*.body 500 >
start
*.body 4 div .shootval store
-6 .shoot store
stop
cond
*.eyef 0 %=
*.pain 3 <
start
12 rnd add .up .vel store
stop
'memory functions
cond
*.tin2 0 > or
*.in3 0 >
start
*.nrg 10 div .strbody store
stop
cond
*.numties 0 >
start
*.tiepres 52 store
*52 .readtie store
stop
cond
*52 *.readtie =
start
.vel .tmemloc store
*.vel .tmemval store
stop
cond
*52 *.numties >
start
0 52 store
stop
cond
*.refeye *.myeye !=
*.eyef 0 >
start
*.eyef .tout4 store
stop
cond
*.tin4 *.eyef >
start
*.maxvel rnd 1 .vel store
stop
'eye stuff
cond
*.out1 *.myeye !=
start
*.myeye .out1 store
stop
cond
*.eyef 0 >
*.in1 *.refeye !=
start
*.nrg 4 div .shootval store
-1 shoot store
stop
cond
*.eyef 0 >
*.in1 *.refeye !=
start
*.refxpos *.refypos angle .setaim store
-30 *.eyef add .dn .vel store
stop
cond
*.eyef 0 >
*.in1 *.refeye =
start
*.refxpos *.refypos angle .setaim store
.tie inc
2 *.aim add .setaim store
stop
cond
*.shflav 0 !=
*.shflav -2 !=
*.pain 10 >
start
1256 *.shang sub .aimshoot store
160 .shootval store
*.setaim .shoot store
0 .shflav store
stop
cond
*.nrg 700 >
start
*.genes rnd 1 .mkvirus store
stop
cond
*.vtimer 1 =
start
70 .vshoot store
stop
end
So you won't have shell or slime, but a shell-slime continuum? Could work, but I still think Numsgil's right; the bot-bot interactions are complex enough, and they need to be kept to a level where coding a simple is not an enormous job. Not sure about the bot-environment interactions though; may have to be kept optional so the environment settings don't become too inflexible.
Not the best place to raise it, but since we are talking about shots, how about a type 1 and type 2 virus? A type 1 virus is standard make-and shoot, while type 2 acts more like a real virus, producing itself in bulk and releasing itself when the host dies. Maybe this can be achieved by not forcing the bot to wait until the previous bot is fired until the next is made.
Ok, I have a website that I need for a charity event, and when I do a search for rsucoop.org, this site with my profile is listed #2. Can someone please change my username, just like a 1 to it? Thank you.