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

[Any] Ninja Leap


Post New Thread Reply   
 
Thread Tools Display Modes
dave_with_beer_bottle
Senior Member
Join Date: Jul 2009
Old 03-26-2012 , 01:38   Re: [Any] Ninja Leap
Reply With Quote #11

Hi, have little problem when i set this to admins only ppl still can leap by typing !leap or/leap anyway to disable it?
thank you
or is there way / plugin i can block all of these types of chat commands that are trigered by ! or /
HTML Code:
sm_ninjaleap_enable "1" //- Enable/Disable the plugin
sm_ninjaleap_power "1000" //-The default force to use if the player doesn't specify.
sm_ninjaleap_angle "-30" //- The default angle to use if the player doesn't specify.
sm_ninjaleap_log "0" //- Whether or not to log leap actions.
sm_ninjaleap_admin "1" //- Set to 1 to make the plugin admin-only.

Last edited by dave_with_beer_bottle; 03-26-2012 at 01:51.
dave_with_beer_bottle is offline
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 03-26-2012 , 06:24   Re: [Any] Ninja Leap
Reply With Quote #12

Grab the latest version
__________________
DarthNinja is offline
Moulijin
SourceMod Donor
Join Date: Sep 2010
Old 03-26-2012 , 20:05   Re: [Any] Ninja Leap
Reply With Quote #13

Is it possible to add a function to allow only bots to do it?
Moulijin is offline
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 03-26-2012 , 21:08   Re: [Any] Ninja Leap
Reply With Quote #14

Quote:
Originally Posted by Moulijin View Post
Is it possible to add a function to allow only bots to do it?
...wat
__________________
DarthNinja is offline
Patro56
Member
Join Date: Jul 2012
Old 01-07-2013 , 19:28   Re: [Any] Ninja Leap
Reply With Quote #15

I suggest to add a cooldown function. I would like that constant jumping as an option but as default ability to jump again after certain amount of time would be also a great option. Even if jumps were performed like vs Saxton Hale mode it would be better... Well that's just me.
Patro56 is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 08-10-2013 , 23:41   Re: [Any] Ninja Leap
Reply With Quote #16

PHP Code:
    if (args == 1// Player wants a custom force 
should be
PHP Code:
    if (args >= 1// Player wants a custom force 
?

As it is, it is impossible to set a custom force while also setting a custom angle. With two arguments, the first argument does nothing.

Last edited by ddhoward; 08-10-2013 at 23:43.
ddhoward is offline
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 08-11-2013 , 12:20   Re: [Any] Ninja Leap
Reply With Quote #17

Quote:
Originally Posted by ddhoward View Post
if (args >= 1)
Fixed, thanks
__________________
DarthNinja is offline
vodka00
Veteran Member
Join Date: Jun 2012
Location: Los Angeles
Old 01-12-2014 , 23:14   Re: [Any] Ninja Leap
Reply With Quote #18

I believe using obscene amounts for power can be used to crash a server. Would be great to have a cvar to set the threshold that you can use, for ex. -2000 to 2000.
__________________
cw main:

cw speedruns:
vodka00 is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 01-13-2014 , 01:00   Re: [Any] Ninja Leap
Reply With Quote #19

I ran this command in the console, which represents the maximum power that the plugin will accept due to the size of the string that holds the power argument. The server did not crash, although sometimes my point of view was rotated 90 degrees for a few seconds. Note that this was on a 6-slot server with no other players present, and very few other plugins and such.

Code:
leap 99999999999999999999999999999999 270
http://i.imgur.com/yArrzgx.jpg
http://i.imgur.com/8vqkuie.jpg
http://i.imgur.com/iehXl1J.jpg
__________________

Last edited by ddhoward; 01-13-2014 at 01:02.
ddhoward is offline
vodka00
Veteran Member
Join Date: Jun 2012
Location: Los Angeles
Old 01-13-2014 , 01:15   Re: [Any] Ninja Leap
Reply With Quote #20

Quote:
Originally Posted by ddhoward View Post
I ran this command in the console, which represents the maximum power that the plugin will accept due to the size of the string that holds the power argument. The server did not crash, although sometimes my point of view was rotated 90 degrees for a few seconds. Note that this was on a 6-slot server with no other players present, and very few other plugins and such.

Code:
leap 99999999999999999999999999999999 270
http://i.imgur.com/yArrzgx.jpg
http://i.imgur.com/8vqkuie.jpg
http://i.imgur.com/iehXl1J.jpg
Have you tried doing that and then shooting your gun? That seemed to have crashed it twice we tested it.
__________________
cw main:

cw speedruns:
vodka00 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 04:12.


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