AddPlayer

Questions, comments, and news on the server side plug-ins and it's API
Post Reply
User avatar
Spectre
Private First Class
Private First Class
Posts: 174
Joined: Sat May 24, 2008 2:33 pm

AddPlayer

Post by Spectre »

I need a plug-in that simply adds and spawns a Green bot. Can anyone help?
The idea is you have to make your way through lasers to the box in the middle, where the green flag is located. Then back to cap.
Keeping Latin alive in 2766 AUC.
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Post by JeffM »

this is not possible in 2.0.x, as bots are clients that join and have code to run them. Plugins are server side logic. The server can not add players in 2.0.x.

There is a server side player API being made for 3.0. It is partly complete.
ImageJeffM
User avatar
Spectre
Private First Class
Private First Class
Posts: 174
Joined: Sat May 24, 2008 2:33 pm

Post by Spectre »

Darn...thanks for the help anyway.
Any idea how to just put a bot on a server and leave it? If I can just get a permanent bot then I'm good. For instance: the bot in The Ring by pacman87 ("pseudonym").
Keeping Latin alive in 2766 AUC.
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Post by JeffM »

run a client and have it connect in autopilot mode
ImageJeffM
User avatar
the panda next door
Private First Class
Private First Class
Posts: 42
Joined: Sun Mar 16, 2008 3:55 am
Location: Las Vegas

Post by the panda next door »

use the -solo option
User avatar
Spectre
Private First Class
Private First Class
Posts: 174
Joined: Sat May 24, 2008 2:33 pm

Post by Spectre »

Okay thanks for the help guys.
Keeping Latin alive in 2766 AUC.
anomaly
Private First Class
Private First Class
Posts: 220
Joined: Tue Jul 26, 2005 10:32 pm
Location: Gainesville Florida

Post by anomaly »

if you can build bzflag from source you should search for teppics bot patch in the forums. Will need some modification for 2.0.10 but it is easy enough to do. It even works on no-bot servers.

http://my.bzflag.org/bb/viewtopic.php?t ... ght=teppic
Post Reply