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

Hero: Deva Path (Exploited/Fr33m@n)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Exploited
Veteran Member
Join Date: Jul 2010
Location: Sweden
Old 01-03-2011 , 16:52   Hero: Deva Path (Exploited/Fr33m@n)
Reply With Quote #1

Deva Path
Description

Six Paths of Pain, The Deva Path - Manipulate the Gravity of your attackers/victims. [IMG]http://img692.**************/i/devapath.png/[/IMG]

[IMG]http://img573.**************/i/devapath.png/[/IMG][IMG]http://img829.**************/i/devapath.jpg/[/IMG]<insert picture here> (it wont work for some reason :s)

http://naruto.wikia.com/wiki/Deva_path

shconfig.cfg CVARS
Code:
// Deva Path - WARNING - THE SLAPS SENDS YOU PRETTY HIGH FLYING, MAY EASILY DIE FROM FALLDAMAGE
deva_level 10 // What level should he be available at? default = 10
deva_cooldown 8 // How long between each use in seconds? default = 8
deva_percentage 3 // How big chance each shot? default = 3
deva_damage 0 // How much damage should the slaps do? default = 0 (Damage is applied one time; setting this to 5 will deal 5 damage regardless if you are using four slaps or not)
Hero was made by me and Fr33m@n. Please post any optimizations or bugs you may experience here.

Thanks,
Exploited
Attached Files
File Type: sma Get Plugin or Get Source (sh_devapath.sma - 1253 views - 3.4 KB)
__________________
Jelle (1): I LOVE YOU
Jelle (1): Yeah. omg you are so awesome!
--------------
Jelle (1): You know when a poo is about to exit but it is too big?
Jelle (1): God my ass still hurts
Exploited is offline
The Art of War
Veteran Member
Join Date: Dec 2009
Location: Sweden Rock Festival
Old 01-04-2011 , 14:39   Re: Hero: Deva Path (Exploited/Fr33m@n)
Reply With Quote #2

I checked the floats!!!! CREDITS!"!!!!!!!!!

Nah joke aside, sounds funny lol, slap 'em hard!
__________________
The Art of War is offline
FucKYoU
Junior Member
Join Date: Dec 2010
Old 01-08-2011 , 05:33   Re: Hero: Deva Path (Exploited/Fr33m@n)
Reply With Quote #3

ISN'T WORK
__________________
http://forums.alliedmods.net/signaturepics/sigpic100833_6.gif
FucKYoU is offline
Exploited
Veteran Member
Join Date: Jul 2010
Location: Sweden
Old 01-08-2011 , 05:49   Re: Hero: Deva Path (Exploited/Fr33m@n)
Reply With Quote #4

What exactly doesn't work? It all worked perfect when I tested it on my server.
__________________
Jelle (1): I LOVE YOU
Jelle (1): Yeah. omg you are so awesome!
--------------
Jelle (1): You know when a poo is about to exit but it is too big?
Jelle (1): God my ass still hurts
Exploited is offline
The Art of War
Veteran Member
Join Date: Dec 2009
Location: Sweden Rock Festival
Old 01-08-2011 , 10:46   Re: Hero: Deva Path (Exploited/Fr33m@n)
Reply With Quote #5

Quote:
Originally Posted by FucKYoU View Post
ISN'T WORK
You isnt working.
__________________
The Art of War is offline
G-Dog
Senior Member
Join Date: Dec 2005
Location: Thunderstorm Central
Old 01-08-2011 , 16:59   Re: Hero: Deva Path (Exploited/Fr33m@n)
Reply With Quote #6

minor optimization: instead of duplicating
PHP Code:
        user_slap(victimdamage)
        
user_slap(victim0)
        
#if defined USE_FOUR_SLAPS             
        
user_slap(victim0)
        
user_slap(victim0)
        
#endif
        
if ( cooldown 0.0 sh_set_cooldown(attackercooldown)
        
sh_chat_message(victimgHeroID"You repelled an enemy!"
either move that to a function and call that function in the 2 spots or combine the 2 if statements
__________________
If at first you don't succeed, then skydiving isn't for you.
G-Dog is offline
Send a message via AIM to G-Dog
Fr33m@n
Veteran Member
Join Date: May 2008
Location: France Marne
Old 01-11-2011 , 14:51   Re: Hero: Deva Path (Exploited/Fr33m@n)
Reply With Quote #7

i sugest to use a loop for letting people define themself the power. Because it seems that the more slap, the more fly.
Fr33m@n is offline
FucKYoU
Junior Member
Join Date: Dec 2010
Old 01-12-2011 , 04:59   Re: Hero: Deva Path (Exploited/Fr33m@n)
Reply With Quote #8

aaa sorry now Work on 1.2.0
__________________
http://forums.alliedmods.net/signaturepics/sigpic100833_6.gif
FucKYoU is offline
popescu400
New Member
Join Date: Dec 2010
Old 01-12-2011 , 09:01   Re: Hero: Deva Path (Exploited/Fr33m@n)
Reply With Quote #9

don't works
popescu400 is offline
Exploited
Veteran Member
Join Date: Jul 2010
Location: Sweden
Old 01-12-2011 , 09:39   Re: Hero: Deva Path (Exploited/Fr33m@n)
Reply With Quote #10

Update your SH version. It works fine on my server running 1.2.0.14 and apparently it works on Fuck Yous server with 1.2.0.

@ G-Dog, I will do that asap. Not now though, as I am just about to go out.
__________________
Jelle (1): I LOVE YOU
Jelle (1): Yeah. omg you are so awesome!
--------------
Jelle (1): You know when a poo is about to exit but it is too big?
Jelle (1): God my ass still hurts
Exploited 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 07:28.


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