Author Topic: My virsion for 2.36.2 Get it now!!!  (Read 8635 times)

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
My virsion for 2.36.2 Get it now!!!
« on: April 12, 2005, 06:42:17 PM »
EDIT: SRY GUYS THIS ONE IS ALL BROKEN, I THINK I GOT IT RIGHT THIS TIME, READ THE LEST POST.
« Last Edit: April 13, 2005, 05:11:34 PM by Botsareus »

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
My virsion for 2.36.2 Get it now!!!
« Reply #1 on: April 12, 2005, 06:44:21 PM »
I will be using this to evolve bots for F1 mode. Using F1 conditions and my evolution system stay tooned for FirstBot that owns Din.

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
My virsion for 2.36.2 Get it now!!!
« Reply #2 on: April 13, 2005, 12:31:07 AM »
I'm trying to figure out exactly what you changed right now...

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
My virsion for 2.36.2 Get it now!!!
« Reply #3 on: April 13, 2005, 01:22:58 PM »
Num, Use WinDiff :: C:\Program Files\Microsoft Visual Studio\Common\Tools\windiff.exe ,The best compare tool I ever seen.

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
My virsion for 2.36.2 Get it now!!!
« Reply #4 on: April 13, 2005, 02:01:53 PM »
No such thing as Windiff in the visual studios folder on my PC. Did you download it somewhere?
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
My virsion for 2.36.2 Get it now!!!
« Reply #5 on: April 13, 2005, 04:04:39 PM »
EDIT: PY DID YOU INSTALL YOUR VISUAL STUDIO CORRECTLY?
« Last Edit: April 13, 2005, 04:28:51 PM by Botsareus »

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
My virsion for 2.36.2 Get it now!!!
« Reply #6 on: April 13, 2005, 04:08:35 PM »
I have 6.0 Enterprise edition. Y'know, the one that costs about $1500.00. It should have everything that others have I would think.

BTW, piracy or not, your zip file is coming through corrupted so I can't unzip it.

Thanks for trying though
« Last Edit: April 13, 2005, 04:11:28 PM by PurpleYouko »
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
My virsion for 2.36.2 Get it now!!!
« Reply #7 on: April 13, 2005, 04:20:13 PM »
FIXING FIXING, FIXING FIXING....
« Last Edit: April 13, 2005, 05:14:02 PM by Botsareus »

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
My virsion for 2.36.2 Get it now!!!
« Reply #8 on: April 13, 2005, 04:55:38 PM »
Quote
'random sysvar
          If Random(0, 1) = 1 Then

That is what it is already in all versions except for 2.36.3PY

I was halfway through adding a third option when I ran out of time so saved it to the FTP server as it was.
It might make a slight difference to new values added but shouldn't really. It will just add a slight bias to the decision between a number or a sysvar.
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
My virsion for 2.36.2 Get it now!!!
« Reply #9 on: April 13, 2005, 05:11:22 PM »
here it is , this one is better:

EDIT: changed it again.

EDIT: If I will change it further I will update the virsion number: Virsion 2
So keep track of the virsion numbers guys.
« Last Edit: April 13, 2005, 08:05:38 PM by Botsareus »

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
My virsion for 2.36.2 Get it now!!!
« Reply #10 on: April 13, 2005, 05:17:11 PM »
No Bots, I can find what you changes with windiff, but I need to know why you changed what you changed.

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
My virsion for 2.36.2 Get it now!!!
« Reply #11 on: April 13, 2005, 05:56:22 PM »
Num , you have to select the new file , then the old file, then you have to double click on the read text to expand it.

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
My virsion for 2.36.2 Get it now!!!
« Reply #12 on: April 13, 2005, 07:05:07 PM »
No, Bots, I don't mean WHAT did you change.  I mean WHY did you change it.  Your changes don't seem to me to make any difference.

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
My virsion for 2.36.2 Get it now!!!
« Reply #13 on: April 13, 2005, 08:01:52 PM »
Yes Num, the changes seam minor but they will pay off in the long run, at least I will change them until they do. But I will never brake the golden rule: The Mutations will remain purly random, (heh, I dont even know how to brake the golden rule) Stay tooned guys...

Basicaly I toled the program that the chance to insert a sysvar is more then the chance to insert a completly random value


(I am also working on some overflow errors , problem is if I fix them I will have to post the source code on my website because the whole DB source is more then 100kb and PY is having trouble with zip files witch I think is forum related)
« Last Edit: April 13, 2005, 08:04:35 PM by Botsareus »

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
My virsion for 2.36.2 Get it now!!!
« Reply #14 on: April 13, 2005, 09:26:30 PM »
If you're going to be going into the overflows I'd get 2.36.1 and compare the DNAOps from the two.  I'm pretty sure the problem is somewhere in there.

Okay Bots, after sorting through pointless timer conditions (if any of those functions take longer than 10 seconds, there's a BIG problem.  You'd better not just ignore it) I am left with this:

DNAInsertRandomValue Function:

You changed:
Code: [Select]
r = Random(0, 1)
DNA(pos).tipo = r
If r = 0 Then
  DNA(pos).value = Gauss(-10000, 10000)
   x = x + "Inserted value, " + Str$(DNA(pos).value) + " , at pos " + CStr(pos) + vbCrLf
Else
  DNA(pos).value = Random(1, 1000)
  x = x + "Inserted label, *" + Str$(DNA(pos).value) + " , at pos " + CStr(pos) + vbCrLf
End If

to:

Code: [Select]
r = Random(0, 2)
DNA(pos).tipo = r
If r = 0 Then
  DNA(pos).value = Gauss(-10000, 10000)
  x = x + "Inserted value, " + Str$(DNA(pos).value) + " , at pos " + CStr(pos) + vbCrLf
ElseIf r = 1 Then
  If Random(0, 2) = 1 Then
    Do
      Dim t2 As Integer
      t2 = Random(0, 200)
    Loop Until (sysvar(t2).Name <> "")
    DNA(pos).value = sysvar(t2).value
  Else
    DNA(pos).value = Random(1, 1000)
  End If
  x = x + "Inserted label, *" + Str$(DNA(pos).value) + " , at pos " + CStr(pos) + vbCrLf
ElseIf r = 2 Then
  DNA(pos).tipo = 0
  'random sysvar
  Do
    t2 = Random(0, 200)
  Loop Until (sysvar(t2).Name <> "")
  DNA(pos).value = sysvar(t2).value
End If

That's change one.

In the mutate function, you changed
Code: [Select]
newvars (n)
a = a + vartovar(n, x, DNAfrom, DNAto)
at the beginning to:
Code: [Select]
'''newvars (n)
''''a = a + vartovar(n, x, DNAfrom, DNAto)
(You do know that you only need one apostrophe, right?)

That's change two.  Why are we commenting out these lines?

And that's it!

So, what's up with change one and change two?  What were you trying to accomplish with each?