IPB

Welcome Guest ( Log In | Register )

> Crash when player connects to TF2 Dedicated Server
SleepyAl
post Jul 28 2013, 04:57 AM
Post #1


Newbie
*

Group: Members
Posts: 5
Joined: 28-July 13
Member No.: 2,295



Hi, I've used RCBot2 in the past with TF2 on my local machine, and I've just set up a dedicated server on a Windows 7 x64 machine so my friends and I can game together on it.

I've got it all installed correctly (to my knowledge) and running, and it's finding the waypoints correctly, but whenever a player joins the game while a bot is connected (or vice-versa), the server instantly crashes once the "[player name] has connected" line pops up in console.

I'm not sure how to run RCBot2 in a debug mode or if it makes any logs or not, but if there's a way I can post them if told how to do so.

I've tried running RCBot2 with and without Sourcemod/Metamod, and it crashes regardless. The server works fine without any RCBot2 bots.

My directory to the tf installation is as follows: C:\Program Files (x86)\Valve\HLServer\steamcmd_win32\orangebox\tf

RCBot2's folder is installed in C:\Users\Sleepy\rcbot2 and the waypoints are in waypoints\orangebox\tf

Any help would be appreciated.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
 
Reply to this topicStart new topic
Replies
madmax2
post Jul 29 2013, 06:50 AM
Post #2


RCBot Guru
*****

Group: Waypointers
Posts: 957
Joined: 2-March 12
From: USA, WA state
Member No.: 2,162



This may not be the whole problem, but the value for rcbot_runplayer_cmd_tf2 in the config.ini somehow got changed and is wrong now! It's showing 416 instead of 417. Change that & see if it helps. Also, toggle rcbot_runplayer_hookonce back to 0 to start with. If it still crashes, then try 1, others have said 0 is working best atm...

The bot_mods.ini looks right for what the console is reporting, so I think that is ok...

max
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
SleepyAl
post Jul 29 2013, 11:26 PM
Post #3


Newbie
*

Group: Members
Posts: 5
Joined: 28-July 13
Member No.: 2,295



QUOTE(madmax2 @ Jul 29 2013, 02:50 AM) *

This may not be the whole problem, but the value for rcbot_runplayer_cmd_tf2 in the config.ini somehow got changed and is wrong now! It's showing 416 instead of 417. Change that & see if it helps. Also, toggle rcbot_runplayer_hookonce back to 0 to start with. If it still crashes, then try 1, others have said 0 is working best atm...

The bot_mods.ini looks right for what the console is reporting, so I think that is ok...

max


I'm not sure how the runplayer_cmd_tf2 got changed, but putting it back to 417 didn't fix the problems. I also tried hookonce on both 0 and 1, no dice.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Cheeseh
post Jul 30 2013, 10:32 AM
Post #4


Admin
*****

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



QUOTE(SleepyAl @ Jul 30 2013, 12:26 AM) *

I'm not sure how the runplayer_cmd_tf2 got changed, but putting it back to 417 didn't fix the problems. I also tried hookonce on both 0 and 1, no dice.


well I've downloaded steamCMD and tried it myself this morning and it's definitely crashing at the hooking stage. So there's got to be something wrong with the offset. Perhaps it's different for dedicated server. Could try 415 or even go lower. When I get home I'll have another look and see how sourcemod gets the offsets.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Posts in this topic


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: 29th June 2025 - 06:01 PM