lfnetwork.com mark read register faq members calendar

Thread: Server Bots
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 06-25-2004, 06:00 PM   #1
Vox-uLaw
Rookie
 
Join Date: Jun 2004
Posts: 12
Server Bots

I have a modified '/botfiles/bots.txt' file.

The bot's have a one word name, with no spaces, they also have a 'funname' with colors and spaces surrounded in "quotation-marks".


The server's 'bot_minplayers' is to 4, so eight bots are loaded in the server.

The bots connect, and display their 'funname', so that works.
But when I or anyone else connects, only the bots with no spaces in their name will get kicked.
(and since the first connected bot generally has spaces in it's name, no bots are ever kicked)

So I tried it out on a quick local server and I get the following message:
Usage: kick <player name>
kick all = kick everyone
kick allbots = kick all bots


Here is one of the bots config
{
name serverbot1
funname "^2tru ^72 ^2life"
model Lando
color1 0
personality /botfiles/Lando.jkb
}



This is a JK2 server by the way.


Thanks for any help,

Last edited by Vox-uLaw; 06-25-2004 at 06:12 PM.
Vox-uLaw is offline   you may: quote & reply,
Old 06-25-2004, 08:58 PM   #2
Vox-uLaw
Rookie
 
Join Date: Jun 2004
Posts: 12
I have found a way, thanks anyway.





Vox-uLaw is offline   you may: quote & reply,
Old 05-07-2007, 11:29 AM   #3
darkecho05
Rookie
 
darkecho05's Avatar
 
Join Date: May 2007
Location: Sweden
Posts: 48
could you post how you did it for the rest of us?


Error is our enemy!
darkecho05 is offline   you may: quote & reply,
Old 05-08-2007, 10:16 PM   #4
Vox-uLaw
Rookie
 
Join Date: Jun 2004
Posts: 12
Cool Guy Server Side

Wow, that was a long time ago.

I don't remember if I found a way with basejk. From recollection, we changed the way the server kicks bots; instead of trying to kick by name we had it kick by client ID. I'm a little fuzzy on the details, so there may be a way without server-side changes, but I can't recall off hand.

All I know is, we gutted out most of ID's code and had to rewrite a lot of functions and add prototypes to accomplish what we wanted, including memory allocation and freeing practically non-existent in JK, such a pain.

There's so many features we coded that never got released to the public, like server-side aimbot detection and 3-Way CTF for example, not to mention a JA port; such a shame.


Anyway,
Best of luck!
Vox-uLaw is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > JediKnight Series > Help Center > Technical Help > Server Bots

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:51 PM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.