View Single Post
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 01-22-2014 , 10:03   Re: [TF2] Prop Hunt Redux (v3.0.2, 2013-12-20)
Reply With Quote #102

Quote:
Originally Posted by Fearts View Post
Code:
L 01/21/2014 - 22:06:53: [SM] Native "GetEntProp" reported: Entity -1 (-1) is invalid
L 01/21/2014 - 22:06:53: [SM] Displaying call stack trace for plugin "prophunt.smx":
L 01/21/2014 - 22:06:53: [SM]   [0]  Line 173, C:\Users\1\Desktop\new scripting\include\prophunt\stats2.inc::DbDeaths()
L 01/21/2014 - 22:06:53: [SM]   [1]  Line 157, C:\Users\1\Desktop\new scripting\include\prophunt\stats2.inc::PlayerKilled()
L 01/21/2014 - 22:06:53: [SM]   [2]  Line 2877, prophunt.sp::Event_player_death()
My logs have been getting this error a lot.
stats2.inc isn't a public file (it's distributed solely by Geit and DarkImmortal), but assuming I have the correct version of it...

Basically, the current version of PropHunt Redux strips the Reserve Shooter from all players. This happened before I took over PropHunt (Ithink), but I can see why: The Reserve Shooter is a direct upgrade to the stock shotgun for Pyros because we limit the stock Pyro shotgun to 2 shot clips.

There are a few alternatives, but the RS is tricky because of how Valve implemented shotguns in the schema (each class's shotgun is separate).

Incidentally, the stats system doesn't like it when primary or secondary weapons are stripped from Pyros.

I may need to write some shotgun-specific code for the replacement system to take class into account.

Quote:
Originally Posted by Fearts View Post
Code:
L 01/21/2014 - 22:06:53: [SM] Native "GetEntProp" reported: Entity -1 (-1) is invalid
L 01/21/2014 - 22:06:53: [SM] Displaying call stack trace for plugin "prophunt.smx":
L 01/21/2014 - 22:06:53: [SM]   [0]  Line 173, C:\Users\1\Desktop\new scripting\include\prophunt\stats2.inc::DbDeaths()
L 01/21/2014 - 22:06:53: [SM]   [1]  Line 157, C:\Users\1\Desktop\new scripting\include\prophunt\stats2.inc::PlayerKilled()
L 01/21/2014 - 22:06:53: [SM]   [2]  Line 2877, prophunt.sp::Event_player_death()
My logs have been getting this error a lot. Also, for some reason I still get reports of props sometimes randomly getting a gun. Anyone else have this issue?
I'm working on a new version of PropHunt Redux that moves when the Last Prop mode reset happens... right now, it only happens at round end and it really needs to happen at round start as well in case of map changes.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 01-22-2014 at 10:04.
Powerlord is offline