Code center > Bugs and fixes

Duh, IM graph error under Wine/Linux OPEN

<< < (2/3) > >>

EricL:

--- Quote from: MacadamiaNuts ---Could the bot sharing go in a portable stand-alone C mini-application? So the mini-app manages the files and the main executable, on internet mode, just checks the folders.
--- End quote ---

It certainly could.  I considerred building it that way in the first place actually just to get the communication stuff into another process so that the single threaded sim wouldn't hang waiting for network stuff like it does currently.  In the end I did it in one process because a) I'm lazy  it was easier and c) it makes things simpiler not having the user have to download and run another program (or have the sim run it).

There are a few places where the split isn't clean, mostly where I detect network problems and turn the teleporter intrasm to prevent backups but we could come up with a simple file-based way for the pump to comminicate connection status back to the sim process or now that I think about it, the sim could handle it all itself implicitly I.e. if more than 10 files in the local out directory, assume the connection is down until they go away.

I'm not set up to write portable C at the moment though that wouldn't take much.  I could pretty easily make the separation as two VB exes and provide the back pressure communication channel in the main line sim.  I should do this anyway just to get the communication on another thread.   The file copying is all FTP and no parsing would need to be done outside the sim process.  You could probably write a servicable pump for linux as a scheduled command line script or two, one for bots, one for pop files.

Give me a week and I'll see what can be done to split the sim and the comm.

MacadamiaNuts:
No, please consider it very low priority. I still can try to investigate myself why it doesn't connect to darwinbots.serveftp.com. I can't even ping it so maybe there's something else.

MacadamiaNuts:
Ok I did setup a FTP account in my own website, added a darwinbots folder and then loaded an old version to change the connection settings and test it; it didn't hang trying to connect, but it failed to upload anything, so probably it's about something not being well supported by my wine install.

I guess I'll try to learn a bit about Linux command line scripting.

EricL:
It won't work with your own FTP share currently.  The path and password, etc.
are hardcoded in the exe.  The old Inet settings arn't even looked at by the new internet mode code...

MacadamiaNuts:
Yuck. I knew that.

And then forgot it.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version