Raised This Month: $ Target: $400
 0% 

There is a trouble with my plugin...low fps in DS


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
hzqst
Senior Member
Join Date: Jul 2008
Old 12-27-2008 , 05:21   There is a trouble with my plugin...low fps in DS
Reply With Quote #1

It usually checks in second

1.Is fm_set/get_user_health faster than set/get_user_haelth?
2.Is fm_set/get_user_team faster than cs_set/get_user_team?(change team with CS_DONTCHANGE)
3.Is there any way (check if player is alive) faster than is_user_alive
4.Is it good to put player damage hook and entity damage hook in a function? Shall I divide them into two functions?
5.Shall I clear and show hud messages per second?
hzqst is offline
alien
Senior Member
Join Date: Aug 2005
Location: London || Slovakia
Old 12-27-2008 , 05:31   Re: There is a trouble with my plugin...low fps in DS
Reply With Quote #2

Sorry for not directly answering your questions but what makes you think, that set/get_user_health would be the thing causing fps drop? I'm almost sure, you're talking about client's fps ... and that's not affected by what's happening on server.

Low game fps is either low PC specs, PC being bussy with something else than CS or improperly mapped map (lots of water, lots of detailed models, lots of overlapping animated sprites etc).
__________________
alien is offline
Send a message via ICQ to alien
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 12-27-2008 , 05:36   Re: There is a trouble with my plugin...low fps in DS
Reply With Quote #3

1/2 cant be faster i think just fm_ using fakemeta, and others using fun
__________________
xPaw is offline
hzqst
Senior Member
Join Date: Jul 2008
Old 12-27-2008 , 05:53   Re: There is a trouble with my plugin...low fps in DS
Reply With Quote #4

I said that the fps in HLDS will drops if my plugin runs
but when it runs with ZPmod ,fps never drops
hzqst is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 12-27-2008 , 06:00   Re: There is a trouble with my plugin...low fps in DS
Reply With Quote #5

then show your plugin we cant help you if we dont see the code
__________________
xPaw is offline
hzqst
Senior Member
Join Date: Jul 2008
Old 12-27-2008 , 06:14   Re: There is a trouble with my plugin...low fps in DS
Reply With Quote #6

you can see them first:
Quote:

ckrun_showhud_status
ckrun_showhud_build
ckrun_showhud_center
ckrun_showhud_msg

Last edited by hzqst; 03-03-2011 at 06:30.
hzqst is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 12-27-2008 , 06:18   Re: There is a trouble with my plugin...low fps in DS
Reply With Quote #7

If you use fun and cstrike modules, then, don't use those fm_ native replacements.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
hzqst
Senior Member
Join Date: Jul 2008
Old 12-27-2008 , 06:20   Re: There is a trouble with my plugin...low fps in DS
Reply With Quote #8

If I use both of them then it will be slow?
I use cs_set_user_team because fm_set_user_team doesn't work,I have to send a message
hzqst is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:12.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode