Solved Server Bugs

Report bugs to be fixed
Post Reply
User avatar
Spir0x
Veteran Member
Veteran Member
Tunisia
Posts: 641
Joined: 7 years ago
Location: Tunisia
Contact:

Server Bugs

#1

Post by Spir0x » 4 years ago

Today on my server we are playing 13 player on the server, and two of them has the same problem. when they throw HE Grenade their CS Crash directly.

Second bug is when we are playing the server suddenly restart the round to new round. hope you help me on these bugs guys !

Muhammet20
Veteran Member
Veteran Member
Posts: 408
Joined: 5 years ago
Contact:

#2

Post by Muhammet20 » 4 years ago

This is stranger
lizou was have a problem like your problem
idk why this happening
are you using a VPS or you hosted your server by a hosting Website?
if you have VPS how many cores you have for the CPU(Processor)?

Muhammet20
Veteran Member
Veteran Member
Posts: 408
Joined: 5 years ago
Contact:

#3

Post by Muhammet20 » 4 years ago

And tell me if there any logs

User avatar
Spir0x
Veteran Member
Veteran Member
Tunisia
Posts: 641
Joined: 7 years ago
Location: Tunisia
Contact:

#4

Post by Spir0x » 4 years ago

No i'm not using website server i have my own vps, with 1 core. and nothing appearing in the logs no problems.

User avatar
sPe3doN
Senior Member
Senior Member
Algeria
Posts: 258
Joined: 7 years ago
Contact:

#5

Post by sPe3doN » 4 years ago

Spir0x wrote: 4 years ago Today on my server we are playing 13 player on the server, and two of them has the same problem. when they throw HE Grenade their CS Crash directly.

Second bug is when we are playing the server suddenly restart the round to new round. hope you help me on these bugs guys !
Same on my old server some players was facing this problem.
It's happened from fire nade effects also forst nade effect game carched after throwing those greandes try removed them
Image

User avatar
Spir0x
Veteran Member
Veteran Member
Tunisia
Posts: 641
Joined: 7 years ago
Location: Tunisia
Contact:

#6

Post by Spir0x » 4 years ago

nades effects ? i'll try
what about round restart

Muhammet20
Veteran Member
Veteran Member
Posts: 408
Joined: 5 years ago
Contact:

#7

Post by Muhammet20 » 4 years ago

Spir0x wrote: 4 years ago nades effects ? i'll try
what about round restart
are you using this plugin?
viewtopic.php?f=15&t=3525&p=9197&hilit=restart#p9197

cuz when i try it i had problems like restart round not just in the first one

User avatar
Spir0x
Veteran Member
Veteran Member
Tunisia
Posts: 641
Joined: 7 years ago
Location: Tunisia
Contact:

#8

Post by Spir0x » 4 years ago

Yeah i'm using it.

Muhammet20
Veteran Member
Veteran Member
Posts: 408
Joined: 5 years ago
Contact:

#9

Post by Muhammet20 » 4 years ago

Spir0x wrote: 4 years ago Yeah i'm using it.
remove it and use this better:
https://forums.alliedmods.net/showthread.php?p=789518

User avatar
Spir0x
Veteran Member
Veteran Member
Tunisia
Posts: 641
Joined: 7 years ago
Location: Tunisia
Contact:

#10

Post by Spir0x » 4 years ago

Man why i remove it, it's already made for zombie escape mod by raheem. the one you showed i know it and not compatible with ZE.
so raheem needs to see his code and update it to latest version and fix bugs if finded in code.

First round restart:

Code: Select all

#include <zombie_escape>



#define TIMER_TASK 2018



// Pointers

new g_pCvarRestartTime



// Variables

new bool:g_bFirstRound = false, g_iCounter



public plugin_init()

{

	register_plugin("First Round Restart", "1.0", "Raheem")

	

	// Cvars

	g_pCvarRestartTime = register_cvar("restart_time", "30") // Restart time in seconds

	

	// Initial Values (-1 Hard Coded Value)

	g_iCounter = get_pcvar_num(g_pCvarRestartTime) - 1

}



public ze_game_started()

{

	if (!g_bFirstRound)

	{

		g_bFirstRound = true

		server_cmd("sv_restartround %d", get_pcvar_num(g_pCvarRestartTime))

		set_task(1.0, "TimeCounter", TIMER_TASK, _, _, "a", get_pcvar_num(g_pCvarRestartTime))

	}

}



public TimeCounter()

{

	new iNum = g_iCounter --

	new szNum[32]

	

	if (iNum <= 0)

		return

	

	client_print(0, print_center, "Round Will Restart IN: %d!!", iNum)

	

	if (iNum < 11)

	{

		num_to_word(iNum, szNum, charsmax(szNum))

		client_cmd(0,"speak ^"vox/%s^"", szNum)

	}

}

/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE

*{\\ rtf1\\ ansi\\ ansicpg1252\\ deff0\\ deflang1036{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ f0\\ fs16 \n\\ par }

*/

or maybe the bug from this darkness round.

Code: Select all

#include <zombie_escape>

 

#define DEFAULT_LIGHT "d"

 

new bool:g_bDarkRound

 

public plugin_init()

{

    register_plugin("[ZE] Darkness Round", "1.0", "Raheem")

   

    // Dark round false

    g_bDarkRound = false

}

 

public ze_game_started()

{

    if (ze_get_round_number() == 10)

    {

        for (new id = 1; id <= get_member_game(m_nMaxPlayers); id++)

        {

            if (!is_user_connected(id))

                continue

        }

 

        server_cmd("ze_lighting_style a")

        g_bDarkRound = true

        ze_colored_print(0, "!tIt's too late!y, !tSurvive the darkness if you can!g!!")

    }

}

 

public ze_roundend(WinTeam)

{

    if (g_bDarkRound == true)

    {

        server_cmd("ze_lighting_style %s", DEFAULT_LIGHT)

        g_bDarkRound = false

    }

}

/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE

*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1036\\ f0\\ fs16 \n\\ par }

*/


Muhammet20
Veteran Member
Veteran Member
Posts: 408
Joined: 5 years ago
Contact:

#11

Post by Muhammet20 » 4 years ago

Spir0x wrote: 4 years ago Man why i remove it, it's already made for zombie escape mod by raheem. the one you showed i know it and not compatible with ZE.
so raheem needs to see his code and update it to latest version and fix bugs if finded in code.

First round restart:

Code: Select all

#include <zombie_escape>



#define TIMER_TASK 2018



// Pointers

new g_pCvarRestartTime



// Variables

new bool:g_bFirstRound = false, g_iCounter



public plugin_init()

{

	register_plugin("First Round Restart", "1.0", "Raheem")

	

	// Cvars

	g_pCvarRestartTime = register_cvar("restart_time", "30") // Restart time in seconds

	

	// Initial Values (-1 Hard Coded Value)

	g_iCounter = get_pcvar_num(g_pCvarRestartTime) - 1

}



public ze_game_started()

{

	if (!g_bFirstRound)

	{

		g_bFirstRound = true

		server_cmd("sv_restartround %d", get_pcvar_num(g_pCvarRestartTime))

		set_task(1.0, "TimeCounter", TIMER_TASK, _, _, "a", get_pcvar_num(g_pCvarRestartTime))

	}

}



public TimeCounter()

{

	new iNum = g_iCounter --

	new szNum[32]

	

	if (iNum <= 0)

		return

	

	client_print(0, print_center, "Round Will Restart IN: %d!!", iNum)

	

	if (iNum < 11)

	{

		num_to_word(iNum, szNum, charsmax(szNum))

		client_cmd(0,"speak ^"vox/%s^"", szNum)

	}

}

/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE

*{\\ rtf1\\ ansi\\ ansicpg1252\\ deff0\\ deflang1036{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ f0\\ fs16 \n\\ par }

*/

or maybe the bug from this darkness round.

Code: Select all

#include <zombie_escape>

 

#define DEFAULT_LIGHT "d"

 

new bool:g_bDarkRound

 

public plugin_init()

{

    register_plugin("[ZE] Darkness Round", "1.0", "Raheem")

   

    // Dark round false

    g_bDarkRound = false

}

 

public ze_game_started()

{

    if (ze_get_round_number() == 10)

    {

        for (new id = 1; id <= get_member_game(m_nMaxPlayers); id++)

        {

            if (!is_user_connected(id))

                continue

        }

 

        server_cmd("ze_lighting_style a")

        g_bDarkRound = true

        ze_colored_print(0, "!tIt's too late!y, !tSurvive the darkness if you can!g!!")

    }

}

 

public ze_roundend(WinTeam)

{

    if (g_bDarkRound == true)

    {

        server_cmd("ze_lighting_style %s", DEFAULT_LIGHT)

        g_bDarkRound = false

    }

}

/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE

*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1036\\ f0\\ fs16 \n\\ par }

*/

okay wait Raheem to update the plugin

User avatar
sPe3doN
Senior Member
Senior Member
Algeria
Posts: 258
Joined: 7 years ago
Contact:

#12

Post by sPe3doN » 4 years ago

Bro i'm 90% sure it's from Greandes effacts
Try this and they 'll not face that problem again
viewtopic.php?f=15&t=3595
Image

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#13

Post by Raheem » 4 years ago

Round restarting fixed in version 1.5
He who fails to plan is planning to fail

czirimbolo
Veteran Member
Veteran Member
Poland
Posts: 598
Joined: 7 years ago
Contact:

#14

Post by czirimbolo » 4 years ago

Raheem wrote: 4 years ago Round restarting fixed in version 1.5
I updated ze_core to 1.5v but round still restarts sometimes... so the problem still exists
Image

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#15

Post by Raheem » 4 years ago

czirimbolo wrote: 4 years ago
Raheem wrote: 4 years ago Round restarting fixed in version 1.5
I updated ze_core to 1.5v but round still restarts sometimes... so the problem still exists
I updated also and noticed 0 restart over 4 months or more, so not sure but I tested it many times before release and after release and it's OK.
He who fails to plan is planning to fail

Templaso
Senior Member
Senior Member
Romania
Posts: 119
Joined: 5 years ago
Location: Bucharest
Contact:

#16

Post by Templaso » 4 years ago

It's not fixed. Still restarting when someone joining

karan
Mod Tester
Mod Tester
India
Posts: 122
Joined: 6 years ago
Location: India
Contact:

#17

Post by karan » 4 years ago

Raheem wrote: 4 years ago
czirimbolo wrote: 4 years ago
Raheem wrote: 4 years ago Round restarting fixed in version 1.5
I updated ze_core to 1.5v but round still restarts sometimes... so the problem still exists
I updated also and noticed 0 restart over 4 months or more, so not sure but I tested it many times before release and after release and it's OK.
yeah now working fine just in direct start can u fix it?
Image

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#18

Post by Raheem » 4 years ago

You guys using the modified one: viewtopic.php?f=7&t=3694&start=10?
He who fails to plan is planning to fail

karan
Mod Tester
Mod Tester
India
Posts: 122
Joined: 6 years ago
Location: India
Contact:

#19

Post by karan » 4 years ago

Raheem wrote: 4 years ago You guys using the modified one: viewtopic.php?f=7&t=3694&start=10?
yup
Image

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#20

Post by Raheem » 4 years ago

That's why I'll start checking what was the problem in this modified one.

EDIT: Resolved here: viewtopic.php?f=7&p=10938#p10938
Last edited by Raheem 4 years ago, edited 1 time in total.
Reason: FIXED
He who fails to plan is planning to fail

Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Who is online

Users browsing this forum: No registered users and 0 guests