Loading...
 

General


Outputting Frames per Second

Hello Everybody,

I am using pogamut 3.3.0 with UT2004 and would like to ask you about the ways to obtain the Frames per Second during the game. I wanted to make sure my logic function does not lag the game. Is there anyway to output that in real-time?

Thanks,

Hman
Hi!

The only way you can lag UT2004 server is to run too many bots per server. One server can typically support 4-5 bots, we've improved that with GameBots2004 3.3.1-SNAPSHOT to 7-8 bots on smaller maps (e.g. CTF-Lostfaith or DM-1on1-Albatross).

Note that logic() function is evaluated inside Java Virtual Machine and does not block UT2004 by all means (it is totally independent).

But if your logic will last more than 250ms, you will probably miss some info from UT2004 as it will get "discarded" (not fully discarded, details are bit complicate to explain).

Best,
Jakub
 

News

News RSS RSS feed for News link



Pogamut

Quarterly RSS RSS feed for quarterly reports

Acknowledgement

This work is supported by GA UK 1053/2007/A-INF/MFF (2007-8), GA UK 351/2006/A-INF/MFF (2006-8), the Ministry of Education of the Czech Republic (grant MSM0021620838) (2008-9), by the Program "Information Society" under project 1ET100300517 (2006-9), and the project Integration of IT Tools into Education of Humanities (2006-8) and by the project CZ.2.17/3.1.00/31162, which are financed by the European Social Fund, the state budget of the Czech Republic, and by the budget of Municipal House Prague.