FTE - setup and deploy a dedicated server
Posted: Mon Dec 15, 2014 3:14 pm
Not pretty sure If I should post it here but, as long it's not about programming, but setup...
I'm making a multiplayer commercial game with FTE and I need to test my csqc code with many players simultaneously on my local machine (Windows 7 64 bit with FTE version 4801) so I tried informations about how to start a dedicated server for FTE but with no luck everywhere.
************ FIRST ATTEMPT - SCRATCH GAME *****************
I created a simple manifest file with:
But if I launch fteqwsv.exe, it searches in "C:\Users\myuser\Documents/My Games/FTE QuakeWorld/" instead of my game directory, which is "e:/game/fte/ftesimple/". So it basically ignores .fmf manifest and it doesn't stay in home folder, using .cfgs and stuff from Documents folder(which are related to FTE QuakeWorld, not to my scratch FTE game).
I'm pretty sure that it ignores my fmf manifest file because I wrotebut Game is not defined anywhere in the engine. I should add it to the gamemode_info[] array in fs.c, but since I cannot compile FTE on Windows (neither Visual Studio nor MinGW) it seems an impossible task
************ SECOND ATTEMPT - QUAKE GAME WITH BATCH FILE *****************
Instead of launching a dedicated server with a custom game from scratch, I tried to launch a fte dedicated server with normal quake dir.
So I launched a batch file with:
But server console says:
Then I launched fteglqw.exe and I issued the command
But the screen is waiting forever to connect with the message "Connecting to 127.0.0.1"
************ THIRD ATTEMPT - QUAKE GAME WITHOUT BATCH FILE *****************
I then launched fteqwsv.exe directly (without .bat file). Server console says again:
I launched fteglqw.exe and I issued the command
Client connects but the lan icon appears on the top left. The connection is super-laggy and server console outputs:
If I launch another instance of fteglqw.exe with command
client says:
After few seconds, client connects to server, but, obviously, server disconnects foo player. With server console saying:
There's a detailed documentation on how to start a dedicated server (locally for start) for FTE, even for games made from scratch?
Thanks in advance, this is a vital step for my game development, so any help will be REALLY appreciated!
I'm making a multiplayer commercial game with FTE and I need to test my csqc code with many players simultaneously on my local machine (Windows 7 64 bit with FTE version 4801) so I tried informations about how to start a dedicated server for FTE but with no luck everywhere.
************ FIRST ATTEMPT - SCRATCH GAME *****************
I created a simple manifest file with:
Code: Select all
game Game
name "FTE Simple"
basegame data
disablehomedir 1I'm pretty sure that it ignores my fmf manifest file because I wrote
Code: Select all
game Game************ SECOND ATTEMPT - QUAKE GAME WITH BATCH FILE *****************
Instead of launching a dedicated server with a custom game from scratch, I tried to launch a fte dedicated server with normal quake dir.
So I launched a batch file with:
Code: Select all
fteqwsv.exe +map e1m1 -dedicated 8 -ip 127.0.0.1Code: Select all
======== Quake Initialized ========
Unrecognised model format 0x50534449 (IDSP)
Unrecognised model format 0x50534449 (IDSP)
Unable to load progs/s_bubble.spr
Unable to load progs/s_explod.spr
Code: Select all
connect 127.0.0.1************ THIRD ATTEMPT - QUAKE GAME WITHOUT BATCH FILE *****************
I then launched fteqwsv.exe directly (without .bat file). Server console says again:
Code: Select all
======== Quake Initialized ========
Loaded progs progs.dat
Server spawned.
Unrecognised model format 0x50534449 (IDSP)
Unrecognised model format 0x50534449 (IDSP)
Unable to load progs/s_bubble.spr
Unable to load progs/s_explod.spr
]Code: Select all
name foo
connect 127.0.0.1Code: Select all
SZ_GetSpace: overflow (32760+9 bytes of 32768)
WARNING: datagram overflowed for foo
SZ_GetSpace: overflow (32766+9 bytes of 32768)
SZ_GetSpace: overflow (32760+9 bytes of 32768)
WARNING: datagram overflowed for foo
SZ_GetSpace: overflow (32760+9 bytes of 32768)
SZ_GetSpace: overflow (32760+9 bytes of 32768)
WARNING: datagram overflowed for foo
SZ_GetSpace: overflow (32764+9 bytes of 32768)
WARNING: datagram overflowed for foo
SZ_GetSpace: overflow (32760+9 bytes of 32768)
WARNING: datagram overflowed for foo
SZ_GetSpace: overflow (32760+9 bytes of 32768)Code: Select all
name bar
connect 127.0.0.1Code: Select all
Server is full (1 of 1 players)Code: Select all
WARNING: datagram overflowed for foo
start:127.0.0.1:58961:reconnect
foo left the game with 0 frags
Client "foo" removed
client bar connected
bar entered the game
SZ_GetSpace: overflow (32764+9 bytes of 32768)
WARNING: datagram overflowed for bar
SZ_GetSpace: overflow (32763+9 bytes of 32768)
WARNING: datagram overflowed for bar
Thanks in advance, this is a vital step for my game development, so any help will be REALLY appreciated!