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
|
Nightc0re |
Sep 19 2015, 01:34 AM
Post
#42
|
Advanced Member Group: Moderator Posts: 58 Joined: 10-July 15 From: Austria Member No.: 2,397 |
here you have it: maybe this will take a while to download. It is 300+ MB large Thanks for the help. It took only 2 minutes to download it. Here is a quick search for global variables, and the stack-trace: QUOTE (gdb) info stack #0 0x00000000 in ?? () #1 0xeb1d6341 in CBotEvents::executeEvent(void*, eBotEventType) () from /server/dodtest/dod/addons/rcbot2/HPB_bot2_meta_i486.so #2 0xeb24e187 in RCBotPluginMeta::FireGameEvent(IGameEvent*, bool) () from /server/dodtest/dod/addons/rcbot2/HPB_bot2_meta_i486.so #3 0xecf584f0 in SourceMod::StringHashMap<SourceMod::IChangeableForward*>::retrieve(char const*, SourceMod::IChangeableForward**) () from /server/dodtest/dod/addons/sourcemod/bin/sourcemod.2.dods.so #4 0xeb9ef370 in g_SMAPI () from /server/dodtest/dod/addons/rcbot2/HPB_bot2_meta_i486.so #5 0x0c47ea98 in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) (gdb) x/16xw 0xeb9edb00 0xeb9edb00 <rcbot_runplayercmd_dods>: 0xeb29e668 0xeb9edaa0 0x00000001 0xeb29a889 0xeb9edb10 <rcbot_runplayercmd_dods+16>: 0xeb29b948 0x00000000 0xeb29e6c0 0xeb9edb00 0xeb9edb20 <rcbot_runplayercmd_dods+32>: 0xeb29a885 0x0a0103e0 0x00000004 0x43d08000 0xeb9edb30 <rcbot_runplayercmd_dods+48>: 0x000001a1 0x00000000 0x00000000 0x00000000 As you can see, I have a working core dump. Thank you. However, I don't have time to investigate it further until Sep. 24th. We know that the error occurs somewhere below executeEvent(..), assumed that the stack trace was not currupted at this address. I will look into it. PS: If you want, you can delete your attachments now. I have everything I need |
Lo-Fi Version | Time is now: 30th September 2024 - 10:58 AM |