Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How can i play with my friend?

#1
A simply question. I want to setup a multiplayer server where my only friend can join it... I trued with "create" from the game but he wasn't been able to find my server..
Ah, i have a mac and he a pc windows 8
Reply

#2
It's easier if you host through the windows pc.
There are three ways to do this:

ADHOC:

First step is to make an ADhoc network from the windows pc.. assign an ssid and a password and connect to the network as you would normally (this works with wireless).

Next step is to create a server normally ingame, and have the other player connect to your computers adhoc ip adress (do "ipconfig" in your command line to figure this out), afterwards type the following in the ingame console: connect 'adress from ipconfig'


INTERNET:

If you want to host a game this way first you must make sure that you have access to the port forwarding option on your router, if you want to know how to do this you should search online as it's different depending on your router model... The default xonotic port is 26000 so you have to make sure this is the correct port that is open

Next step is to open a gameserver and have your player connect either through the server list (not sure if this works) or search for "my ip" on google and have him type "connect 'your ip'" in his console

HAMACHI:

This is the last way I know of that you can get a game going, first you will need to download "hamachi", use google for this..

After you've downloaded/installed the application on BOTH computers, have one of you create a hamchi network, set a password and send the other player the details so he can connect.

Finally on your network screen you will have an ip address showing below your network name, send this over to the other player and have him type "connect 'hamachi ip'" in his console.


I apologize in advance if I've made any mistakes.


All of this assumes you are NOT on the same network, if you are you simply need to:

-find your local ip address (ipconfig in terminal)

-have player "connect 192.168.0.xxx"
[Image: 12766.png]
Sucks at weapons
Reply

#3
There's some important information you've left out. Is your friend in a remote location or are you in the same place? Using "create" is only meant to work if you are connected to the same local network.
Reply

#4
Thanks a lot! And thanks mr bougo too!
The only thing that i haven t understand is that,
I give the ip to my friend, and he must open the terminal qnd type connect "ip" on the computer terminal. And if he type it the computer automatically open xonotic? And how can i set the configuration game like weapons etc..?

I mean in hamachi
Reply

#5
If you could provide information of whether you're both in the same local network or not, this would be very helpful :o)

If you ARE on the same local network, you just need to do the following:

1. determine the local IP address of the PC that will host the game
2. start Xonotic on both machines
3. use the "create" function in the multiplayer window to create a server and set everything up there as you like (game mode, bots, map...). The "Create" tab in the multiplayer window offers all sorts of configuration options, it's really easy.
4. after the server has been created (meaning the hosting PC is connected to the game, you're in the selected map), open the console on the other PC (<shift><ESC> does that) and type "connect 192.168.1.2" - of course replace "192.168.1.2" with the local ip of the PC that hosts the game.

If you are NOT on the same local network, you can establish a tunnel between your friend's PC and your PC using a software like hamachi, but it should also work if you configure port forwarding on both ends' routers.
My Xonstats Profile
Latest track on soundcloud: Farewell - to a better Place (piano improvisation)
New to Xonotic? Check out the Newbie Corner!

Reply

#6
im not in the same local network, and i want to play with hamachi as tunnel.
Reply

#7
Ok, thanks.

I have no experience with Hamachi, but usually a tunnel would set up a virtual network device on both sides that gets its own IP address. So after setting up Hamachi, you should have an additional network device that has its own dedicated IP address. The process after setting up Hamachi should be just as I described for local networks, as the purpose of a tunnel is to simulate a local network.

So you follow kammy's instructions on how to set up Hamachi. Then, when you get displayed your IP of the Hamachi network you created, you follow my instructions above. For example, if your Hamachi IP is "192.168.1.2", then you

1. Start Xonotic
2. create a server with the "create" tab and configure it to your needs and enter the game with your host
3. tell your friend to start up Xonotic
4. tell your friend to open Xonotic console by pressing <shift> <ESC>
5. tell your friend to type "connect 192.168.1.2" into console and hit return (without the " of course, and replace the IP address with your host's one)

I hope this works out for you!
My Xonstats Profile
Latest track on soundcloud: Farewell - to a better Place (piano improvisation)
New to Xonotic? Check out the Newbie Corner!

Reply

#8
Thaaaaanksss later i try
Reply

#9
If you are on the same network (or even perhaps Hamachi, which simulates such a setup), you don't even need to know about IPs. LAN servers show up in the server list.

EDIT: Also, the IP address can also be typed in the server list, there's a field at the bottom. You can type it in there and press enter instead of opening the xonotic terminal if you prefer.
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  I can't see my listen server on server list fnmain 1 704 10-07-2023, 07:28 AM
Last Post: Grimnack
  Unjust ban on the only active DM server, what can be done? nj 30 10,985 08-02-2022, 07:04 AM
Last Post: nj
  Lost server key, can't hold new key FlufyBuny 0 2,190 09-09-2021, 07:05 PM
Last Post: FlufyBuny
  My friends can't see me on the network.[Xonotic] zoroglur 1 2,173 10-27-2020, 01:41 PM
Last Post: BuddyFriendGuy
  [SOLVED] I can't create my server. Kotangens 10 5,878 07-22-2020, 04:42 AM
Last Post: Kotangens
  [NEED HELP] Server show on the browser list, but I can't connect! Professor 1 4,392 12-19-2018, 11:39 AM
Last Post: Professor
  [MoFo] Foul Play [Overkill Mod] North America end user 4 4,738 11-09-2015, 03:12 PM
Last Post: end user
  How can I get AES encryption working? Espionage724 9 7,318 11-02-2015, 03:44 PM
Last Post: BuddyFriendGuy
  How can I change the Weapon Damage? kidx 24 19,468 07-04-2012, 04:59 AM
Last Post: Mr. Bougo
  [SOLVED] How can I changethe lock file location? nonenone 2 4,186 04-12-2012, 06:39 AM
Last Post: nonenone

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-