KnifeMug
3 Attachment(s)
This plugin does 3 different forms of knife mugging.
CHANGELOG:
INSTALLATION:
Thank you to everyone who helped out on this :). I could list, but you know who you are. And of course thanks to BAILOPAN, DamagedSoul, and the rest of the SourceMod dev team for working out a few snags I hit. Thank you to SteamFriends for allowing me to test this on their servers. Oh yeah, thanks to mattie for the original knife mugging concept (sorry man, I just don't like eventscripts) |
Re: [PLUGIN] KnifeMug
Nice work! Were you able to resolve all of the server.cfg versus OnPluginStart idiosyncrasies?
|
Re: [PLUGIN] KnifeMug
It seems so...
But I still think there may be some other issues here and there: for instance I saw the server giving this error: Quote:
I put that little problem into the "nothing I can do about it" column, and went ahead and released it, because as far as I know, there is nothing I can change in my code to fix it. Though it always works in player_death. If there's any bugs anyone else sees please let me know, and if there's any addition to this plugin that people might like please let me know. As far as I know there is little to nothing I can do to optimize this plugin any more than I already have. Also, suggestion for the "sp.gif" for the file uploader: the official pawn...well...pawn scaled down....maybe on a "piece of paper" for the source, and without said "piece of paper" for compiled (.smx) |
Re: [PLUGIN] KnifeMug
You may want to toggle debug mode on to see exactly where this is happening. You can do this either via "sm plugins debug" or setting "debug" to "yes" in configs/plugin_settings.cfg
Debug mode will show exactly where errors come from. |
Re: [PLUGIN] KnifeMug
I actually tried that...and sadly...it crashed the server...using sm plugins debug in the console
I'll try the cfg file method |
Re: [PLUGIN] KnifeMug
how soon after did it crash the server? instantly or after something happened?
the console debug command is kind of an experimental feature - it's been tested but not heavily. if you have mdmps and a corresponding revision # those would help greatly. |
Re: [PLUGIN] KnifeMug
instantly, ummm, well I guess I can make it crash again >.< lol
when I get what you need I'll go ahead and post in the bug report. |
Re: [PLUGIN] KnifeMug
Add a IsClientConnected() in the loop in FindEntityByUserId()
Edit: Nevermind, no need for that function now. |
Re: [PLUGIN] KnifeMug
Excellent work :)
|
Re: [PLUGIN] KnifeMug
Plugin update (check the first post)
|
All times are GMT -4. The time now is 09:11. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.