View Single Post
Mike_BoG
SourceMod Donor
Join Date: Jul 2011
Old 06-03-2013 , 13:04   Re: [TF2] PropHunt 1.93
Reply With Quote #1006

Quote:
Originally Posted by Powerlord View Post
Short version:
Here's a new version of Prop Hunt that keeps it from displaying an error in your server on map change.

Long Version:
I spotted a quick bug in Prop Hunt that doesn't actually affect gameplay. Apparently, the game creates the team_control_point_master entity even when the map's not running... but SourceMod blocks plugins from creating entities (prop hunt spawns its team_round_timer when the team_control_point_master spawns) and you get this error instead:

Code:
L 05/31/2013 - 01:26:30: [SM] Native "CreateEntityByName" reported: Cannot create new entity when no map is running
L 05/31/2013 - 01:26:30: [SM] Displaying call stack trace for plugin "prophunt.smx":
L 05/31/2013 - 01:26:30: [SM]   [0]  Line 870, D:\tf2server\plugins\prophunt\addons\sourcemod\scripting\prophunt.sp::OnCPMasterSpawned()
The team_control_point_master entity (along with all team_round_timer s) are deleted and recreated at the start of every round so the error shouldn't have any in-game effect.

Anyway, here's a version that should remove the error.
Don't know if it is related or not, but players are reporting they can use !propmenu, !ph_pyro and !ph_switch, shouldn't they be admin-only?
__________________
Founder and Owner of BlackOut Gaming
Mike_BoG is offline