IPB WARNING [2] preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead (Line: 439 of /sources/classes/bbcode/class_bbcode.php)
IPB WARNING [2] preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead (Line: 445 of /sources/classes/bbcode/class_bbcode.php)
IPB WARNING [2] preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead (Line: 451 of /sources/classes/bbcode/class_bbcode.php)
IPB WARNING [2] preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead (Line: 474 of /sources/classes/bbcode/class_bbcode.php)
IPB WARNING [2] preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead (Line: 439 of /sources/classes/bbcode/class_bbcode.php)
IPB WARNING [2] preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead (Line: 445 of /sources/classes/bbcode/class_bbcode.php)
IPB WARNING [2] preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead (Line: 451 of /sources/classes/bbcode/class_bbcode.php)
IPB WARNING [2] preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead (Line: 474 of /sources/classes/bbcode/class_bbcode.php)
IPB WARNING [2] preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead (Line: 439 of /sources/classes/bbcode/class_bbcode.php)
IPB WARNING [2] preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead (Line: 445 of /sources/classes/bbcode/class_bbcode.php)
IPB WARNING [2] preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead (Line: 451 of /sources/classes/bbcode/class_bbcode.php)
IPB WARNING [2] preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead (Line: 474 of /sources/classes/bbcode/class_bbcode.php)
IPB WARNING [2] preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead (Line: 439 of /sources/classes/bbcode/class_bbcode.php)
IPB WARNING [2] preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead (Line: 445 of /sources/classes/bbcode/class_bbcode.php)
IPB WARNING [2] preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead (Line: 451 of /sources/classes/bbcode/class_bbcode.php)
IPB WARNING [2] preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead (Line: 474 of /sources/classes/bbcode/class_bbcode.php)
Using rcbot in a tf2 mod? - RCBot Forums
IPB

Welcome Guest ( Log In | Register )

> Using rcbot in a tf2 mod?
tryzombie501
post Nov 12 2016, 07:53 PM
Post #1


Member
**

Group: Members
Posts: 20
Joined: 20-October 16
From: United Kingdom
Member No.: 2,472



Alright i've played around with a source sdk 2013 mod that uses tf2 2007 code and rcbot spawns in as random classes on blue and red, But they don't move around they call medic when hurt and switch to shotgun when i get near them, I assume its because i need to tell them the new rcbot_runplayer_cmd_tf2.

How do i find out the offset?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
 
Reply to this topicStart new topic
Replies
Ted
post Jul 12 2017, 08:38 PM
Post #2


Member
**

Group: Members
Posts: 13
Joined: 20-February 13
Member No.: 2,257



QUOTE(tryzombie501 @ Nov 12 2016, 07:53 PM) *

Alright i've played around with a source sdk 2013 mod that uses tf2 2007 code and rcbot spawns in as random classes on blue and red, But they don't move around they call medic when hurt and switch to shotgun when i get near them, I assume its because i need to tell them the new rcbot_runplayer_cmd_tf2.

How do i find out the offset?


SourceMod maintainers keep an updated list of various offsets. Here are the ones specific for TF2.

QUOTE
can i ask you, how you got these bots to work on the 2013 sdk?


2013 SDK has a namespace collision against the C++ standard min/max, which is an issue with RCBot2 as it uses STL containers throughout the code base. The easiest way to deal with this is to clean up the SDK a bit. Specifically, any calls to min() or max() in any included headers (like mathlib.h) need to be changed to MIN() or MAX(), respectively. Any includes of minmax.h in header files should be removed and moved into dependent .cpp files (this should have been done in the first place by Valve).
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Posts in this topic
tryzombie501   Using rcbot in a tf2 mod?   Nov 12 2016, 07:53 PM
The HHH   RE: Using rcbot in a tf2 mod?   Nov 12 2016, 09:54 PM
tryzombie501   RE: Using rcbot in a tf2 mod?   Nov 13 2016, 02:01 AM
appleinsanity   RE: Using rcbot in a tf2 mod?   Jul 10 2017, 07:39 PM
Ted   RE: Using rcbot in a tf2 mod?   Jul 12 2017, 08:38 PM


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: 28th April 2024 - 06:09 PM