Poll

Which option do you like better

Keep entire program in VB6
3 (33.3%)
Keep GUI in VB6 and move simulation code to a seperate C++ DLL for speed
3 (33.3%)
Move entire program in C++ (this would take quite a while)
3 (33.3%)

Total Members Voted: 9

Author Topic: Direction of the Code  (Read 15500 times)

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Direction of the Code
« Reply #30 on: October 08, 2005, 07:01:15 PM »
You know I actualy did write a nice long post right now, but I thought it was too informative. I just will say that it does have a goal. Its goal is to live.

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

Don't worry , It says "use" at your own risk. It does not say "try out" at your own risk.

I did not program any tabo in there,
« Last Edit: October 08, 2005, 07:07:15 PM by Botsareus »

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Direction of the Code
« Reply #31 on: October 08, 2005, 07:10:35 PM »
I'm not going to belabor the point, because I know you don't understand evolution anyway. We've been going over the same agruments time and time again.

Smexe isn't evolving.  It's mutating.  There's a difference.

Offline Endy

  • Bot Overlord
  • ****
  • Posts: 852
    • View Profile
Direction of the Code
« Reply #32 on: October 08, 2005, 11:25:16 PM »
I think I'd understand if there was like Nums said something deliberatly acting on the code. If part of it's requirement to reproduce depends on it evolving around some impediment, then it's "life".

Like say a program that could only duplicate itself based on user interaction, in this case it would be in the program's interest to be as interesting as possible so as to attract more people.

Currently they only evolve based on human direction, partly because the code is just too self and enviroment destructing when it operates alone. Imagine if a species could randomly shut down the entire universe just based on some random mutation and you get why it's so hard.

Possibly some sort of virus that could exercise some sense of self control over it's reproductive capabilties and only very occasionally mutate it's code, would start a basic cycle.

Offline Greven

  • Bot Destroyer
  • ***
  • Posts: 345
    • View Profile
Direction of the Code
« Reply #33 on: October 09, 2005, 06:52:06 AM »
Well I just want to see his code of this, not nessary run it, maybe making a few adjustments, and **BANG** it 1000 times better ;)

Bot, a few heads looking at the same problem is better than one looking at it. Even Einstein were wrong at a few points, so drop your bad excuses for not given the source away, it wouldnt be you fault if smexe did mutate to destroy every satelite in space...
10010011000001110111110100111011001101100100000110110111000011101011110010110000
011000011000001100010110010111101001110100110010111100101000001000001111001011101
001101001110011011010011100011110100111000011101100100000100110011010011100110110
010110000011100111101001110110111101011101100110000111101001101001110111111011101
01100100000111010011010001100001110111010000010001001000010100001

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Direction of the Code
« Reply #34 on: October 09, 2005, 02:17:59 PM »
Open source licensing is the way to go.  GNU.

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Direction of the Code
« Reply #35 on: October 09, 2005, 02:28:41 PM »
Just ran a profile of 2.4.

Roughly half the clock cycles are VB copying bytes from one place to another.

That means that porting to C++, and using pointers, I bet I could get at least a double increase in speed.

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Direction of the Code
« Reply #36 on: October 09, 2005, 04:48:19 PM »
I'm starting the port over to C++.  I'll do the robots module first, then show you guys, so you can have an idea of what sort of coding style I think would work, what it would look like, etc.

Most of the reasons why "not" I've heard are more in the range of "I don't know C++" than anything else.  Since it's pretty evenly split...  I'll just sort of make the leap, and we'll see what develops.

I'll probably do the graphics in OpenGL since it's cross platform.  I'll try to keep everything as platform unspecific as possible.  That means we can port it to other OS's probably.  Plus that means we can do some neat things with the graphics.  Like pan and tilt, so you can see the bots run around in psuedo-3D  (they'd all still be in the same plane, but you get the idea...)

I'm looking into finding a GUI editor like Visual Basic.  If I can find one that's cross platform too...

That would be neat :P
« Last Edit: October 09, 2005, 05:07:45 PM by Numsgil »

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Direction of the Code
« Reply #37 on: October 09, 2005, 06:26:04 PM »
FTLK Looks like a good open source, free, GUI creation utility that's cross platform...

I'll give it a try out.

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Direction of the Code
« Reply #38 on: October 09, 2005, 06:45:07 PM »
Um, is it spamming yet?

I've uploaded VC6 to the FTP.  ;) ;) ;) (Do you get it yet?)

edit: And I'm looking into wxWidgets which is another GUI creation library that's cross platform.

I'll probably go with whichever is best.
« Last Edit: October 09, 2005, 09:02:37 PM by Numsgil »

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Direction of the Code
« Reply #39 on: October 09, 2005, 07:38:25 PM »
ok I give up , I was looking for a decompilor for vb two full days.

GREVEN HOW DID YOU GET MY SOURCE CODE?

second qustion:

WHAT ADJASMENTS?

btw:

NUM SORRY FOR RUINING THE HELL OUT OF THIS THREAD, but I cant stop myself.
« Last Edit: October 09, 2005, 07:40:20 PM by Botsareus »

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Direction of the Code
« Reply #40 on: October 09, 2005, 08:01:41 PM »
Actualy I do have one good excuse up my sleave: I was expecting and hoping for somebody with a decompilor to show up so I can finaly see what the smexe is mutating into.

[span style=\'font-size:8pt;line-height:100%\']Distroying satelaties?? hmmm...[/span]


DOH!

Quote
Well I just want to see his code of this

want <> went ...

 :banghead:
« Last Edit: October 09, 2005, 08:06:02 PM by Botsareus »

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Direction of the Code
« Reply #41 on: October 09, 2005, 08:57:16 PM »
Quote
ok I give up , I was looking for a decompilor for vb two full days.

GREVEN HOW DID YOU GET MY SOURCE CODE?

second qustion:

WHAT ADJASMENTS?

btw:

NUM SORRY FOR RUINING THE HELL OUT OF THIS THREAD, but I cant stop myself.
*Sigh*

Greven does not have your code.  

Quote
Well I just want to see his code of this, not nessary run it, maybe making a few adjustments, and **BANG** it 1000 times better wink.gif

is a propositional sentence.  if he had your code then it'd be 1000 times better.

You cant really reverse engineer VB code.  Well, you can sorta, but it's a mess, and not all code can be reversed, and it's a huge pain.
« Last Edit: October 09, 2005, 08:58:15 PM by Numsgil »

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Direction of the Code
« Reply #42 on: October 10, 2005, 12:31:05 AM »
And now I'm looking into using GLUT and GLUI.

If anyone knows something one way or another, feel free to put in your two cents.

Offline Endy

  • Bot Overlord
  • ****
  • Posts: 852
    • View Profile
Direction of the Code
« Reply #43 on: October 10, 2005, 03:22:59 AM »
Darn and I had just gotten a VB book <_<  Oh well it'll still be useful.

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Direction of the Code
« Reply #44 on: October 10, 2005, 09:16:31 AM »
It'll be a while before I'm able to prot all the code.  And there'll probably be some tools I'll need to make which will be in VB