Raised This Month: $12 Target: $400
 3% 

find bad entity


Post New Thread Reply   
 
Thread Tools Display Modes
Owyn
Veteran Member
Join Date: Nov 2007
Old 09-10-2009 , 09:31   Re: find bad entity
Reply With Quote #11

so why doesn't it crash on other maps?.
__________________
☜ Free Mozy ☂backup\҉sync user
Quote:
Американский форум - Задаёшь вопрос, потом тебе отвечают.
Израильский форум - Задаёшь вопрос, потом тебе задают вопрос.
Русский форум - Задаёшь вопрос, потом тебе долго рассказывают, какой ты мудак.
Owyn is offline
Send a message via ICQ to Owyn
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 09-10-2009 , 09:32   Re: find bad entity
Reply With Quote #12

I don't know. You don't povide enough informations. At least if we could know what plugin is causing that.
__________________
Arkshine is offline
Owyn
Veteran Member
Join Date: Nov 2007
Old 09-10-2009 , 09:39   Re: find bad entity
Reply With Quote #13

server crashed 8 seconds after one of round starts

; AMX Mod X plugins

*my plugins list was here
__________________
☜ Free Mozy ☂backup\҉sync user
Quote:
Американский форум - Задаёшь вопрос, потом тебе отвечают.
Израильский форум - Задаёшь вопрос, потом тебе задают вопрос.
Русский форум - Задаёшь вопрос, потом тебе долго рассказывают, какой ты мудак.

Last edited by Owyn; 09-10-2009 at 11:45. Reason: conspiracy
Owyn is offline
Send a message via ICQ to Owyn
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 09-10-2009 , 09:52   Re: find bad entity
Reply With Quote #14

To start, you can search all plugins using a message ( message_begin() [...] message_end() ) where the player's id is passed into message_begin and the type is MSG_ONE or MSG_UNRELIABLE. The problem sounds like the index passed is not a player, 0 or > max_clients.
__________________
Arkshine is offline
Owyn
Veteran Member
Join Date: Nov 2007
Old 09-10-2009 , 10:22   Re: find bad entity
Reply With Quote #15

as i said i searched for such plugins long ago and checked everything to have is_user_connected check and the one to check if it is a valid player so i checked again now and every msg_ has checks like:

PHP Code:
for( new id 1id <= max_clientsid++ )
    {
    if( 
is_user_connected(id) && !is_user_bot(id) )
    { 
__________________
☜ Free Mozy ☂backup\҉sync user
Quote:
Американский форум - Задаёшь вопрос, потом тебе отвечают.
Израильский форум - Задаёшь вопрос, потом тебе задают вопрос.
Русский форум - Задаёшь вопрос, потом тебе долго рассказывают, какой ты мудак.
Owyn is offline
Send a message via ICQ to Owyn
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 09-10-2009 , 10:31   Re: find bad entity
Reply With Quote #16

Just find the plugin by turning off always half of the plugins.
SnoW is offline
Send a message via MSN to SnoW
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 09-10-2009 , 10:32   Re: find bad entity
Reply With Quote #17

message doesn't mean only message which send texts. All the message used by the engine to make the effects and such. Not only SayText or TextMsg.
__________________
Arkshine is offline
Owyn
Veteran Member
Join Date: Nov 2007
Old 09-10-2009 , 10:48   Re: find bad entity
Reply With Quote #18

Arkshine, so? i just searched all "message_begin" in scriptiong folder, i compile all plugins myself there

Snow, error appears few times in a week or less,
__________________
☜ Free Mozy ☂backup\҉sync user
Quote:
Американский форум - Задаёшь вопрос, потом тебе отвечают.
Израильский форум - Задаёшь вопрос, потом тебе задают вопрос.
Русский форум - Задаёшь вопрос, потом тебе долго рассказывают, какой ты мудак.
Owyn is offline
Send a message via ICQ to Owyn
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 09-10-2009 , 10:55   Re: find bad entity
Reply With Quote #19

Just add check to make sure the id passed is a valid player.
__________________
Arkshine is offline
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 09-10-2009 , 11:12   Re: find bad entity
Reply With Quote #20

Quote:
Originally Posted by .Owyn. View Post
Snow, error appears few times in a week or less,
Quote:
Originally Posted by .Owyn. View Post
server crashed 8 seconds after one of round
SnoW is offline
Send a message via MSN to SnoW
Old 09-10-2009, 11:13
Owyn
This message has been deleted by Owyn. Reason: allied mods lags
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 08:27.


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