How to + use of removing sfps limit [message #206587] |
Tue, 04 July 2006 23:53 |
|
Goztow
Messages: 9737 Registered: March 2005 Location: Belgium
Karma: 13
|
General (5 Stars) Goztoe |
|
|
My question is mainly in the topic head.
1. Is removing the sfps limit of any use? Is it like the 3d9blabla - fix? Because that one did a very nice job for my vid card. Will it prevent big drops at big rushes?
2. How to do it?
Question mainly for evilWD as he talked about it but anyone can answer ofcourse .
You can find me in The KOSs2 (TK2) discord while I'm playing. Feel free to come and say hi! TK2 discord
|
|
|
|
Re: How to + use of removing sfps limit [message #206594 is a reply to message #206587] |
Wed, 05 July 2006 01:37 |
|
Goztow
Messages: 9737 Registered: March 2005 Location: Belgium
Karma: 13
|
General (5 Stars) Goztoe |
|
|
Sure, would like a little test dll.
We got a 24 players server but cpu power already goes up to 85 % when it's full. Would still be nice to test though.
You can find me in The KOSs2 (TK2) discord while I'm playing. Feel free to come and say hi! TK2 discord
|
|
|
Re: How to + use of removing sfps limit [message #206599 is a reply to message #206587] |
Wed, 05 July 2006 02:25 |
StealthEye
Messages: 2518 Registered: May 2006 Location: The Netherlands
Karma: 0
|
General (2 Stars) |
|
|
I assume you know how to use a hex editor...
First calculate the frame time, by default it is 16ms, that means FPS is limited to 62,5 (1/0.016=62,5) For a FPS of 100 for example, use 1/100 = 0.010 seconds, = 10 ms (0x0A in hex)
Now change the bytes at offset 0x0003BAB9 and 0x0003BAC0 from 0x10 to the value you have just calculated, so change it to 0x0A to set the limit to 100.
The max number we support to be changed by the !sfps command we use is 1000 (0x01), I have not tested what would happen when you change it to 0, you could try that if you want no limit at all, but I'm not sure whether it works properly! 1000 FPS is probably enough though
BlackIntel admin/founder/coder
Please visit http://www.blackintel.org/
|
|
|
|
Re: How to + use of removing sfps limit [message #206602 is a reply to message #206600] |
Wed, 05 July 2006 03:10 |
|
EvilWhiteDragon
Messages: 3751 Registered: October 2005 Location: The Netherlands
Karma: 0
|
General (3 Stars) |
|
|
EWD gets his info from me, so...
I think the best thing you coul do is just find some hex editor (I especially like ultraedit, although it's a little odd with hex sometimes) then open server.dat, press ctrl+g or find the option to "find offset" or "goto offset" or something, enter the offsets I have just posted and you should see the 10 appear, be sure to enter hex data there, you can convert between hex and decimal in windows calc for exaqmple.
It sounds harder than it is in this explanation, it's not too hard to do really, and it will make it easier to try with different settings Though as evil already said it doesn't seem to make a big difference (eg. setting it to 8 FPS for a one player test server did not alter gameplay/lag much when we tested it I think).
It just isn't that easy to release this as you might want to try with different settings, and the way the chat commands are currently working it would be a big hassle to release the !sfps scripts.dll, for example which users would have permission to change it, etc...
[edit]
This was StealthEye posting, was just using his account to fix some domain name changes in other posts.. lol
BlackIntel admin/founder/PR dude (not a coder)
Please visit http://www.blackintel.org/
V, V for Vendetta | People should not be afraid of their governments.
Governments should be afraid of their people.
|
[Updated on: Wed, 05 July 2006 03:11] Report message to a moderator
|
|
|
|
|