FCVAR_SERVER_CAN_EXECUTE ERROR, Bug maybe? |
FCVAR_SERVER_CAN_EXECUTE ERROR, Bug maybe? |
EDGECOM |
May 22 2009, 06:54 PM
Post
#1
|
Member Group: Members Posts: 15 Joined: 22-May 09 Member No.: 1,550 |
hi
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 I have written bots before EDGEFISH (Final fantasy XI) is one and a bot for Perfect world international o.0 both MMORPG's |
Cheeseh |
May 23 2009, 11:02 AM
Post
#2
|
Admin Group: Admin Posts: 3,056 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
|
EDGECOM |
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
|
Cheeseh |
May 24 2009, 02:27 PM
Post
#4
|
Admin Group: Admin Posts: 3,056 Joined: 11-September 03 From: uk Member No.: 1 |
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" |
EDGECOM |
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 |
EDGECOM |
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 ) 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 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 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 |
Cheeseh |
May 25 2009, 05:02 PM
Post
#7
|
Admin Group: Admin Posts: 3,056 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 |
EDGECOM |
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? |
Cheeseh |
May 25 2009, 10:59 PM
Post
#9
|
Admin Group: Admin Posts: 3,056 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
|
EDGECOM |
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
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 |
EDGECOM |
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) |
Cheeseh |
May 31 2009, 06:34 PM
Post
#12
|
Admin Group: Admin Posts: 3,056 Joined: 11-September 03 From: uk Member No.: 1 |
|
EDGECOM |
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 go valve and there sloppy coding..... A quick question is the rocketjump and doublejump fixed yet? |
Cheeseh |
Jun 3 2009, 01:43 PM
Post
#14
|
Admin Group: Admin Posts: 3,056 Joined: 11-September 03 From: uk Member No.: 1 |
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. |
EDGECOM |
Jun 3 2009, 06:30 PM
Post
#15
|
Member Group: Members Posts: 15 Joined: 22-May 09 Member No.: 1,550 |
are you saying gthat the gravity is greater on the bots than a normal player?
cause you could always hard code the dbljump and rktjump if waypoint = rocketjump set y axis to -90 wait .2 milliseconds press key +attack +jump wait 250 milliseconds press key move forward endif if waypoint = doubblejump press key +jump wait .2 milliseconds press key +jump wait 250 milliseconds press key move forward endif Note: you can use the user32.dll to send key strokes commands to a running applacation you can even specifiy how long to hold the key down for http://msdn.microsoft.com/en-us/library/ms646304(VS.85).aspx and the only way arround the other problem is to implament a packet filter if xbyte = give weapon and target player = bot then null xbyte or ignore endif |
Cheeseh |
Jun 3 2009, 11:48 PM
Post
#16
|
Admin Group: Admin Posts: 3,056 Joined: 11-September 03 From: uk Member No.: 1 |
yes, but its not acutally the gravity. its the fact that they just move twice as fast
The bot already does that, they are already hardcoded, theres no need for other dlls, the bot can already do that within the plugin. there is also a concept of time in the HL2 SDK. |
EDGECOM |
Jun 8 2009, 10:48 PM
Post
#17
|
Member Group: Members Posts: 15 Joined: 22-May 09 Member No.: 1,550 |
ok
I got internet here is the ip I will mess with the bots now 96.249.242.158 |
Cheeseh |
Jun 9 2009, 05:48 PM
Post
#18
|
Admin Group: Admin Posts: 3,056 Joined: 11-September 03 From: uk Member No.: 1 |
|
bir3yk |
Jun 10 2009, 09:49 AM
Post
#19
|
RCBot Fan Group: Members Posts: 107 Joined: 4-June 09 Member No.: 1,566 |
Cheeseh many thanks for the work. I compiled a linux 75 release. Run through the bot-name xxx, rcbotd control xxx begin to run and shoot. I look forward to the new source
|
NifesNforks |
Jun 10 2009, 09:53 AM
Post
#20
|
Advanced Member Group: Members Posts: 69 Joined: 17-January 09 From: Stockholm, Sweden Member No.: 1,450 |
|
Lo-Fi Version | Time is now: 19th April 2024 - 07:08 AM |