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 ... 31
16
The Starting Gate / HailHiveHydra(Moonfisher_Darwinbots)(F1)6-13-2016
« on: June 13, 2016, 10:32:28 AM »
Need I say more?

Code: [Select]
'#generation: 431
'#mutations: 58

 cond
 *.nrg 15 >
 *.numties 0 !=
 or
 start
 .fixpos dec
 *.robage 0 =
 314 .tout4 store
 .deltie inc
 300 .eye5width store
 336 .memloc store
 336 476 *.refbody 20 >
 *.totalmyspecies 600 >
 *.eye4 *.multi =
 and
 *.trefxpos *.xpos 3200 .tieval store
 *.memval 13 =
 and
 452 .shoot store
 -1 .shootval store
 dropbool
 dupbool
 *973 2 =
 .aimright store
 .tieloc store
 -31999 .tieval store
 dropbool
 dupbool
 *973 *.refxpos *.refypos angle .setaim store
 .tie inc
 *.memval 13 =
 and
 *.velsx .dx store
 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 6417 10 mult sub 0 floor .strbody store
 not
 *.body 1 >
 and
 *.body 0 floor .fdbody store
 *.numties 0 !=
 *.tiepres .tienum store
 *.tmemval *.dnalen =
 *.numties 1 >
 or
 and
 *.numties .deltie store
 *.numties 0 !=
 *.robage 1 >
 and
 *.trefxpos *.trefypos add 21 add >=
 .sharenrg store
 dupbool
 *.memval 13 3 sub abs *.trefypos *.ypos sub abs pyth 5 div 10 sub 0 floor *.maxvel dist store
 ceilstore
 *408 addstore
 substore
 store
 not
 *.body 1 >
 and
 *.body 0 floor .fdbody rndstore
 *519 0 !=
 *.tiepres .tienum store
 *.tmemval *.dnalen =
 13 =
 and
 452 .shoot store
 -1 .shootval store
 dropbool
 dupbool
 *973 2 =
 .aimright store
 .tieloc store
 -31999 .tieval store
 dropbool
 dupbool
 *973 *.refxpos *.refypos angle .setaim store
 332 divstore
 *.memval 13 =
 and
 *.pleas floor negstore
 multstore
 16 abs *107 dec
 110 5 <
 and
 *110 973 store
 0 *.memval =
 0 *973 floor .up store
 -6 7 dropbool
 dupbool
 *973 substore
 1 =
 =
 and
 -3 452 *.refshoot =
 and
 452 452''''''''''''''''''''''''  Gene:  1 Ends at position  296  '''''''''''''''''''''''

'#hash: t,}!QV;(_3o<9LQ>gFKM
'#tag:Fruit Flies v0.21 (F1) (Moonfisher) 28-09-08.


17
Mutations / Hulk(Mutation)(Darwinbots)6-2-2016
« on: June 05, 2016, 10:27:25 AM »
Uses memory in really weird ways. I think it is because it ran mostly using my old mutation algorithms. However, maybe that is how robots end up behaving after 4 months of evolution. I have no idea how this DNA actually works.

Evolved from The_Zerobot. Do not think it is strong enough for the F1 league but interesting evolutionary dead end anyway.

Fully generated by the Darwinbots2 simulator.

Code: [Select]
'Evolved in 5 fazes from The_Zerobot.
'Each faze had no supervision and lasted for about 16 stages.
'Adaptations:
'Stops in front of food.
'Primitive viral defense and optimal DNA size.
'Primitive aim to travel horizontal across the screen.
'Only shoots when near stuff.
'Primative straffing.
'Primative defense and venom usage.
'Converting energy into body. They are growing.

'#generation: 4048
'#mutations: 3179

 start
 *.ypos *.velsx .shoot dec
 *.ypos store
 *.totalmyspecies -- overbool

''''''''''''''''''''''''  Gene:  1 Ends at position  10  '''''''''''''''''''''''

''''''''''''''''''''''''  Gene:  2 Begins at position  11  '''''''''''''''''''''''
 cond
 377 pow angle *.rmchlr *.shang *.tout5 clearbool
 27511 angle *.tieang2 *.hit *.eye5 store
 <
 706 *.out3 not
 *.refsx *.refup *.tmemloc mult =
 true
 *.refvenom *.maxvel !%=
 swap *.tieang3 & floorstore
 store
 cos *.tielen1 or
 *.shell *.numties 1 11 8 swap abs 685 *.tin8 !=
 9 start
 *.aimleft store
 mult mod sub store
 *.refaimsx -- 7 .strbody store
 drop clearbool
 rndstore
 rnd 274 div 283 302 ++ pow dropbool
 *.xpos *.daytime *.aimright sgnstore
 *.dx *.fdbody *.mydx 12 *.hitdx 68 and
 *-651 *279
''''''''''''''''''''''''  Gene:  2 Ends at position  92  '''''''''''''''''''''''

''''''''''''''''''''''''  Gene:  3 Begins at position  93  '''''''''''''''''''''''
 cond
 *.eye7dir ~ absstore
 322 *.eye5 store
 <
 *.eye3dir *.vel not
 *.refsx *.refup *.shdn sub =
 true
 or
 511 .tielen1 store
 store
 *.trefypos *.eye9dir ceilstore
 *.numties 1 11 8 swap abs 685 *.tout1 !=
 *.nrg 9 start
 *.aimleft store
 mult mod sub store
 7 pyth *.fixlen *.out7 *514 *.dx *.fdbody *.aimleft dist 726 *.vel *.pval 12 *.dx store
 *.aimright 7 not
 >> substore
 abs clearbool
 absstore
 false
 >=
 xor
 *.refbody *.dx 12 *.tie store
 .up store
''''''''''''''''''''''''  Gene:  3 Ends at position  168  '''''''''''''''''''''''

'#hash: R#|nHWR@,Z<mx`&.GIv`

18
Bugs and fixes / Manually killing a robot broken
« on: June 02, 2016, 08:24:25 PM »
I do not usually find bugs, I just fix them. But found one!

This was due to my 'Snapshot of the dead' feature, it currently does not know what to do with a robot who got killed manually. :P


19
Bugs and fixes / Bump
« on: May 30, 2016, 10:55:40 PM »
Well I have been evolving some robots and they seem to exploit some bugs that my hacks inadvertently caused.
For example, I have a robot that does not recognize its primary food source which is alga unless F1 mode full fudging is turned on. (that means it will not survive outside F1 mode, and a good chance if only eye fudge us turned on which may dq it from the classic F1 league) Another robot seems to turn big birtha unless it is killed at 2.5K body cheating prevention. It will try to test the waters and suicide itself once in a while because under normal conditions it wants to become a big birtha. That same robot does not care that mrepro mutates it more than normal repro so under normal conditions (no delta2 enabled) it mutates even if the disable mutations is checked (because in normal delta mrepro overwrites the disable mutations marker)

So for now it is looking like I may not able to evolve robots for the classic F1 league as is configured right now. But I will continue to evolve them in my slightly modified F1 league because I do not feel like wasting 4 months of evolution or doing more majors updates to db2.

20
Off Topic / <Rant> Twitter hacked for the 3rd time <Rant>
« on: May 08, 2016, 03:02:35 PM »
OMG. This is the third time twitter gives me BS about some service or website not associated with twitter compromised my account and than I am following random people I never wanted to follow. Not that I care, being socially connected even to random people is better than nothing. But very annoying.

21
Peter, right around the time 'Billy' showed up I recall internet mode acting strange. The robot files I was getting did not match the charts that where open. It is like someone got a collection of old robots and manually pasting them into the outbound folder. That is something we have to look at if we ever lunch IM again. But since the only people that care about the practical uses of IM are me, you, and Shvarz and since I do not know how to get Shvarz back I really do not see it happing in the near future.

I hate myself for giving up at the time but I had other life things going on that where stressing me out.

22
Mutations / ZPollen(Darwinbots)(F1)4-29-2016
« on: May 02, 2016, 08:40:09 AM »
Using my new mutation algorithms!

Code: [Select]
'#generation: 2
'#mutations: 948
 0 0 0 0 0 0 0 0 0 .tout7 store
 0 0 0 -80 or
 *333 mod !=
 floorstore
 *.daytime *-91 2546 *.timer *293 sgnstore
 -3 *.shflav 28617 stop
 *.refage store
 swap 6 .dn store
 & -105 *596 11823 *.trefaimdx *.ypos -19 107 store
 angle angle 73 -4 90 -212 90 0 0
 cond
 ^ .mkvenom store

''''''''''''''''''''''''  Gene:  1 Ends at position  58  '''''''''''''''''''''''

''''''''''''''''''''''''  Gene:  2 Begins at position  59  '''''''''''''''''''''''
 cond
 10 0 0 .tienum store
 31463 0 -15 -- store
 sgn 0 stop
''''''''''''''''''''''''  Gene:  2 Ends at position  72  '''''''''''''''''''''''
 -- negstore
 *.in6 0 *0 0 *.bodloss 0 -58 substore
 add 0 .eye8dir dec
 -163 *.eye2 809 1 370 store
 0 0 4 .rmchlr store
 -5 *.tin4 -264 addstore
 *269
''''''''''''''''''''''''  Gene:  3 Begins at position  103  '''''''''''''''''''''''
 cond
 9 root start

''''''''''''''''''''''''  Gene:  3 Ends at position  106  '''''''''''''''''''''''
''''''''''''''''''''''''  Gene:  4 Begins at position  107  '''''''''''''''''''''''
 start
 sub *.refaimsx ~ *.bodloss 0 0 0 -112 -16 store
 0 0 0 31 not
 inc
 83 rndstore
 .out10 store
 -23
''''''''''''''''''''''''  Gene:  4 Ends at position  128  '''''''''''''''''''''''
''''''''''''''''''''''''  Gene:  5 Begins at position  129  '''''''''''''''''''''''
 start
 >=
 cos sub 72 ++ store
 0 0 angle * *.trefaim <
 -143 .mkchlr store
 >
 or
 167 *-4 154 *.refshoot store
 *.edge not
 531 20922 -75 *.tin7 -73 -3 dupbool
 dropbool
 -6 .shoot store
 *.refmulti 5 140 12663 0 *.reffixed store
 *.refbody -9 469 12310 -104 .mkchlr store
 69 .aimright store
 73 .tielen3 store
 .repro store
 0 0 0 .tmemval store
 525
''''''''''''''''''''''''  Gene:  5 Ends at position  192  '''''''''''''''''''''''

''''''''''''''''''''''''  Gene:  6 Begins at position  193  '''''''''''''''''''''''
 cond
 angle 7 11 -160 .out1 store
 17817 *.shup -13 *.tielen 0 *.refshell .tmemloc store
 102
''''''''''''''''''''''''  Gene:  6 Ends at position  208  '''''''''''''''''''''''

''''''''''''''''''''''''  Gene:  7 Begins at position  209  '''''''''''''''''''''''
 cond
 angle 0 *.eye9 *.eye8 -57 3004 -2 -3 - 340
''''''''''''''''''''''''  Gene:  7 Ends at position  219  '''''''''''''''''''''''

''''''''''''''''''''''''  Gene:  8 Begins at position  220  '''''''''''''''''''''''
 cond
 .eye5width store
 ceil 108 ^ store
 -8 *131 1724 1 7449 9 -2 .aimshoot negstore
 dec
 841 store
 0 .shareshell divstore
 7 *.hitdx 0 add ++ .eye1width store
 .eye1dir store
 store
 sgnstore
 sgnstore
 572 sgnstore
 .deltie store
 floor clear *.mysx -73 << sub -57 -10 0 store
 .tout6 store
 -6 -5 *0 0 *.poison .tie store
 -6 5 *.tieang3 *.tielen2 0 0 0 0 27523 store
 19 *.multi .eye3 store
 else
 132 add 0 9458 store
 0 *.hitdn 197 ~ 11 3 .up store
 0 0 0 0 0 .tout7 store
 -3 -82 *.shup *.eye9 -5 store
 20
''''''''''''''''''''''''  Gene:  8 Ends at position  318  '''''''''''''''''''''''

''''''''''''''''''''''''  Gene:  9 Begins at position  319  '''''''''''''''''''''''
 cond
 0 -10 cos floor
''''''''''''''''''''''''  Gene:  9 Ends at position  323  '''''''''''''''''''''''

''''''''''''''''''''''''  Gene:  10 Begins at position  324  '''''''''''''''''''''''
 cond
 -1 60 1 -2 0 121 -9 clearbool
 *.mypoison 418 >
 -257 63 4 *.trefdx 0 -89 94 -9 -187 rnd *.hit -201 *859 .eye6width store
 0 !=
 1
''''''''''''''''''''''''  Gene:  10 Ends at position  353  '''''''''''''''''''''''

''''''''''''''''''''''''  Gene:  11 Begins at position  354  '''''''''''''''''''''''
 cond
 *.totalbots *596 ~ & 88 13 0 0 -9 -6
''''''''''''''''''''''''  Gene:  11 Ends at position  364  '''''''''''''''''''''''

''''''''''''''''''''''''  Gene:  12 Begins at position  365  '''''''''''''''''''''''
 cond
 .aimright store
 .tout6 store
 store
 ~ sgn store
 1 -22 .mkvirus store
 0 *.paralyzed 0 *.tielen 409 addstore
 0 .eye6dir store
 *.timer 79 10 .shareslime store
 0 81 6 *.mypoison ++ .eye9dir negstore
 store
 *.fixed 1 -14 swapbool
 pow
''''''''''''''''''''''''  Gene:  12 Ends at position  404  '''''''''''''''''''''''

''''''''''''''''''''''''  Gene:  13 Begins at position  405  '''''''''''''''''''''''
 cond
 *435 3 add add 0 *.refbody *.eye6 0 0 12 94 *.tielen4 0 *.availability sqrstore
 ^ *.eye7 0 .out3 store
 -17 686 angle *.myup 0 *.venom -5 divstore

''''''''''''''''''''''''  Gene:  13 Ends at position  433  '''''''''''''''''''''''

''''''''''''''''''''''''  Gene:  14 Begins at position  434  '''''''''''''''''''''''
 cond
 start
 <
 *36 angle !%=
 2 2 <
 drop !=
 -2 -1 0 0 0 -169 6 -8 *.up dupbool
 -11 *.tielen3 *.in5 *.trefxpos *.eye9dir ceil *.trefnrg add root stop
''''''''''''''''''''''''  Gene:  14 Ends at position  464  '''''''''''''''''''''''
 *0 logx *.up 0 *.velscalar 0 <
 *.shell store
 452 *25 *.trefvelyoursx .eye5width rndstore
 *.refdn rndstore
 *.refvenom *472
''''''''''''''''''''''''  Gene:  15 Begins at position  483  '''''''''''''''''''''''
 cond
 3 *.trefdn %=
 ceil *.eye3 0 10 angle 807 *.shdn 24445 | store
 -155 drop 126 .eye8width ceilstore
 32000 2 0 5 146 81 98 *0 0 0''''''''''''''''''''''''  Gene:  15 Ends at position  511  '''''''''''''''''''''''

'#hash: ;8Yw$a<`)/'^F"b16_n}

23
Announcements / Darwinbots 2.48.29 with installer
« on: April 30, 2016, 03:39:15 PM »
Full install pack:

Download

Just the exe file:

Download

CHANGES THIS VERSION:

Bug fix in safemode backup was overwriting old autosaves every 24h. Added date destinction.

Bug fix in body tie transfer, accounted for the fact that energy to body ratio is 10:1 not 1:10.

Bug fix in waste shots, I was subtracting twice the waste for each waste shot that uses shootval.

Bug fix so eco evo fitness function also has mutation normalization.

Bug fix: Fitness function DNA size correction used to wait for the easiest (last) test round to calculate DNA size (if enabled) it then would take the first robot it finds to calculate its DNA size. From now on after the end of the first test round it calculates the DNA size by figuring out the average DNA size across all robots.

The following bug fixes in mutations:


Copy error 2 is proportional to Copy error now; it also scales as copy error number of commands to change scales. In general it works just like the relationship between point and point 2.

Copy error 2 and point 2 now mutates actual sysvars to store into potential tie loc instead of a random value between 1 and 1000.

Copy error 2 and point 2 now do not mutate the zeroth DNA position as it must stay black and not registered by darwinbots.

When copy error or point or insertion mutate a type I made sure all values from the resulting type can occur (it was skipping the last command from the list of commands) and the first command is not automatically selected for negative values.

Insertion now mutates across the entire DNA. Before if allot of insertions occurred in the beginning the more commands where skipped toward the end.

Deletion mutations now can delete the last command in the DNA. Also weird behavior is corrected for when deletion mutations run out of space.

Other changes:

Rearchitectured the way DNA interacts with the UI for clarity of code.

Handycap based on body was removed because robots like fruitflys do not really care how much body they have. Hopefully this will lead to higher populations.

Robot reposition was removed to encourage team work among robots instead of scattering them across the screen.

Since copyerror2 and point2 selects across all sysvars, I simplified the way changedna mutation and sysvar parsing works:

During sysvar parsing out of range sysvars that modulate to a legal sysvar where converted to a legal sysvar: ex: "3 1001 store" was converted into "3 .up store" Since I have other methods (copy error2 for example) to generate specific sysvars, this feature was doing more harm than good because large values would never evolve.

The way change DNA used to work:

For all sysvars below 100 it would generate a new sysvar using gauss that is approximately within 30 commands of the old sysvar.

For all sysvars above 100 it would generate a new sysvar using gauss that is approximately within (3/10 * old sysvar) commands of the old sysvar.

This means with lower values it would try to select a value in the same group while for high values command groupings are ignored.

I simplified this with the following:

For all sysvar below 1000

1/2 chance the value will be within 21 commands.
and
1/2 chance the value will be within 282 commands.

To keep things interesting, for large numbers, all numbers above 1000, generate a new number using gauss that is approximately within (3/10 * old number) commands of the old number.

New way Copy error 2 and point 2 now works:

2/3 chance informational mutation and 1/3 chance functional mutation

informational mutation means 1/5 chance mutate a large number within 32K and 4/5 chance evolve a informational sysvar such as *.eye5 or *.in2
functional mutation means mutate a functional sysvar such as .up or .mkchlr followed by mutate a store. The system takes into account that two dna commands where mutated.

Crash fixes:

Fixed a really weird subscript out of range error in shots. Apperently DoEvents can cause threaded effects on memory sometimes.
The good news is this means I indeed did not get hacked. I own Numsgil an appology there.

Removed unused recording options link from main menu to prevent a crash.

Fixed out of string space error.

Added fixes for curropt robot IM transfears.

New feature:

Recording menu

Summary:

Bug fixes. Simplified sysvar parsing. Improved and simplified copy error and point mutations.  Changes to CopyError2 and Point2 mutations. Simplified fitness function. Recording menu. Bug fix for safemodebackup.exe (see full install)

Note:

THIS PACKAGE ALSO CONTAINS THE NEW WORK IN PROGRESS IM.

24
Mutations / Hive(Moonfisher_Darwinbots)(F1)4-25-2016
« on: April 25, 2016, 10:51:26 AM »
This robot sucks against itself but literally strangles fruit fly to death. It is my first attempt to evolve fruit fly.

Code: [Select]
'#generation: 82
'#mutations: 15

 cond
 *.nrg 15 >
 *.numties 0 !=
 or
 start
 .fixpos dec
 *.robage 0 =
 314 .aimright store
 .deltie inc
 300 .eye5width store
 336 *.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
 .tieval store
 -1 .shootval store
 dropbool
 dupbool
 *973 2 =
 and
 8 .tieloc store
 -31999 .tieval store
 dropbool
 dupbool
 *973 3 xor
 =
 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 =
 *.memval *.dnalen =
 or
 and
 350 .aimright store
 dropbool
 *.eye5 0 !=
 and
 *.memval *.dnalen !=
 and
 *.refbody 20 >
 pow 602 >=
 or
 and
 *.refxpos *.refypos angle .setaim store
 .tie inc
 *.memval 13 =
 and
 *.velsx .dx store
 *.refvelup 15 add *.maxvel .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
 .memloc store
 336 .tmemloc store
 15 rnd 110 store
 *110 5 <
 and
 *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 >

''''''''''''''''''''''''  Gene:  1 Ends at position  327  '''''''''''''''''''''''
''''''''''''''''''''''''  Gene:  2 Begins at position  328  '''''''''''''''''''''''
 else
 and
 *.body 10 mult 10 sub 0 floor .fdbody store
 *.tieang4 0 !=
 *.tiepres .tienum store
 *.tmemval *.dnalen =
 *.numties 1 >
 or
 and
 *.numties .deltie store
 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 =
 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
 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
 3200 .shootval store
 *.numties 0 =
 *.body 1 =
 and
 dupbool
 *.eye5 0 *.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 =
 *.memval *.dnalen =
 or
 and
 350 .aimright store
 dropbool
 *.eye5 0 !=
 and
 *.memval *.dnalen !=
 and
 *.refbody 20 >
 *.totalmyspecies 600 >
 or
 and
 *.refxpos *.refypos angle .setaim store
 .tie inc
 *.memval 13 =
 and
 *.velsx .dx store
 *.refvelup 15 add *.maxvel ceil 0 floor .up store
 216 .shoot store
 1 .shootval store
 stop
''''''''''''''''''''''''  Gene:  2 Ends at position  689  '''''''''''''''''''''''

'#hash: 4HywD{m=a:Yp6"(Jqxad
'#tag:Fruit Flies v0.21 (F1) (Moonfisher) 28-09-08.


25
Mutations / Swimy(F1)(Darwinbots)4-11-2016
« on: April 19, 2016, 04:20:02 PM »
I am about to make some changes and run this experiment again. My 3 month version is currently stuck. That is why I am making major changes and trying stuff. Funny how more coherent mutations and more intuitive evolution logic seems to produce results more slowly. The one posted here simply maxed out the oscillation reduction before I had enough of it. Just look at the log:

Code: [Select]
Evolving robot never changed, increasing difficulty. 04-10-2016 14:37:05
Evolving robot lost, decreasing difficulty. 04-10-2016 14:54:43
Evolving robot changed, testing robot. 04-10-2016 15:07:29
Evolving robot lost the test, increasing difficulty. 04-10-2016 16:07:53
Evolving robot changed, testing robot. 04-10-2016 16:41:26
Evolving robot won all tests, setting up stage 1 04-10-2016 17:53:41
Evolving robot lost, decreasing difficulty. 04-10-2016 18:56:14
Evolving robot lost, decreasing difficulty. 04-10-2016 19:36:22
Evolving robot lost, decreasing difficulty. 04-10-2016 19:41:24
Evolving robot changed, testing robot. 04-10-2016 20:14:40
Robot is currently under test against stage 0 04-10-2016 21:23:16
Evolving robot won all tests, setting up stage 2 04-10-2016 21:45:28
Evolving robot lost, decreasing difficulty. 04-10-2016 21:52:16
Evolving robot lost, decreasing difficulty. 04-10-2016 22:18:23
Evolving robot lost, decreasing difficulty. 04-10-2016 22:42:51
Evolving robot lost, decreasing difficulty. 04-10-2016 23:10:54
Evolving robot lost, decreasing difficulty. 04-11-2016 00:29:24
Evolving robot lost, decreasing difficulty. 04-11-2016 01:06:29
Evolving robot lost, decreasing difficulty. 04-11-2016 01:47:54
Evolving robot lost, decreasing difficulty. 04-11-2016 02:25:45
Evolving robot lost, decreasing difficulty. 04-11-2016 03:32:09
Evolving robot lost, decreasing difficulty. 04-11-2016 04:43:37
Evolving robot lost, decreasing difficulty. 04-11-2016 05:35:07
Evolving robot changed, testing robot. 04-11-2016 05:52:17
Robot is currently under test against stage 1 04-11-2016 06:14:52
Evolving robot won all tests, setting up stage 3 04-11-2016 06:44:41
Evolving robot lost, decreasing difficulty. 04-11-2016 07:17:20
Evolving robot lost, decreasing difficulty. 04-11-2016 07:19:00
Evolving robot lost, decreasing difficulty. 04-11-2016 08:19:30
Evolving robot lost, decreasing difficulty. 04-11-2016 09:31:35
Evolving robot lost, decreasing difficulty. 04-11-2016 10:07:18
Evolving robot lost, decreasing difficulty. 04-11-2016 11:21:51
Evolving robot lost, decreasing difficulty. 04-11-2016 12:59:12
Evolving robot lost, decreasing difficulty. 04-11-2016 13:55:50
Evolving robot lost, decreasing difficulty. 04-11-2016 15:33:49
Evolving robot lost, decreasing difficulty. 04-18-2016 14:20:52
Evolving robot lost, decreasing difficulty. 04-18-2016 15:49:37
Evolving robot lost, decreasing difficulty. 04-18-2016 17:18:21
Evolving robot lost, decreasing difficulty. 04-18-2016 19:06:41
Evolving robot changed, testing robot. 04-18-2016 21:08:34
Evolving robot lost the test, increasing difficulty. 04-18-2016 21:09:32
Evolving robot changed, testing robot. 04-18-2016 21:22:20
Evolving robot lost the test, increasing difficulty. 04-18-2016 21:24:11
Evolving robot lost, decreasing difficulty. 04-18-2016 21:58:17
Evolving robot lost, decreasing difficulty. 04-18-2016 23:20:27
Evolving robot lost, decreasing difficulty. 04-19-2016 00:53:18
Evolving robot lost, decreasing difficulty. 04-19-2016 01:31:47
Evolving robot lost, decreasing difficulty. 04-19-2016 02:12:36
Evolving robot lost, decreasing difficulty. 04-19-2016 03:00:16
Evolving robot lost, decreasing difficulty. 04-19-2016 03:49:40
Evolving robot lost, decreasing difficulty. 04-19-2016 04:35:52
Evolving robot lost, decreasing difficulty. 04-19-2016 06:19:57
Evolving robot lost, decreasing difficulty. 04-19-2016 08:11:34
Evolving robot lost, decreasing difficulty. 04-19-2016 09:14:19
Evolving robot lost, decreasing difficulty. 04-19-2016 14:02:59
Evolving robot lost, decreasing difficulty. 04-19-2016 14:49:54
Evolving robot lost, decreasing difficulty. 04-19-2016 14:50:18

Code: [Select]
'Evolved from zerobot in about a week to test my new mutation algorithms
'Works best if you cap body at 2.5K in global setting cheating prevention and
'Enable delta2 mutations in global settings, then disable mutations species tab. (Alternatively you can select disable all mutations via the mutations tab.)

'#generation: 41
'#mutations: 2235
 *.fixang <
 *430 *.eye1width *.trefvelyourdx not
 1 -16 *.aimleft ^ *.refbody .reftie store
 store
 *.shoot *.eye3 add floorstore
 <
 *.focuseye and
 and
 xor
 angle -5 *.dn pyth *.dx *.tin2 0 *.setboy * -5 stop

 cond
 *.in7 -3 *.tmemval 11 angle dec
 store
 *.tin4 *.tin7 *.mydx dupbool
 logx *.ypos *.paralyzed *.tielen1 ~ *.memloc -12 add 1 and
 start
 clearbool
 substore
 *.vel .shoot dec
 *.ypos store
 *.refage ^ *.genes .in3 store
 *.in8 *.shup *.dx *.vel *31 add *.tie *.trefvelmysx *.memval
''''''''''''''''''''''''  Gene:  1 Ends at position  78  '''''''''''''''''''''''

''''''''''''''''''''''''  Gene:  2 Begins at position  79  '''''''''''''''''''''''
 cond
 store
 >
 *.timer <
 *.refup *391 *.refveldn dist *33 addstore
 *.myeye *.tout4 *.myvenom *.tin5 .aimleft store
 store
 837 *.venom rnd *.fixlen .aimleft store
 *.refsx 2 3 *.repro 5 *.eye8 *.eye1 *.focuseye -- -9 store
 *0 *.vtimer clearbool
 !~=
 *.tielen2 pow 24 !=
 swapbool
 *.trefage *.refvelup add .slime store
 %=
 *.refveldx drop *.shareshell *.sexrepro *.refpoison 7 *.ypos 1 27 27 * *.mkvenom *.trefsx ~ not
 >> substore
 ++ *.refbody *.repro *.eye7width -16 *.shareslime
''''''''''''''''''''''''  Gene:  2 Ends at position  151  '''''''''''''''''''''''

''''''''''''''''''''''''  Gene:  3 Begins at position  152  '''''''''''''''''''''''
 cond

''''''''''''''''''''''''  Gene:  3 Ends at position  152  '''''''''''''''''''''''

''''''''''''''''''''''''  Gene:  4 Begins at position  153  '''''''''''''''''''''''
 cond
 div angle *.mrepro <=
 *.poisoned div *.aimright 0 angle angle *.hitang pyth *.refup .velsx multstore
 *.tout4 store
 *.availability 301 *.setboy *.eye5
''''''''''''''''''''''''  Gene:  4 Ends at position  174  '''''''''''''''''''''''

''''''''''''''''''''''''  Gene:  5 Begins at position  175  '''''''''''''''''''''''
 cond
 699 | -17 0 ~ .tin8 store
 *.mkshell *.refveldx *.eye7width -22 *.eye4width *.myup *.tin2 *.out9 or
 store
 *.eye3dir *.shell 768 store
 -11 0 add and
 29 *.aimright 41 store
 9 *.eye7width 2 !=
 7 9 else
 .dn store
 mod *.mkvirus *.tin5 11
''''''''''''''''''''''''  Gene:  5 Ends at position  217  '''''''''''''''''''''''
''''''''''''''''''''''''  Gene:  6 Begins at position  218  '''''''''''''''''''''''
 start
 *.aimleft store
 sub store
 %=
 !=
 1 *.trefaim %=
 xor
 *.mkvirus *.up *.chlr 12 *.dx -6 dup *.in2 store
 rndstore
 0 !=
 .venom store
 .up store
 divstore
 --
''''''''''''''''''''''''  Gene:  6 Ends at position  246  '''''''''''''''''''''''
''''''''''''''''''''''''  Gene:  7 Begins at position  247  '''''''''''''''''''''''
 start
 cos 8 add <
 *.tout6 -- *.tout3 -10 mod angle >=
 *.out1''''''''''''''''''''''''  Gene:  7 Ends at position  259  '''''''''''''''''''''''

'#hash: Go%}Jum'p7.3^(6y;!Zj
'#tag:zbstage386.txt                               


26
Bugs and fixes / Ugly Copy Error Logic
« on: April 11, 2016, 01:54:36 PM »
Maybe more of suggestion than a bug:

The way Copy Error and Point mutation used to work:

For all sysvars below 100 it would generate a new sysvar using gauss that is approximately within 30 commands of the old sysvar.

For all sysvars above 100 it would generate a new sysvar using gauss that is approximately within (3/10 * old sysvar) commands of the old sysvar.

This means with lower values it would try to select a value in the same group while for high values command groupings are ignored.
This does not play well with how sysvars are grouped. For example chloroplast sysvars groups are ignored because the whole group has a high sysvar range.

I simplified this with the following:

For all sysvar below 1000

1/2 chance the value will be within 21 commands.
and
1/2 chance the value will be within 282 commands.

To keep things interesting, for large numbers, all numbers above 1000, generate a new number using gauss that is approximately within (3/10 * old number) commands of the old number.


Also, I already implemented it in my local repository and really do not feel like reverting it.  :P

27
Suggestions / Snapshot for dead robots
« on: April 10, 2016, 04:38:47 PM »
At some point I took this feature out when simplifying the UI.
I was expecting Shvarz to show up and complain but he did not.
I am considering putting this feature back as an alternative to the recording options UI.
Anyone care?

28
Off Topic / Next project for google deepmind!
« on: April 01, 2016, 05:24:52 PM »
I recently had a chance to see all the "AlphaGo" games against the 2nd top Go player in the world. Although I do not play go really well because the end game scoring rules are a little confusing to me, it was epic.

They want to move on to "incomplete information" games. And it looks like they are thinking Poker. I say they should try Monopoly! first. It is incomplete information because of factors like where the dice will land. Just something I was thinking about.


29
So this is more of a question than a suggestion.

In DB2 I created something like "fitness functions"
Basically they calculate a variables based on properties of a group of robots using a special formula. Currently this variables are saved global as they cause a 'simulation state' and need to save as part of the simulation.

A group of robots are added a handicap to there energy or body based on these variables.

Also, a group of robots is not always executed. You can say there state is in 'suspended animation' until a counter (also a collection of global variables currently) lets them return to a simulation.

I guess this is a continuation of my question from off topic. How would I program something like this in DB3 so the DB3 architecture play nice with it?

30
Darwinbots Program Source Code / This stuff still on my mind...
« on: January 29, 2016, 04:31:42 PM »
I have been having flashbacks about this all day today so I thought it is best for me to visit and just talk about it. This is primarily a question to Numsgil:

From the first attempt to make Darwinbots2 run in internet mode there was some kind of virus developed to modify the program during run-time to make it freeze or crash. I recently read an old post where Numsgil wanted to set up something like what I wanted to setup and posting an ftp ip address and even Shvarz remarking something like: "That is a silly idea. If a bot survives across different enough settings then by definition the settings are not different enough"

What I am trying to get to: It looks like this hack and probably the potential instigator was around for a long time. What makes you certain that he will not port this hack to work against c# or say Java or C++ ?

Also, lets say I do get to hook up a PeterIM server. What will prevent this same hacker from doing the same exact thing to me?
(A note that I stopped playing MMO completely since 2004 because I pretty much owned a tournament and got the shit hacked out of me. I thought I would be safer just developing for Darwinbots. I was wrong.)

I would also like to explore how exactly do hacks like that work? How exactly are they able to get on my system even when my task-manger is not really showing me anything specific?

I eventually figured out that they added stuff when I was updating my cosmic rift because Sony wanted to install an update for this specific game. But that still does not explain how they managed to redirect me from the official Sony update site to theirs.

With Darwinbots it was even stranger:

My best guess is when Peter decided to package the python with all its dependencies into the exe instead of having them as install components. And the only reason I think that is what happened is because I was not able to change the icon for the exe. It was acting read-only. Still, that means that at some point Peters system got compromised. Or, the forum got compromised.

Another possibility (although I would have no clue how it might actually work) is that they corrupted a file for the db2 source code with a virus and when I opened and ran the source code it caused the memory vulnerability. (A note here that the only way I detected that anything was wrong was when stepping trough the source code and some variables where being reset without anything resetting them.) But how is that even possible?

Also, I did find that C++ has some reasonable add-on library to enable stack tracing. Nifty.

Thank you for any help on the subject in advance.

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