Raised This Month: $ Target: $400
 0% 

Solved Valve Profiler analyse


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
morzlee
Junior Member
Join Date: Jan 2022
Old 07-18-2022 , 22:28   Valve Profiler analyse
Reply With Quote #1

Hello, My server have huge lags when there are 4+ player, So I use Profiler to test out which plugins or function cause my server lag.


I want to know where these big time consume come from?
Can you give me a little guidance。
I have a plugin that has a slightly more complicated calculation in the OnGameframe function.
few plugins use OnPlayerRunCmd to control SI movement.(example1,example2)

All server plugin scripting
Fully Profiler file attached.
Attached Files
File Type: 7z profiler__2022-07-19_09-41-55.7z (177.4 KB, 41 views)

Last edited by morzlee; 07-20-2022 at 07:51. Reason: remove img link
morzlee is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 07-19-2022 , 08:40   Re: Valve Profiler analyse
Reply With Quote #2

Remove these plugins to test.

But is not recommended to do all that calculations and logic inside OnPlayerRunCmd or OnGameFrame.

I don't see much reason to focus on AI bot, you should care about real player stuff, bot will be always dumb
__________________
Marttt is offline
morzlee
Junior Member
Join Date: Jan 2022
Old 07-19-2022 , 12:19   Re: Valve Profiler analyse
Reply With Quote #3

Quote:
Originally Posted by Marttt View Post
Remove these plugins to test.

But is not recommended to do all that calculations and logic inside OnPlayerRunCmd or OnGameFrame.

I don't see much reason to focus on AI bot, you should care about real player stuff, bot will be always dumb
Server mainly provide a training mode for player fight vs advance SI bot like versus.
I use OnGameFrame function to find a good spot where can’t be seen and close to survivor.
OnPlayerRunCommand function to control AI action . Control them in such a way that they can behave more intelligently
morzlee is offline
morzlee
Junior Member
Join Date: Jan 2022
Old 07-20-2022 , 07:45   Re: Valve Profiler analyse
Reply With Quote #4

I have found an issue in onGameFrame function, the problem have been soloved in most case.
morzlee is offline
Reply



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 06:36.


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