Posts: 10
Threads: 1
Joined: Feb 17, 2008
Hi, I already have asked this in IRC, but since no one replies there.
I just installed the Sourceop mod on my hl2dm linux server and everything is working fine.
However the radio thing I wanted doesn't work
It doesn't spawn it, but when I try to spawn a second one it says there is already one radio.
What am I doing wrong ?
I'm also running metamod and sourcemod on the server.
Edit: btw., is the source code available to this mod ?
I would really like to know how you are displaying those HUD messages...
and how to spawn airboats :p
Posts: 10
Threads: 1
Joined: Feb 17, 2008
You are welcome to reply
Ok... I just installed a fresh hl2 dm on my server, and copied sourceop there.
The radio doesn't work there either, so I guess it's a problem in sourceop.
Posts: 5,877
Threads: 182
Joined: Dec 11, 2004
Shouldn't be. Are you sure the models are on the server. Do you have downloads enabled on the client? Nothing will show up if the server or the client do not have the model. Have you tried restarting HL2?
Posts: 20
Threads: 4
Joined: Oct 19, 2007
It is the old problem that exist for all mods running with linux.
http://www.sourceop.com/modules.php?name...opic&t=594
e.g.
Posts: 10
Threads: 1
Joined: Feb 17, 2008
Drunken_F00l Wrote:Shouldn't be. Are you sure the models are on the server. Do you have downloads enabled on the client? Nothing will show up if the server or the client do not have the model. Have you tried restarting HL2?
When I connect to your souceop server, the radio is working fine.
My server has the models and the download is working from my fastdownload server and trough srcds. I don't even see a single box of the radio.
I restarted my server and my hl2 multiple times, tried different maps, did a new install of the srcds. It says I have already spawned a radio the second time I tried it, I don't think I'm doing anything wrong.
If you like you can have ftp access to my test install to see if there is anything wrong... but I doubt it.
Posts: 10
Threads: 1
Joined: Feb 17, 2008
If you ask me, there is something wrong with CBaseEntity::KeyValue on Linux.
Posts: 5,877
Threads: 182
Joined: Dec 11, 2004
It is indeed a problem with Linux. Linux and/or the engine doesn't like the fact that the model directory has upper case characters. I know Linux is case sensitive in regards to files, but the code refers to them by the correct case. I think somewhere in the engine, it is getting converted to lower case and thus the problem. The fix isn't as simple as renaming the directories to all lower case.
I'll probably release an update later.
Posts: 10
Threads: 1
Joined: Feb 17, 2008
ok thanks, looking forward to this.
and uhm, can you maybe tell me how to display hud messages ?

like the credit message in the top right corner.
Posts: 5,877
Threads: 182
Joined: Dec 11, 2004
DF_feature_showcredits controls whether or not it is displaying.
DF_feature_showcredits_x and DF_feature_showcredits_y control the position. This feature doesn't work in CSS because they removed the hud messages from the game.
Posts: 10
Threads: 1
Joined: Feb 17, 2008
I know how to change cvars, but I wanted to know what sourceop is exactly doing to send it to the clients 8)