Get TickRate
1 Attachment(s)
Someone requested this and so I'm posting a plugin that will return what the servers current Tickrate is set at.
This is useful for people on rented servers who want to make sure their host is being honest and setting things correctly. Anyways, enjoy. Issues with this are fixed. Thanks for the update Omega. Probably should have put a comment on here on how to see your tickrate. In the console type sm_gettickrate |
Re: Get TickRate
Thanks, I requested this in the SM bug tracker a while ago.
|
Re: Get TickRate
Thank you Liam. I hope this gets added in as a standard feature on SM.
-BC |
Re: Get TickRate
The function is stock sourcemod. It is just a wrapper for the call to the server engine, you just have to multiply it by 10000 because its viewed as a float internally.
|
Re: Get TickRate
It returns my tickrate as 150;and thats obviously wrong.
|
Re: Get TickRate
It returned my tickrate correctly on all of my servers.
|
Re: Get TickRate
Whta would cause my tickrate to be 150 when i have it set to -tickrate 33?
Yup; I removed all ym mods everything at default everything, and set tickrate 33 and it still comes back 150. |
Re: Get TickRate
I just tested it on the steam srcds and it did return a BS number. My normal servers though are returned correctly.
Lemme investimigate. |
Re: Get TickRate
Updated.
|
Re: Get TickRate
Got errors with compiling.
|
Re: Get TickRate
No errors here.
|
Re: Get TickRate
Running latest sourcemod 1.1 snapshot.
|
Re: Get TickRate
Works good. I will probably not keep this loaded all the time but it is good to have whenever I need to test.
Thanks a bunch. -BC |
Re: Get TickRate
So how/when do you see the tickrate, can you type tickrate in chat and it will tell you or in console on join?
|
Re: Get TickRate
Quote:
|
Re: Get TickRate
11:59:56 [SM] Plugin tickrate.smx failed to load: Native "GetTickInterval" was not found..
Do I need 1.1 for this? |
Re: Get TickRate
You need at least SM 1.0.3
|
Re: Get TickRate
mine is 66 and i have nothing set and most host is with gameservers... hmm
|
Re: Get TickRate
ok.... thats normal.
|
Re: Get TickRate
Quote:
Yeah you can get 66 tick with the normal rental rate from GS. You only pay more for 100tick. -BC |
All times are GMT -4. The time now is 06:02. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.