Author Topic: Internet mode "fix" using file synchronisation software  (Read 6624 times)

Offline rwill128

  • Bot Builder
  • **
  • Posts: 67
    • View Profile
Re: Internet mode "fix" using file synchronisation software
« Reply #15 on: September 06, 2012, 12:52:40 PM »
Anyone still doing this?! I'll try to jump in tonight if so.

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
    • DJ Paul Kononov
Re: Internet mode "fix" using file synchronisation software
« Reply #16 on: September 06, 2012, 06:38:43 PM »
sorry to burst your bubble. (again)
But this was also abandoned due to instability...

Offline rwill128

  • Bot Builder
  • **
  • Posts: 67
    • View Profile
Re: Internet mode "fix" using file synchronisation software
« Reply #17 on: September 07, 2012, 10:20:48 AM »
Haha, damn. Seems like it would still be a viable option.

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7715
    • View Profile
Re: Internet mode "fix" using file synchronisation software
« Reply #18 on: September 07, 2012, 10:04:55 PM »
I think the issue is that Darwinbots would try to read a file before it was finished downloading.  If you could figure out a system to get around that, it would basically work.

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
    • DJ Paul Kononov
Re: Internet mode "fix" using file synchronisation software
« Reply #19 on: September 08, 2012, 03:24:15 PM »
lol, really? So, if I would of implemented p2p I would still have the same problem? Wow, that's good to know...

We can upload a second file that simply contains the length of the main file, but I still need to know what IM software we are using: Shasta's or this?

edit: I still need to know what we are using, but that will not work ether because the two files are not attached to each other in any way... I'll think of something else...
« Last Edit: September 08, 2012, 03:30:33 PM by Botsareus »

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
    • DJ Paul Kononov
Re: Internet mode "fix" using file synchronisation software
« Reply #20 on: September 08, 2012, 03:38:00 PM »
I think I have something, I need to know  two more things:

1.) Does darwinbots trow an error when it tries to read a file being written to?
2.) If darwinbots trys to read a file while it is being downloaded does it screw up the file downloader?
« Last Edit: September 08, 2012, 03:40:40 PM by Botsareus »

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
    • DJ Paul Kononov
Re: Internet mode "fix" using file synchronisation software
« Reply #21 on: September 08, 2012, 05:23:48 PM »
I just tried the following that may actually work. I have tested it using a vb.net script. I hope the file sharing program writes using similar methods. The following is written in C# , to extract the program itself for testers that don't have C# 2K08 or later go to the bin > debug folder.

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7715
    • View Profile
Re: Internet mode "fix" using file synchronisation software
« Reply #22 on: September 09, 2012, 04:19:13 PM »
Looks reasonable enough.  Have you tested it with some running instances of Darwinbots and Always Sync?

Offline rwill128

  • Bot Builder
  • **
  • Posts: 67
    • View Profile
Re: Internet mode "fix" using file synchronisation software
« Reply #23 on: September 11, 2012, 08:39:05 AM »
*Crosses fingers*

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
    • DJ Paul Kononov
Re: Internet mode "fix" using file synchronisation software
« Reply #24 on: September 12, 2012, 05:20:47 PM »
ah, Here is a better version that uses StringDictionary hashtables (I am putting my MCPD homework to use)

sorry, no time to test , rwill128 please do...
If you don't have a newer c# compiler head down to the bin > debug folder ...
« Last Edit: September 12, 2012, 05:23:29 PM by Botsareus »

Offline rwill128

  • Bot Builder
  • **
  • Posts: 67
    • View Profile
Re: Internet mode "fix" using file synchronisation software
« Reply #25 on: September 13, 2012, 10:11:28 PM »
Will do.

Offline rwill128

  • Bot Builder
  • **
  • Posts: 67
    • View Profile
Re: Internet mode "fix" using file synchronisation software
« Reply #26 on: September 15, 2012, 01:31:59 PM »
I'm not experienced with how IM normally operates, and I'm not sure how test whether the intermediate file checker is doing what it's supposed to do, or solving any problems..

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
    • DJ Paul Kononov
Re: Internet mode "fix" using file synchronisation software
« Reply #27 on: September 15, 2012, 04:22:01 PM »
Step 1.) rename my intermidate checker as "DarwinbotsIM.exe" and place at in the same folder as the program(Darwin2.45.01).

Step 2.) set the outbound* folder within the program(Darwin2.45.01) to match the out file folder of allway sinc.

Step 3.) make a folder to be an "in file" folder of allway sinc.

Step 4.)  set the inbound* folder inside the program(Darwin2.45.01) as a third folder, lets call this "finalinfolder"

Step 5.) enable internet mode, my code should open. First select the "in file" allway sinc. folder, then select finalinfolder.


« Last Edit: September 15, 2012, 04:28:28 PM by Botsareus »

Offline rwill128

  • Bot Builder
  • **
  • Posts: 67
    • View Profile
Re: Internet mode "fix" using file synchronisation software
« Reply #28 on: September 15, 2012, 04:54:51 PM »
I think it's working! The syncing has been going on just fine, but I'm not sure how you had the live drive set up... how did it keep track of whose bots were whose, and when my "Skydrive Clean" routine runs, couldn't I  be wiping everyone else's bots out before I downloaded them?


Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
    • DJ Paul Kononov
Re: Internet mode "fix" using file synchronisation software
« Reply #29 on: September 15, 2012, 05:56:37 PM »
I am getting no inbound files, are you?

https://docs.live.net/DarwinbotsIM/ does not contain any robots, I am sending 5 robots per minute to it, whats going on?
« Last Edit: September 15, 2012, 06:02:31 PM by Botsareus »