News: 1up Discord VOIP
Invite Code: https://discord.gg/VPv9JhP

Author Topic: Server Bot help  (Read 4176 times)

0 Members and 1 Guest are viewing this topic.

Offline UnknownKilla

  • Posts: 96
  • Karma: -2
  • BEWARE. IM A TRUE NINJA....
  • Since: 10/04/2009
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Server Bot help
« on: March 29, 2011, 03:31:54 PM »
hey, me and my friends play UrT at school. but i want to add bots to the server. i made a bot.cfg and had it as:

addbot Puma 4 Blue 89 =lvl4=Puma

it was that to test it but it said "unknown command"

i nevered used bots in my past servers so help is appreciated
UnknownKilla is my name, a silent ninja is my game...


^^^^^^^^^^^^^^^^
dj_laidas made this!


Offline AuXAuV

  • Posts: 524
  • Karma: 101
  • "Power corrupts the best"- Mikhail Bakunin
  • Since: 16/08/2010
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: Server Bot help
« Reply #1 on: March 29, 2011, 03:40:51 PM »
I have 2 .cfgs, one for setup, one for adding bots.

Code: [Select]
bot_enable 1
reload

Code: [Select]
addbot Puma 4 Red 0 Name
wait 10
addbot Tiger 4 Blue 1000 Name2
wait 10
addbot Raven 4 Blue 1500 Name3

Now, you get an unknown command... Sounds like your cfg says /addbot rather than addbot.
CFG files interpret each line as a comman, so adding the / makes it interpret as a /, not a command.

Offline UnknownKilla

  • Posts: 96
  • Karma: -2
  • BEWARE. IM A TRUE NINJA....
  • Since: 10/04/2009
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: Server Bot help
« Reply #2 on: March 29, 2011, 03:49:45 PM »
i know. thats why im baffled. my server cfg has set enable_bot 1 then a different cfg should add them
UnknownKilla is my name, a silent ninja is my game...


^^^^^^^^^^^^^^^^
dj_laidas made this!


Offline AuXAuV

  • Posts: 524
  • Karma: 101
  • "Power corrupts the best"- Mikhail Bakunin
  • Since: 16/08/2010
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: Server Bot help
« Reply #3 on: March 29, 2011, 03:53:55 PM »
bot_enable 1

I think I see what your problem is.

set enable_bot 1

Offline UnknownKilla

  • Posts: 96
  • Karma: -2
  • BEWARE. IM A TRUE NINJA....
  • Since: 10/04/2009
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: Server Bot help
« Reply #4 on: March 29, 2011, 03:56:53 PM »
mkay. ill try that when i can then.
UnknownKilla is my name, a silent ninja is my game...


^^^^^^^^^^^^^^^^
dj_laidas made this!


Offline UnknownKilla

  • Posts: 96
  • Karma: -2
  • BEWARE. IM A TRUE NINJA....
  • Since: 10/04/2009
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: Server Bot help
« Reply #5 on: March 29, 2011, 07:36:21 PM »
server.cfg:

//***Bots***
bot_enable 1
reload

bots_level_4.cfg:
//***AddBots***
addbot Puma 4 Red 0 =lvl4=Puma
wait 10
addbot Tiger 4 Blue 1000 =lvl4=Tiger
wait 10
addbot Raven 4 Blue 1500 =lvl4=Raven
wait 10
addbot Corbra 4 Blue 2000 =lvl4=Cobra


autoexec.cfg:

exec server.cfg
exec bots_Level_4.cfg

unknown command "reload"
unknown command "addbot"

didn't work
UnknownKilla is my name, a silent ninja is my game...


^^^^^^^^^^^^^^^^
dj_laidas made this!


Offline Term

  • Posts: 708
  • Karma: 24
  • Since: 12/10/2010
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
    • Youtube's channel
Re: Server Bot help
« Reply #6 on: March 29, 2011, 11:29:36 PM »

Offline UnknownKilla

  • Posts: 96
  • Karma: -2
  • BEWARE. IM A TRUE NINJA....
  • Since: 10/04/2009
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: Server Bot help
« Reply #7 on: March 30, 2011, 12:17:39 AM »
actually term, that site is what gave me the problems in he first place. lol. thanks for trying though
UnknownKilla is my name, a silent ninja is my game...


^^^^^^^^^^^^^^^^
dj_laidas made this!


Offline AuXAuV

  • Posts: 524
  • Karma: 101
  • "Power corrupts the best"- Mikhail Bakunin
  • Since: 16/08/2010
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: Server Bot help
« Reply #8 on: March 30, 2011, 01:52:52 AM »
I see, you put it in your auto exec.

You see, when you try to reload or addbots while in the menu, it doesn't work.
Simply start up the server, bot_enable should be 1 with your autoexec,
and then either through the console (LAN/WAN) or in your in-game console(non dedicated)
then exec the addbots.

And Term, the site is spreading lies/misinformation:
Quote
/addbot <type> <level> <team> <ping> <server nick>

It's not ping, IT'S MS DELAY BETWEEN CONNECTING AND JOINING THE BATTLE.

Offline UnknownKilla

  • Posts: 96
  • Karma: -2
  • BEWARE. IM A TRUE NINJA....
  • Since: 10/04/2009
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: Server Bot help
« Reply #9 on: March 30, 2011, 01:31:34 PM »
the server says "unknown command "addbot"."
UnknownKilla is my name, a silent ninja is my game...


^^^^^^^^^^^^^^^^
dj_laidas made this!


Offline AuXAuV

  • Posts: 524
  • Karma: 101
  • "Power corrupts the best"- Mikhail Bakunin
  • Since: 16/08/2010
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: Server Bot help
« Reply #10 on: March 30, 2011, 02:52:23 PM »
Okay, are you using dedicated or not?
How are you sending commands?

Is it just the default client you get from the UrT site, or did you download a custom client?

Offline Term

  • Posts: 708
  • Karma: 24
  • Since: 12/10/2010
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
    • Youtube's channel
Re: Server Bot help
« Reply #11 on: March 30, 2011, 05:00:53 PM »
I used that site and did everything it said on it and we play on severs all the time. On the dedicated sever we choose no and we can all connect. It won't work unless you put no.

Offline AuXAuV

  • Posts: 524
  • Karma: 101
  • "Power corrupts the best"- Mikhail Bakunin
  • Since: 16/08/2010
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: Server Bot help
« Reply #12 on: March 30, 2011, 05:10:22 PM »
If you put dedicated LAN, it  will start a server for you network (Local Area Network) with the Server Console, and you start up the client to play on it.

Offline Term

  • Posts: 708
  • Karma: 24
  • Since: 12/10/2010
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
    • Youtube's channel
Re: Server Bot help
« Reply #13 on: March 30, 2011, 06:51:31 PM »
If you put dedicated LAN, it  will start a server for you network (Local Area Network) with the Server Console, and you start up the client to play on it.

Mine always crashes when I try that. Why is that?

Offline AuXAuV

  • Posts: 524
  • Karma: 101
  • "Power corrupts the best"- Mikhail Bakunin
  • Since: 16/08/2010
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: Server Bot help
« Reply #14 on: March 30, 2011, 07:03:25 PM »
Hmm, sounds like an OS specific problem...
I can't really help beyond that, but for simple LAN get-togethers,
non dedicated works fine.