Raised This Month: $41 Target: $400
 10% 

[CSGO] Danger Zone Server Problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
CDboy
Junior Member
Join Date: Aug 2020
Location: China
Old 08-24-2020 , 02:46   [CSGO] Danger Zone Server Problem
Reply With Quote #1

Hello, I am writing a server plugin for danger zone mode, and I have completed a lot. However, I still have two questions:

1. How to get a player's and a team's score correctly in dz mode? There seems to be 3 ways or more: player_score event; CS_GetClientContributionScore; CS_GetTeamScore.

I have tested the player_score event but it seems to never happen in dz mode. And I don't know if the latter functions will return the correct score. Does anyone know about the danger zone score system?

2. How to record a GOTV demo with 128 updaterate and 128 cmdrate? I have set the server's sv_minupdaterate and sv_mincmdrate to 128, but the demo still has 32 up and cmd.
CDboy is offline
digin
Member
Join Date: Nov 2019
Old 08-24-2020 , 03:14   Re: [CSGO] Danger Zone Server Problem
Reply With Quote #2

for GOTV Demo 128 tick

PHP Code:
tv_snapshotrate "128"
tv_maxrate "128000" 
digin is offline
CDboy
Junior Member
Join Date: Aug 2020
Location: China
Old 08-24-2020 , 08:11   Re: [CSGO] Danger Zone Server Problem
Reply With Quote #3

Quote:
Originally Posted by digin View Post
for GOTV Demo 128 tick

PHP Code:
tv_snapshotrate "128"
tv_maxrate "128000" 
That works, thank you! Anybody can help me with Question 1?
CDboy is offline
CDboy
Junior Member
Join Date: Aug 2020
Location: China
Old 08-25-2020 , 00:46   Re: [CSGO] Danger Zone Server Problem
Reply With Quote #4

Well, I guess csgo server itself does not calculate player's or team's score at all, is that right? Is the plugin that is calculating the score?
CDboy is offline
DexonRL
Junior Member
Join Date: Jul 2020
Location: Israel
Old 08-26-2020 , 02:39   Re: [CSGO] Danger Zone Server Problem
Reply With Quote #5

CS_GetClientContributionScore is used to get player's total score. client killed 2 players, ContributionScore = 4.

and CS_GetTeamScore is used to get the team score, for example 5-1 to terrorists.
DexonRL 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:57.


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