I apologize ahead of time for the length of this message, but there's a lot
to explain.

I volunteer for the Cyber Athletic League (www.caleague.com) and I have been
asked to compile a plugin written for Counter-Strike Source on Linux.  I did
not write the plugin code, I am just compiling it.

The plugin is called "CAL Server Plugin" or CSP for short.  My understanding
is that the plugin checks for specific variables for changes/aliases and
kicks the player and alerts the other players on the server.

This plugin has been successfully built and used previously for both Windows
and Linux.  I do not have the first version of the source code, but this is
being called v1.1 by the author.

With the exception of "Makefile", the following is a list of the files I
received as "source".  I created the Makefile separately and it can be
viewed at http://linuxsvrs.com/Makefile.txt

-rw-r--r--   1 root root   4128 Jul 31 03:22 Makefile
-rw-r--r--   1 root root   1653 Feb 20 16:58 MRecipientFilter.cpp
-rw-r--r--   1 root root    804 Jan 30 16:26 MRecipientFilter.h
-rw-r--r--   1 root root    976 Dec 24  2004 serverplugin_convar.cpp
-rw-r--r--   1 root root  24091 Jul 29 01:04 serverplugin_empty.cpp
-rw-r--r--   1 root root 879616 Jul 29 01:29 serverplugin_empty.ncb
-rw-r--r--   1 root root    925 Jan 31 20:57 serverplugin_empty.sln
-rw-r--r--   1 root root  14848 Jul 29 01:29 serverplugin_empty.suo
-rw-r--r--   1 root root  13704 Jul 31 00:57 serverplugin_empty.vcproj

Once I made the Makefile, I was able to successfully compile the code with
zero errors.  However, the plugin will not load into CS:Source.  One
question I have, is the serverplugin_empty.vcproj needed/used by Linux?  I
wouldn't think so, but one never knows.  I did not account for it in my
Makefile and the code compiles without it.

Here is a layout of the files on my linux server:

Hl2sdk - /usr/src/hl2sdk
Source code dir - /usr/src/hl2sdk/src_mod
HL2 server - /usr/local/games/hlds_l/source

All of the files and the server are owned by a non-root account named
"admin".  I have compiled both as root and admin, same result.

I have compiled this successfully on the following platforms:

RedHat Enterprise Linux 3 Update 4 with gcc v3.2.3 and gcclib v3.2.3
Redhat Fedora Core 3 with gcc v3.4.4 and gcclib v3.4.4

I am attempting to run this plugin on a leased 1&1 server running Fedora
Core 2.

This is what I see in console on server startup:

[EMAIL PROTECTED] source]$ ./srcds_run -game cstrike -map de_dust2
Auto detecting CPU
Using SSE2 Optimised binary.
Auto-restarting the server on crash

Console initialized.
Attempted to create unknown entity type event_queue_saveload_proxy!
Game .dll loaded for "Counter-Strike: Source"
Unable to load plugin "../cstrike/addons/csp11"
maxplayers set to 32
Network: IP 82.x.x.x, mode MP, dedicated Yes, ports 27000 SV / 27005 CL
Adding master server 207.173.177.11:27011
Adding master server 69.28.151.162:27011
No challenge from 24.8.42.238:7130.
Connection to Steam servers successful.
   VAC beta secure mode is activated.

>From there, the server is running, but no plugin.

I have run this through strace and it doesn't make sense what is happening.

I am including a link to 83 lines of an strace run, please check out the
strace output here: http://linuxsvrs.com/strace.txt

Here is a link to download the two builds I compiled and the author's
README.txt:
http://linuxsvrs.com/csp11_RHEL3.zip
http://linuxsvrs.com/csp11_FC3.rar

Here are the machine specs: 2.8 ghz HT with 1 gig RAM
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 3
model name      : Intel(R) Pentium(R) 4 CPU 2.80GHz
stepping        : 4
cpu MHz         : 2794.116
cache size      : 1024 KB

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 15
model           : 3
model name      : Intel(R) Pentium(R) 4 CPU 2.80GHz
stepping        : 4
cpu MHz         : 2794.116
cache size      : 1024 KB

# vmstat 1
procs -----------memory---------- ---swap-- -----io---- --system--
----cpu----
 r  b   swpd   free   buff  cache   si   so    bi    bo   in    cs us sy id
wa
 0  0      0  13200   4872 747208    0    0    26    14   27    33  1  0 99
0

# cat /proc/swaps
Filename                                Type            Size    Used
Priority
/dev/sda2                               partition       2048276 0       -1

# uname -a
Linux onlinehome-server.com 2.6.9-041221 #1 SMP Tue Dec 21 16:00:43 CET 2004
i686 i686 i386 GNU/Linux

# cat /etc/redhat-release
Fedora Core release 2 (Tettnang)

Any help would be greatly appreciated.

Thank you,

        Rich P. aka WhoCares?



_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to