.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Common Questions (http://forums.bots-united.com/forumdisplay.php?f=51)
-   -   How to make shortcat? ..to launch CS with PODbots without use ingame menu (http://forums.bots-united.com/showthread.php?t=6922)

PopovN 04-09-2008 11:22

How to make shortcat? ..to launch CS with PODbots without use ingame menu
 
Hi
I usually start CS then make "usual" things:
"Start game on LAN"
set-up maximum of players
choose a map
and wait about 2-3 rounds wile bots are fill the server then i can play.

What i must to type in command line to make these thing automatically?

I know what i can use console commands in it
for example : "+map de_dust" after "-game cstrike" launched game and i can "run" on map .. Bat alone (without bots )

==
Sorry for "pidging English"

KWo 04-09-2008 12:43

Re: How to make shortcat? ..to launch CS with PODbots without use ingame menu
 
The bots are coming to the server if there is few conditions fulfilled:
1. They are correctly installed.
2. For the particular map You want the bots for - there is a file with waypoints (mapname.pwf) in addons\podbot\wptdefault folder.
3. There are some lines like "pb add" or one line "pb fillserver" in podbot.cfg.

If ALL those conditions are OK, after time expired pb_mapstartbotdelay setting in podbot.cfg the bots are coming to the server. So if You want them to come after 10 minutes just change the setting in podbot.cfg pb_mapstartbotdelay to 600 (that's in seconds).

All above is true in the case You ARE NOT using pb_bot_quota_match (I mean it is 0). If You are using it and You want to have some bots on the server after expiring pb_mapstartbotdelay time, instead those lines pb add You should increase the pb_minbots setting to the value You wish to have amount of bots on the server.

As You can see - everything above is related to settings in podbot.cfg. It has nothing to do with the shortcut to the game.

PopovN 04-09-2008 13:14

Re: How to make shortcat? ..to launch CS with PODbots without use ingame menu
 
Oh ..
thank you for you rapidly answer..

may be i didnt explayn what i want :((

for all 3 contitions my answer is "YES"

bat i have 2 situations:
1) i start cs manually and only choose map and maximum players on it and nothing more - and all is OK - bots are "connected" and i can play

2) i add "+map de_dust" in command line and have map de_dust (whithout shoosing anything in GUI menu) bat without "connecting" any bots :( and command podbotmenu also does not work in console

podbot.cfg in both situations is same...

KWo 04-09-2008 14:24

Re: How to make shortcat? ..to launch CS with PODbots without use ingame menu
 
I think in the other situation You are starting the dedicated server (in that case You are not playing on this PC, but the clients - and also You - are connecting to that PC from another PC). In that case it's not enough to have everything in ...\counter-strike\cstrike\addons folder. You need to have everything like that also in ...\dedicated server\cstrike\addons folder. And also the file ...\dedicated server\cstrike\liblist.gam should be the same like ...\counter-strike\cstrike\liblist.gam

The Storm 04-09-2008 14:45

Re: How to make shortcat? ..to launch CS with PODbots without use ingame menu
 
Actually no. :)
The case here is that the +map argument that he is using to start listen server actually starts single player game(he even don't have weapons). It is the same as to launch CS in the menu, bring down the console and enter "map de_dust2" it will launch single player game (as the training in the old CS 1.0). There is no way to launch correct Listen server in this way as I know so far...

PopovN 04-09-2008 15:01

Re: How to make shortcat? ..to launch CS with PODbots without use ingame menu
 
Quote:

Originally Posted by The Storm (Post 58995)
Actually no. :)
...
(he even don't have weapons)...

yes .. you are right ... i fogot about weapon :-]


Quote:

as I know so far
bat metamod is started may be i can bring any comand to him to "start" podbot? (throught console-command line?)

Quote:

I think in the other situation You are starting the dedicated server
No .. I use same instance of CS ... and wanna play with podbots only - not any anover PC
The Storm fully discribe my situation

The Storm 05-09-2008 08:11

Re: How to make shortcat? ..to launch CS with PODbots without use ingame menu
 
Quote:

Originally Posted by PopovN
bat metamod is started may be i can bring any comand to him to "start" podbot? (throught console-command line?)

Metamod is started, PB may also be loaded but the method that HL fakeclients(bots) use to join the game is via fake connect and sinse on single player there is no any connection API's active there is no way and on the other side how you will play without weapons. :P

KWo 05-09-2008 09:07

Re: How to make shortcat? ..to launch CS with PODbots without use ingame menu
 
knife arena?

The Storm 05-09-2008 16:35

Re: How to make shortcat? ..to launch CS with PODbots without use ingame menu
 
Quote:

Originally Posted by KWo (Post 58998)
knife arena?

Go to the CS menu, don't start game, just bring down the console directly and type "map de_dust2" for example and you will see what we meant. :)

PopovN 05-09-2008 17:07

Solved
 
1 Attachment(s)
HI
im surprized, bat problem is out :))
sorry and thanks for your time...

Now i can launch shortcat from desktop of "windows" and play on random map with podbots only... without seen any menu or choose any parameters..

What was:
I had old podbots (ver 2.5) and not last metamod :sleep1:
also i rewrite my cs.bat for start game.
now its look like:
Code:

@copy cstrike\qconsole.hystory+cstrike\qconsole.log cstrike\qconsole.hystory
RNDMIX.EXE cstrike\mapcycle.txt NextMap.txt
@set /p map= < NextMap.txt
HL.exe -newdat -nointro -console -dev -nocdaudio -condebug -noipx -numericping -heapsize 393216 -game cstrike +maxplayers 25 +map %map%

(if dont work - try to go offline in OS)
RNDMIX.EXE - its tool for choose random map and make random list of map on "listenserver"

Bat also i dont understand which version of CS i have - configuration files say what 1.5 - bat they may be didnt rewrited when i reinstalled 1.6

Also ill try to attach my cs.bat and rndmix - may be it will good for anybody who wanna rapidly start of listenserver with podbot on random map. Put them in half-life folder.

Remove last ".zip"


All times are GMT +2. The time now is 12:15.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.