IPB

Welcome Guest ( Log In | Register )

> The story so far, bots working. More or less
Liss Olefract
post Sep 10 2015, 01:15 PM
Post #1


Newbie
*

Group: Members
Posts: 6
Joined: 6-September 15
Member No.: 2,407



Ok,

I installed CentOS 7 and Dod:S dedicated server. It came with a wrapper thats called dodserver and that is based on tmux. Build by some bloke. He calls it Linux Source Game Manager wich is basically a wrapper. When you install the thing, it leaves with a /home/<your_name> base directory in which the dodserver script is installed, everything else goes in the directory serverfiles. Anyway, I installed both meta and source mod and rcbots. Now its gets a bit fuzzy. Accoording to the console output, the rcbots command get executes twice due to the fact that I probably start the plugin using the rcbots.vdf method (in dod/addons directory) as well as the 'standard(?) method of which I actually don't know how it works.
Probably starts the .so file somehow. But it loads, sort of because the waypoint can't be loaded. The server complains about not findfing or not being able to open the waypoint file and then it says something about rw mode. No idead what that means (actually I do know that it means, but is makes no sense because all the waypoint files are rwxrwx--- and owned by the proper user).
But here is the thing. When I start a game (connect to my server that is) I am able to add bots by means of the rcbot addbot command but the bots I create don't move; all they do is turn around a bit. But when I, using the admin mod, change a map and then add bots, then it works and the bots go off and killing each other and having a ball biggrin.gif . When I drop from the server, the bots disappear.
So it works. More or less. Any thoughts anyone?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
 
Reply to this topicStart new topic
Replies
Nightc0re
post Sep 10 2015, 08:13 PM
Post #2


Advanced Member
***

Group: Moderator
Posts: 58
Joined: 10-July 15
From: Austria
Member No.: 2,397



QUOTE(Liss Olefract @ Sep 10 2015, 03:15 PM) *
But it loads, sort of because the waypoint can't be loaded. The server complains about not findfing or not being able to open the waypoint file and then it says something about rw mode.

Hi Liss,

Is this the same thing we already discussed in my thread?
If yes, here are a few suggestions.

@File Not Found
Let me explain it in more detail.
If I start the server with this command:
QUOTE
./dod_server/srcds_run -console -debug -game dod -maxplayers 24 -port 27015 +sv_lan 1 +log on +map dod_Avalanche

I get this output:
CODE
Level "dod_Avalanche" has been loaded
[RCBot] file not found/opening error 'rcbot2/waypoints/dod_server/dod/dod_Avalanche.rcw' mode rb
[RCBot] Trying to create folder 'rcbot2/' failed
[RCBot] Trying to create folder 'rcbot2/waypoints/' failed
[RCBot] Trying to create folder 'rcbot2/waypoints/dod_server/' failed
[RCBot] Trying to create folder 'rcbot2/waypoints/dod_server/dod/' failed
[RCBot] failed to make folders for rcbot2/waypoints/dod_server/dod/dod_Avalanche.rcw

This is because the file "dod_Avalanche.rcw" does not exist. The file is called "dod_avalanche.rcw".
But, if I start the server with this command:
QUOTE
./dod_server/srcds_run -console -debug -game dod -maxplayers 24 -port 27015 +sv_lan 1 +log on +map dod_avalanche

Everything is working fine smile.gif

@Admin Mode
Not sure what you mean with "Admin Mode", but if you are changing the level with the server command "changelevel dod_Avalanche" the same thing will happen again.
If you are using this command "changelevel dod_avalanche", everything is working fine.

If you are using Upper Case Letters in your level name, the server will not find the waypoints.
This is because Linux is searching the files case-sensitively. dod_Avalanche.rcw and dod_avalanche.rcw are two different files in Linux.

I assume that your initial startup command is using Upper Case Letters and your "Admin Mode" is using lower case letters.
Therefore it doesn't work after starting the server. Afterwards the "Admin Mode" is using the correct lower case level name.
Correct me if I'm wrong, but this is probably the reason why it works after the map change via the "Admin Mode".

@Duplicate Plugins:
It's impossible with meta mod, that the same plugin gets loaded twice.
You can check this with the command "meta list".
QUOTE
meta list
Listing 3 plugins:
[01] RCBot2 (1.0.0.0) by Cheeseh
[02] SourceMod (1.7.2) by AlliedModders LLC
[03] SDK Tools (1.7.2) by AlliedModders LLC

Even if you are trying to load the same plugin again, you get this:
QUOTE
meta load addons/rcbot2/HPB_bot2_meta
Plugin "RCBot2" is already loaded as 1.

If you want to check the native plugins you can use "plugin_print". It should only show Meta Mod.
QUOTE
plugin_print
Loaded plugins:
---------------------
0: "Metamod:Source 1.10.4"
---------------------


I hope this covers your questions smile.gif
I something is unclear, don't hesitate to write back.

Best regards
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: 18th July 2025 - 01:42 AM