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

VSH VSH Improvements/Additions


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
-.-Owned Myself-.-
Member
Join Date: Jul 2008
Old 02-04-2013 , 16:18   VSH Improvements/Additions
Reply With Quote #1

Hello all!

I've been pestered to release this plugin publicly since it's pretty handy and neat for Versus Saxton Hale. It originally started out with the intention of being a combination of various improvements, but as time has passed VSH has improved beyond what I could think of for it.

So here I bring to you the same functionality as !ff2dmg provides for Freak Fortress 2.

In the future I plan to add client cookies and such to store things but while I'm battling some issues of my own, this will not be my priority.

Commands:

!haledmg on/off [Red] [Green] [Blue] [Alpha]

Red, Green, Blue and Alpha parameters are all optional. By default, the text displayed is white (255). You can skip the optional arguments using an underscore like this:

!haledmg on/off 255 _ 255 255

Above, the green argument is skipped and left as is and the red, blue and alpha are modified.

I hope you find this useful! Knowing my laziness, this has probably already been posted before but I wouldn't know where to begin finding it!
Attached Files
File Type: smx vsh_improvements.smx (7.9 KB, 2044 views)
File Type: sp Get Plugin or Get Source (vsh_improvements.sp - 1233 views - 5.3 KB)
-.-Owned Myself-.- is offline
Mike_BoG
SourceMod Donor
Join Date: Jul 2011
Old 02-04-2013 , 16:39   Re: VSH Improvements/Additions
Reply With Quote #2

This is awesome! Been using it ever since I got it, players call it handy.
__________________
Founder and Owner of BlackOut Gaming
Mike_BoG is offline
PMAvers
Member
Join Date: Sep 2009
Old 04-02-2013 , 00:56   Re: VSH Improvements/Additions
Reply With Quote #3

Used it tonight, it's definitely neat, although I did notice that it's still active on maps that aren't active VSH maps.
PMAvers is offline
krispx
Senior Member
Join Date: Jul 2010
Old 08-01-2013 , 04:03   Re: VSH Improvements/Additions
Reply With Quote #4

Hi, jus report errors logs:

Code:
L 08/01/2013 - 10:00:57: [SM] Native "VSH_GetClientDamage" reported: Plugin owning this native is currently paused.
L 08/01/2013 - 10:00:57: [SM] Displaying call stack trace for plugin "vsh_improvements.smx":
L 08/01/2013 - 10:00:57: [SM]   [0]  Line 122, vsh_improvements.sp::Timer_Millisecond()
krispx is offline
pcquad
Member
Join Date: Jan 2012
Old 08-01-2013 , 08:30   Re: VSH Improvements/Additions
Reply With Quote #5

Quote:
Originally Posted by krispx View Post
Hi, jus report errors logs:

Code:
L 08/01/2013 - 10:00:57: [SM] Native "VSH_GetClientDamage" reported: Plugin owning this native is currently paused.
L 08/01/2013 - 10:00:57: [SM] Displaying call stack trace for plugin "vsh_improvements.smx":
L 08/01/2013 - 10:00:57: [SM]   [0]  Line 122, vsh_improvements.sp::Timer_Millisecond()
I approve this
__________________
pcquad is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 08-01-2013 , 09:56   Re: VSH Improvements/Additions
Reply With Quote #6

Quote:
Originally Posted by krispx View Post
Hi, jus report errors logs:

Code:
L 08/01/2013 - 10:00:57: [SM] Native "VSH_GetClientDamage" reported: Plugin owning this native is currently paused.
L 08/01/2013 - 10:00:57: [SM] Displaying call stack trace for plugin "vsh_improvements.smx":
L 08/01/2013 - 10:00:57: [SM]   [0]  Line 122, vsh_improvements.sp::Timer_Millisecond()
This error means that VSH is paused. It might be a good idea to find out why that is.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
infi
Member
Join Date: Sep 2013
Old 09-29-2013 , 04:49   Re: VSH Improvements/Additions
Reply With Quote #7

Can you make it so this plugin will have triggers on those who came first, second and third, or if the hale wins? I use the Store plugin and I want to reward credits to good players.
infi is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 09-29-2013 , 08:33   Re: VSH Improvements/Additions
Reply With Quote #8

Quote:
Originally Posted by infi View Post
Can you make it so this plugin will have triggers on those who came first, second and third, or if the hale wins? I use the Store plugin and I want to reward credits to good players.
Why dont you just sell queue points.
Hell, just set it up so you can buy them directly via paypal.
Why not.

Edit: i'm dumb and thought you wanted a forward.
Go to calc que points and youll see it there
You could just throw in the store native to add points to those top players each round.
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.

Last edited by friagram; 09-29-2013 at 08:35.
friagram is offline
Advokat
Member
Join Date: Mar 2014
Location: Australia
Old 07-20-2014 , 23:05   Re: VSH Improvements/Additions
Reply With Quote #9

Here's an updated version that disables !haledmg while the scoreboard is open (to avoid it flickering like mad).
Attached Files
File Type: sp Get Plugin or Get Source (vsh_improvements.sp - 437 views - 5.4 KB)
File Type: smx vsh_improvements.smx (9.1 KB, 450 views)
Advokat is offline
MasterOfTheXP
Veteran Member
Join Date: Aug 2011
Location: Cloudbank
Old 07-20-2014 , 23:23   Re: VSH Improvements/Additions
Reply With Quote #10

Why only check IN_SCORE at the end, after generating the strings to use? (Also, GetMaxClients and using z as a variable rather than i. Yay.) Even still, it's generating the same strings for each client with the tracker on...but oh well.
PHP Code:
for (new 1<= MaxClientsz++)
{
    if (
IsValidClient(z) && damageTracker[z] > 0)
    {
        if (
GetClientButtons(z) & IN_SCORE) continue;
        
// getting hale's userid each time for some reason and etc.
    
}

By the way, since releasing FF2 Damage Tracker long ago (ohgod) I've updated Halloween Damage Tracker with a far better ranking method. Consider using it rather than this current method (although the current method is still far better/neater than the one I originally did...*shudder*)

Besides, this one only goes up to 3 (even though the plugin seems to be accepting up to 8)
__________________
Plugins / My Steam / TF2 Sandbox (plugin beta testing!)

Last edited by MasterOfTheXP; 07-20-2014 at 23:23.
MasterOfTheXP 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 21:47.


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