fte-team / fteqw

This is the official GitHub mirror for the FTEQW project.
https://www.fteqw.org/
173 stars 53 forks source link

Bots on FTEQW Dedicated Server #274

Open GonzalezAtWork opened 1 month ago

GonzalezAtWork commented 1 month ago

Hello guys,

Is it possible to add Bots on FTEQW Dedicated Server?

In special, on Quake2 using the mod Action?

eukara commented 1 month ago

I put up a test server hosting Action Quake II on FTEQW. I added a few bots to it (sv addbot in console) It should be listed on the master server (as "idtech.space action quake 2"). Or alternatively via this command: /connect idtech.space:27911

Source code to the game logic is here: https://code.idtech.space/eukara/quake2-action

GonzalezAtWork commented 1 month ago

I put up a test server hosting Action Quake II on FTEQW. I added a few bots to it (sv addbot in console) It should be listed on the master server (as "idtech.space action quake 2"). Or alternatively via this command: /connect idtech.space:27911

Source code to the game logic is here: https://code.idtech.space/eukara/quake2-action

nice work! unfortunely your server does not work with the wasm/web engine, but it will help me a lot :)

THANKS!

GonzalezAtWork commented 1 month ago

I put up a test server hosting Action Quake II on FTEQW. I added a few bots to it (sv addbot in console) It should be listed on the master server (as "idtech.space action quake 2"). Or alternatively via this command: /connect idtech.space:27911

Source code to the game logic is here: https://code.idtech.space/eukara/quake2-action

can you share the TFE server configurations that you put up there?

Xylemon commented 1 month ago

I put up a test server hosting Action Quake II on FTEQW. I added a few bots to it (sv addbot in console) It should be listed on the master server (as "idtech.space action quake 2"). Or alternatively via this command: /connect idtech.space:27911 Source code to the game logic is here: https://code.idtech.space/eukara/quake2-action

can you share the TFE server configurations that you put up there?

Here is a copy of the current server and bot configs we use on Frag-Net for Quake II:

Quake II server.cfg:

set protocol 36
maxclients 8 
map q2dm1
fraglimit 30
timelimit 10
set hostname "idtech.space quake 2"
set sv_public 1
set sv_dlurl "http://fastdl.idtech.space/~quake2/" s
set sv_downloadserver "http://fastdl.idtech.space/~quake2" s
set rcon_password REDACTED

Action Quake II server.cfg:

set protocol 36
maxclients 32
set deathmatch 1
set teamplay 0 
set dmflags 280
map other 
set ltk_skill 5
set hostname "idtech.space action quake 2"
set sv_public 1
set sv_dlurl "http://fastdl.idtech.space/~quake2/" s
set sv_downloadserver "http://fastdl.idtech.space/~quake2" s
set rcon_password REDACTED

Action Quake II bots/botdata.cfg:

!1
#----------------------------------------#
# Name, Skin, Team, Weapon, Item, Gender #
#----------------------------------------#
"Leela","terror/urbanterr",1,0,0,F
"Durandal","terror/urbanterr",1,0,0,M
#"Tycho","terror/urbanterr",1,0,0,M
#"Thoth","terror/urbanterr",1,0,0,N
#"Traxus","terror/urbanterr",1,0,0,M

Hope this helps.

GonzalezAtWork commented 1 month ago

no success on trying to run action on the FTE here... please, which versions are you running of the TFE and on Quake2 and on Action?

GonzalezAtWork commented 1 month ago

any chance of you adding on your server, so I can test wasm connection to it?

sv_port_tcp 27910