RCBot 2 for Windows and Linux (TF2, HL2:DM, DOD:S) v1.00 r473 |
RCBot 2 for Windows and Linux (TF2, HL2:DM, DOD:S) v1.00 r473 |
Nightc0re |
Jul 15 2015, 03:11 PM
Post
#41
|
Advanced Member Group: Moderator Posts: 58 Joined: 10-July 15 From: Austria Member No.: 2,397 |
(This is the latest version, for older releases see this post)
RCBot 2 for Windows and Linux (TF2, HL2:DM, DOD:S) v1.00 r473 Information After several weeks of hard work, I've managed it, to compile RCBot2 for Linux. I've also fixed some bugs, and searched new offsets for TF2. You can find a complete list of changes below. I'm using the latest version 1.00 (revision 473) from the SVN repository, so this version might not be a stable release. However, I've tested this version a lot, and I've not encountered any problems. I've compiled the libraries for Windows and Linux (debug and release). Which version should you choose?
This plugin needs MetaMod:Source (at least version 1.10.7). You don't have to download it, because it's already included in this package. 1.) Download the complete package for your OS. 2.) Copy the "addons" folder to your "mod" folder. 3.) (Only for In-Game Servers) Add "-console -insecure" to your launch options in Steam. For HL2:DM the folder structure is "hl2_server/hl2mp/addons/". For DOD:S the folder structure is "dod_server/dod/addons/". For TF2 the folder structure is "tf2_server/tf/addons/". This is the complete folder structure for TF2. QUOTE tf2_server/tf/addons ├─ metamod │ ├─ bin │ │ ├─ metamod.2.tf2.so │ │ ├─ server_i486.so │ │ └─ server.so │ ├─ metaplugins.ini │ ├─ rcbot2.vdf │ └─ README.txt ├─ metamod.vdf └─ rcbot2 ......├─ bin ......│ ├─ RCBot2MetaDebug_i486.so ......│ └─ RCBot2Meta_i486.so ......├─ config ......│ ├─ accessclients.ini ......│ ├─ attack_util.csv ......│ ├─ bot_mods.ini ......│ ├─ bot_quota.ini ......│ ├─ config.ini ......│ ├─ hookinfo.ini ......│ ├─ normal_util.csv ......│ └─ weapons.ini ......├─ launcher ......├─ manual ......├─ profiles ......└─ waypoints Bot Quota This version supports an automatic bot quota, based on the human players. To enable "Auto Bot Quota" set the rcbot_bot_quota_interval to a value above 0 (e.g. 5) (unit is seconds). This interval is used to check the human/bot player count. For more information see config.ini. QUOTE rcbot_bot_quota_interval 5 For more information about the bot quota see bot_quota.ini. QUOTE # Bot Quota Settings # To use this settings you have to enable rcbot_bot_quota_interval # Bear in mind, that the bots also count towards the max_players setting Humans "0" => Bots "0" # This is used for the default bot quota (empty server) Humans "1" => Bots "3" # 1 Human => 3 Bots => 4 Total Players Humans "2" => Bots "2" # 2 Humans => 2 Bots => 4 Total Players Humans "3" => Bots "0" # etc. You can also use the original bot quota settings. But don't use them together with the above settings! QUOTE rcbotd config min_bots 5 rcbotd config max_bots 30 Troubleshooting
.) Fixed bug in getNextRoutePoint, which destroyed bot aiming, because of invalid vLook. .) Fixed reading of files with windows line ending (\r\n) .) Fixed all offsets for Linux .) Added "master offset" settings for TF2. .) Fixed a typo while reading bot configs (visionticksclients -> visionticks_clients) .) Fixed macro in bot_profile.cpp .) Fixed consecutive use of "addbot" .) Added debug messages in chat (rcbot debug chat 1) .) Added automatic bot quota, based on human players. .) You can now edit the path of where you have installed RCBot by writing it in the rcbot2.vdf (relative paths to the mod folder are also supported) Credits
|
n0nnie |
Sep 17 2015, 11:38 AM
Post
#42
|
Member Group: Members Posts: 35 Joined: 27-October 14 Member No.: 2,361 |
Thank you for your compilework Nightc0re.
I got a problem with your version =( If a player joins the server the server crashes instant. I tried to change rcbot_runplayer_cmd_dods but crashes still occur. Game is Day of Defeat Source, OS is ubuntu12.04. Would be very cool if you can give help to ge this working again =) Thanks in Advance Edit: MMS Version: 14:03:26 Metamod:Source Version Information Metamod:Source version 1.11.0-dev+990 Plugin interface version: 15:14 SourceHook version: 5:5 Loaded As: Valve Server Plugin Compiled on: Sep 10 2015 15:24:21 Built from: https://github.com/alliedmodders/metamod-so.../commit/030706f Build ID: 990:030706f http://www.metamodsource.net/ Sourcemod: 14:03:44 SourceMod Version Information: SourceMod Version: 1.7.3-dev+5253 SourcePawn Engine: SourcePawn 1.7, jit-x86 (build 1.7.3-dev+5253) SourcePawn API: v1 = 4, v2 = 6 Compiled on: Sep 16 2015 16:38:09 Built from: https://github.com/alliedmodders/sourcemod/commit/68ac27e Build ID: 5253:68ac27e http://www.sourcemod.net/ I had to update MMS to newest Version because of crashing =( What happens if a player joins with rcbotd addbot before is shown in attachement Edit2 Attachement too big =( Will write it then: [RCBot] Bot Command 'rcbot_move_dist 800' executed L 09/17/2015 - 14:00:43 [RCBOT2] Hook_ClientActive(1, 0) [RCBot] AccessClient: 'STEAM_ID_LAN','[U:1:27779097]' L 09/17/2015 - 14:00:43 "Wolfun<2><[U:1:27779097]><>" entered the game Uploading dump (in-process) [proxy ''] /tmp/dumps/crash_20150917140014_1.dmp success = yes response: Discarded=1 Segmentation fault (core dumped) What jumped at me while writing this: Bot and Player seem to get the same Steamid? Edit3: I solved the crash on Botjoin issue: rcbot_runplayer_cmd_dods has to be 417 (regarding to this post: http://rcbot.bots-united.com/forums/index....showtopic=1769) Now to other errors occured: Server crashes if client leaves, and waypointfile for dod_donner is missing (console tells me) Missing waypointfiles can be fixed I think but what about the crashes if client leaves? |
Lo-Fi Version | Time is now: 3rd October 2024 - 07:49 AM |