Giter Site home page Giter Site logo

yberion / jka_ybeproxy Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 8.0 467 KB

Educational project on the creation of a proxy between the server engine and the game module of the game STAR WARS™ Jedi Knight - Jedi Academy™

License: GNU General Public License v2.0

C++ 95.18% CMake 4.67% Batchfile 0.15%

jka_ybeproxy's People

Contributors

deathsythe47 avatar yberion avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

jka_ybeproxy's Issues

sv_fps 30 minimum cap, can't run at 20fps

I've compiled YBEProxy in order to try it on a linuxjampded server running at sv_fps 20, but turned out YBEProxy caps sv_fps at minimum of 30 for some reason, without mentioning it.

When sv_fps is set to 20 or below, we can clearly tell that a server still runs at 30 FPS based on the following signs:

  • Ping calculation is precise, which is not possible on sv_fps 20, where you should get rounded pings such as 48 for low pings etc. i.e if my current ping is 35, it will be 35 on sv_fps 30, but on sv_fps 20 it will be approximately 48, which is normal due to impossibility of calculating precise ping on 20fps due to its natural limitations.

  • When setting sv_fps 5, ping should double i.e. if my normal ping is 100 it should become 200, which doesn't happen because server continue operating at sv_fps 30 internally and ping calculation is precise.

  • Client-side snaps react to sv_fps change that makes a misleading impression of changed FPS, but it's only because JKA clients cap /snaps to the current /sv_fps. When I remove this autocap from my client (by rebuilding OpenJK), the sv_fps changes become unnoticeable even at sv_fps 1 and server is playable, which is not normal.

I didn't find any mentions of lower limit for sv_fps across your hackmd.io notes, but still would like to know if it's a known feature or something that you are unaware of and maybe a bug.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.