Show Posts

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.


Topics - Botsareus

Pages: 1 2 3 [4] 5 6 ... 31
46
Back in October 2014 I put in some experimental code in that I will most likely revert because I invented a more elegant solution. This may possibly break IM and simulation files since that time although possibly not because there was some serious compatability Eric added to the robot save code. Must likely you will need the latest version for IM to work and the simulations should work.

The experimental code was added to address a problem robot called Einstein by Billy. This robot sets up some epigenetic values at the start of the simulation and then deletes the gene. This means the values where not preserved when the DNA was extracted. My solution at the time was to keep a backup of all deleted genes and 50% chance make the genes splice back in when the DNA is saved.

I just invented a cleaner solution that works much like the original Einstein. A simple gene is created to restore the epigenetic values and then is instructed to delete. This does mean it will be F3 incompatible so the feature is optional. But my current solution of restoring deleted genes will probably also be incompatible anyway.

I am hoping to start on this stuff later during the year once I get some living situation problems resolved and get access to the svn again.

47
Short bots / Coloniser(SB)(Spike43884)10-25-2014
« on: June 09, 2015, 04:18:19 PM »
Code: [Select]
'Coloniser (MB)
'By Spike43884
'Spawn just 1, right near a patch of veggies,
'it becomes intertwined with them.
'Nobody else will be feeding today.
 cond
 *.nrg 15 >
 *.numties 0 !=
 or
 start
 .fixpos dec
 *.robage 0 =
 314 .aimright store
 .deltie inc
 300 .eye5width store
 336 .memloc store
 336 .tmemloc store
 15 rnd 110 store
 *110 5 <
 and
 *110 973 store
 *973 0 =
 5 rnd 973 store
 *.body 5 >
 *.nrg 80 >
 and
 *.totalmyspecies 1000 2 mult <
 and
 *.maxvel .dn store
 50 .repro store
 *.totalmyspecies 1000 <
 *.nrg 200 >
 and
 50 *.body 10 mult sub 0 floor .strbody store
 not
 *.body 1 >
 and
 *.body 10 mult 10 sub *.numties store
 -98 312 floor 0 0 !=
 *.dnalen =
 *.numties 1 >
 or
 and
 *.numties .deltie store
 *.numties 0 !=
 *.robage 1 >
 and
 *.trefxpos *.trefypos angle .setaim store
 99 .sharenrg store
 dupbool
 *.memval 13 =
 and
 *.trefxpos *.xpos sub abs *.trefypos *.ypos sub abs pyth 5 div 10 sub 0 floor *.maxvel ceil .up store
 *.velsx .dx store
 dropbool
 dupbool
 *973 1 =
 and
 453 .tieloc store
 3200 .tieval store
 *.memval 13 =
 and
 452 .shoot store
 -1 .shootval store
 dropbool
 dupbool
 *973 2 =
 and
 8 .tieloc store
 -31999 .tieval store
 dropbool
 dupbool
 *973 3 =
 and
 452 .tieloc store
 -6 .tieval store
 *.memval 13 =
 and
 453 .shoot store
 3200 .shootval store
 dropbool
 *973 3 >
 and
 452 .tieloc store
 -1 .tieval store
 *.memval 13 =
 and
 453 .shoot store
 3200 .shootval store
 *.numties 0 =
 *.body 1 =
 and
 dupbool
 *.eye5 0 =
 *.memval *.dnalen =
 or
 and
 350 .aimright store
 dropbool
 *.eye5 0 !=
 and
 *.memval *.dnalen *.refbody and
 !=
 20 >
 *.totalmyspecies 600 >
 or
 and
 *.refxpos *.refypos angle .setaim store
 abs .tie inc
 *.memval 13 =
 and
 *.velsx .dx store
 *.refvelup 15 add *.maxvel ceil 0 1 !%=
 floor store
 216 .shoot store
 1 .shootval store
 stop
''''''''''''''''''''''''  Gene:  1 Ends at position  296  '''''''''''''''''''''''


48
Short bots / Sentry(Spike)(SB)4-19-2015
« on: June 08, 2015, 04:32:28 PM »
Code: [Select]

'Sentry - Simplest bot ever for me to make.
'It's good for beginners to look at as well as I programmed it very self-explanatory.
'Programmed and given life by Spike43884 (and one bugfix by shadowgod2) on 19th of April 2015


'Gene 1 Blind Retaliation
cond
*.shdn 0 !=
*.shup 0 != or
*.shdx 0 != or
*.shsx 0 != or
start
*.shang .aimshoot store
-6 .shoot store
stop


'Gene 2 Reproduction
cond
*.nrg 30000 >
start
50 .repro store
stop


'Gene 3 I was born!
cond
*.robage 0 =
start
180 .aimdx store
stop


'Gene 4 Moving out
cond
*.robage 1 =
start
10 .up store
stop


'Gene 5 Almost moved out
cond
*.robage 3 =
start
10 .up store
stop


49
Bugs and fixes / F2 ugliness
« on: June 04, 2015, 07:30:58 PM »
Apparently you can body feed trough a tie (-6) and it will be perfectly legal in F2 while normal energy feeding trough a tie is not allowed in F2. Also it will be like double feeding on energy and body at the same time because it is energy * 1 and body * .89. Definitely added to fix list before people start abusing it. Does mean I'll end up rerunning leagues from scratch at some point.

50
Off Topic / 'Personal' status update.
« on: December 04, 2014, 04:44:39 PM »
I am looking for a way to get them to let me have access to random.org for free. I am not interested in completely taking over the traffic.

51
Off Topic / Awesome song I highly recommand
« on: December 02, 2014, 10:08:43 PM »
Tiesto - just be

Too bad it is also the last step for us. Time is a sick lickal smart girl. Reason I gave up on it reasonably quickly.

52
Off Topic / Internet mode is the only logical next step.
« on: December 02, 2014, 04:42:49 PM »
As is. No need to fear internet mode, from a learning perspective.

53
Off Topic / A famos quote you all should live by
« on: December 02, 2014, 09:46:35 AM »
"Failure is not an option, it is a state of mind" Flint - Star trek

54
Off Topic / PY apperently never left
« on: November 29, 2014, 07:29:56 PM »
It feels like he was simply trolling me all along. Although he did throw me a good one some times.

I am reasonably confused right now, so I am just making up stuff. Need someone to blame, that good old thing.

It is just sad that for whatever reason I never got anywhere. But point was to learn as much as possible. I'll get my real shot again one day.

Hope my services where useful,  chimps!

Shvarz, Testlund, Numsgil, EricL, and Vrukt are the only few people I keep real respect for. I will keep you updated when or if the day arrives.

55
Off Topic / Underground Internet modes
« on: November 28, 2014, 07:48:54 AM »
I bet there are at least 3, and at least one running 2.45  :P

56
RANT / Promotion
« on: November 26, 2014, 07:54:15 PM »
I officially promote Shadowgod2 as the new modulator for the db2 leagues, grats! you owned your stripes.

57
Off Topic / My last (productive :P) post on Darwinbots.com for a while
« on: November 01, 2014, 01:44:48 AM »
You know what guys, I am going to take my research under ground again for a while. At least until I can be affiliated with a university. Mostly because I am tired of dealing with the open source schema and the random errors it constantly produces. Sorry to leave on such a short notice, it has been fun.

There is a good chance most of my code will be unusable in a couple of years due to corrosion, but that is just apparently how society still works. So if you want to save anything, grab a copy of the current code asap.

Numsgil, you better know what you are doing, because it is looking like I did not.

58
Mutations / Zer0Bot
« on: October 31, 2014, 11:19:41 AM »
'My first legit zerobot result
'Although it still chooses to fix itself in place at times as a useless defense mechanism

Code: [Select]
'#generation: 0
'#mutations: 16
 *.trefvelmyup *588 -3 -18 3 *.pval 5 *947 0 -19 *182 multstore
 -7 *.tieang *.reftype 0 *.trefdn -11 0 *.aimright <
 -29 4 *.tin8 anglecmp 12 -5 *292 *.tieval *492 *225 *.tout9 19 -2 4 29 -4 *732 *741 sqrstore
 *377 -27 %=
 30 addstore
 *.tmemval dup *580 13 *.shoot *682 9 *.vloc -4 -23 stop
 mult *.trefaim *576 13 23 *593 dist 11 9
 cond
 *893 *.trefvelmydn 8 *1291 dec
 sgnstore
 2 ~ *.shoot *551 start
 -19 ceil *.hitdn add inc
 48 >
 *926 addstore
 *366 *363 &
''''''''''''''''''''''''  Gene:  1 Ends at position  89  '''''''''''''''''''''''
''''''''''''''''''''''''  Gene:  2 Begins at position  90  '''''''''''''''''''''''
 start
 *.sx -22 42 -1 *540 654 *274 -22 ++ overbool
 560 *0 dist substore
 *.myeye -1 *20 <
 sub * dupbool
 *855 <=
 *140 anglecmp *32 -16
''''''''''''''''''''''''  Gene:  2 Ends at position  117  '''''''''''''''''''''''
''''''''''''''''''''''''  Gene:  3 Begins at position  118  '''''''''''''''''''''''
 else
 -5 -4 cos ceilstore
 -12 -10 angle ^ *259 12 16 * *.out4 *856
''''''''''''''''''''''''  Gene:  3 Ends at position  132  '''''''''''''''''''''''
''''''''''''''''''''''''  Gene:  4 Begins at position  133  '''''''''''''''''''''''
 start
 and
 12 -43 & 12 .sx absstore
 *.mkshell -4 -11 *.out6 5 580 - 13 <=
 - *26 *.tin7 *489 *368 %=
 3 *.memval -10 22 *.mass *.hitup -15 5 0 floorstore
 10 *634 .up floorstore
 -5 -5 8 -5 *.tieang2 *236 *.eye6 *270 >
 -14 424 14 substore
 *.tout9
''''''''''''''''''''''''  Gene:  4 Ends at position  183  '''''''''''''''''''''''

''''''''''''''''''''''''  Gene:  5 Begins at position  184  '''''''''''''''''''''''
 cond
 7 48 addstore
 *357 absstore
 9 *14 *.dn *.availability addstore
 floorstore
 ~ - -7 << -12 *518 -15 *147 0 -29 -7 sub 26 -11 .aim rndstore
 dist 141 *665 sub | *13 %=
 angle >
 -4 *.tmemloc store
 .up ceilstore
 *769 .robage substore
 *512 7 *.ploc ~=
 -38 - -1 dupbool
 .dn inc
 14 *16 4 *592 *356 *285 -4 29 *359 -38 ^ & <
 *.eye8 13 17 -17 >
 -- 0 *292 ++ >> div multstore
 dup divstore
 dist | 845 true
 ceilstore
 divstore
 15 22 *.fdbody 0 multstore
 root *50 >
 0 and
 - clear angle absstore
 -9 *.refveldx <
 dec
 39 dec
 24 divstore
 *358 *.trefup swap -5 0 stop
''''''''''''''''''''''''  Gene:  5 Ends at position  299  '''''''''''''''''''''''
 242 mod false
 *895 477 -3 ++ *.hitang 34
''''''''''''''''''''''''  Gene:  6 Begins at position  309  '''''''''''''''''''''''
 cond
 *.setaim 348 *.aimright ceilstore
 .tout4 multstore
 floorstore
 3 8 *579 7 !%=
 ceil *.eye6 17 0 0 14 *322 14 *279 13 2 *.eye6dir >
 else

''''''''''''''''''''''''  Gene:  6 Ends at position  335  '''''''''''''''''''''''

''''''''''''''''''''''''  Gene:  7 Begins at position  336  '''''''''''''''''''''''
 cond
 ~=
 else
 14 *.mkvenom <

''''''''''''''''''''''''  Gene:  7 Ends at position  341  '''''''''''''''''''''''

''''''''''''''''''''''''  Gene:  8 Begins at position  342  '''''''''''''''''''''''
 cond
 -12 -- -19 *.mkshell -4 %=
 *.refaimdx 31 -15 -13 3 -7 *.out10 *.bodgain 4 9 *.eye9 -28 21 *.trefvelmysx *.aimleft 8 *.out4 *.memval 14 *.dn 25 -19 -19 sin -31 -6 3 25 sqrstore
 <
 <=
 drop store
 699 *778 -18 12 *850 rndstore
 true
 12 *.deltie *181 *.hitang 4 *597 !~=
 over *.shootval 16 <
 *.eye3width -26 dropbool
 sgn -25
''''''''''''''''''''''''  Gene:  8 Ends at position  404  '''''''''''''''''''''''

''''''''''''''''''''''''  Gene:  9 Begins at position  405  '''''''''''''''''''''''
 cond
 *.totalbots dist dec
 store
 933 *37 else
 absstore
 4 *.shflav *.up and
 -7 *.delgene *157 store
 *893 ~=
 !=
 -23 13 7 19
''''''''''''''''''''''''  Gene:  9 Ends at position  428  '''''''''''''''''''''''

''''''''''''''''''''''''  Gene:  10 Begins at position  429  '''''''''''''''''''''''
 cond
 13 *472 *.tiepres dupbool
 <
 *670 *27 and
 49 <
 *489 -72 else
 drop store
 3 .tout4 ceilstore
 *.myup angle 4 17 2 -18 -28 dup
''''''''''''''''''''''''  Gene:  10 Ends at position  455  '''''''''''''''''''''''
''''''''''''''''''''''''  Gene:  11 Begins at position  456  '''''''''''''''''''''''
 else
 6
''''''''''''''''''''''''  Gene:  11 Ends at position  457  '''''''''''''''''''''''

''''''''''''''''''''''''  Gene:  12 Begins at position  458  '''''''''''''''''''''''
 cond
 *598 *17 -10 -36 or
 *.tin2 25 *.refveldx *356 1 *.out8 1 *20 <
 *346 *227 39 dropbool
 *.refdx *375 *618 root *1020 9 ~ *542 store
 *716 -7 | and
 2 *.shflav *.mkpoison 0 *.fertilized 19 *.tin5 *.mkvirus *655 22 *.focuseye *894 ~ *.out1 -7 *.eye5 -36 -21 *26 451 -11 pyth add * rndstore
 anglecmp *.aimleft *.eye9dir *277 -16 *145 *754 *.multi *.eye6dir ceilstore
 *.eye6dir <=
 -12 -2 .aimright negstore
 -7 *.treffixed 0 *.tin9 *.tieang2 0 *.refveldn *.eye1width 9 *.tin2 7 *.tieang2 *.treffixed *.eye6 angle 5 -3 dup clearbool
 28 dist -18 *372 *364 *.up *397 logx >=
 -12 14 multstore
 -1 *.up *963 *.eye8width false
 -36 *.tiepres *.aimright 2 *.fixed *.tienum store
 0 0 *.sharenrg *.eye9 *.hitsx *.shell -8 25 div <
 *.mkchlr *763 -49 *615 *664 swap *45 14 root 12 48 <=
 27 31 -12 *1060 ceil stop
''''''''''''''''''''''''  Gene:  12 Ends at position  601  '''''''''''''''''''''''

''''''''''''''''''''''''  Gene:  13 Begins at position  602  '''''''''''''''''''''''
 cond
 46 else
 *366 28 688 >> multstore
 sub 4 *786 sqrstore
 7 -8 .shoot rndstore
 *31 angle 9 -5 38 6 193 31 *670 angle -15 *543 59 divstore
 860 !~=
 *.refaimdx rndstore
 ceilstore
 7 21 *.in5 *135 *.numties mult -16 drop cos *.eye8dir 51 -36 613 negstore
 10 2 -9 *408 16 multstore
 *.eye1dir sqrstore
 2 6 *.tin9 *.eye4width sin *284 *387 floor -29 33 *.out4 *793 6 -15 .mass negstore
 angle over 45 *.focuseye & 10 !~=
 sub -14 23 -45 29 *377 *.hitang -32 12 2 -13 -4 -11 -13 -4 -7 *.maxvel -15 clearbool
 14 sqr 20 1 -6 244 *.body 13 10 clearbool
 *231 8 *393 24 *.eye9width *.tout5 423 >
 *.dn *382 289 24 <=
 -1 -1 and
 | *.tieval -4 << 7 4 -3 *.aimleft *748 8 34 -2 -1 8 -12 *.tin3 ^ dist *617 dec
 -11 *.refage *472 *720 5 *.vel negstore
 ~ 14 -21 *942 -1 *431 4 22 34 8 *904 *634 -12 *334 *388 5 *353 -16 *788 & 9 *399
''''''''''''''''''''''''  Gene:  13 Ends at position  775  '''''''''''''''''''''''

''''''''''''''''''''''''  Gene:  14 Begins at position  776  '''''''''''''''''''''''
 cond
 -1 -3 -9 .aimleft sqrstore
 16 *943 <
 12 2 0 -2 *.shdn *.tout8 -10 *791 *562 *27 *915 -14 *.shoot <
 -7 *717 -10 *278 *1053 *.waste -9 -7 *.shflav *228 *846 -20 7 anglecmp 32 swapbool
 5 * start
 5 floor *393 true
 477 *29 floor
''''''''''''''''''''''''  Gene:  14 Ends at position  824  '''''''''''''''''''''''
''''''''''''''''''''''''  Gene:  15 Begins at position  825  '''''''''''''''''''''''
 else
 mult rndstore
 !~=
 *672 absstore
 -6 clear
''''''''''''''''''''''''  Gene:  15 Ends at position  832  '''''''''''''''''''''''
''''''''''''''''''''''''  Gene:  16 Begins at position  833  '''''''''''''''''''''''
 else
 -4 .timer absstore
 -15 11 *652 -17 sub *500 7 =
 - -1 *.setaim 3 -11 0 -8 6 572 =
 *.shsx 52 -24 *.eye2 .mass divstore
 sin ceil *17 *-50 20 xor
 %=
 10 14
''''''''''''''''''''''''  Gene:  16 Ends at position  869  '''''''''''''''''''''''
''''''''''''''''''''''''  Gene:  17 Begins at position  870  '''''''''''''''''''''''
 else
 *.in8 | -13 >> ~ -49 angle 8 -18 *.mkpoison -2 12 >=
 | %=
 *157 2 & 22 -23 %=
 dec
 *181 46 *222 *674 10 clearbool
 15 add *173 -5 << *295 =
 -4 ~ 8 !~=
 *322 *984 clearbool
 *15 16 -5 16 -2 >> *.shdx *.tout7 abs *356 *.fixlen *430 33 over -3 2 -2 0 -13 *.aimleft -25 *742 *763 *.shoot addstore
 *234 not
 =
 31 -6 clearbool
 *628 5 *774 or
 *599 *.trefaim 5 ^ *32 -9 7 swapbool
 *263 470 35 add >
 -17 *334
''''''''''''''''''''''''  Gene:  17 Ends at position  962  '''''''''''''''''''''''
''''''''''''''''''''''''  Gene:  18 Begins at position  963  '''''''''''''''''''''''
 start
 *.trefvelscalar -9 stop
''''''''''''''''''''''''  Gene:  18 Ends at position  966  '''''''''''''''''''''''
 floorstore
 -12 -3 *552 *.readtie 19 - multstore
 substore
 *405 *-13 *.refveldn 0 -7 3 *660 *.aimright -7 & .trefbody ceilstore
 ^ cos *1039 -10 *1021 -8 *.eye5 16 2 6 *.myeye 10 2 -13 *287 *940 ^ 0 -19 ~ negstore
 *.myties clearbool
 4 12 529 *.trefup *717 *434 -5 *747 *493 .out4 store
 *.velscalar *735 -4 *.hitdn store
 22 *850 -14 26 *353 *749 5 -27 1 | *.kills substore
 ceil
''''''''''''''''''''''''  Gene:  19 Begins at position  1040  '''''''''''''''''''''''
 start
 << <
 <
 *380 27 149 !~=
 *261 *.bodloss 5 *559 overbool
 -12 *500
''''''''''''''''''''''''  Gene:  19 Ends at position  1054  '''''''''''''''''''''''

''''''''''''''''''''''''  Gene:  20 Begins at position  1055  '''''''''''''''''''''''
 cond
 ceil over -29 -19 -11 -5 swapbool
 >> *267 -2 *.maxvel 24 rnd not
 *.refaimsx 18 15 sub 10 -11 *783 *16 -33 ++ %=
 << -23 *766 or
 -52 *1036 *.fixpos 20 44 *38 -1 else
 18 26 60 -21 store
 -29 *.rdboy 13 -10 *.maxvel -30 -13 17 *47 *368 *141
''''''''''''''''''''''''  Gene:  20 Ends at position  1108  '''''''''''''''''''''''
''''''''''''''''''''''''  Gene:  21 Begins at position  1109  '''''''''''''''''''''''
 start
 46
''''''''''''''''''''''''  Gene:  21 Ends at position  1110  '''''''''''''''''''''''
''''''''''''''''''''''''  Gene:  22 Begins at position  1111  '''''''''''''''''''''''
 start
 356 19 logx *658 12 -13
''''''''''''''''''''''''  Gene:  22 Ends at position  1117  '''''''''''''''''''''''
''''''''''''''''''''''''  Gene:  23 Begins at position  1118  '''''''''''''''''''''''
 start
 13 *.dn 24 *.out10 =
 rnd 19 17 pow <
 29 *884 *891 *.robage *756 *.tout10 -8 *.trefbody *.mkshell 19 dist 25 -12 54 -20 *.tieang .timer absstore
 *.trefvelmysx true
 addstore
 *374 pow -20 *.tieang4 and
 9 5 0 *.numties .shootval rndstore
 4 *289 19 *387 rndstore
 4 7 *649 -2 -25 20 -4 0 *250 7 .dn sgnstore
 *562 ~ store
 *.robage *.myvenom *641 11 *190 16 *253 clearbool
 *.aimleft dec
 mod -9 *.refvelup 0 16 *680 -10 5 *182 455 16 add -42 *170 20 *258 17 -42 23 -5 31 -2 29 store
 14 -18 *.tin1 6 3 -2 dupbool
 cos sgnstore
 -10 logx *940 -9 -19 12 *.eye4width -5 7 *280 store
 0 *.tieval 13 3 19 1 *.out3 30 mult -1 -10 *.up substore
 add .shoot store
 11 14 -9 *.tieloc false
 *746 *.eye1dir *368 *.trefdn 7 -24 7 -2 >
 -33 * *673 negstore
 *577 *1071 substore
 *.refeye !%=
 ++ *735 %=
 -5 <
 19 5 -3 root *.nrg !=
 *585 -16 over drop %=
 -28 *-15 *.treffixed 11''''''''''''''''''''''''  Gene:  23 Ends at position  1293  '''''''''''''''''''''''


'#tag:stage86.txt

59
Off Topic / Digital Genesis - My first album - Is now offically live!
« on: October 31, 2014, 10:49:30 AM »
Get Digital Genesis on ITunes, Spotify, Rdio, and more

A sample of what you will get is:

https://soundcloud.com/paul-kononov/electropiano

Brought to you exclusively from Paul Kononov

Enjoy!

60
Announcements / Darwinbots 2.48.25 with installer
« on: October 29, 2014, 12:54:00 PM »
Full install pack:

Download

Just the exe file:

Download

True Random (exe file):

Download

So to major bug fixing in this version:

Chloroplasts do indeed repopulate correctly now.
There was an error in my new autosave code I needed to fix.

Enjoy!

Pages: 1 2 3 [4] 5 6 ... 31