Author Topic: Breaking news: Internet Mode horrible, non-functional  (Read 10619 times)

Offline Peter

  • Bot God
  • *****
  • Posts: 1177
    • View Profile
Re: Breaking news: Internet Mode horrible, non-functional
« Reply #15 on: February 17, 2014, 03:06:46 PM »
I thought you had a professional webdeveloper on that. What's the story with that?

I got an (extremely) simple system here. Every 100 seconds it'll check the outbound folder, send those bots to my computer, then my computer will send bots back which it'll place in the inbound folder of your computer. If you feel adventurous, you can try this.

Start DB2, startup IM put all of this in darwinbots2/IM/ folder, and run it.
« Last Edit: February 17, 2014, 03:12:44 PM by Peter »
Oh my god, who the hell cares.

Offline PhiNotPi

  • Bot Builder
  • **
  • Posts: 64
    • View Profile
Re: Breaking news: Internet Mode horrible, non-functional
« Reply #16 on: February 17, 2014, 04:27:07 PM »
Thanks!  I'm actually running it right now...   I think it's working, because bots are being teleported back and forth, but no appears that I am the only person currently running it.  I'll leave it running, in hopes that someone else starts a sim.
I am biased neither towards nor against any single mathematical constant.

Offline Peter

  • Bot God
  • *****
  • Posts: 1177
    • View Profile
Re: Breaking news: Internet Mode horrible, non-functional
« Reply #17 on: February 17, 2014, 06:00:47 PM »
Seem to be some issues with finding files, or at least on my end. Did properly at first then stopped doing that. I guess time to debug it.

Did you have to setup any firewall settings to get a connection or did it work out of the box?

Took the program down(noone requesting bots atm anyway), I'll put it back online when I figure out what's hampering transmissions.
Oh my god, who the hell cares.

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
    • DJ Paul Kononov
Re: Breaking news: Internet Mode horrible, non-functional
« Reply #18 on: February 18, 2014, 10:47:33 AM »
Quote
I thought you had a professional webdeveloper on that. What's the story with that?

No, I did not. All I got is a crappy IT certificate and 12 years experience writing in vb6. Thanks for your help Peter.




Did I configure my folder correctly???
« Last Edit: February 18, 2014, 12:02:37 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: Breaking news: Internet Mode horrible, non-functional
« Reply #19 on: February 18, 2014, 11:30:08 AM »
Quote
Seem to be some issues with finding files, or at least on my end.

Are these issues related to vb6 by any chance?

I think we can make another program that runs client.exe and does file move to the IM's inbound/outbound folders, what do you think? That way I take care of the command line crap and keep vb6 happy.

It only has to work though, right now I am getting a 404 from what I can tell. I am pretty sure I have no firewall, although I am running from a wifi.
Please let us know when the program is back up!  :happy:

Sorry for the confusion, I have edited this posts at least three times, I feel like a kid with a new toy.
« Last Edit: February 18, 2014, 11:58:46 AM by Botsareus »

Offline Peter

  • Bot God
  • *****
  • Posts: 1177
    • View Profile
Re: Breaking news: Internet Mode horrible, non-functional
« Reply #20 on: February 18, 2014, 01:37:11 PM »
Did I configure my folder correctly???
Yep

Are these issues related to vb6 by any chance?
Nope, it's all my fault.

Please let us know when the program is back up!
Well, it's back now. No guarantee on if it works properly. Bit tired now, but odds are I'll check on it in a few hours and see if I can get it fixed.
Oh my god, who the hell cares.

Offline MysticalDumpling

  • Bot Destroyer
  • ***
  • Posts: 205
  • Kurwa chuj!
    • View Profile
Re: Breaking news: Internet Mode horrible, non-functional
« Reply #21 on: February 18, 2014, 04:03:31 PM »
I'm running the same thing Phi is- hopefully something will pop up.... Local IM works so far.
To być albo nie być, oto jest ze pytanie

Offline Peter

  • Bot God
  • *****
  • Posts: 1177
    • View Profile
Re: Breaking news: Internet Mode horrible, non-functional
« Reply #22 on: February 18, 2014, 04:59:13 PM »
Few issues.

1. I managed to delete the next instead of the current file :P

Send organism 1
Receive some organism from server
Delete organism 2
Send organism 2, wait that doesn't exist. Exception!

Because organism 1 stays there, it's keeps sending organism 1 at every connection and kills every next bot.

2. Miscommunication in filesize, bots are capped at 10kb. Curious DB2 doesn't crash with the malformed bots.

Attached new version
Oh my god, who the hell cares.

Offline PhiNotPi

  • Bot Builder
  • **
  • Posts: 64
    • View Profile
Re: Breaking news: Internet Mode horrible, non-functional
« Reply #23 on: February 18, 2014, 05:55:50 PM »
I received some bots from the internet!  Yes!

Edit: I just had a huge multibot teleport in, and Darwinbots crashed. 
Code: [Select]
An Error Occurred. Darwinbots cannot continue. Sorry. Subscript out of range DarwinBots 9 0.I don't know if this is related to your program, or if it is a bug with DB which is being revealed now that IM actually works.
« Last Edit: February 18, 2014, 06:04:19 PM by PhiNotPi »
I am biased neither towards nor against any single mathematical constant.

Offline MysticalDumpling

  • Bot Destroyer
  • ***
  • Posts: 205
  • Kurwa chuj!
    • View Profile
Re: Breaking news: Internet Mode horrible, non-functional
« Reply #24 on: February 18, 2014, 06:18:21 PM »
I just ran the new client.exe - nothing coming in so far....
To być albo nie być, oto jest ze pytanie

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7725
    • View Profile
Re: Breaking news: Internet Mode horrible, non-functional
« Reply #25 on: February 18, 2014, 07:29:01 PM »
You'll need to be careful to make sure that DB is done writing to a file before you send it to the internet.  Likewise, you'll want to make sure DB can't see a file until you're done writing it from the internet.  The second one is the hardest.  Maybe if DB refused to read a file until/unless the readonly flag was set?

Offline MysticalDumpling

  • Bot Destroyer
  • ***
  • Posts: 205
  • Kurwa chuj!
    • View Profile
Re: Breaking news: Internet Mode horrible, non-functional
« Reply #26 on: February 18, 2014, 07:37:28 PM »
Something seems to be happening- I am getting evolved NNbots from myself (username Dumpling). I hadn't ran such a sim in 3 months
To być albo nie być, oto jest ze pytanie

Offline PhiNotPi

  • Bot Builder
  • **
  • Posts: 64
    • View Profile
Re: Breaking news: Internet Mode horrible, non-functional
« Reply #27 on: February 18, 2014, 07:46:08 PM »
I've also gotten a lot of stuff from myself, mostly things from internet sims I ran earlier today.  Earlier today, I put a virus into the wild.  After starting a new, virus-free sim, I received the virus again from the internet.

If it is from 3 months ago, then I suppose that what happened was that the robot was sent into the outbound folder a few months ago, and it remained there since there was no internet connection.  Now that there is a connection, all of your unsent robots are being released into the internet.
I am biased neither towards nor against any single mathematical constant.

Offline MysticalDumpling

  • Bot Destroyer
  • ***
  • Posts: 205
  • Kurwa chuj!
    • View Profile
Re: Breaking news: Internet Mode horrible, non-functional
« Reply #28 on: February 18, 2014, 07:47:58 PM »
Oh shoot. I hoped that IM actually was working...  :O
To być albo nie być, oto jest ze pytanie

Offline PhiNotPi

  • Bot Builder
  • **
  • Posts: 64
    • View Profile
Re: Breaking news: Internet Mode horrible, non-functional
« Reply #29 on: February 18, 2014, 07:56:21 PM »
I actually have received some stuff from Peter (the bots gave his simulation as the source).
I am biased neither towards nor against any single mathematical constant.