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

Plugin Error (Fail)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
321
Member
Join Date: Jun 2010
Old 06-30-2010 , 11:00   Plugin Error (Fail)
Reply With Quote #1

Hello
I found an error in your Plugin Version can you fix it please:
L 06/29/2010 - 18:18:27: SourceMod error session started
L 06/29/2010 - 18:18:27: Info (map "ze_LOTR_Mines_of_Moria_v4_5") (file "errors_20100629.log")
L 06/29/2010 - 18:18:27: [SM] Native "GetEntData" reported: Entity 30 (30) is invalid
L 06/29/2010 - 18:18:27: [SM] Displaying call stack trace for plugin "zombiereloaded.smx":
L 06/29/2010 - 18:18:27: [SM] [0] Line 935, zr/weapons/weapons.inc::WeaponsIsClientInBuyZone()
L 06/29/2010 - 18:18:27: [SM] [1] Line 256, zr/weapons/restrict.inc::RestrictBuyCommand()
L 06/29/2010 - 18:24:48: Error log file session closed.
321 is offline
Greyscale
SourceMod Plugin Approver
Join Date: Dec 2007
Location: strYoMommasHouse[you];
Old 06-30-2010 , 14:09   Re: Plugin Error (Fail)
Reply With Quote #2

Why are there weird errors like this..

(Not directed toward you 321, just some notes)

This error is coming from an invalid client index that's being provided by a console command callback.

Is this a sourcemod bug? Maybe he entered the command and disconnected within the same frame? Weird.


321, don't worry about this it is a freak error that shouldn't cause any problems.


EDIT:

Discussed with some other people and we came up with the idea that someone most likely connected to your server with 3rd party software installed on their client and sent the command while connecting. Why someone would send "buy" "rebuy" or "autobuy" while connecting I don't know. They may have been trying to crash your server.
__________________

Last edited by Greyscale; 06-30-2010 at 14:26.
Greyscale is offline
Annihilator
Senior Member
Join Date: Nov 2006
Location: Lithuania
Old 06-30-2010 , 14:31   Re: Plugin Error (Fail)
Reply With Quote #3

Well, I find a lot of this kind of error reports in my logs, but it never crashed my server or made an impact on the game play, so I just ignore it
Annihilator is offline
rhelgeby
Veteran Member
Join Date: Oct 2008
Location: 0x4E6F72776179
Old 06-30-2010 , 16:20   Re: Plugin Error (Fail)
Reply With Quote #4

At the moment I can't see any other reason why it happens. Must be like you suggested, players with plugins/scripts that send the buy command before the connection process is done.

Maybe we should to a IsClientInGame check in restrict.inc:RestrictBuyCommand? Just in case.
__________________
Richard Helgeby

Zombie:Reloaded | PawnUnit | Object Library
(Please don't send private messages for support, they will be ignored. Use the forum.)
rhelgeby is offline
Send a message via MSN to rhelgeby
Greyscale
SourceMod Plugin Approver
Join Date: Dec 2007
Location: strYoMommasHouse[you];
Old 06-30-2010 , 16:23   Re: Plugin Error (Fail)
Reply With Quote #5

Yeah we can do that. Just doesn't feel right checking if the client is valid when the SourceMod is the one giving the client.
__________________
Greyscale is offline
rhelgeby
Veteran Member
Join Date: Oct 2008
Location: 0x4E6F72776179
Old 06-30-2010 , 16:39   Re: Plugin Error (Fail)
Reply With Quote #6

I suppose the client itself is valid, but the client's entity isn't ready yet.

Added bug 195.
__________________
Richard Helgeby

Zombie:Reloaded | PawnUnit | Object Library
(Please don't send private messages for support, they will be ignored. Use the forum.)

Last edited by rhelgeby; 06-30-2010 at 16:44.
rhelgeby is offline
Send a message via MSN to rhelgeby
Reply



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:56.


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