Code center > Bugs and fixes

Peter, will Hybrid IM work with your IM?

<< < (7/8) > >>

Peter:
Yes, I did.

Peter:
~Server now offline~ and it's back and gone.

Botsareus:
I have reconsidered and will probably post IM and ZBevo as revision release after the 2.47.02 package drop. I am considering getting mikenet and writing my own IM algorithm, as I see no progress on IM currently. But why should I if Peter wrote fully functional IM that works like a dream? I have been reading trough Peters code and trying to understand the algorithm for transferring robots. I am considering making one client that simply uploads a robot every 100ms and another client that simply listens for robots. Peter is doing something more advanced I realize but can not really figure it out. Is it upload and download up to 25 robots on every update? Not sure.

Another issue is the politics at darwinbots.com If I do indeed get a working IM what are the chances Shasta will review it over Peters? I am a complete newb when it comes to designing stuff to do with packet transfer. Lately, it feels like every time we need Shastas help he simply visits the forum for aprox. 5 minutes an leaves. Thank god at least he is keeping the website online minus the irc channel. I wonder if anyone uses our irc anymore.

This issues are upcoming, but why does everything have to be last minute? I should be done with whatever I am doing right now (yes, I realize it is a little top secret, but there are personal reasons behind that, like making my 10 years of work on this project worth while) So, there you go. Pretty much said everything I wanted to say at the given point in time. More later, league results soonish. Bots.

Peter:

--- Quote from: Botsareus on May 06, 2014, 04:42:45 PM ---I have reconsidered and will probably post IM and ZBevo as revision release after the 2.47.02 package drop. I am considering getting mikenet and writing my own IM algorithm, as I see no progress on IM currently. But why should I if Peter wrote fully functional IM that works like a dream? I have been reading trough Peters code and trying to understand the algorithm for transferring robots. I am considering making one client that simply uploads a robot every 100ms and another client that simply listens for robots. Peter is doing something more advanced I realize but can not really figure it out. Is it upload and download up to 25 robots on every update? Not sure.
--- End quote ---
25 is the arbitrary limit on bots that are in the '/in' folder.

The basis is simple.

Client sends a request.
In that request, it signals if it's going to send a bot, wants to receive a bot or both. If sending it also sends how big the file is, so the server knows how much data it can expect.
If the client wants to receive a bot. The server sends a few bytes to state how big it is and then x bytes for the bot self.
That's done within a socket connection, using compressed files and code so it knows when to send/receive bots and where to save it.
A client just saving a bot/just sending bots ought not to be too hard. May fetch you a example when I have the time.

Not using irc, most times I was on irc noone was there.

Botsareus:
I think we just use PeterIM because it works!

What about file management on the server side? Does the server delete a robot after it transferred it to a random client? Does it transfer one robot to a random client at a time? etc.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version