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

[CSS] VIP


Post New Thread Reply   
 
Thread Tools Display Modes
Author
PriceLess
Senior Member
Join Date: Sep 2012
Location: Jungle
Plugin ID:
3360
Plugin Version:
1.1
Plugin Category:
Fun Stuff
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Unapprover:
    Reason for Unapproving:
    Author Requested :(
    Old 11-09-2012 , 10:48   [CSS] VIP
    Reply With Quote #1

    VIP 1.1
    Inactive - coming a new version later, but not sure when.


    Info
    This is a basic vip plugin that stores vip members in a database.
    The features are further down in the description.

    Commands
    • sm_givevip <steamid|#name> <1|0> - 1 = vip on - 0 = vip off
    • sm_vip - open the vip menu.


    Requirements
    • Sourcemod
    • metamod
    • css server
    • mysql / database

    Features
    • Bullet tracer. (updated works)
    • Chat tag. (fixed)
    • Move to spec.
    • More health.
    • More armor.
    • More cash.
    • VIP menu with toggle of tracers and move to spectator. (updated)


    Cvar example:
    PHP Code:
    // This file was auto-generated by SourceMod (v1.5.0-dev+3655)
    // ConVars for plugin "newproject.smx"


    // amount of armor on spawn
    // -
    // Default: "120"
    sm_vip_armor "121"

    // the chat tag where it says 'yourtag'
    // -
    // Default: "yourtag"
    sm_vip_chat "VIP"

    // the time you want your 'vip's' to be vip
    // -
    // Default: "31"
    sm_vip_duration "31"

    // Amount of hp on spawn
    // -
    // Default: "120"
    sm_vip_health "121"

    // amount of money on spawn
    // -
    // Default: "1200"
    sm_vip_money "1201"

    // VIP Verion
    // -
    // Default: "1.0"
    sm_vip_version "1.0" 
    Example database.cfg
    PHP Code:
        "vip"
        
    {
            
    "driver"                "mysql"
            "host"                "localhost"
            "database"            "yourdatabasename"
            "user"                "username"
            "pass"                "password"
            
    //"timeout"            "0"
            
    "port"            "3306"
        

    If there are any problems, issues please post comments, or pm me.
    I need feedbacks too.

    Hope you enjoy the plugin! Priceless
    Attached Files
    File Type: sp Get Plugin or Get Source (vip.sp - 4836 views - 9.3 KB)

    Last edited by PriceLess; 02-05-2013 at 04:52.
    PriceLess is offline
    PriceLess
    Senior Member
    Join Date: Sep 2012
    Location: Jungle
    Old 11-09-2012 , 12:08   Re: [CSS] VIP
    Reply With Quote #2

    Reported my own plugin - requested unaprove.. (retired)

    Closed.

    Last edited by PriceLess; 06-03-2013 at 10:26.
    PriceLess is offline
    wrox
    Member
    Join Date: Nov 2009
    Location: /root
    Old 11-09-2012 , 17:52   Re: [CSS] VIP
    Reply With Quote #3

    Getting the following errors on startup:

    Code:
    L 11/09/2012 - 23:51:01: [SM] Native "LogToFile" reported: Could not open file "/applications/srcds1/css/cstrike/"
    L 11/09/2012 - 23:51:01: [SM] Displaying call stack trace for plugin "vip.smx":
    L 11/09/2012 - 23:51:01: [SM]   [0]  Line 47, /home/groups/alliedmodders/forums/files/1/9/6/4/0/3/112013.attach::OnPluginStart()
    It doesn't seem to create any config either. Also, yes to a PHP-pay site (hoping we can integrate this into our sites through your API).

    Thank you for creating and making this available!
    __________________


    Last edited by wrox; 11-09-2012 at 17:57.
    wrox is offline
    Phumix
    New Member
    Join Date: Aug 2012
    Location: In my house
    Old 11-09-2012 , 19:08   Re: [CSS] VIP
    Reply With Quote #4

    Quote:
    Originally Posted by wrox View Post
    Getting the following errors on startup:

    Code:
    L 11/09/2012 - 23:51:01: [SM] Native "LogToFile" reported: Could not open file "/applications/srcds1/css/cstrike/"
    L 11/09/2012 - 23:51:01: [SM] Displaying call stack trace for plugin "vip.smx":
    L 11/09/2012 - 23:51:01: [SM]   [0]  Line 47, /home/groups/alliedmodders/forums/files/1/9/6/4/0/3/112013.attach::OnPluginStart()
    It doesn't seem to create any config either. Also, yes to a PHP-pay site (hoping we can integrate this into our sites through your API).

    Thank you for creating and making this available!


    Same happened with me too, but I noticed that I had forgot to configure the mysql details in datebase.cfg. So it's working for me now.


    @Priceless
    Awesome plugin, nice work. Thank you for creating this and sharing it! I love it, how about a few more features ? I got some ideas that would have been useful for more features. Like model color changing, trails (spark, sprite, ect), ability to view vip's online by typing !donators, third view, ability to set a players alpha (visibility) and maybe give the vip's unlimited ammo?

    Atleast, It needs more features.
    Thank you again for sharing this!
    __________________

    Last edited by Phumix; 12-17-2012 at 16:09.
    Phumix is offline
    wrox
    Member
    Join Date: Nov 2009
    Location: /root
    Old 11-09-2012 , 19:57   Re: [CSS] VIP
    Reply With Quote #5

    Quote:
    Originally Posted by Phumix View Post
    Same happened with me too, but I noticed that I had forgot to configure the mysql details in datebase.cfg. So it's working for me now.
    Oh, then I see. Thanks for the heads up!


    Quote:
    Originally Posted by Phumix View Post
    @Priceless
    Awesome plugin, nice work. Thank you for creating this and sharing it! I love it, how about a few more features ? I got some ideas that would have been useful for more features. Like model color changing, trails (spark, sprite, ect), ability to view vip's online by typing !donators, third view, ability to set a players alpha (visibility) and maybe give the vip's unlimited ammo?

    Atleast, It needs more features.
    Thank you again for sharing this!
    And the ability to change command names (to eg. !supporters) would be great!
    __________________

    wrox is offline
    crosq
    New Member
    Join Date: Oct 2012
    Old 11-09-2012 , 23:31   Re: [CSS] VIP
    Reply With Quote #6

    Works well. However, can you make it so you can disable things such as.. "tag" etc. I already have a tag system on my server and when you type in chat with vip on, it prints multiple messages. I tried leaving it blank, and removing it. Still shows the default message in chat. (e.g. [yourtag] crosq).

    Bullet tracers work well on T, on CT I could never get them to work.
    crosq is offline
    wrox
    Member
    Join Date: Nov 2009
    Location: /root
    Old 11-10-2012 , 15:03   Re: [CSS] VIP
    Reply With Quote #7

    I'd also like to request trails as a feature.

    Not bullet trails, but player trails, settable with a picture of something that'll make a fading trail behind you while surfing, or walking.

    Thanks for maintaining this so far!
    __________________

    wrox is offline
    PriceLess
    Senior Member
    Join Date: Sep 2012
    Location: Jungle
    Old 11-10-2012 , 20:43   Re: [CSS] VIP
    Reply With Quote #8

    Quote:
    Originally Posted by wrox View Post
    Oh, then I see. Thanks for the heads up!




    And the ability to change command names (to eg. !supporters) would be great!
    @Phumix: Hello, I'll look into it. There will come some new features, not sure when, or what yet. But models will be coming up pretty soon.
    And thanks for the feedbacks.


    Quote:
    Originally Posted by wrox View Post
    Oh, then I see. Thanks for the heads up!




    And the ability to change command names (to eg. !supporters) would be great!
    @wrox: The command change can easily be done, if possible I can make a convar for the command. (might not work, but can't hurt to test). Thanks for the feedbacks.
    The trails might be possible to do in a later version..

    Quote:
    Originally Posted by crosq View Post
    Works well. However, can you make it so you can disable things such as.. "tag" etc. I already have a tag system on my server and when you type in chat with vip on, it prints multiple messages. I tried leaving it blank, and removing it. Still shows the default message in chat. (e.g. [yourtag] crosq).

    Bullet tracers work well on T, on CT I could never get them to work.
    @crosq: Hi, I can change chat tag be able to turn on and off.
    About the tracers I'm not rly sure about the tracers.. It should work correctly, but i've had the same problem. I'll look into it. Thanks for the feedback
    PriceLess is offline
    Tym
    Junior Member
    Join Date: Nov 2012
    Old 11-25-2012 , 12:32   Re: [CSS] VIP
    Reply With Quote #9

    Derp'd out sorry!

    Last edited by Tym; 11-25-2012 at 12:39.
    Tym is offline
    PriceLess
    Senior Member
    Join Date: Sep 2012
    Location: Jungle
    Old 12-01-2012 , 06:01   Re: [CSS] VIP
    Reply With Quote #10

    Quote:
    Originally Posted by Tym View Post
    Derp'd out sorry!
    ?
    PriceLess 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 01:17.


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