Raised This Month: $ Target: $400
 0% 

What's wrong with plmenu.amxx? o_O


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Mofforg
Senior Member
Join Date: Aug 2010
Location: Moscow, Russia
Old 07-07-2013 , 08:51   What's wrong with plmenu.amxx? o_O
Reply With Quote #1

I have this is log:

PHP Code:
L 07/07/2013 15:47:22: [CSTRIKEInvalid player 19
L 07
/07/2013 15:47:22: [AMXXRun time error 10 (plugin "plmenu.amxx") (native "cs_set_user_team") - debug not enabled!
L 07/07/2013 15:47:22: [AMXXTo enable debug modeadd "debug" after the plugin name in plugins.ini (without quotes). 
and after 2 min server crashed:

PHP Code:
Uploading dump (in-process) [proxy '']
/
tmp/dumps/crash_20130707154958_1.dmp
success 
no
error
:  Couldn't connect to server
Segmentation fault (core dumped) 
PHP Code:
CRASHSun Jul  7 15:50:07 MSK 2013 
Using default plmenu.amxx from amxx 1.8.2-dev
Mofforg is offline
Send a message via ICQ to Mofforg Send a message via Skype™ to Mofforg
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 07-07-2013 , 08:55   Re: What's wrong with plmenu.amxx? o_O
Reply With Quote #2

Why won't you enable debug before you report these....

And what makes you think the crash is releated to that message?
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).

Last edited by YamiKaitou; 07-07-2013 at 08:56.
YamiKaitou is offline
Mofforg
Senior Member
Join Date: Aug 2010
Location: Moscow, Russia
Old 07-07-2013 , 08:59   Re: What's wrong with plmenu.amxx? o_O
Reply With Quote #3

Quote:
Originally Posted by YamiKaitou View Post
Why won't you enable debug before you report these....

And what makes you think the crash is releated to that message?
Because i have few months uptime. And only now it crashes and this is the only error i see (i never see any errors, i use less plugins and all with sma)
Mofforg is offline
Send a message via ICQ to Mofforg Send a message via Skype™ to Mofforg
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 07-07-2013 , 09:12   Re: What's wrong with plmenu.amxx? o_O
Reply With Quote #4

The crash is something else. It won't crash because a plugin throws an error. It tells just a player was disconnected when a command has been used on him.
__________________
Arkshine is offline
Mofforg
Senior Member
Join Date: Aug 2010
Location: Moscow, Russia
Old 07-07-2013 , 09:22   Re: What's wrong with plmenu.amxx? o_O
Reply With Quote #5

Quote:
Originally Posted by Arkshine View Post
The crash is something else. It won't crash because a plugin throws an error. It tells just a player was disconnected when a command has been used on him.
Why in default plugins is not prevented such problem?
Mofforg is offline
Send a message via ICQ to Mofforg Send a message via Skype™ to Mofforg
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 07-07-2013 , 09:35   Re: What's wrong with plmenu.amxx? o_O
Reply With Quote #6

That's not something which should happen at this time, as the player is disconnected right after pressing some key into a menu.

To be disconnected before menu callback is done, it's most likely because of others plugins kicking or player dropped by server for some reason. Rare situation, it won't hurt though to add some check to make sure a player is connected.
__________________
Arkshine is offline
Mofforg
Senior Member
Join Date: Aug 2010
Location: Moscow, Russia
Old 07-07-2013 , 09:49   Re: What's wrong with plmenu.amxx? o_O
Reply With Quote #7

Quote:
Originally Posted by Arkshine View Post
That's not something which should happen at this time, as the player is disconnected right after pressing some key into a menu.

To be disconnected before menu callback is done, it's most likely because of others plugins kicking or player dropped by server for some reason. Rare situation, it won't hurt though to add some check to make sure a player is connected.
It will make log. Log should be used only if it's really an error.

Really bad there are not enough checks.

If any plugin rely on plmenu it'll crash the server. I think there are something wrong. Server should not crash right after this.

Last edited by Mofforg; 07-07-2013 at 09:50.
Mofforg is offline
Send a message via ICQ to Mofforg Send a message via Skype™ to Mofforg
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 07-07-2013 , 09:51   Re: What's wrong with plmenu.amxx? o_O
Reply With Quote #8

Make sure you don't have plugins that kick players improperly, as only sending SVC_DISCONNECT message, for example.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 07-07-2013 , 09:52   Re: What's wrong with plmenu.amxx? o_O
Reply With Quote #9

Quote:
If any plugin rely on plmenu it'll crash the server. I think there are something wrong. Server should not crash right after this.
Again, crash IS NOT because of this "plugin" error.
__________________
Arkshine is offline
Mofforg
Senior Member
Join Date: Aug 2010
Location: Moscow, Russia
Old 07-07-2013 , 09:52   Re: What's wrong with plmenu.amxx? o_O
Reply With Quote #10

Quote:
Originally Posted by ConnorMcLeod View Post
as only sending SVC_DISCONNECT message, for example.
Sorry i don't understand these words, they have no sense.

How to kick correctly?

Mostly i am using kick #id to kick players. Is that correct? Or how to do it correctly?
Mofforg is offline
Send a message via ICQ to Mofforg Send a message via Skype™ to Mofforg
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 06:21.


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