Raised This Month: $ Target: $400
 0% 

[TF2] Light Colours 0.6 (03/10)


Post New Thread Reply   
 
Thread Tools Display Modes
Zuko
SourceMod Donor
Join Date: Sep 2006
Location: Poland
Old 11-03-2009 , 05:11   Re: [TF2] Light Colours 0.2 (02/11)
Reply With Quote #21

L 11/03/2009 - 10:496: [SM] Native "AcceptEntityInput" reported: Entity 225 (225) is not a CBaseEntity
L 11/03/2009 - 10:496: [SM] Displaying call stack trace for plugin "lightcolors.smx":
L 11/03/2009 - 10:496: [SM] [0] Line 84, lightcolors.sp::Timer_TurnLightOn()
__________________
Zuko is offline
Send a message via ICQ to Zuko
eXDee
Member
Join Date: May 2009
Old 11-03-2009 , 05:37   Re: [TF2] Light Colours 0.2 (02/11)
Reply With Quote #22

Quote:
Originally Posted by Jindo View Post
This plugin hooks TF2 specific events and so for now it won't be compatible with other mods.
Wait, so if we have other plugins it won't work?
eXDee is offline
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 11-03-2009 , 06:15   Re: [TF2] Light Colours 0.2 (02/11)
Reply With Quote #23

Quote:
Originally Posted by eXDee View Post
Wait, so if we have other plugins it won't work?
Mods != Plugins

Mods meaning TF2, L4D, CSS, ZPS, etc
__________________
DarthNinja is offline
scopesp
Senior Member
Join Date: Jan 2009
Location: Munich
Old 11-03-2009 , 07:17   Re: [TF2] Light Colours 0.2 (02/11)
Reply With Quote #24

hmmmm posible to set enable / disable disco mode ?
because if you set disco mode a second time server crash

thanks
scopesp is offline
Xp3r7
SourceMod Donor
Join Date: Jul 2006
Old 11-03-2009 , 09:11   Re: [TF2] Light Colours 0.2 (02/11)
Reply With Quote #25

Awesome job on this plugin!

Our clan doesnt run a TF2 server but this is still badass!

I would definitely put this on there if we did!
__________________
Xp3r7 is offline
Send a message via MSN to Xp3r7
Jindo
AlliedModders Donor
Join Date: May 2009
Location: England, UK
Old 11-03-2009 , 11:04   Re: [TF2] Light Colours 0.2 (02/11)
Reply With Quote #26

Quote:
Originally Posted by Zuko View Post
L 11/03/2009 - 10:496: [SM] Native "AcceptEntityInput" reported: Entity 225 (225) is not a CBaseEntity
L 11/03/2009 - 10:496: [SM] Displaying call stack trace for plugin "lightcolors.smx":
L 11/03/2009 - 10:496: [SM] [0] Line 84, lightcolors.sp::Timer_TurnLightOn()
I got a slightly different error but I'm hoping that my fix will get rid of both of them!

The fix should be up shortly.

Quote:
Originally Posted by scopesp
hmmmm posible to set enable / disable disco mode ?
because if you set disco mode a second time server crash

thanks
Could you elaborate? How exactly are you causing the crash when you turn it on a "2nd time"? I turn it on each map and there have been no problems so far, unless you mean you're turning it on when it is already turned on?

I'll add a cvar with the fix to enable/disable disco.
__________________
Jindo is offline
FoxMulder
Senior Member
Join Date: Jan 2009
Location: Orlando, FL
Old 11-03-2009 , 11:31   Re: [TF2] Light Colours 0.2 (02/11)
Reply With Quote #27

Code:
L 11/03/2009 - 03:54:41: [SM] Native "AcceptEntityInput" reported: Entity 1174 is a not an IServerUnknown
L 11/03/2009 - 03:54:41: [SM] Displaying call stack trace for plugin "lightcolors.smx":
L 11/03/2009 - 03:54:41: [SM]   [0]  Line 86, C:\Users\Oli\Documents\TF2\KJTF2\sourcemod-1.3.0-hg2818\addons\sourcemod\scripting\lightcolors.sp::Timer_TurnLightOn()
L 11/03/2009 - 03:54:41: [SM] Native "AcceptEntityInput" reported: Entity 1171 is a not an IServerUnknown
L 11/03/2009 - 03:54:41: [SM] Displaying call stack trace for plugin "lightcolors.smx":
L 11/03/2009 - 03:54:41: [SM]   [0]  Line 86, C:\Users\Oli\Documents\TF2\KJTF2\sourcemod-1.3.0-hg2818\addons\sourcemod\scripting\lightcolors.sp::Timer_TurnLightOn()
L 11/03/2009 - 03:54:41: [SM] Native "AcceptEntityInput" reported: Entity 1143 is a not an IServerUnknown
L 11/03/2009 - 03:54:41: [SM] Displaying call stack trace for plugin "lightcolors.smx":
L 11/03/2009 - 03:54:41: [SM]   [0]  Line 86, C:\Users\Oli\Documents\TF2\KJTF2\sourcemod-1.3.0-hg2818\addons\sourcemod\scripting\lightcolors.sp::Timer_TurnLightOn()
__________________
FoxMulder is offline
Jindo
AlliedModders Donor
Join Date: May 2009
Location: England, UK
Old 11-03-2009 , 11:40   Re: [TF2] Light Colours 0.2 (02/11)
Reply With Quote #28

That was the error that I got, I'm testing my update to see if it gets rid of that error now, I'll add it to the first post if it does.
__________________
Jindo is offline
scopesp
Senior Member
Join Date: Jan 2009
Location: Munich
Old 11-03-2009 , 11:56   Re: [TF2] Light Colours 0.2 (02/11)
Reply With Quote #29

Quote:
Originally Posted by Jindo View Post
Could you elaborate? How exactly are you causing the crash when you turn it on a "2nd time"? I turn it on each map and there have been no problems so far, unless you mean you're turning it on when it is already turned on?

I'll add a cvar with the fix to enable/disable disco.

EDIT: I'm testing the updated plugin on my server for now, if no crashes or errors are logged I'll upload it.
yea thats is if i again turn it on = servcrash

thanks
scopesp is offline
Jindo
AlliedModders Donor
Join Date: May 2009
Location: England, UK
Old 11-03-2009 , 13:13   Re: [TF2] Light Colours 0.3 (03/11)
Reply With Quote #30

Uploaded the 'fix', it has been tested on my server and so far no errors or crashes have occurred, the changes include:

  • Several checks to make sure that the lights are valid before doing anything to them.
  • The Disco command only works if Disco Mode isn't currently turned on.
  • Added cvar lights_disco_enable (default: "0"). If enabled, disco mode will activate and continue to activate at the start of each map.
  • Added cvar lights_flag (default: "z").
  • Improved Timer code.
More thanks to Damizean for helping out with a few of these changes.
__________________

Last edited by Jindo; 11-03-2009 at 14:11.
Jindo is offline
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 19:26.


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