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

[CSGO] MaraBot (v1.2, 10.02.17) Fully customizable Bot to setup competitive matches


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Reeley
Member
Join Date: Jan 2017
Location: 127.0.0.1
Plugin ID:
5527
Plugin Version:
1.2
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Fully customizable Bot to set up competitive matches easily
    Old 02-09-2017 , 08:41   [CSGO] MaraBot (v1.2, 10.02.17) Fully customizable Bot to setup competitive matches
    Reply With Quote #1

    [MaraBot]

    Bot to setup competitive matches


    Description
    There are many Plugins like this but what i never liked about them is that they are not fully customizable. So i came up with this^^

    So far you can customize:
    • Botname
    • Kniferound
    • Rounds played
    • Overtime
    • Overtime - Startmoney
    • Overtime rounds
    • CT Name
    • T Name

    This customization is done in the MaraBot.cfg file and the configs will load when the plugin gets loaded.

    Commands
    • !test - test if bot is working
    • !start (admin-only) - starts the bot
    • !sleep (admin-only) - sets bot in sleep mode
    • !knife (admin-only) - set knife round on/off
    • !overtime (admin-only) - set overtime on/off
    • !restart (admin-only) - restarts game (sets score to 0:0)
    • !pause - pause game in next freezetime
    • !unpause - unpause game
    • !ready or !r - sets your team ready
    • !unready - sets your team unready
    • !settings - shows game settings in chat
    • !stay - stay on your side after knife round
    • !switch - switch side after knife round
    • !abort - abort game start countdown
    • !team1name xxx - change name of team 1
    • !team2name xxx - change name of team 2

    all commands are entered via chat
    to add yourself to admins look up this link - https://wiki.alliedmods.net/Adding_Admins_(SourceMod)

    Usage
    the commands pretty much explain themself, except !start

    !start without any arguments will start a bo1 on the current map

    !start de_cache will start a bo1 on cache and will load the map

    !start de_cache de_dust2 de_dust will start a bo3

    you can also play bo2 or bo4 which obviously can result in a draw


    Installation

    Download the zip file and place the configs and smx file according to the hierarchy in the zip file


    If you discover any bugs or have suggestions please post them here

    Have fun!

    TODO
    • !test command needs to display correct botname
    • translation files
    • money notification in chat
    • chat-aliases for commands
    • change teamnames
    • veto system

    Changelog

    Spoiler
    Attached Files
    File Type: zip MaraBotv1.2.zip (19.5 KB, 2021 views)
    File Type: sp Get Plugin or Get Source (MaraBotv1.2.sp - 2489 views - 23.4 KB)

    Last edited by Reeley; 02-14-2017 at 16:32.
    Reeley is offline
    shanapu
    Veteran Member
    Join Date: Apr 2015
    Location: .de
    Old 02-09-2017 , 11:00   Re: [CSGO] MaraBot (v1.0, 09.02.17) Fully customizable Pug Bot
    Reply With Quote #2

    Dude, you have to add the source...

    Spoiler
    __________________
    coding & free software
    shanapu is offline
    Reeley
    Member
    Join Date: Jan 2017
    Location: 127.0.0.1
    Old 02-09-2017 , 11:19   Re: [CSGO] MaraBot (v1.0, 09.02.17) Fully customizable Pug Bot
    Reply With Quote #3

    Quote:
    Originally Posted by shanapu View Post
    Dude, you have to add the source...
    sorry forgot that

    added it
    Reeley is offline
    shanapu
    Veteran Member
    Join Date: Apr 2015
    Location: .de
    Old 02-09-2017 , 11:30   Re: [CSGO] MaraBot (v1.0, 09.02.17) Fully customizable Pug Bot
    Reply With Quote #4

    you are mixing old syntax with new Transitional Syntax

    https://wiki.alliedmods.net/SourcePa...itional_Syntax
    https://forums.alliedmods.net/showthread.php?t=244092
    use: #pragma newdecls required
    __________________
    coding & free software
    shanapu is offline
    Reeley
    Member
    Join Date: Jan 2017
    Location: 127.0.0.1
    Old 02-09-2017 , 12:16   Re: [CSGO] MaraBot (v1.0, 09.02.17) Fully customizable Pug Bot
    Reply With Quote #5

    i will have a look at that
    Reeley is offline
    waylander3
    Senior Member
    Join Date: Sep 2015
    Location: Russia, Norilsk
    Old 02-09-2017 , 20:22   Re: [CSGO] MaraBot (v1.1, 09.02.17) Fully customizable Pug Bot
    Reply With Quote #6

    bo# setting looks very good, long wait for it on warmod/pug setup, maybe i'll test your pug, and maybe this is be better when warmod/pug setup
    From first look - looks like eBot, but more lightweight, and w/o web service
    Good luck with this plugin

    First:
    I renamed bot in MaraBot.cfg "botName", but when i type on server "!test" it still say's default botname
    in code
    sayToChat("MaraBot works!");
    Maybe set detect botname on MaraBot.cfg ?

    Second:
    No translation file

    Third:
    Need teammates money notification in chat

    And can you make config for changing chat-alliases
    like !ready to !r /r, !knife to !kf, and admin can add himself allies by himself (like on pugsetup, it's very usefull)

    Also, give to players functional to change their teamnames by !t TEAMNAME1 , !ct TEAMNAME2

    And very-very wait veto-system on match
    Player/Admin before match start type !veto, choosing veto-style (bo3) for example, starts knife round and who win will pick or ban maps (pick-ban system of every best of_ type must choosed by admin on config), because there is 2 or 3 different veto-systems on any tournament's
    This is need for tournament's only, and you can make it on or off in config, because on mix it don't need

    Sorry for my english, best regards : ))

    Last edited by waylander3; 02-09-2017 at 20:49.
    waylander3 is offline
    waylander3
    Senior Member
    Join Date: Sep 2015
    Location: Russia, Norilsk
    Old 02-10-2017 , 08:19   Re: [CSGO] MaraBot (v1.1, 09.02.17) Fully customizable Pug Bot
    Reply With Quote #7

    Can you make per-player Ready system with info in HUD?
    because now 1 player in each team can type !ready, and his team marked as ready.
    waylander3 is offline
    Reeley
    Member
    Join Date: Jan 2017
    Location: 127.0.0.1
    Old 02-10-2017 , 08:28   Re: [CSGO] MaraBot (v1.1, 09.02.17) Fully customizable Pug Bot
    Reply With Quote #8

    Quote:
    Originally Posted by waylander3 View Post
    First:
    I renamed bot in MaraBot.cfg "botName", but when i type on server "!test" it still say's default botname
    in code
    sayToChat("MaraBot works!");
    Maybe set detect botname on MaraBot.cfg ?
    yes this is hardcoded, i will change it in the next version

    Quote:
    Originally Posted by waylander3 View Post
    Second:
    No translation file

    Third:
    Need teammates money notification in chat

    And can you make config for changing chat-alliases
    like !ready to !r /r, !knife to !kf, and admin can add himself allies by himself (like on pugsetup, it's very usefull)

    Also, give to players functional to change their teamnames by !t TEAMNAME1 , !ct TEAMNAME2
    added to TODO


    i will also add the veto system to TODO this may come sooner or later

    Quote:
    Originally Posted by waylander3 View Post
    Can you make per-player Ready system with info in HUD?
    because now 1 player in each team can type !ready, and his team marked as ready.
    wont do that for now cause this plugin is meant to be played by 2 full teams so no need to have ready for every person -> i changed the pug in the title and description (my fault)

    Thanks for your suggestions

    Last edited by Reeley; 02-10-2017 at 09:04.
    Reeley is offline
    waylander3
    Senior Member
    Join Date: Sep 2015
    Location: Russia, Norilsk
    Old 02-10-2017 , 10:17   Re: [CSGO] MaraBot (v1.1, 09.02.17) Fully customizable Pug Bot
    Reply With Quote #9

    Quote:
    Originally Posted by Reeley View Post
    yes this is hardcoded, i will change it in the next version

    wont do that for now cause this plugin is meant to be played by 2 full teams so no need to have ready for every person
    Thats good, but players, who playing on warmod/pug setup/etc remember, what they need to type !ready, but now this is mark they team instantly
    Example:
    On server 7 players
    1 player joined CT (they are 5), and type !ready - they marked as ready
    1 player joinned T (they are 4), and type !ready - they marked as ready
    And match will start with 5v4?

    And found 1 bug:
    I renamed T to ATTACK, and CT to DEFENCE, we played Knife round (started on T), win knife, and typing !swap - on first half in chat and TAB we (ct) were marked as ATTACK

    Last edited by waylander3; 02-10-2017 at 10:18.
    waylander3 is offline
    Reeley
    Member
    Join Date: Jan 2017
    Location: 127.0.0.1
    Old 02-10-2017 , 12:26   Re: [CSGO] MaraBot (v1.1, 09.02.17) Fully customizable Pug Bot
    Reply With Quote #10

    Quote:
    Originally Posted by waylander3 View Post
    And found 1 bug:
    I renamed T to ATTACK, and CT to DEFENCE, we played Knife round (started on T), win knife, and typing !swap - on first half in chat and TAB we (ct) were marked as ATTACK
    thats exactly how this should work if you switch sides the names on scoreboard will also switch or am i getting something wrong?

    CT - Team Pros
    T - Team Noobs

    after kniferound switch:

    CT - Team Noobs
    T - Team Pros

    and yes it will start a 5v4 you will have to abort then and set your ready state again

    - updated to v1.2

    Last edited by Reeley; 02-10-2017 at 12:27.
    Reeley 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 05:33.


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