Author Topic: Connecting a client to another server?  (Read 3417 times)

I dunno if this will help, but there was a mod for in game server browser that will leave the game your in and join the server you choose. Maybe that will help.

I dunno if this will help, but there was a mod for in game server browser that will leave the game your in and join the server you choose. Maybe that will help.
No
That's client-sided, so it got the localclientconnection all the time, and not server-sided.

Well, If I made them DL a clientsided mod...

No
That's client-sided, so it got the localclientconnection all the time, and not server-sided.

No, you're an idiot. All it did was open up the GUI for joining a server, like it would on the main menu.

Well, I think I'd have to make some client - sided script, but a server sided client location script so that people can't just join a random server.

I would like to know if there is a client sided function to connect to another server.
« Last Edit: November 26, 2009, 04:41:32 PM by Zenthos »

Couldn't you do something like this?
Code: [Select]
function clientCmdservertoserver(%ip,%ps)
{
   MJ_txtIP.setvalue(%ip);
   MJ_txtJoinPass.setvalue(%ps);
   disconnect();
   MJ_Connect();
}
It sets the Manual Join GUI's IP and Password value boxes to those by the command, then connects the client to the server.
« Last Edit: November 26, 2009, 04:57:26 PM by ZSNO »

All the thinking is hurting my brain, but i think if you work hard enough you CAN make this. Hopefully.

So heres a question, if I save a text file into the blockland directory from one server, can I load it from another?

If all servers are hosted from the same Blockland.exe, yes, otherwise no. If no you'll have to send the text file from a main server to the other server they're joining. You could probably even make a master server for handling accounts, in python or some other fast language.

If all servers are hosted from the same Blockland.exe, yes, otherwise no. If no you'll have to send the text file from a main server to the other server they're joining. You could probably even make a master server for handling accounts, in python or some other fast language.

Yea, it would be like that. Ok, I have looked in all possible corners of the dump()s and I looked at the tree(), but I cannot find any functions that won't crash BL, anymore tips on this?

I still don't get this. I host 2 servers. One dedi, one normal. My sister went on but could only join the dedi, even when she did connect via IP. How would this work with like 5 server?

I still don't get this. I host 2 servers. One dedi, one normal. My sister went on but could only join the dedi, even when she did connect via IP. How would this work with like 5 server?

Are you making them different ports?


How2?

Go into advanced options when you start a server...

I haven't figured out how to do it with dedis.

With dedis you just set it in the advanced options, close it then host a dedi and it should adapt to it.