MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
HL1 & HL2 Booster Library
HL1 & HL2 Booster Library
Posts: 108
Threads: 11
Joined: Apr 2005
Reputation:
4
10-26-2009, 11:12 AM
(This post was last modified: 10-26-2009, 11:35 AM by DiSTANT .)
Hello All,
Awhile back I released an open source library called "LibSource". This is nothing more than that library re-written.
For installation and usage instructions, please view the README file.
If you have any questions or need help, please join #SourceKernel on irc.gamesurge.net
Thanks to "Monk" for the initial idea. Also, many thanks to all of you who have contributed to the community.
HL-Booster Download (also attached to this post):
Code:
wget http://www.padgaming.com/sites/default/files/hl-booster.tar.gz
Quick installation intructions:
Code:
tar -zxvf hl-booster.tar.gz
cd hl-booster
make clean
make
make install (run as root)
Usage:
Code:
LD_PRELOAD=/usr/share/hl-booster/boost.so ./hlds_run ... -pingboost 2 -autoupdate
LD_PRELOAD=/usr/share/hl-booster/boost.so ./srcds_run ...
Kind Regards,
DiSTANT
Attached Files
hl-booster.tar.gz (Size: 7.36 KB / Downloads: 415)
Posts: 307
Threads: 18
Joined: Jan 2009
Reputation:
1
n1 ... now there is someone who gives his knowlege ... a niceguy ... not the same other guys which wrotes letters to gameserver companys and want to sell there knowlege for a lot of money (500eur for each) ... one of the guys is regged in this forum i think he knows ...
THANKS!
Posts: 504
Threads: 9
Joined: Oct 2009
Reputation:
3
10-26-2009, 05:23 PM
(This post was last modified: 10-26-2009, 05:32 PM by Terrorkarotte .)
Thanks for sharing. I had trouble compiling it on Debian x86_64 and got this error:
Code:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory
make: *** [boost.so] Error 1
I found out that you need the crosscompiling librarys. After installing them it worked:
Code:
apt-get update && apt-get install gcc-4.3-multilib gcc-multilib lib32bz2-1.0 lib32bz2-dev lib32gomp1 lib32z1-dev libbz2-dev libc6-dev-i386 zlib1g-dev
After compiling and installing i tried starting the server. The result:
Code:
ERROR: ld.so: object '/usr/share/hl-booster/boost.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/share/hl-booster/boost.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/share/hl-booster/boost.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/share/hl-booster/boost.so' from LD_PRELOAD cannot be preloaded: ignored.
Posts: 307
Threads: 18
Joined: Jan 2009
Reputation:
1
10-26-2009, 05:42 PM
(This post was last modified: 10-26-2009, 05:42 PM by Peter_Pan123 .)
i heard
ERROR: ld.so: object '/usr/share/hl-booster/boost.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/share/hl-booster/boost.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/share/hl-booster/boost.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/share/hl-booster/boost.so' from LD_PRELOAD cannot be preloaded: ignored.
that does no matter. look at the fps they should be good. on 64bit systems are this problems.
Posts: 34
Threads: 2
Joined: Oct 2009
Reputation:
0
Hi,
on make I get this one:
debian:~/hl-booster# make
gcc -fPIC -g -O2 -shared -o boost.so hl-booster.c -m32 -lrt
hl-booster.c:78: error: expected â)â before âusecâ
hl-booster.c: In function âconstructâ:
hl-booster.c:110: warning: incompatible implicit declaration of built-in function âmemsetâ
make: *** [boost.so] Error 1
any idea? please help me
Posts: 504
Threads: 9
Joined: Oct 2009
Reputation:
3
I looked at the fps. It does not enhance them at all because the preloading command is ignored.
I start with fps_max 0
Posts: 307
Threads: 18
Joined: Jan 2009
Reputation:
1
10-26-2009, 06:44 PM
(This post was last modified: 10-26-2009, 06:46 PM by Peter_Pan123 .)
nono > i tried the same with an other lib > i got the same ignored command > but i got 4k fps. its a lib problem or something else with 64bit. did you activate hres in the kernel? without them you cant use some commands in the lib.
ulx: did you try
apt-get update && apt-get install gcc-4.3-multilib gcc-multilib lib32bz2-1.0 lib32bz2-dev lib32gomp1 lib32z1-dev libbz2-dev libc6-dev-i386 zlib1g-dev
?
Posts: 504
Threads: 9
Joined: Oct 2009
Reputation:
3
Are you talking about hlds or srcds? The Kernel is set with hres and tickless
Posts: 34
Threads: 2
Joined: Oct 2009
Reputation:
0
(10-26-2009, 06:44 PM) Peter_Pan123 Wrote: ulx: did you try
apt-get update && apt-get install gcc-4.3-multilib gcc-multilib lib32bz2-1.0 lib32bz2-dev lib32gomp1 lib32z1-dev libbz2-dev libc6-dev-i386 zlib1g-dev
?
yep - and it says:
E: Couldn't find package gcc-4.3-multilib ... all other packages have been installed.
Posts: 15
Threads: 1
Joined: Dec 2008
Reputation:
0
10-26-2009, 07:26 PM
(This post was last modified: 10-26-2009, 07:37 PM by 3v1l .)
tickless + hpet +lib = no différence .
2.6.26.8 rt 16 32 bits
Posts: 226
Threads: 2
Joined: Aug 2009
Reputation:
1
(10-26-2009, 04:22 PM) Peter_Pan123 Wrote: n1 ... now there is someone who gives his knowlege ... a niceguy ... not the same other guys which wrotes letters to gameserver companys and want to sell there knowlege for a lot of money (500eur for each) ... one of the guys is regged in this forum i think he knows ...
THANKS!
What's the persons name who is trying to 'sell' a lib? I don't blame people for trying to make money. Why should people write free code that allows others to make money without giving them credit? heh.
Posts: 504
Threads: 9
Joined: Oct 2009
Reputation:
3
10-26-2009, 08:04 PM
(This post was last modified: 10-26-2009, 08:49 PM by Terrorkarotte .)
I tried another way:
I deleted the above listed packages and edited the Makefile:
Code:
$(CC) $(CFLAGS) -o $@ $(OPEN_HLBOOSTER) -m64 -lrt
Now it finally trys to load but gets other errors too...:
Code:
-------------------------------------------------
Loading...
HL-Booster Library by DiSTANT <distant@padgaming.com>
http://www.padgaming.com
irc.gamesurge.net #SourceKernel
Priority: REGULAR
Memory: UNLOCKED
-------------------------------------------------
Auto detecting CPU
./srcds_run: line 237: test: too many arguments
./srcds_run: line 240: test: too many arguments
Using default binary.
Server will auto-restart if there is a crash.
Could not locate steam binary:./steam, ignoring.
ERROR: ld.so: object '/usr/share/hl-booster/boost.so' from LD_PRELOAD cannot be preloaded: ignored.
So i tried it with the scrds_i486 and having also this error
Posts: 108
Threads: 11
Joined: Apr 2005
Reputation:
4
10-26-2009, 10:40 PM
(This post was last modified: 10-26-2009, 10:44 PM by DiSTANT .)
(10-26-2009, 08:04 PM) Terrorkarotte Wrote: I tried another way:
I deleted the above listed packages and edited the Makefile:
Code:
$(CC) $(CFLAGS) -o $@ $(OPEN_HLBOOSTER) -m64 -lrt
Now it finally trys to load but gets other errors too...:
Code:
-------------------------------------------------
Loading...
HL-Booster Library by DiSTANT <distant@padgaming.com>
http://www.padgaming.com
irc.gamesurge.net #SourceKernel
Priority: REGULAR
Memory: UNLOCKED
-------------------------------------------------
Auto detecting CPU
./srcds_run: line 237: test: too many arguments
./srcds_run: line 240: test: too many arguments
Using default binary.
Server will auto-restart if there is a crash.
Could not locate steam binary:./steam, ignoring.
ERROR: ld.so: object '/usr/share/hl-booster/boost.so' from LD_PRELOAD cannot be preloaded: ignored.
So i tried it with the scrds_i486 and having also this error
This is due to the printf in the constructor. If you just delete the constructor method, it should fix your problem.
(10-26-2009, 05:42 PM) Peter_Pan123 Wrote: i heard
ERROR: ld.so: object '/usr/share/hl-booster/boost.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/share/hl-booster/boost.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/share/hl-booster/boost.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/share/hl-booster/boost.so' from LD_PRELOAD cannot be preloaded: ignored.
that does no matter. look at the fps they should be good. on 64bit systems are this problems.
Peter is right, these can be ignored. This tells me that you are on 64-bit and it is trying to pull in functions it can't use because it is a 32-bit process.
All,
This library was not designed to get rid of FPS drops. It's only purpose is to use more precise timing for the engine. That said, if you take the time to study the engine and the way it calls the kernel, a lot can be done with this code to make FPS more stable.
Thank you to all the people who are testing the code. If I need to make any modifications, please let me know.
DiSTANT
Posts: 307
Threads: 18
Joined: Jan 2009
Reputation:
1
monk: sorry monk i dont want to tell the name. but i got an email about this, that he would give me a self coded lib for 500eur. he said the code ist compiled and not opensource. but its crazy ...
DiSTANT: but you can reach 1000fps? not 994 or something else?
Posts: 504
Threads: 9
Joined: Oct 2009
Reputation:
3
10-26-2009, 11:42 PM
(This post was last modified: 10-26-2009, 11:48 PM by Terrorkarotte .)
Ok lets say i ignore the errors and look at the max fps i get. I can not see any change. It is stuck at ~950fps
I am using hpet and tickless system.
I also tried deleting the constuctor part.
Users browsing this thread: 3 Guest(s)