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

[CS:GO][Retakes] MyWeaponAllocator (v2.2 - 20/08/18)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
shanapu
Veteran Member
Join Date: Apr 2015
Location: .de
Plugin ID:
6197
Plugin Version:
2.2
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Retake weapon allocator for splewis retakes
    Old 07-17-2018 , 18:57   [CS:GO][Retakes] MyWeaponAllocator (v2.2 - 20/08/18)
    Reply With Quote #1

    Rate Thread


    MyWeaponAllocator for splewis Retakes


    This weapon allocator simulates different kinds of rounds - FULLBUY, FORCEBUY, PISTOL & (DEAGLE).

    These rounds will be set through two different modes.
    - Ascending rounds (mywa_rounds_chance 1) - first x rounds will be PISTOL, then x FORCEBUY rounds after that x FULLBUY rounds.
    - Random rounds by chance (mywa_rounds_chance 0) - It's a random chance to play FULLBUY, FORCEBUY, PISTOL & DEAGLE rounds in no special order.

    DEAGLE rounds are only available on random rounds (mywa_rounds_chance 0) & don't give grenades.

    Players can choose their preferred weapons for these rounds through !gun menu.

    The plugin will give equipment (grenades, armor & kit) in these rounds based on the configured money, mode & max amount of grenades.



    Take a look at the configuration for a better understanding.

    ConVars
    Spoiler


    Required plugins
    ChangeLog
    Quote:
    v2.2
    • added MP5-SD
    v2.1
    • fixed error, thx ramonberrutti
    • 'fr' - translation, thx Cripix
    v2.0
    • public release
    Credits
    Leeter & xooni for the idea, commissioning & testing! Thx for share!
    Big thanks @splewis for his great work on retakes!
    Also big thanks to all sourcemod & metamod developers out there!

    Include file for compile

    Installation
    Quote:
    1. MyWeaponAllocator.smx -> addons/sourcemod/plugins/
    2. MyWeaponAllocator.phrases.txt -> addons/sourcemod/translations/
    3. MyWeaponAllocator.sp -> addons/sourcemod/scripting/ (optional)
    4. Config file sourcemod/retakes/MyWeaponAllocator.cfg will be generated after first startup
    5. Have Fun! Give feedback!

    Github
    https://github.com/shanapu/MyWeaponAllocator


    You like my work for the community? Buy me a beer!
    Attached Files
    File Type: zip MyWeaponAllocator.2.1.zip (497.4 KB, 48 views)
    File Type: zip MyWeaponAllocator.2.2.zip (47.9 KB, 109 views)
    File Type: sp Get Plugin or Get Source (MyWeaponAllocator.sp - 53 views - 30.8 KB)
    __________________
    free software
    coding

    Last edited by shanapu; 08-20-2018 at 12:29.
    shanapu is offline
    mug1wara
    AlliedModders Donor
    Join Date: Jun 2018
    Location: Not your business.
    Old 07-17-2018 , 19:09   Re: [Retake] MyWeaponAllocator (v2.0 - 17/07/18)
    Reply With Quote #2

    blyat-ieful
    __________________
    Taking requests, add me on Steam.

    People make themselves understood in a way, others understand in another.
    mug1wara is offline
    Maxximou5
    AlliedModders Donor
    Join Date: Feb 2013
    Old 07-17-2018 , 19:26   Re: [Retake] MyWeaponAllocator (v2.0 - 17/07/18)
    Reply With Quote #3

    Great release!

    If I may make a few suggestions...
    Spoiler
    __________________
    Maxximou5 is offline
    shanapu
    Veteran Member
    Join Date: Apr 2015
    Location: .de
    Old 07-17-2018 , 19:41   Re: [Retake] MyWeaponAllocator (v2.0 - 17/07/18)
    Reply With Quote #4

    Quote:
    Originally Posted by Maxximou5 View Post
    Great release!

    If I may make a few suggestions...
    Spoiler
    Of course! All kinds of suggestions/reviews are welcome!

    Thanks for the advice!
    I added the [CS:GO] tag and corrected the retakeS also on my other retakes plugins.

    But I have already added 4630 (Plugin ID) & also tried the thread ID you recommend. I suppose this feature might be broken or outdated, like cvar & version tag - at least for csgo.
    __________________
    free software
    coding

    Last edited by shanapu; 07-17-2018 at 19:55.
    shanapu is offline
    splewis
    Veteran Member
    Join Date: Feb 2014
    Location: United States
    Old 07-18-2018 , 01:10   Re: [Retake] MyWeaponAllocator (v2.0 - 17/07/18)
    Reply With Quote #5

    Quote:
    Originally Posted by Maxximou5 View Post
    As it's not retake, but retakes.
    People calling it 'retake' is actually one my pet peeves haha
    __________________
    splewis is offline
    Maxximou5
    AlliedModders Donor
    Join Date: Feb 2013
    Old 07-18-2018 , 01:17   Re: [CS:GO][Retakes] MyWeaponAllocator (v2.0 - 17/07/18)
    Reply With Quote #6

    Quote:
    Originally Posted by shanapu View Post
    Of course! All kinds of suggestions/reviews are welcome!
    Good work, and happy to help! Don't know about the ID's not working but at least it's added haha. :bacon!:
    Quote:
    Originally Posted by splewis View Post
    People calling it 'retake' is actually one my pet peeves haha :)
    When people ask me about the 'retake' plugin, I always reply with, "Never heard of it, but if it's anything like retakes, absolutely".
    __________________
    Maxximou5 is offline
    die_man
    Senior Member
    Join Date: Jul 2017
    Old 07-24-2018 , 19:42   Re: [CS:GO][Retakes] MyWeaponAllocator (v2.0 - 17/07/18)
    Reply With Quote #7

    Players sometimes didn't get any weapon (knife, pistol or primary).

    @Edit
    Code:
    L 07/25/2018 - 18:34:28: [SM] Exception reported: Invalid convar handle 0 (error 4)
    L 07/25/2018 - 18:34:18: [SM] Blaming: MyWeaponAllocator.smx
    L 07/25/2018 - 18:34:18: [SM] Call stack trace:
    L 07/25/2018 - 18:34:18: [SM]   [0] ConVar.IntValue.get
    L 07/25/2018 - 18:34:18: [SM]   [1] Line 804, D:\Code\MyWeaponAllocator\scripting\MyWeaponAllocator.sp::EquipWeapons
    L 07/25/2018 - 18:34:18: [SM]   [2] Line 462, D:\Code\MyWeaponAllocator\scripting\MyWeaponAllocator.sp::EquipAllPlayerWeapon
    L 07/25/2018 - 18:34:18: [SM]   [3] Line 437, D:\Code\MyWeaponAllocator\scripting\MyWeaponAllocator.sp::Event_RoundStart

    Last edited by die_man; 07-25-2018 at 16:03. Reason: Error added
    die_man is offline
    shanapu
    Veteran Member
    Join Date: Apr 2015
    Location: .de
    Old 07-26-2018 , 10:28   Re: [CS:GO][Retakes] MyWeaponAllocator (v2.0 - 17/07/18)
    Reply With Quote #8

    Quote:
    Originally Posted by die_man View Post
    Players sometimes didn't get any weapon (knife, pistol or primary).

    @Edit
    Code:
    L 07/25/2018 - 18:34:28: [SM] Exception reported: Invalid convar handle 0 (error 4)
    L 07/25/2018 - 18:34:18: [SM] Blaming: MyWeaponAllocator.smx
    L 07/25/2018 - 18:34:18: [SM] Call stack trace:
    L 07/25/2018 - 18:34:18: [SM]   [0] ConVar.IntValue.get
    L 07/25/2018 - 18:34:18: [SM]   [1] Line 804, D:\Code\MyWeaponAllocator\scripting\MyWeaponAllocator.sp::EquipWeapons
    L 07/25/2018 - 18:34:18: [SM]   [2] Line 462, D:\Code\MyWeaponAllocator\scripting\MyWeaponAllocator.sp::EquipAllPlayerWeapon
    L 07/25/2018 - 18:34:18: [SM]   [3] Line 437, D:\Code\MyWeaponAllocator\scripting\MyWeaponAllocator.sp::Event_RoundStart
    Thanks for the report!

    Thanks ramonberrutti for fixing.
    __________________
    free software
    coding
    shanapu is offline
    shanapu
    Veteran Member
    Join Date: Apr 2015
    Location: .de
    Old 08-20-2018 , 12:28   Re: [CS:GO][Retakes] MyWeaponAllocator (v2.1 - 26/07/18)
    Reply With Quote #9

    Update v2.2

    Added MP5-SD
    __________________
    free software
    coding
    shanapu is offline
    die_man
    Senior Member
    Join Date: Jul 2017
    Old 09-20-2018 , 01:53   Re: [CS:GO][Retakes] MyWeaponAllocator (v2.2 - 20/08/18)
    Reply With Quote #10

    Hi,
    How I can make a Retakes server only pistols with your weapon allocator?
    die_man 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 23:06.


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