Code center > Bugs and fixes

Peter, will Hybrid IM work with your IM?

<< < (2/8) > >>

Peter:
As discussed in pm. I'll add it to 'PeterIM', but I'm still wondering about the reasoning behind it. For instances that share any kind of file system. May be the same hdd, or a network drive you can just use the default teleporters(if I'm not mistaken)

Botsareus:
Probably so.

But what if you have 10 local simulations running?

You can potentially put 20 portals on the screen, but,  most people will take shortcuts:

Now you end up running local IM and a Ukraine (buffer) simulation that teleports robots (using teleporters) between the local IM and the PeterIM. But what general conditions should the buffer simulation have?

Peter:

--- Quote from: Botsareus on March 15, 2014, 10:24:30 AM ---Probably so.

But what if you have 10 local simulations running?

You can potentially put 20 portals on the screen, but,  most people will take shortcuts:
--- End quote ---
You want to transit from each sim to each other sim?
Easiest way, you add a inbound/outbound teleporter in each sim, each one pointed to the same directory. Would give the same effect as putting bots from /out into /in, would it not?

You could also run a instance of the 'PeterIMServer' at one computer, and connect the clients through that IP.


--- Quote from: Botsareus on March 15, 2014, 10:24:30 AM ---Now you end up running local IM and a Ukraine (buffer) simulation that teleports robots (using teleporters) between the local IM and the PeterIM. But what general conditions should the buffer simulation have?

--- End quote ---
:huh:

Just to make some stuff clear. How should the IM function work according to you? I had the idea that every client should be treated like it's completely separate(upper diagram). Each db instance got a own directory with their own in and out folders.
(in case sims got the same username they don't get bots from each other)

You want one client/computer, one out folder, one in folder and transmitting bots from out to in to transmit bots on the same computer, is that correct? (lower diagram)

Botsareus:

--- Quote --- I had the idea that every client should be treated like it's completely separate(upper diagram). Each db instance got a own directory with their own in and out folders.
(in case sims got the same username they don't get bots from each other)
--- End quote ---

So you can have more then one instance of PeterIM running on one computer and it should not whine? That's cool.


--- Quote ---Easiest way, you add a inbound/outbound teleporter in each sim, each one pointed to the same directory. Would give the same effect as putting bots from /out into /in, would it not?
--- End quote ---

Damn, why did I not think of that? Good point.


--- Quote ---
1.) Also, if you are going to add this, it will not hurt to make sure that only one instance of PeterIM opens. That way every time the user clicks another IM button in another simulation a new PeterIM window will not open and potentially bunk the server.

2.) I think we can also agree that if n is equal to 1 no connection to the server is necessary.
--- End quote ---

edit: Completely ignore both points and the idea I had with that 'n' variable. Your reasoning is clear. I am  simplifying putting back old code.



--- Quote ---Easiest way, you add a inbound/outbound teleporter in each sim, each one pointed to the same directory. Would give the same effect as putting bots from /out into /in, would it not?
--- End quote ---

I guess the clients have to configure teleporters for each sim. A little annoying but not a big deal.

Botsareus:
Here is the readme file that will be shipped with 'LocalIM' from now on  :P

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version