Posts: 2,031
Threads: 27
Joined: Nov 2008
Reputation:
17
you cannot modify the php files, they are encrypted. I personally don't use the web interface because it is too unflexible in this things. in your PM you told me you want to use the >1000 fps lib. For this you need do add the LD_PRELOAD variable only, right?
what you can try is to change the screenrc file and add the LD_PRELOAD variable there, using the setenv command. I don't remember where the screenrc file is located (IIRC it is somewhere in the directory of the web interface, the WI does not use the default screenrc in /etc!), and I cannot search for it as I don't have the WI installed anymore.
for tests you can always run the server without WI inside a screen.
Posts: 34
Threads: 2
Joined: Oct 2009
Reputation:
0
Thanks guys!
Exactly, I only want to add the preload variable and change the binary that gets started in order to test that >1000FPS hack. But the problem is, that I can't find the appropriate file where all the start parameters are located to change them. So finding this file/these parameters is the one and only chellenge for me here.
Now I found the file called screenrc.hl2eps and I modified the following entry to set the exact path to the library:
setenv LD_LIBRARY_PATH .:bin:/usr/X11R6/lib (don't know wheter to change or not, I didn't touch that)
# diese Enviroment Variable ist f�r GPortals HL2EPS Server
setenv LD_PRELOAD /home/gameserver/servers/193.192.59.171_27015/halflife2/libBEpingboost.so.1.0.1 (I did set the correct path here)
will this now automatically preload the library as soon as the gameserver starts/re-starts?
also, why do I get an "unknown command" when I hit setenv directly onto the shell?
Posts: 2,031
Threads: 27
Joined: Nov 2008
Reputation:
17
what messages appear in the console output (called "crashlog" in the WI)? anything about LD_PRELOAD and/or an initialization message of the lib? The latter is delayed by 10-20 seconds or so...
Posts: 34
Threads: 2
Joined: Oct 2009
Reputation:
0
yeah, thanks a lot ... I already discussed this way with Terrorkarotte on chat and will check this out later on.