Raised This Month: $32 Target: $400
 8% 

KnifeSyphon


Post New Thread Reply   
 
Thread Tools Display Modes
FlyingMongoose
Veteran Member
Join Date: Mar 2004
Old 08-14-2007 , 15:25   Re: KnifeSyphon
Reply With Quote #11

don't base on round_start, base on player_spawn and then if it's been displayed to the player once don't display it again.
__________________
Please do NOT PM for support.

Only ask for support in plugin threads.

TunedChaos.com - Precision Tuned Game Servers
FlyingMongoose is offline
Kaschenko
SourceMod Donor
Join Date: Apr 2006
Location: Country: Russia; City: M
Old 08-14-2007 , 15:34   Re: KnifeSyphon
Reply With Quote #12

Quote:
Originally Posted by FlyingMongoose View Post
don't base on round_start, base on player_spawn and then if it's been displayed to the player once don't display it again.
I think - I not one, who prefers job of plug-ins - without errors.
__________________
Kaschenko is offline
Send a message via ICQ to Kaschenko Send a message via MSN to Kaschenko Send a message via Skype™ to Kaschenko
FlyingMongoose
Veteran Member
Join Date: Mar 2004
Old 08-21-2007 , 13:01   Re: KnifeSyphon
Reply With Quote #13

I was telling bl4nk how to modify his plugin to work with any mod.
__________________
Please do NOT PM for support.

Only ask for support in plugin threads.

TunedChaos.com - Precision Tuned Game Servers
FlyingMongoose is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 08-23-2007 , 09:38   Re: KnifeSyphon
Reply With Quote #14

Sorry for the delay with the update all, I've been having internet troubles lately and they're coming to fix it later today. I'll see if I can get it updated for you guys by tomorrow.
bl4nk is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 09-21-2007 , 02:15   Re: KnifeSyphon
Reply With Quote #15

Updated to version 1.3

Sorry for the long wait, everyone. I got my internet back about two weeks ago, but I completely forgot about this plugin. Anyways, I didn't really change much with it:
  • The announcement is no longer round based.
    • It's announced to a player the first (and only the first) time they spawn.
  • Removed unnecessary coding.
  • Untested
Besides those few things, that's about it. Notice how I said that this version was Untested. That's because back when I wrote it, I didn't have internet so I couldn't really go online to try it out. It should work perfectly fine, but if it doesn't, please report back and I'll fix it ASAP.
bl4nk is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 10-04-2007 , 02:07   Re: KnifeSyphon
Reply With Quote #16

Updated to version 1.4


Changes:
  • If a cvar was set to '0' upon map start, and changed, the plugin would not catch the change. This was fixed.
  • Example of what was fixed:
    • sm_knifesyphon_enable is set to 0 in a .cfg file.
    • The map starts and someone sets sm_knifesyphon_enable to 1.
    • The plugin wouldn't hook the change and wouldn't work properly.
bl4nk is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 10-04-2007 , 02:26   Re: KnifeSyphon
Reply With Quote #17

Updated to version 1.5

Woo, two updates in one night. I noticed something that I previously missed, so I'd fix it really quick.

I also forgot to note that back with the 1.3 update, the announcement part of the plugin should work with every mod that uses player_spawn.

Last edited by bl4nk; 10-04-2007 at 02:33.
bl4nk is offline
Stingbyte
Member
Join Date: Oct 2007
Old 10-05-2007 , 19:32   Re: KnifeSyphon
Reply With Quote #18

I really like KnifeSyphon...but I am having some problems with it.
I am using latest version of your Plugin and the latest of SourceMod too.

I can't see the Announce (cvars correctly set) and I am getting some errors in servers cmd:

L 10/06/2007 - 01:214: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/06/2007 - 01:214: [SM] Debug mode is not enabled for "knifesyphon.smx"
L 10/06/2007 - 01:214: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 47 on

Greetz
Stingbyte
Stingbyte is offline
ferret
SourceMod Developer
Join Date: Dec 2004
Location: Atlanta, GA
Old 10-05-2007 , 19:36   Re: KnifeSyphon
Reply With Quote #19

If you turn debug on, it will help bl4nk find the exact line that's having a problem.
__________________
I'm a blast from the past!
ferret is offline
Stingbyte
Member
Join Date: Oct 2007
Old 10-05-2007 , 21:23   Re: KnifeSyphon
Reply With Quote #20

Thx for the info ferret.

No problem, here is the output:

L 10/06/2007 - 03:16:01: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/06/2007 - 03:16:01: [SM] Displaying call stack trace for plugin "knifesyphon.smx":
L 10/06/2007 - 03:16:01: [SM] [0] Line 119, /home/groups/alliedmodders/forums/files/2/8/8/5/0/19087.attach::event_PlayerSpawn()

Additional Info: I was testing with 2 bots an myself as admin.
Stingbyte 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 15:46.


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