Raised This Month: $32 Target: $400
 8% 

[Any] Dev Zones (Zones Manager with natives for developers) [Updated 30-Mar-2021]


Post New Thread Reply   
 
Thread Tools Display Modes
Sarrus
Member
Join Date: May 2020
Location: France
Old 06-11-2020 , 17:49   Re: [Any] Dev Zones (with natives for developers) [Updated 8-Jun-2020]
Reply With Quote #181

Does anybody have an issue where the screen of a client shakes violently when a player jumps or crouches? I'm not sure how to debug this. The problem goes away when the devzones plugin is disabled btw

Thanks in advance
__________________
Discord Coding Server | Steam Profile | Community Website | Github Profile

Taking paid requests (add me on Discord)
Sarrus is offline
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 06-11-2020 , 18:43   Re: [Any] Dev Zones (with natives for developers) [Updated 8-Jun-2020]
Reply With Quote #182

Quote:
Originally Posted by Sarrus View Post
Does anybody have an issue where the screen of a client shakes violently when a player jumps or crouches? I'm not sure how to debug this. The problem goes away when the devzones plugin is disabled btw

Thanks in advance
I never had that problem. Check your plugins list.
__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.

Franc1sco is offline
Send a message via MSN to Franc1sco
Sarrus
Member
Join Date: May 2020
Location: France
Old 06-12-2020 , 09:00   Re: [Any] Dev Zones (with natives for developers) [Updated 8-Jun-2020]
Reply With Quote #183

I'll check my plugins list then.

I'll just post the video here for posterity: https://youtu.be/eX1zlx8RHAI?t=25
__________________
Discord Coding Server | Steam Profile | Community Website | Github Profile

Taking paid requests (add me on Discord)
Sarrus is offline
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 06-12-2020 , 11:02   Re: [Any] Dev Zones (with natives for developers) [Updated 8-Jun-2020]
Reply With Quote #184

Quote:
Originally Posted by Sarrus View Post
I'll check my plugins list then.

I'll just post the video here for posterity: https://youtu.be/eX1zlx8RHAI?t=25
On the video on the netgraph you can see 2 numbers on orange because you are using 64 server rates config in a server that is set to 128 tickrate. You should fix the rates, also try if on 64 tickrate fix your issue,and if not then post your plugins list.
__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.


Last edited by Franc1sco; 06-12-2020 at 11:03.
Franc1sco is offline
Send a message via MSN to Franc1sco
Sarrus
Member
Join Date: May 2020
Location: France
Old 06-12-2020 , 17:33   Re: [Any] Dev Zones (with natives for developers) [Updated 8-Jun-2020]
Reply With Quote #185

Setting the tickrate to 64 on the server fixed the issue, many thanks!
__________________
Discord Coding Server | Steam Profile | Community Website | Github Profile

Taking paid requests (add me on Discord)
Sarrus is offline
Mister_An
Junior Member
Join Date: Jun 2020
Old 06-13-2020 , 14:55   Re: [Any] Dev Zones (with natives for developers) [Updated 8-Jun-2020]
Reply With Quote #186

How can I get the number of players in the zone?

I need the timer to start when a player from one team enters the zone, but if a second player from this team enters, the timer will not start.
And when one player leaves the zone, if there are 2 players in the zone, the timer did not stop. If there are no players of the same team in the zone, the timer stops.
PHP Code:
public Zone_OnClientEntry(client, const char[] zone)
{
    
char classname[64];
    if(
client || client MaxClients || !IsClientInGame(client)) 
    {
        
GetEdictClassname(clientclassname64);
    }

    
Timer_Join CreateTimer(1.0Timer_StartPoint_TIMER_REPEAT);

}

public 
Zone_OnClientLeave(client, const char[] zone)
{
    
char classname[64];
    if(
client || client MaxClients || !IsClientInGame(client)) 
    {
        
GetEdictClassname(clientclassname64);
    }
    
    
KillTimer(Timer_Join);


Last edited by Mister_An; 06-13-2020 at 15:48.
Mister_An is offline
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 06-14-2020 , 08:23   Re: [Any] Dev Zones (with natives for developers) [Updated 8-Jun-2020]
Reply With Quote #187

Quote:
Originally Posted by Mister_An View Post
How can I get the number of players in the zone?
Something like this should work
PHP Code:
int PlayersInZone(char[] zonenamebool exacZonebool caseSensitive)
{
    
int count;
    for (
int i 1<= MaxClientsi++) 
    { 
        if (
IsClientInGame(i) && IsPlayerAlive(i) && Zone_IsClientInZone(izonenameexacZonecaseSensitive))
            
count++;
    }
    
    return 
count;

__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.


Last edited by Franc1sco; 06-14-2020 at 10:00.
Franc1sco is offline
Send a message via MSN to Franc1sco
Voevoda
Senior Member
Join Date: Aug 2016
Old 06-21-2020 , 23:42   Re: [Any] Dev Zones (with natives for developers) [Updated 8-Jun-2020]
Reply With Quote #188

Hi Franc1sco

there is support for Left4Dead2 ?
Voevoda is offline
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 06-22-2020 , 03:42   Re: [Any] Dev Zones (with natives for developers) [Updated 8-Jun-2020]
Reply With Quote #189

Quote:
Originally Posted by Voevoda View Post
Hi Franc1sco

there is support for Left4Dead2 ?
It should works on l4d2 too.
__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.

Franc1sco is offline
Send a message via MSN to Franc1sco
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 06-22-2020 , 16:16   Re: [Any] Dev Zones (with natives for developers) [Updated 8-Jun-2020]
Reply With Quote #190

Voevoda, it will not work, because Franc1sco totally ignore all my posts with proposed fixes in this topic for some reason.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas 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:05.


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