Technical support > Feature Requests

Multiplayer

(1/1)

LeSanglier:
Hello !

I play with the 2.1 release under Kubuntu.
I run the server with this : ~/ufoai$ ./ufoded
I build my team.
But I can not connect to my server : 127.0.0.1
I refresh my server list withou success.
What is the problem ?

Thanks in advance !

LeSanglier.

Mattn:
you have to start a map first

type maplist to the server console to get a list of all installed maps

and start a map by typing: map <mapname>

LeSanglier:
Hello  !

This is my command for  the server :


--- Code: ---
map village07n
------- Loading game.so -------
LoadLibrary failed (/home/samuel/.ufoai/base/game.so)
/home/samuel/.ufoai/base/game.so: cannot open shared object file: No such file or directory
LoadLibrary (./base/game.so)
==== InitGame ====
Master server at 195.136.48.62:27900 - sending a ping
------- Server Initialization -------
AI deactivated - set sv_ai cvar to 1 to activate it
Could not create civilian
No alien spawn points in this map or aliens are deactivated for multiplayer
(sv_maxclients 2, ai_numactors: 0, alien spawnpoints: 0)
-------------------------------------
Sending heartbeat to 195.136.48.62:27900 (\gametype\1on1\hostname\noname\sv_enablemorale\1\maxsoldiers\8\maxsoldiersperplayer\8\dedicated\1\ver\2.1\sys_os\linux\timelimit\0\cheats\0\protocol\3\maxclients\2\sv_teamplay\0\gamename\baseufo\gamedate\Apr  1 2007\maxplayers\8\maxspectators\8\sv_maxteams\2\needpass\0\mapname\village07n
)

--- End code ---


When I click on [Multiplayer], the game shutdowns :


--- Code: ---
====== UFO Initialized ======

ERROR: UDP_OpenSocket: bind: Adresse d?j? utilis?e
Save user settings to /home/samuel/.ufoai/base/config.cfg
SDL audio device shut down.
recursive shutdown
Error: Couldn't allocate server IP port (27910) - use cvar ip_hostport
Erreur de segmentation
samuel@station99:~/ufoai$  

--- End code ---


Very strange !!

LeSanglier.

Mattn:
you won't be able to bind the same port twice

use the cvar ip_hostport - or start a listen server from the menu - you don't have to start a dedicated server if you just want to play some fast multiplayer rounds.

LeSanglier:
I use this command :

--- Code: ---./ufo +set  ip_hostport 27900

--- End code ---


But when I connect to this server, I got an other problem !! On my console, there is :


--- Code: ---
Starting the game...
No game loaded.
No game loaded.

--- End code ---

Navigation

[0] Message Index

Go to full version