Hmmm... I just MIGHT be on to something here
Attached is a ZIP containing:
cs_i386.BAK = Backup of the original Counter-Strike Linux module.
cs_i386.so = WeedsBot Counter-Strike Linux module.
cs_i386.WB = Backup of the WeedsBot Counter-Strike Linux module.
Now... I *THINK* I was able to hex-edit the Linux file with the code listed in Sections 2-6 in the screenshot collage (above, in my previous message post). Although I have a *VAGUE* hunch of where the entries are in the Linux file for Section 1, I'm not really sure about that one.
Anyhow, attached is the ZIP with the above-mentioned files. I know nothing about Linux, so I'm not sure of the installation procedure... maybe simply a 'copy and overwrite' the existing file on the server?
I *DO* know though that with the Windows "WeedsBot.dll" file (client side, not sure about a dedicated server):
If you simply rename (and overwrite) the "WeedsBot.dll" file to the game's existing "MP.dll" file, the game/Steam will reject it; and extract a fresh unedited copy of the original "MP.dll" file to your "CSTrike/DLLs" directory (extracted from the "Counter-Strike.gcf" file)... thereby *REMOVING* WeedsBot.
With the Windows version, a workaround is by using the installation procedure that is detailed in the WeedsBot readme file:
WeedsBot Server Package and Single-Player Activation and Configuration
To activate and configure WeedsBot, perform the following steps:
1 - Right-click on the "Counter-Strike" entry within your Steam Client Games Library, and then left-click on "Properties".
2 - Left-click on the "Set Launch Options" button, and then add "-dll DLLs\WeedsBot.dll" (minus the quotes) to the "Launch Options - Counter-Strike" text-entry box.
3 - Click the "OK" button.
4 - Click the "Close" button.
Alternatively, you can simply add the command line parameter "-dll DLLs\WeedsBot.dll" (minus the quotes) to the actual Half-Life executable that runs Counter-Strike (e.g. "C:\Program Files\Steam\SteamApps\<USER_NAME>\Counter-Strike\HL.exe" -dll DLLs\WeedsBot.dll). Again, note that the "<USER_NAME>" subdirectory is named the same as your main Steam account login name.
This effectively leaves the original "MP.dll" file alone, and *ADDS* (or "injects") the "WeedsBot.dll" file to the program code when the game is launched. An FYI... this is similar to how I run "SturmBot" for Day of Defeat.
Now, that being said, I do *NOT* think that the Linux version would function the same way.
In other words... actually *RENAMING* the hex edited "cs_i386.so" file to something like "wb_i386.so", and then:
"C:\Program Files\Steam\SteamApps\<USER_NAME>\Counter-Strike\HL.exe" -dll DLLs\wb_i386.so
Nevertheless, y'all might want to give this a try... either by simply copying and overwriting the existing "cs_i386.so" file on the server, or via the method described above
Note that you'll still need all of the files contained in the:
http://jasonwilliams400com.startlogic.c ... ackage.zip
file, and have them unzipped to the appropriate directories on the server (if there's any chance in hell that this thing is gonna actually work).
Anywaaaays... lemme know of you have any luck with this whole mess. And if so, I'll try to figure out/fix the stuff mentioned in Section 1 of my previous message post
P.S. To test *IF* this thing is actually working, enter the console commands (I'm assuming prolly RCON for a server):
...as well as:
bot_add_t /AND/ bot_add_ct
...and SOMETHING (if anything) should happen <grin>