nikotine40 / confogl

Automatically exported from code.google.com/p/confogl
0 stars 0 forks source link

map changing crash due to GetPlayerWeaponSlot #89

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
about 1/2 of my server's map changes crashes, making it impossible to play a 
full campain, so I went to the log of the sourcemod and from ALL erros I got 
this four lines repeating constantly:

L 08/27/2010 - 14:54:49: [SM] Native "GetPlayerWeaponSlot" reported: Client 5 
is not in game
L 08/27/2010 - 14:54:49: [SM] Displaying call stack trace for plugin 
"confoglcompmod.smx":
L 08/27/2010 - 14:54:49: [SM]   [0]  Line 90, 
modules/WeaponCustomization.sp::HuntingRifleCount()
L 08/27/2010 - 14:54:49: [SM]   [1]  Line 52, 
modules/WeaponCustomization.sp::WC_PlayerUse_Event()

I might be tripping, but I think that some time later after the maps loads, 
there is a GetPlayerWeaponSlot check from all players, and if there is any 
player that hasn't connected in the server before this checks occours, the 
server may crash.
Anyway is there anything that I can do in order to stop this error ? maybe 
changing or even deleting the hr_limit var in confogl.cfg or something like 
that?

Original issue reported on code.google.com by arthur_...@yahoo.com.br on 11 Sep 2010 at 3:15

GoogleCodeExporter commented 8 years ago
I have just pushed a possible fix for the GetPlayerWeaponSlot() errors in the 
source code repository.
You may compile the plugin on your own or download the one I compiled to get 
the fixed version from:
http://phoenix.skullsaba.jp/build/confogl220/confoglcompmod.smx

However, I do not think that the error above is causing your server to crash.
Is this the only error you see in the logs?

Original comment by yumyudai on 12 Sep 2010 at 3:32

GoogleCodeExporter commented 8 years ago
Yes, I got that 4 lines reapeating all time and only those

Original comment by arthur_...@yahoo.com.br on 12 Sep 2010 at 7:37

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
No it didn't work =/, as soon as the server make the errorlog from today I will 
check if this error was fixed or if it wasn't in order to see the cause of the 
crashing
I appreciate your help yumyudai, thank you alot!

Original comment by arthur_...@yahoo.com.br on 12 Sep 2010 at 10:39

GoogleCodeExporter commented 8 years ago
Issue 83 has been merged into this issue.

Original comment by Canada.R...@gmail.com on 13 Sep 2010 at 12:59

GoogleCodeExporter commented 8 years ago
What versions of the following are you using?
1. MetaMod:Source
2. SourceMod
3. Left4Downtown2

Also please check if the server crashes or not without confogl plugin.

Original comment by yumyudai on 15 Sep 2010 at 7:37

GoogleCodeExporter commented 8 years ago
Map change crashing seems unrelated to this confogl issue.

Original comment by prodigysim@gmail.com on 9 Oct 2010 at 6:34

GoogleCodeExporter commented 8 years ago
I just changed the host and it solved, it looks like something pre-configured 
from the system was conflicting

Original comment by arthur_...@yahoo.com.br on 11 Oct 2010 at 3:47