Raised This Month: $12 Target: $400
 3% 

KnifeMug


Post New Thread Reply   
 
Thread Tools Display Modes
Spearmeat
Junior Member
Join Date: Mar 2007
Old 07-24-2007 , 21:53   Re: KnifeMug
Reply With Quote #21

Quote:
Originally Posted by FlyingMongoose View Post
could you turn on your debugging (in plugin.settings.cfg) and do the following after starting your server.



That might let you know if there's something wrong going on in the load, I honestly need to rewrite this plugin anyway, and I've started to, so expect a new version sometime after I release the next version of ATAC.

// before unload and reload to see if debugging was enabled.

18:50:17 Filename: knifemug.smx
Title: KnifeMug (Knife Mugging)
Author: FlyingMongoose, sslice
Version: Mugged You For
URL: http://www.steamfriends.com/
Debugging: Yes
Running: Yes
Reloads: Map Change if Updated

// unload plugin
8:52:05 sm plugins unload 12
18:52:06 [SM] Plugin KnifeMug unloaded successfully.

// load plugin
18:52:58 sm plugins load knifemug
18:52:59 [SM] Loaded plugin knifemug.smx successfully.

// knifemug cvars
18:56:58 sm_mugcash
18:56:58 "sm_mugcash" = "16000" ( def. "2500" ) min. 0.000000 max. 16000.000000
- Sets the amount of money taken in a mugging based on a hard value
18:57:51 sm_mugpercent
18:57:51 "sm_mugpercent" = "1.0" ( def. "0" ) min. 0.000000 max. 1.000000
- Sets the amount of money taken in a mugging based on percent
18:583 sm_damagemugging
18:583 "sm_damagemugging" = "0" min. 0.000000 max. 1.000000
- Enables mugging based on damage done with a knife

There were no errors.

// SourceMod 1.0.0.116
// MetaMod 1.4.1.4.00

Last edited by Spearmeat; 06-23-2008 at 10:46. Reason: Want to list dll versions
Spearmeat is offline
FlyingMongoose
Veteran Member
Join Date: Mar 2004
Old 07-26-2007 , 18:43   Re: KnifeMug
Reply With Quote #22

I think I seed the problem, the translations file looks like it got messed up somewhere.
__________________
Please do NOT PM for support.

Only ask for support in plugin threads.

TunedChaos.com - Precision Tuned Game Servers
FlyingMongoose is offline
FlyingMongoose
Veteran Member
Join Date: Mar 2004
Old 07-27-2007 , 03:49   Re: KnifeMug
Reply With Quote #23

So, here's plans for rewrite:

There will be a new Cvar:

km_enable

This cvar will have the ability to be set from 0-3

0 turns off the plugin, 1 uses hard cash, 2 uses percentage mug, and 3 uses damage based.

This should clean up the code and allow me to optimize it better. As well as fix up some bugs.
__________________
Please do NOT PM for support.

Only ask for support in plugin threads.

TunedChaos.com - Precision Tuned Game Servers
FlyingMongoose is offline
Spearmeat
Junior Member
Join Date: Mar 2007
Old 07-27-2007 , 22:32   Re: KnifeMug
Reply With Quote #24

Sounds good.

Last edited by Spearmeat; 06-23-2008 at 10:46.
Spearmeat is offline
FlyingMongoose
Veteran Member
Join Date: Mar 2004
Old 07-28-2007 , 01:58   Re: KnifeMug
Reply With Quote #25

Testing right now, will have a new release as soon as I'm done testing.
__________________
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 07-28-2007 , 10:00   Re: KnifeMug
Reply With Quote #26

Very much it would be desirable to take away 100 % of money enemy and to have possibility of an increase of lives, also as in EventScripts. And quantity of hp most to choose.
__________________
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 07-28-2007 , 15:13   Re: KnifeMug
Reply With Quote #27

Assuming English is not your native tongue (yet again), I can add that feature in a coming version.
__________________
Please do NOT PM for support.

Only ask for support in plugin threads.

TunedChaos.com - Precision Tuned Game Servers
FlyingMongoose is offline
FlyingMongoose
Veteran Member
Join Date: Mar 2004
Old 07-30-2007 , 03:31   Re: KnifeMug
Reply With Quote #28

Update, 2.0.0 check first post for changes.
__________________
Please do NOT PM for support.

Only ask for support in plugin threads.

TunedChaos.com - Precision Tuned Game Servers
FlyingMongoose is offline
wewo
New Member
Join Date: Aug 2007
Old 08-13-2007 , 14:02   Re: KnifeMug
Reply With Quote #29

Can I just create a sub-directory in addons called sourcemod? Or do I need to install something else before installing this plugin on my server?
wewo is offline
Extreme_One
Veteran Member
Join Date: Nov 2006
Old 08-13-2007 , 14:04   Re: KnifeMug
Reply With Quote #30

Quote:
Originally Posted by wewo View Post
Can I just create a sub-directory in addons called sourcemod? Or do I need to install something else before installing this plugin on my server?
You need to install the Source Mod package which you can find here
__________________
Extreme_One is offline
Reply


Thread Tools
Display Modes

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 22:20.


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