Code center > Darwinbots Program Source Code

Direction of the Code

<< < (6/10) > >>

Botsareus:
Well my hard drive did crash once.

--- Quote ---It could steal thousands of dollars from fort knox.
--- End quote ---

Yea that is going to be scary , but unlikely. I don't run it connected to the entenet. And when it does get to the net it will probebly do stupider things.

The whole thing is really like playing with fire. Hell its too mutch fun anyway.


--- Quote ---What are it's selective pressures?
--- End quote ---


--- Quote ---'mutation code > add type
    lenoftype = 5 + ((getlen / max) - 5) * rndo2
    I = 0
    changes = 0
    Do
    If changes = 0 Then
        lenofsel = 5 + rndo2 * 95
        startofsel = (UBound(a) - lenofsel) * rndo2
        changes = 5 + rndo2 * 45
        lenchr = rndo2 * 255
        startchr = (255 - lenchr) * rndo2
    End If
    'add point
    inp = lenofsel * rndo2 + startofsel
    ReDim Preserve a(UBound(a) + 1) 'adds memory
        'move memory after insertion point
        For e = UBound(a) - 1 To inp Step -1
         a(e + 1) = a(e)
        Next
    a(inp) = Chr(startchr + (lenchr * rndo2)) 'adds point
    changes = changes - 1
    I = I + 1
    Form1.Shape1.Width = (Form1.ScaleWidth / lenoftype) * I
    DoEvents
    Loop Until I >= lenoftype
   
Form1.Caption = Form1.Caption - 1
''''''''''
j = App.Path & "\" & App.EXEName & "\" & H(0) & "smexe" & Int(Rnd * 10000) & ".exe"
Open j For Binary As #1
For e = 0 To UBound(a)
Put #1, , a(e)
Next
Close
--- End quote ---

Greven:
Bot did you program you smexe thing in VB or what?

If so, is it possible to get the source code?

Botsareus:
Hehehe , no. (I don't give out source code for stuff like this , I am in enough trouble, what If someone adds some attach to email code in there, then what?)

The best thing you can do is get the program from my www with instructions.

Greven:
I would never run that shit on my computer, unless I got the source code.

Numsgil:
Then you're a smart man :P

I wouldn't run it on my computer with the source.  It's undirected mutation.  The program modifies itself, but lacks any fitness function to direct it towards a goal.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version