IPB

Welcome Guest ( Log In | Register )

> RCBot2 0.72, steampipe fixes....
Cheeseh
post Apr 12 2013, 04:05 AM
Post #1


Admin
*****

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



CODE

0.72
====
all mods: please move rcbot2 folder to users home folder i.e. /users/<name> or ~/
all mods: Vfilesystem update
all mods: rcbot2 sv_tag
all mods: rcbot_ffa cvar , if 1 bots shoot each other disregarding teamplay
all mods: fixed bug with bots jumping etc at the wrong position
all mods: new debugging command 'rcbot debug hud' if 1, shows your debug bot info on screen
tf2 : fixed engineer facing the correct way when building
tf2 : fixed crash bug with engineer
tf2: bots pick up ammo from dropped weapons after killing enemies
hl2dm: bots use ammo crates if they need ammo
hl2dm: bots using buttons for lifts in hl2dm (need lift waypoints)
hl2dm: bots dont shoot explosive oildrum breakables
hl2dm: bots shoot breakables in the way
hl2dm: bots go to snipe points if they have crossbow
dod:s : bots prone when sniping on prone waypoints
dod:s : added prone waypoint
dod:s : machine gun changes -- bots shouldn't shoot from afar without deploying
+ other small changes


http://sourceforge.net/projects/rcbot2/fil...72.zip/download

With the steampipe changes I've had to make many file system changes, so
please move your rcbot2 folder to your home directory on windows (see below)

  1. The rcbot folder should now be in Documents and Settings/<Your Username> OR Users/<Your Username> (for me it looks like C:/Users/Paul/rcbot2)
  2. (For linux this is simply ~/ )
  3. There are two hook offsets now, one for DOD:S and one for TF2, (they are different now)
    i.e. rcbot_runplayer_cmd_tf2 and rcbot_runplayer_cmd_dods
  4. The installer should work but installs to both possible folders either steampipe or non steampipe (i.e. your account name or common)
  5. The DLL goes into the same directory (in the mod/bin folder)



I know the home folder thing might not work for hlds servers, but this is just to release while I make more changes. Hope this is okay with you guys to get the bot to work and install easily.


Installing
You can use the RCBot2 Installer.exe to install and run the RCBot2 Launcher, from there everything is easy. However if you run in to problems you can install manually

Manual Installation
Copy the rcbot2 folder from ‘files/’ into your users/<PC USER> folder (or Documents and settings/<PC user>)

Running
You can use the RCBot2 Launcher to run RCBot2 automatically however once you have loaded the game with the launcher you need to create a server to create a game

This version of RCBot 2 uses a hook into the game engine to make bots move properly in TF2 and DOD:S. To do this, the bot needs to know, in memory, where to hook

This is held in the variable rcbot_runplayer_cmd_tf2 and rcbot_runplayer_cmd_dods for the appropriate mod

The rcbot_runplayer_cmd value must be the same as the latest version of the mod, found here: http://www.sourcemodplugins.org/vtableoffsets

If you experience crashes try changing rcbot_runplayer_hookonce to 0 or 1 or vice versa

Manual running
If you want to run RCBot2 manually, just enter the command line in the modification of your choice in Steam

-insecure +plugin_load “..\bin\HPB_Bot2”

Then create a server

QUOTE
Warning! If loading manually, make sure you don’t already have a VDF file with rcbot2 automatically loading. Otherwise RCBot2 will be loaded twice and strange things might happen!

Adding bots
Rcbot addbot <class> <team> <name>

If you want to add a random bot by using a bot profile, just type

Rcbot addbot

If you want to add a bot with a specific class and an automatic team type

Rcbot addbot 1 for scout in TF2, or support in DOD:S

For TF2 scout or DOD:S Support class , see the list of class numbers below:

Team Fortress 2

CODE
Class numbers
1 = scout
2 = sniper
3 = soldier
4 = demoman
5 = medic ( Bugs )
6 = hwguy
7 = pyro ( Bugs )
8 = Spy
9 = Engineer

Team Numbers:
2 = red
3 = blue


DOD:Source
CODE
Class numbers
0 = Rifleman
1 = Support
2 = Assault
3 = Sniper
4 = Machine Gunner
5 = Rocket



Team Numbers:
2 = Allies
3 = Axis
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
5 Pages V < 1 2 3 4 5 >  
Reply to this topicStart new topic
Replies(40 - 59)
Cheeseh
post Apr 14 2013, 09:37 AM
Post #41


Admin
*****

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



QUOTE(Emotional @ Apr 14 2013, 10:13 AM) *

i checked rcbot_anglespeed - seems OK, 0,16
sensivity in different profiles - between 1 and 9

I think, my problem is similar to problem Boxmanbr in this thread: http://rcbot.bots-united.com/forums/index.php?showtopic=1717 but I don't understand how to solve it sad.gif


does it happen all the time? I guess it may be an initialization issue,.. could u post your whole rcbot2 config.ini ?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Emotional
post Apr 14 2013, 09:57 AM
Post #42


RCBot Fan
****

Group: Members
Posts: 101
Joined: 5-March 13
Member No.: 2,260



yes, all time. 0.71 too have this problem (and I use 0.7 before SP update)

config.ini:

CODE

# RCBot2 Config generated by RCBot2 Launcher
rcbot_defrate 0
rcbot_skill 0,6
rcbot_anglespeed 0,16
rcbot_avoid_radius 500
rcbot_avoid_strength 600
rcbot_aimsmooting 1
rcbot_change_classes 1
sv_cheats 1
rcbot_sv_cheats_auto 1
rcbot_taunt 1
rcbot_messaround 1
rcbot_meleeonly 0
rcbot_move_obj 1
rcbot_min_cc_time 30
rcbot_max_cc_time 40
rcbot_runplayer_hookonce 0
rcbot_runplayer_cmd_dods 417
rcbot_runplayer_cmd_tf2 416
rcbot_scoutdj 0.5
rcbot_voice_cmds 1
rcbot_heavyaimoffset 0.1
rcbot_move_sentry_time 120
rcbot_move_sentry_kpm 1
rcbot_move_disp_time 120
rcbot_move_disp_healamount 100
rcbot_move_tele_time 120
rcbot_move_tele_tpm 1
rcbot_move_dist 800
rcbot config min_bots 1
rcbot config max_bots 31
rcbot_runplayer_cmd 417
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Cheeseh
post Apr 14 2013, 11:01 AM
Post #43


Admin
*****

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



IS that a direct copy and paste?

notice that

CODE

rcbot_skill 0,6
rcbot_anglespeed 0,16


should be

CODE

rcbot_skill 0.6
rcbot_anglespeed 0.16


. not ,

that will make rcbot_anglespeed = 0
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
INsane_dod
post Apr 14 2013, 11:25 AM
Post #44


Advanced Member
***

Group: Members
Posts: 74
Joined: 10-March 13
Member No.: 2,261



I just looked through my files again and deleted all files for RCBot2 so I could start a new install.

Now when I overwrote my working set of RCBot_071 with your new RCBot_072 installer it worked right way. But on a new install I am getting a crash on exit.

Window 7 64 bit... steampipe version of dods.

Here is what I did, removed...
C:\Program Files (x86)\Steam\steamapps\common\Day of Defeat Source\bin\HPB_Bot2.dll
C:\Program Files (x86)\Steam\steamapps\common\Day of Defeat Source\dod\addons\rcbot2.vdf
And the old rcbot2 folder.
Did the same for HL2DM.

I then installed RCBot_072 fresh from the installer, saved a config for dods and HL2DM.

HL2DM starts, loads the .dll but does not add bots automatically unless I tick "add bots automatically" and pick a min/max does startup a game.

At the time of game startup I see the "rcbot2.vdf" file made (in dods at least), I take it that is normal.

Every time I exit the game I get a hl2.exe stops working error, this was from the end of a HL2DM game after closing the map and pressing exit....
CODE
Problem signature:
  Problem Event Name:    APPCRASH
  Application Name:    hl2.exe
  Application Version:    0.0.0.0
  Application Timestamp:    5150e7fa
  Fault Module Name:    StackHash_f9ee
  Fault Module Version:    6.1.7601.17725
  Fault Module Timestamp:    4ec49b8f
  Exception Code:    c0000374
  Exception Offset:    000ce6c3
  OS Version:    6.1.7601.2.1.0.256.48
  Locale ID:    3081
  Additional Information 1:    f9ee
  Additional Information 2:    f9ee87e1dd4ea0e3219d09ba4b2bd581
  Additional Information 3:    7a28
  Additional Information 4:    7a28b901643e814c0723c28e323bb009

Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
  C:\Windows\system32\en-US\erofflps.txt


DoD:s will do the same. I don't remember the crashes on exit on the last version.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Emotional
post Apr 14 2013, 11:58 AM
Post #45


RCBot Fan
****

Group: Members
Posts: 101
Joined: 5-March 13
Member No.: 2,260



Cheeseh
Thanks for your answer! Bots work nice) I'm very glad smile.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Cheeseh
post Apr 14 2013, 12:07 PM
Post #46


Admin
*****

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



QUOTE(INsane_dod @ Apr 14 2013, 12:25 PM) *

I just looked through my files again and deleted all files for RCBot2 so I could start a new install.

Now when I overwrote my working set of RCBot_071 with your new RCBot_072 installer it worked right way. But on a new install I am getting a crash on exit.

Window 7 64 bit... steampipe version of dods.

Here is what I did, removed...
C:\Program Files (x86)\Steam\steamapps\common\Day of Defeat Source\bin\HPB_Bot2.dll
C:\Program Files (x86)\Steam\steamapps\common\Day of Defeat Source\dod\addons\rcbot2.vdf
And the old rcbot2 folder.
Did the same for HL2DM.

I then installed RCBot_072 fresh from the installer, saved a config for dods and HL2DM.

HL2DM starts, loads the .dll but does not add bots automatically unless I tick "add bots automatically" and pick a min/max does startup a game.

At the time of game startup I see the "rcbot2.vdf" file made (in dods at least), I take it that is normal.

Every time I exit the game I get a hl2.exe stops working error, this was from the end of a HL2DM game after closing the map and pressing exit....
CODE
Problem signature:
  Problem Event Name:    APPCRASH
  Application Name:    hl2.exe
  Application Version:    0.0.0.0
  Application Timestamp:    5150e7fa
  Fault Module Name:    StackHash_f9ee
  Fault Module Version:    6.1.7601.17725
  Fault Module Timestamp:    4ec49b8f
  Exception Code:    c0000374
  Exception Offset:    000ce6c3
  OS Version:    6.1.7601.2.1.0.256.48
  Locale ID:    3081
  Additional Information 1:    f9ee
  Additional Information 2:    f9ee87e1dd4ea0e3219d09ba4b2bd581
  Additional Information 3:    7a28
  Additional Information 4:    7a28b901643e814c0723c28e323bb009

Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
  C:\Windows\system32\en-US\erofflps.txt


DoD:s will do the same. I don't remember the crashes on exit on the last version.


I know it. Its a memory freeing issue that started with the new tier 1 crap . Notjing to worry about at the moment as you are quitting the game anyway but will look into it a bit more soon
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
INsane_dod
post Apr 14 2013, 01:58 PM
Post #47


Advanced Member
***

Group: Members
Posts: 74
Joined: 10-March 13
Member No.: 2,261



QUOTE(Cheeseh @ Apr 14 2013, 10:07 PM) *

I know it. Its a memory freeing issue that started with the new tier 1 crap . Notjing to worry about at the moment as you are quitting the game anyway but will look into it a bit more soon


Thanks, it does not seem to worry the system...hardly call it a crash right on the program quit command.

never the less...enjoying the bots!

Thank you so much!
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
genmac
post Apr 14 2013, 03:10 PM
Post #48


RCBot Guru
*****

Group: Waypointers
Posts: 571
Joined: 11-November 11
Member No.: 2,098



Glad Emotional bot problem got fix now got me wondering what will happen if change...
rcbot_avoid_radius 80
to
rcbot_avoid_radius 0?

What's that for exactly?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Fillmore
post Apr 14 2013, 08:17 PM
Post #49


RCBot Guru
*****

Group: Waypointers
Posts: 447
Joined: 1-April 09
Member No.: 1,511



QUOTE(genmac @ Apr 14 2013, 03:10 PM) *

Glad Emotional bot problem got fix now got me wondering what will happen if change...
rcbot_avoid_radius 80
to
rcbot_avoid_radius 0?

What's that for exactly?

When bots get killed, some of the waypoints around their area-of-death get marked as 'Dangerous'. avoid_radius probably is a variable that states how big is the radius that gives danger tags on waypoints.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Cheeseh
post Apr 14 2013, 10:09 PM
Post #50


Admin
*****

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



QUOTE(Fillmore @ Apr 14 2013, 09:17 PM) *

When bots get killed, some of the waypoints around their area-of-death get marked as 'Dangerous'. avoid_radius probably is a variable that states how big is the radius that gives danger tags on waypoints.


Thats actually another command u are thinking of tongue.gif

This one makes bots try to move around enemies or obstructions. If bots are within 80 units they will try not to get any closer and turn left or right around it. Useful for spies in tf2 when they will blow their cover if they bump into an enemy. Although spies ignore it when they want to backstab
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Fillmore
post Apr 15 2013, 03:49 PM
Post #51


RCBot Guru
*****

Group: Waypointers
Posts: 447
Joined: 1-April 09
Member No.: 1,511



QUOTE(Cheeseh @ Apr 14 2013, 10:09 PM) *

Thats actually another command u are thinking of tongue.gif

This one makes bots try to move around enemies or obstructions. If bots are within 80 units they will try not to get any closer and turn left or right around it. Useful for spies in tf2 when they will blow their cover if they bump into an enemy. Although spies ignore it when they want to backstab

Well, that's good to know. I'd also like to inform that using rcbot debug gameevent now crashes the game.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
genmac
post Apr 16 2013, 04:19 AM
Post #52


RCBot Guru
*****

Group: Waypointers
Posts: 571
Joined: 11-November 11
Member No.: 2,098



Yo Cheeseh...noticed dods snipers don't go prone even if the wpt has a prone tag.
For mg's it's perfectly working.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
darkranger
post Apr 16 2013, 07:13 PM
Post #53


Advanced Member
***

Group: Members
Posts: 51
Joined: 3-February 13
From: Austria
Member No.: 2,254



QUOTE
0.72
====
all mods: please move rcbot2 folder to users home folder i.e. /users/<name> or ~/


sorry to say, but this was not a good idea for dedicated server.
cos who has FTP rights to access the users folder on an dedicated server?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Cheeseh
post Apr 16 2013, 11:04 PM
Post #54


Admin
*****

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



QUOTE(darkranger @ Apr 16 2013, 08:13 PM) *

sorry to say, but this was not a good idea for dedicated server.
cos who has FTP rights to access the users folder on an dedicated server?


Its only temporary for now to get it working for clients. For linux deicated there should be no problem as every ftp user should have a user profile directory. Im not sure about windows. Where is your home folder on the ftp server?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
darkranger
post Apr 17 2013, 11:14 AM
Post #55


Advanced Member
***

Group: Members
Posts: 51
Joined: 3-February 13
From: Austria
Member No.: 2,254



there is no home folder on FTP under windows.
depending on which user starts srcds.exe its in c:\Users\*username*

its not a problem for myself, cos i have full root on my windows server.
but maybe other users can have that problem.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Fillmore
post Apr 19 2013, 02:09 PM
Post #56


RCBot Guru
*****

Group: Waypointers
Posts: 447
Joined: 1-April 09
Member No.: 1,511



Are the rcbot debug commands working for other mods? Using any of them in TF2 makes the game crash and I wanna know if it's just me, since TF2 crashes for me when the Payload blows up on Hoodoo and Hightower. Also, I've noticed that there's a command called rcbot_speed_bonus or something like that. Since the bots move slower than regular players, is it possible to use this command to artificially give them the correct move speeds?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Cheeseh
post Apr 19 2013, 10:37 PM
Post #57


Admin
*****

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



QUOTE(Fillmore @ Apr 19 2013, 03:09 PM) *

Are the rcbot debug commands working for other mods? Using any of them in TF2 makes the game crash and I wanna know if it's just me, since TF2 crashes for me when the Payload blows up on Hoodoo and Hightower. Also, I've noticed that there's a command called rcbot_speed_bonus or something like that. Since the bots move slower than regular players, is it possible to use this command to artificially give them the correct move speeds?


Only in hl2dm im guessing. I believe i fixed it in the latest source by removing an exception handler. Does it still crash on hoodoo etc in the older version?

Rcbot_speed_boost was made for that purpose to test if it is the bots move speed which is the problem. I found out that it doesnt matter how fast you tell the bots to go, there is a limit which is already reached. You can try entering 2 and see if they go any quicker. Put in a lower value than 1 however and tgey will all go slower
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Fillmore
post Apr 20 2013, 09:25 PM
Post #58


RCBot Guru
*****

Group: Waypointers
Posts: 447
Joined: 1-April 09
Member No.: 1,511



QUOTE(Cheeseh @ Apr 19 2013, 10:37 PM) *

Only in hl2dm im guessing. I believe i fixed it in the latest source by removing an exception handler. Does it still crash on hoodoo etc in the older version?

Rcbot_speed_boost was made for that purpose to test if it is the bots move speed which is the problem. I found out that it doesnt matter how fast you tell the bots to go, there is a limit which is already reached. You can try entering 2 and see if they go any quicker. Put in a lower value than 1 however and tgey will all go slower

I've got 0.72 and it crashes on rcbot debug commands. The older version didn't. I've also tried manipulating the speed_boost command, from making the bots stop moving completely to giving them 10x speed, but it only accepts values below 1.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
gut eater
post Apr 21 2013, 01:02 AM
Post #59


Member
**

Group: Members
Posts: 13
Joined: 29-June 09
Member No.: 1,595



I've tried my best in installing this with the rcbot2 installer but have had no luck at least with DOD:S. I'm using Windows 7 64bit. I've plugged in my steam username (which is my email) on the installer and made sure of the directory for my steam.exe but it tells me it finds Steampipe DOD: S but not steampipe TF2 and HL2 Deathmatch. It tells me it can't find DOD: S and tells me it's "partially installed see log". I put the rcbot folder in the "users/username" folder like you said with no luck. What am I doing wrong? It's got to be a simple directory/copy & paste folder issue I would assume? unsure.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Fillmore
post Apr 21 2013, 01:46 AM
Post #60


RCBot Guru
*****

Group: Waypointers
Posts: 447
Joined: 1-April 09
Member No.: 1,511



QUOTE(gut eater @ Apr 21 2013, 01:02 AM) *

I've tried my best in installing this with the rcbot2 installer but have had no luck at least with DOD:S. I'm using Windows 7 64bit. I've plugged in my steam username (which is my email) on the installer and made sure of the directory for my steam.exe but it tells me it finds Steampipe DOD: S but not steampipe TF2 and HL2 Deathmatch. It tells me it can't find DOD: S and tells me it's "partially installed see log". I put the rcbot folder in the "users/username" folder like you said with no luck. What am I doing wrong? It's got to be a simple directory/copy & paste folder issue I would assume? unsure.gif

Well, if you placed the rcbot2 folder in your users/whatshisface folder and probably have the rcbot2 dll in your game's bin folder (day of defeat/bin/HPB_Bot2), that would pretty much mean that your installation is complete. Check if both of these match up. If they do, rejoice! If they don't, fix it and rejoice afterwards.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

5 Pages V < 1 2 3 4 5 >
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: 4th October 2025 - 03:51 PM