IPB

Welcome Guest ( Log In | Register )

> FCVAR_SERVER_CAN_EXECUTE ERROR, Bug maybe?
EDGECOM
post May 22 2009, 06:54 PM
Post #1


Member
**

Group: Members
Posts: 15
Joined: 22-May 09
Member No.: 1,550



hi smile.gif
I get error

trying it from the client : FCVAR_SERVER_CAN_EXECUTE prevented server running command: bot

rcon gives this error

rcon from "192.168.1.16:3175": command "rcbotd addbot 1"
Error, bad server command bot -name "the bots name in ini file"
[RCBot] bot added

and if I type it directly into the server console

Error, bad server command bot -name "the bots name in ini file"
[RCBot] bot added

I noticed when loading your plugin with the most recent update I am unable to use rcon when I try and issue a rcon command I get unable to connect to 0.0.0.0 message however if I manually set the rcon to the local or global ip in the server.cfg I can rcon I don't know if this is scource mod or both messing it up will do some more poking arround later

I know you already stated that this beta may not work wiht the decated server I was wondering if I could get the current scource code I looked on source forgre already and also the bot-united server

I would like to help you code your AI smile.gif I have written bots before EDGEFISH (Final fantasy XI) is one and a bot for Perfect world international o.0 both MMORPG's
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
 
Reply to this topicStart new topic
Replies
Cheeseh
post May 23 2009, 11:02 AM
Post #2


Admin
*****

Group: Admin
Posts: 3,066
Joined: 11-September 03
From: uk
Member No.: 1



The latest version does not support dedicated server, unfortunately, because of the way the bots work in the new version, it relies on the "bot" command working
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
EDGECOM
post May 23 2009, 01:03 PM
Post #3


Member
**

Group: Members
Posts: 15
Joined: 22-May 09
Member No.: 1,550



I just logged into my server and rconed the generic bot -team blue -class medic -name brokebot and it added bots just fine are you saying its the way your dll loads into the source code cause it may just be a simple string error on create bot
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Cheeseh
post May 24 2009, 02:27 PM
Post #4


Admin
*****

Group: Admin
Posts: 3,066
Joined: 11-September 03
From: uk
Member No.: 1



QUOTE(EDGECOM @ May 23 2009, 02:03 PM) *

I just logged into my server and rconed the generic bot -team blue -class medic -name brokebot and it added bots just fine are you saying its the way your dll loads into the source code cause it may just be a simple string error on create bot


I haven't tried ti with the dedicated server but I would expect it has something to do with the "Bot -name ..." command , as it works in the client I thought it should be easily transferable to the server code, but I'm not sure if there are any differences.

In the mean time , You could try adding a bot like, for example "bot -name Joe" and then just "rcbot control Joe"
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
EDGECOM
post May 25 2009, 12:47 AM
Post #5


Member
**

Group: Members
Posts: 15
Joined: 22-May 09
Member No.: 1,550



alright I will after I get done reinstalling my tf2 server I think the new update messed up metamod and scource mod cause whenever I try and use the functions it crashes my server... like slap player it crashes.. also I noticed that on map change the server laggggs.... it's like its not clearing the cache.. so I am going to do a fresh install and go from there

btw server is a HP Proliant DL-145 Dual AMD Optron 2.4Ghz with 8Gb DDR 333(2700) Ram and the internet connection is 20Mb down 10Mb up so I know its not my server smile.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
EDGECOM
post May 25 2009, 01:15 PM
Post #6


Member
**

Group: Members
Posts: 15
Joined: 22-May 09
Member No.: 1,550



ok I finished the reinstall and tested my server lastnight it lagged here and there but not as bad with the metamod and source mod installed
(gonna have to send an email to the mod dev's smile.gif )

tested rcbot lastnight it loaded however when I let rc take control they just stand there I know I got the waypoints cause I saved am using the ones from the scout update just before it broke..

the medic on the other hand will follow you and heal you and murder and uber charge smile.gif I named him Autoheal lol ppl were like wtf .. bot and I was like read the DAMN!! server name... "THE-BLACK-DRAGONS Bot test 2fort" anyways.. ohh ohhh another thing that was fun to do sticka medic bot and a heavy bot in a doorway and just watch them murder things o.0 the ai code is there for them to shoot they just can't move
sad.gif

I got a quick question is the wapoints the same as for the decated server commands example: rcbot the same as rcbotd cause I noticed 2 different dir's in the waypoints folder and I put waypoints in both folders

was thinking maybe could use valves .nav system just the waypoints and make a ini file for each bot or maby just the engi to tell him where to build things @ X Y Z pitch X Y X witch I know thats how your waypoint system works with the excption of the .ini but I can't do rcbot create waypoint using the rcbotd
ugh.. I am ranting sorry lol...just woke up

Example: use the current medic code to nav to waypoints and run through them till it hits null
get_waypoint_ent_1 --> move to waypoint 1
do
get_waypoint_ent_1
if next >= 1 // not null
then move to point1
untill get_waypoint = null

I now you already know all this like I sed if I had the current source code for the bot I would love to help code it I have SF account edgecom pm me let me know
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Cheeseh
post May 25 2009, 05:02 PM
Post #7


Admin
*****

Group: Admin
Posts: 3,066
Joined: 11-September 03
From: uk
Member No.: 1



I guess the waypoints aren't installed into the correct folder, when you use a dedicated server the waypoints go into a different directory. If you have a look at the rcbot2 folder, ook in waypoints, and look to see what folders were created automatically by the bot when it loaded, and move the waypoints into it.

sorry, quick response, just to that for now
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
EDGECOM
post May 25 2009, 07:14 PM
Post #8


Member
**

Group: Members
Posts: 15
Joined: 22-May 09
Member No.: 1,550



ok I deleted my waypoints folder and let it recreate it on startup the rcd is in the tf folder I assume its correct cause it loads the bot profiles with no errors

D:\HLServer\rcbot2\waypoints\orangebox\tf

I looked in the rcbotd command and I can't load them from there it says [can't use] next to most of the commands

any ideas?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Cheeseh
post May 25 2009, 10:59 PM
Post #9


Admin
*****

Group: Admin
Posts: 3,066
Joined: 11-September 03
From: uk
Member No.: 1



it just says can't use from most commands because u can't use a lot of commands in dedicated server because it requires a client to use it on, its not a bug and it has been prupoesly been done that way
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
EDGECOM
post May 26 2009, 01:50 PM
Post #10


Member
**

Group: Members
Posts: 15
Joined: 22-May 09
Member No.: 1,550



ok I finaly figured out how to get the bots working on decated server smile.gif

first you will need to make a client server load the map and resave the waypoints I did ctf_2fort

it will make 3 files

ctf_2fort.rcd // main waypoint file
ctf_2fort.rcv // Visability file
ctf_2fort.rcw // waypoints I think for engies maybe

now copy the files to your folder

rcbot2\waypoints\orangebox\tf


make a bot config file to auto load bots

sv_cheats 1
bot -team red -class Sniper -name snipe
rcbotd control snipe
bot -team blue -class Medic -name med
rcbotd control med
//sv_cheats 0

place the config file in your tf\cfg directy the same one your server.cfg is in

then just rcon exec bot.cfg

hey Cheeseh are there engi telport waypoints I want to rewaypoint 2fort also can I make the bots reaction time a bit faster?

http://rcbot.bots-united.com/forums/index.php?showtopic=1155

if anyone is intersted in checking out the bots heres the server IP 173.71.156.49 just add it to your favs
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
EDGECOM
post May 27 2009, 11:16 AM
Post #11


Member
**

Group: Members
Posts: 15
Joined: 22-May 09
Member No.: 1,550



[RCBot] Available waypoint types
[RCBot] "jump" (bot will jump here)
[RCBot] "crouch" (bot will duck here)
[RCBot] "unreachable" (bot can't go here (used for visibility only))
[RCBot] "ladder" (bot will climb a ladder)
[RCBot] "flag" (bot will find a flag here)
[RCBot] "capture" (bot will find a capture point here)
[RCBot] "noblueteam" (blue team can't use this waypoint)
[RCBot] "noredteam" (red team can't use this waypoint)
[RCBot] "health" (bot can sometimes get health here)
[RCBot] "openslater" (this waypoint is available when a door is open only)
[RCBot] "sniper" (a bot can snipe here)
[RCBot] "rocketjump" (a bot can rocket jump here)
[RCBot] "ammo" (bot can sometimes get ammo here)
[RCBot] "resupply" (bot can always get ammo and health here)
[RCBot] "sentry" (engineer bot can build here)
[RCBot] "doublejump" (scout can double jump here)
[RCBot] "teleentrance" (engineer bot can build tele entrance here)
[RCBot] "teleexit" (engineer bot can build tele exit here)
[RCBot] "defend" (bot will defend at this position)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Cheeseh
post May 31 2009, 06:34 PM
Post #12


Admin
*****

Group: Admin
Posts: 3,066
Joined: 11-September 03
From: uk
Member No.: 1



tele waypoints:
QUOTE(EDGECOM @ May 27 2009, 12:16 PM) *

[RCBot] "teleentrance" (engineer bot can build tele entrance here)
[RCBot] "teleexit" (engineer bot can build tele exit here)


reaction times are in the bot profiles,

change:

visionticks = 10

to a higher value

like 20 maybe.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
EDGECOM
post Jun 3 2009, 11:30 AM
Post #13


Member
**

Group: Members
Posts: 15
Joined: 22-May 09
Member No.: 1,550



Alright I will give that a try I just moved this weekend and don't have internet I'm at a friends house atm I should have internet like friday or something that means the ip I posted will no longer work I will post the new one when I get internet

also I noticed that when I run RCBOT2 on my server it will crash at random like sometimes it will go 1hr before it crashes and sometimes it takes 5-10min. thats with just a standerd tf2 install no mods etc on the server

here is when I noticed it crashes when bots grab intel and when the bots try and kill a sentry gun
Note: it does not always crash everytime they do the above meaning it don't crash everytime they grab intel or kill a SG

I think it may be a ram related problem also. I noticed before the valve update I could run my server and it would only use about 2gb-2.3gb of ram now its pushing 4.3gb-5.9gb and thats only for a 16 person server sad.gif
go valve and there sloppy coding.....

A quick question is the rocketjump and doublejump fixed yet?

User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Cheeseh
post Jun 3 2009, 01:43 PM
Post #14


Admin
*****

Group: Admin
Posts: 3,066
Joined: 11-September 03
From: uk
Member No.: 1



QUOTE(EDGECOM @ Jun 3 2009, 12:30 PM) *

A quick question is the rocketjump and doublejump fixed yet?


nope. that's because of the "gravity" bug, or in other terms the bots "runPlayerMove" interface problem that omnibot was hoping to solve.

To be honest I don't know why it crashes, I can only guess its because of valves random loadout weapon pickup thing happening to bots, and crashing.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Posts in this topic
EDGECOM   FCVAR_SERVER_CAN_EXECUTE ERROR   May 22 2009, 06:54 PM
Cheeseh   The latest version does not support dedicated serv...   May 23 2009, 11:02 AM
EDGECOM   I just logged into my server and rconed the generi...   May 23 2009, 01:03 PM
Cheeseh   I just logged into my server and rconed the gener...   May 24 2009, 02:27 PM
EDGECOM   alright I will after I get done reinstalling my tf...   May 25 2009, 12:47 AM
EDGECOM   ok I finished the reinstall and tested my server l...   May 25 2009, 01:15 PM
Cheeseh   I guess the waypoints aren't installed into th...   May 25 2009, 05:02 PM
EDGECOM   ok I deleted my waypoints folder and let it recrea...   May 25 2009, 07:14 PM
Cheeseh   it just says can't use from most commands beca...   May 25 2009, 10:59 PM
EDGECOM   ok I finaly figured out how to get the bots workin...   May 26 2009, 01:50 PM
EDGECOM   [RCBot] Available waypoint types [RCBot] "jum...   May 27 2009, 11:16 AM
Cheeseh   tele waypoints: [RCBot] "teleentrance" ...   May 31 2009, 06:34 PM
EDGECOM   Alright I will give that a try I just moved this w...   Jun 3 2009, 11:30 AM
Cheeseh   A quick question is the rocketjump and doublejump...   Jun 3 2009, 01:43 PM
EDGECOM   are you saying gthat the gravity is greater on the...   Jun 3 2009, 06:30 PM
Cheeseh   yes, but its not acutally the gravity. its the fac...   Jun 3 2009, 11:48 PM
EDGECOM   ok I got internet :) here is the ip I will mess w...   Jun 8 2009, 10:48 PM
Cheeseh   ok I got internet :) here is the ip I will mess ...   Jun 9 2009, 05:48 PM
Skeggar   ok I got internet :) here is the ip I will mess ...   Jun 10 2009, 09:53 AM
EDGECOM   sorry the server is up right now but no bots are i...   Jun 11 2009, 10:43 PM
EDGECOM   ok I figured out the caue of the above crash or at...   Jun 12 2009, 04:27 PM
bir3yk   Cheeseh many thanks for the work. I compiled a lin...   Jun 10 2009, 09:49 AM


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 21st July 2025 - 07:55 PM