project-navigation
Personal tools

Author Topic: Multiplayer  (Read 2889 times)

Offline LeSanglier

  • Rookie
  • ***
  • Posts: 35
    • View Profile
Multiplayer
« on: April 08, 2007, 07:41:01 pm »
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.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Multiplayer
« Reply #1 on: April 08, 2007, 09:50:59 pm »
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>

Offline LeSanglier

  • Rookie
  • ***
  • Posts: 35
    • View Profile
Multiplayer
« Reply #2 on: April 09, 2007, 10:35:48 am »
Hello  !

This is my command for  the server :

Code: [Select]

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
)


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

Code: [Select]

====== 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$  


Very strange !!

LeSanglier.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Multiplayer
« Reply #3 on: April 09, 2007, 11:58:12 am »
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.

Offline LeSanglier

  • Rookie
  • ***
  • Posts: 35
    • View Profile
Multiplayer
« Reply #4 on: April 09, 2007, 03:26:17 pm »
I use this command :
Code: [Select]
./ufo +set  ip_hostport 27900


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

Code: [Select]

Starting the game...
No game loaded.
No game loaded.