Raised This Month: $32 Target: $400
 8% 

[CS:S, CS:GO] Roll The Dice (Würfeln)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
dordnung
Veteran Member
Join Date: Apr 2010
Plugin ID:
2258
Plugin Version:
1.6.1
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    8 
    Plugin Description:
    A dice plugin for CS:GO and CS:S by Popoklopsi
    Old 03-03-2011 , 15:06   [CS:S, CS:GO] Roll The Dice (Würfeln)
    Reply With Quote #1

    Roll a dice with 33 Features, a great favourite on Fun Servers

    English and German



    The Numbers:


    1: Drunk (Only CS:S)
    2: Drugs
    3: Burn
    4: 1.65x Speed
    5: Rocket
    6: Nothing
    7: Long Jump
    8: Deagle
    9: -50 Health
    10: +50 Health
    11: 0.65x Speed
    12: Grenade
    13: Two Flashbangs
    14: Nothing
    15: Half Gravity
    16: Twice Gravity
    17: 1.65x Speed and +50 Health
    18: -30 Health, half Gravity and 0.65x Speed
    19: Twice Gravity, 0.65x Speed, +30 Health
    20: 5 Seconds noclip
    21: 30 Seconds freezed
    22: 100 Seconds shaked
    23: Glock
    24: Only 1 HP
    25: M3
    26: Froggy (2x) Jump
    27: Always Nightvision
    28: Low FOV
    29: High Fov
    30: Almost Invisible
    31: Have 200 HP and more Speed, but burn instantly
    32: ALL Players are walking backwarts (Default: Off!)
    33: ALL Players are ice skaters



    ConVars:

    • dice_text:
      Command to dice (without exclamation mark), convert to UTF-8 without BOM for special characters
    • dice_team:
      2 = Only T's can dice, 3 = Only CT's can dice, 0 = Everybody can dice
    • dice_show:
      Players, which see the result: 1 = Everybody, 2 = just T's, 3 = just CT's, 4 = Only you
    • dice_rand:
      1 = Random text when result is a weapon, 0 = Off
    • dice_count:
      How often a player can dice per round
    • dice_money:
      x = Money one dice costs, 0 = Off


    Installation:

    Copy the addons and cfg Folder in your gamedir Folder

    Edit the Config in "cfg/dice/dice_config.cfg" and "cfg/dice/dice_enables.cfg"



    Changelog:

    Code:
    1.6.2 - Fixed problem when health <= 0
          - Changed the way to kill a client
    1.6.1 - Added Support for Auto Updater
          - Fixed Noclip Timer announcer
    1.6 - Added 3 new features
         - Have 200 HP and more Speed, but burn instantly
         - ALL Players are walking backwarts
         - ALL Players are ice skaters
    1.56 - Replaced M3 with sawed off in CSGO
    1.55 - Added Feature 26-30 (see above)
         - Fixed bug, that wrong text is shown
         - Fixed NoClip Timer bug
         - Added cvar dice_money and dice_count 
         - Fixed translation mistakes
    1.51 - Protection against unwanted behavior (Thanks Sheepdude)
    1.5 - Moved precaches to OnMapStart()
         - Fixed bug, that other team see the text
         - Changed colors for CS:GO
         - Fixed infinite loop on missing config
    1.4 - A lot of code improvements
         - Added support for CS:GO
         - 3 new Features
         - Enables of numbers in extra file
         - Command works now right
    1.31 - Fixed another Spam Bug
    1.3 - Fixed Spam Bug
    1.2 - Added convars to disable numbers
          Added Shake 
          Added dice Team
          Fixed Drug Bug
          Use sm_command to dice
    1.1 - Fixed 2 Bugs
    1.0 - Release

    Have Fun!!
    Attached Files
    File Type: zip dice.zip (35.2 KB, 7174 views)
    __________________

    Last edited by dordnung; 07-16-2013 at 08:32. Reason: approved
    dordnung is offline
    dordnung
    Veteran Member
    Join Date: Apr 2010
    Old 03-04-2011 , 07:10   Re: [CS:S] Dice (Würfeln) by Popoklopsi
    Reply With Quote #2

    UPDATE:

    Code:
    1.1 - Fixed 2 Bugs
    __________________

    Last edited by dordnung; 03-10-2011 at 07:25.
    dordnung is offline
    Groger
    Veteran Member
    Join Date: Oct 2009
    Location: Belgium
    Old 03-04-2011 , 11:47   Re: [CS:S] Dice (Würfeln) by Popoklopsi
    Reply With Quote #3

    Drugs doesnt reset whene a restartgame occurs.

    You should create more cvar's so we can adjust the features/or disable them.
    !dice is not a console command, it would be nice if its a console command (sm_dice) -> so we can overide the acces to donaters only.

    But all in all very solid plugin, works great! well done

    Last edited by Groger; 03-04-2011 at 11:54.
    Groger is offline
    Thrawn2
    Veteran Member
    Join Date: Apr 2009
    Old 03-04-2011 , 11:52   Re: [CS:S] Dice (Würfeln) by Popoklopsi
    Reply With Quote #4

    <blink>please stop _abusing_ colors and fontsizes</blink>

    also: attach the sourcecode directly please. way friendlier to people who want to take a look at your code.
    __________________
    einmal mit profis arbeiten. einmal.
    Thrawn2 is offline
    dordnung
    Veteran Member
    Join Date: Apr 2010
    Old 03-04-2011 , 13:36   Re: [CS:S] Dice (Würfeln) by Popoklopsi
    Reply With Quote #5

    @Groger

    Ok, i will check this
    And i can also add mor convars

    @Thrawn

    Haha okay^^, i will edit this thread tomorrow^^
    Okay, but it can't be compiled online.
    __________________
    dordnung is offline
    PandoraBoX
    New Member
    Join Date: Feb 2010
    Old 03-05-2011 , 13:39   Re: [CS:S] Dice (Würfeln) by Popoklopsi
    Reply With Quote #6

    Very Nice, I tested it on my mg. I didn't realize that only T's could roll. Anyways you should add a cvar to enable so that both CT and T can roll. This is an amazing plugin and you have a good thing going.
    PandoraBoX is offline
    dordnung
    Veteran Member
    Join Date: Apr 2010
    Old 03-10-2011 , 07:25   Re: [CS:S] Dice (Würfeln) by Popoklopsi
    Reply With Quote #7

    UPDATE:

    Code:
    1.2 - Added convars to disable numbers
          Added Shake 
          Added dice Team
          Fixed Drug Bug
          Use sm_command to dice
    __________________
    dordnung is offline
    Groger
    Veteran Member
    Join Date: Oct 2009
    Location: Belgium
    Old 03-23-2011 , 11:00   Re: [CS:S] Dice (Würfeln) by Popoklopsi
    Reply With Quote #8

    Allright, this is awsome.

    Thx for your update!

    One request tho, can you add a dice_enableplugin command, so we can disable the plugin on some maps.
    Groger is offline
    databomb
    Veteran Member
    Join Date: Jun 2009
    Location: california
    Old 03-29-2011 , 14:31   Re: [CS:S] Dice (Würfeln) by Popoklopsi
    Reply With Quote #9

    Popoklopsi, using enums would make your code much more readable! Also, if someone has many dice options turned off it will almost always say that dice is disabled - possibly have an array of only choose from those dice numbers that are enabled. Other than that, good job and thanks for this plugin!

    Groger, you could get away with this in the map config until there is a cvar to turn on/off:
    sm plugins unload dice
    but I forget if I had to load it in the next cycled map or not
    __________________
    databomb is offline
    Groger
    Veteran Member
    Join Date: Oct 2009
    Location: Belgium
    Old 03-29-2011 , 14:45   Re: [CS:S] Dice (Würfeln) by Popoklopsi
    Reply With Quote #10

    Yeah I did that , but its always nice to have a cvar like that (also for our admins)

    Ps: You dont have to load it in the next map cycle, it auto loads whene its in the plugin folder
    Groger 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 15:51.


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