Code center > Darwinbots Program Source Code

Status of IM mode

<< < (4/36) > >>

Ammeh:
Oh man, I was hoping you'd handle the DB side of things, I wouldn't touch VB with a barge pole :P

Botsareus:
There is no guarantee that vb6 pipes will play nicely with .net, but I'll see what I can do.

Shasta:

--- Quote from: Botsareus on May 31, 2013, 11:01:26 AM ---Hey Shasta,

May I look at the PHP script(s) if you don't mind?
Just out of curiosity.

--- End quote ---
Yeah sure, I need to clean them up a touch first though. I also should probably figure out some place to put them in source control, be it in the DB2 repo or a new one.

Botsareus:
Ammeh I think I got it.
Attached here is my server side.

The client side which is the source code for DB (Darwinbots2\trunk\Darwinbots2) uses the same custom control with pipe name set to "Calc Server Pipe"

The exact call from DB is:


--- Code: ---    Dim Request() As Byte
    Dim Response() As Byte
    Request = "{ ""Population"":""" & CStr(TotalRobotsDisplayed) & """, ""CyclesPerSecond"":""" & CStr(SimOpts.CycSec) & ","" ""Size"":""" & CStr(SimOpts.FieldHeight * SimOpts.FieldWidth) & """, ""MutationRate"":""" & CStr(SimOpts.MutCurrMult) & """ }"
    ReDim Response(0)
    PipeRPC1.PipeCall Request, Response

--- End code ---

p.s.

Sorry Ammeh, I know you hate vb6 but you may have to look trough the server side to figure out how vb6 pipes work  :(

edit: If you want me to attach a DB2 build (.exe) I can do that as well...

Botsareus:
Looks like Shasta and Ammeh disappeared on me. Does anyone know what is going on w/ this?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version