Darwinbots Forum

General => Off Topic => RANT => Topic started by: MysticalDumpling on February 24, 2014, 06:26:23 PM

Title: Of Many Celebrations! IM is working!
Post by: MysticalDumpling on February 24, 2014, 06:26:23 PM
Thanks:
-Peter
-Botsareus

 :D
*now l can put random crap in IM...*
Title: Re: Of Many Celebrations! IM is working!
Post by: PhiNotPi on February 24, 2014, 09:09:22 PM
Thanks!

*My viruses have been released!*
Title: Re: Of Many Celebrations! IM is working!
Post by: Testlund on February 25, 2014, 08:25:31 AM
So how does this work now? Do I have to download some program to connect or is it enough just to click the internet button in DB?
Title: Re: Of Many Celebrations! IM is working!
Post by: MysticalDumpling on February 25, 2014, 02:26:43 PM
Tou have to go to the thread in rant "IM horrible, not working..." ect. and go to the last post with the attachment. Unzip it to the darwinbots folder, not any of the subfolders. Also, make sure your username has no spaces!
Title: Re: Of Many Celebrations! IM is working!
Post by: Botsareus on February 25, 2014, 02:37:24 PM
Also, make sure you have "\IM\inbound" "\IM\outbound" folders or whatever folders you use for IM.
I am tightening up the 'spaces in username' problem. So far I removed spaces in the "NewbieXXXX" user name. (v2.46.06)
Now I made sure that when you change the name manually it auto removes the spaces. Expect with next version drop.
Title: Re: Of Many Celebrations! IM is working!
Post by: Peter on February 25, 2014, 02:44:55 PM
Also, make sure you have "\IM\inbound" "\IM\outbound" folders or whatever folders you use for IM.
I am tightening up the 'spaces in username' problem. So far I removed spaces in the "NewbieXXXX" user name. (v2.46.06)
Now I made sure that when you change the name manually it auto removes the spaces. Expect with next version drop.
Do you have issues with spaces in the folder name? I got space and it works. Below the fix I prefer for the spacing issue.

Minor detail, can you put quotes around the name, to get 'Newbie' and '5676' in the same argument.

''-in "C:\in" -out "C:\out" -name Newbie 5676 -pid  4404

to

''-in "C:\in" -out "C:\out" -name "Newbie 5676" -pid  4404
Title: Re: Of Many Celebrations! IM is working!
Post by: Botsareus on February 25, 2014, 02:52:26 PM
Ok, then I am removing the anti-space crap and adding quotes. Brb, 5 minutes.
Title: Re: Of Many Celebrations! IM is working!
Post by: Botsareus on February 25, 2014, 02:59:25 PM
Here it is
Title: Re: Of Many Celebrations! IM is working!
Post by: Testlund on February 25, 2014, 04:35:21 PM
Well, it doesn't work from here. I get an error message that says that the target computer denies access. What... Cough!

Edit: Ok, it looks like I'm online. No bots on server message.
Title: Re: Of Many Celebrations! IM is working!
Post by: Peter on February 25, 2014, 04:50:51 PM
I'm off, the IP/port that is used is in your inbox.

Curious what's causing it. Did anyone else had to do any firewall configuration?
Title: Re: Of Many Celebrations! IM is working!
Post by: Testlund on February 25, 2014, 04:59:51 PM
Will you turn it on again tonight? I'd like to try it. I'll run a sim here through the night and see what happens.
Title: Re: Of Many Celebrations! IM is working!
Post by: Peter on February 25, 2014, 05:03:56 PM
I'll keep it running tonight.
Title: Re: Of Many Celebrations! IM is working!
Post by: Testlund on February 25, 2014, 05:11:54 PM
Great!

I'm getting these error messages though:

"[Errno 2] No such file or directory: 'inbound/neworganism_3.temp'
invalid literal for int<> with base 10: ''
Title: Re: Of Many Celebrations! IM is working!
Post by: Testlund on February 25, 2014, 05:46:33 PM
How are bots picked when there is no teleporter in the sim?
Title: Re: Of Many Celebrations! IM is working!
Post by: Botsareus on February 25, 2014, 05:50:36 PM
Quote
How are bots picked when there is no teleporter in the sim?

The inbound bots are inserted in random locations (by design).

Quote
"[Errno 2] No such file or directory: 'inbound/neworganism_3.temp'

Make sure your IM paths point to the directorys that exist on your hard drive (see picky)
Title: Re: Of Many Celebrations! IM is working!
Post by: Testlund on February 25, 2014, 05:52:29 PM
Yes, the paths are correct here.
Title: Re: Of Many Celebrations! IM is working!
Post by: Botsareus on February 25, 2014, 05:58:19 PM
Once again Testlund proves his unique ability to find bugs no one else can. If I reply I figured it out, if I do not Peter should. It is been a long day.
Title: Re: Of Many Celebrations! IM is working!
Post by: Testlund on February 25, 2014, 06:00:53 PM
OK, well I will have my sim up and running through the night and we'll see what comes through or not.
Title: Re: Of Many Celebrations! IM is working!
Post by: Peter on February 26, 2014, 02:00:11 AM
How are bots picked when there is no teleporter in the sim?
In case you didn't. Best to press 'toggle IM mode', then DB will start DarwinBotsIM with arguments. Server gets a lot of connections of NO_NAME(default name), I suspect you started it manually.

Don't know what caused the error. May be that the application is sandboxed and tries to rename a file that's put in a different location(because of it being sandboxed).
Title: Re: Of Many Celebrations! IM is working!
Post by: Testlund on February 26, 2014, 09:01:13 AM
OK, so that button needs to be toggled too. I'll try again.
Title: Re: Of Many Celebrations! IM is working!
Post by: Testlund on February 26, 2014, 09:10:26 AM
Wow! It works! I just recieved lots of Multiply4 and Alga Chloroplastus! Kewl!  :)
Title: Re: Of Many Celebrations! IM is working!
Post by: Testlund on February 26, 2014, 09:16:33 AM
I got overloaded with bots here, slowing down the sim to a crawl, so I have to use dynamic costs.
Title: Re: Of Many Celebrations! IM is working!
Post by: Testlund on February 26, 2014, 12:58:39 PM
Alga Chloroplastus is choking my sim to death!

I think Internet Mode needs a limitation on how many bots to send at one time. I think I got as many as 1500 bots in one transfer!
Title: Re: Of Many Celebrations! IM is working!
Post by: Peter on February 26, 2014, 01:53:10 PM
Chloroplastus is doing the same in a sim of me.

You can set how many will maximal get into the sim in the IM teleporter. Every X cycles, max in/outbound. If it went quicker than that it's a bug in IM.

If you noticed you received more > 25 bots in the inbound folder at one time(hard to check now), that's a bug in Internet Mode.
Title: Re: Of Many Celebrations! IM is working!
Post by: Testlund on February 26, 2014, 01:57:19 PM
Yes, you're right! I didn't think of double-clicking the teleporter. One can choose how many bots to receive and even the size of the teleporter.
Title: Re: Of Many Celebrations! IM is working!
Post by: Testlund on February 28, 2014, 06:24:03 PM
I've been running in Internet Mode for a couple of days and it has worked well, but now I'm getting this again: "invalid literal for int<> with base 10: ''
Title: Re: Of Many Celebrations! IM is working!
Post by: Peter on March 01, 2014, 04:36:06 AM
Does that happen sparingly? Or does it give that back continuously?
Title: Re: Of Many Celebrations! IM is working!
Post by: Testlund on March 01, 2014, 07:29:30 AM
No, it happened last night and there were no more bots teleported. Almost all got wiped out in the instance connected to the internet.

In the other instance I had a bot called Red that was growing into a large population.

Today it seems to be working again and my Red is being defeated by Multiply4.  :dry:
Title: Re: Of Many Celebrations! IM is working!
Post by: Testlund on March 01, 2014, 09:03:57 AM
Red has taken the lead again!  :) It's a variant of my Colorbot. It began as a hunter, but now I don't know what it's doing.

I'll keep running this sim until monday.
Title: Re: Of Many Celebrations! IM is working!
Post by: Peter on March 01, 2014, 09:32:12 AM
Weird, I don't know what causes it. There's one issue that can cause that error. That is if you're trying to send a 10MB+ multibot, but I doubt that's the case.

In my sim multiply extincted and was replaced my martian tank 3, and hour later multiply came back and martian tank got extincted.
Title: Re: Of Many Celebrations! IM is working!
Post by: Peter on March 01, 2014, 04:06:47 PM
Testlund crashed my sim!
Red quickly expanded in a sim, slowing it down dramatically. And then it gave a out of memory error.
Title: Re: Of Many Celebrations! IM is working!
Post by: Peter on March 04, 2014, 01:18:06 PM
Anyone having connectivity issues or is noone connecting to the server? Just noticed there were 75000 bots in cache...
Title: Re: Of Many Celebrations! IM is working!
Post by: MysticalDumpling on March 04, 2014, 02:37:31 PM
For some time, I connected a sim w/ IM, but no-one was on the other side....
Title: Re: Of Many Celebrations! IM is working!
Post by: Peter on March 04, 2014, 03:00:06 PM
I had 2 sims online the whole time, so that's weird. What did you get, did you get a message of 'no bots on server', a timeout or something else?
Title: Re: Of Many Celebrations! IM is working!
Post by: MysticalDumpling on March 04, 2014, 04:24:30 PM
10054- the connection was forcibly closed by the remote host. This is the error I sometimes get if I use Task Manager to end a sim with IM running.
Title: Re: Of Many Celebrations! IM is working!
Post by: Testlund on March 04, 2014, 07:21:50 PM
Anyone having connectivity issues or is noone connecting to the server? Just noticed there were 75000 bots in cache...

Yes, I got that "invalid literal" error again and didn't get any more bots for many hours. Then all bots died out so I quit.
Title: Re: Of Many Celebrations! IM is working!
Post by: Botsareus on March 05, 2014, 11:07:18 AM
God dam it, I can not do anything about "out of memory" RAM is RAM...

Just out of curiosity, how much bots where in the sim before it crashed?
Title: Re: Of Many Celebrations! IM is working!
Post by: Botsareus on March 05, 2014, 12:26:09 PM
I am getting both errors described above, but what is strange is it is happening both with the 32bit and the 64bit versions now.
Title: Re: Of Many Celebrations! IM is working!
Post by: Peter on March 05, 2014, 12:39:52 PM
God dam it, I can not do anything about "out of memory" RAM is RAM...

Just out of curiosity, how much bots where in the sim before it crashed?
Dunno, I guess 5k or anything higher. On that note I got a sim where alga chloroplastus exploded in numbers towards 8500, soo..

I restarted the server. May be something occurred that broke it, (yet it seemed to work properly for my sims :x ).

edit: what's the memory limit in db2? 2gb or less?
Title: Re: Of Many Celebrations! IM is working!
Post by: Botsareus on March 10, 2014, 09:53:49 PM
According to my research there is no memory limit in vb6, other then the system limit of your computer. If there is a serious memory leak I should have tracked it by now as my computers are not top of the line. I did a mini test of the 32bit InternetMode recently, it did not work, but maybe no one was online. I am doing another test between my tower and laptop on Tuesday of spring break. Expect results.
Title: Re: Of Many Celebrations! IM is working!
Post by: Numsgil on March 11, 2014, 02:14:39 AM
Well, it is 32 bit so you're not going to get more than ~4GB or so.  That's a hard limit from the OS and, you know, numbers :).  I think there's also a 2GB limit on a single allocation (specifically, arrays).
Title: Re: Of Many Celebrations! IM is working!
Post by: Botsareus on March 11, 2014, 12:35:50 PM
Yea, I tried to dimension a very big integer array for the similarity search algorithm, it was ugly. Thanks for the knowledge Numsgil, I had no idea there was such limits.