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

[TF2] MedicBot (1.7.1) (Updated 24/5/15)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
tRololo312312
Senior Member
Join Date: Apr 2015
Plugin ID:
4613
Plugin Version:
3.8.1 (Update 1.7.1)
Plugin Category:
Gameplay
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Afk Medic bot AI for Players/Bots
    Old 04-23-2015 , 19:30   [TF2] MedicBot (1.7.1) (Updated 24/5/15)
    Reply With Quote #1

    Hello All. I started making this plugin somewhere half year ago and before i started i was looking for new plugins for TF2 and i found AFK MEDICBOT by El Diablo. I was hyped for this and for my dissapointment it did not work on bots . So i tried to modify it by editing checks for human players which did not work out very well... So i got idea to make small MedicBot myself and it got into this throughout time. I was supposed to keep this as private plugin but i think its better just release it to make its future development better

    ---------------------
    ---------------------
    Features:

    - Follows team members and heals.
    - Uses Uber when firing.
    - Has Combat support. (both ranged and melee)
    - Only works on Medic so is not activated on other classes.
    - Some aim spaz. (Added it for looks )
    - Random Jumping and Jumps or Ducks when healing target presses those buttons.
    - Does not target other Medics that have MedicBot enabled.
    - Works on Bots.
    - Calling Medic(Default key is E) disables your Bot mode.
    - Has AFK manager support. (NEEDS El Diablos modified AFK manager INSTALLED!)
    - Bot wanders around if has no target.

    ---------------------
    ---------------------
    Commands:

    sm_afk: Toggle MedicBot on yourself.

    sm_afk #userid/name [1/0]: Toggle on or off bot on others. (Requires ROOT access)

    --------------------
    --------------------
    Install:

    Click "Get Plugin" from down this page and install to your sourcemod/plugins folder.

    Get "medicbot_manager.smx" if you want AFK manager support.

    NOTE: If you want AFK manager support you need Diablos AFK manager version from here: https://forums.alliedmods.net/showthread.php?p=2247083
    (If you want to compile by yourself, you need inc file from it.)

    --------------------
    --------------------
    Cvars:

    None

    --------------------
    --------------------
    Changelog:

    v3.8.1 (Small Update 1.7.1)

    - Translation file errors are now gone.

    v3.8 (Update 1.7)

    - Bot now wanders around the map if has no target
    - Bot no longer stops detecting enemies when has 100% Uber. Instead when Uber gets to 100% while closest target is enemy, Bot changes to Medigun and then activates Uber. (and then stops detecting enemies)

    v3.7 (Update 1.6)

    - Fixed spamming error about Chargelevel. (Happens when someone has bot enabled and playing as medic but has different weapon in secondary slot other than Medigun.)
    NOTE: this error can cause over 10mb error logs in just few minutes.

    (UNDOCUMENTED UPDATE)

    - Fixed a rare case when a target is not detected by medicbot aim.

    v3.6.1 (Small 1.5.1 Update)

    - Now displays Center message when Disabled

    v3.6 (Update 1.5)

    - Added Center Message to inform you when afk.
    - Added AFK manager support using El Diablos version.

    v3.5 (Update 1.4)

    - Small changes to Class checking

    v3.4 (Update 1.3)

    - Changed Enemy combat movement speed to be faster.
    - Does not Duck if target that presses it is Enemy.

    v3.3 (Update 1.2)

    - Calling Medic now disables your AFK mode.

    v3.2 (Update 1.1)

    - Cloaked or Disguised Spies are no longer detected by MedicBot.
    - Bot runs now forward if has no healing/enemy target.

    v3.1 (Release 1.0)

    - Public Release of the plugin.

    --------------------
    --------------------
    Credits:

    El Diablo (for his velocity moving snippet and some other useful code. without it i would not have made this.)

    arthurdead (for his simple aimbot base code which is modified for medicbots aiming)

    xXDeathreusXx (for his autoaim command code and ClampAngle)

    bl4nk (for his weapon force/switching code: https://forums.alliedmods.net/showthread.php?t=127232)

    HappoKala345 = ME (is my other account. trololo account is mainly for tf2 )
    --------------------
    --------------------


    My Steam Group for my servers: http://steamcommunity.com/groups/trololo312312servers


    PS: This is my first plugin in here so im sorry if i broke any rules X)
    PSS: My English sucks
    PSSS: I LOVE BOTS! (will be releasing bot related stuff)
    Attached Files
    File Type: sp Get Plugin or Get Source (medicbot.sp - 2120 views - 15.0 KB)
    File Type: smx medicbot_manager.smx (13.2 KB, 684 views)

    Last edited by tRololo312312; 05-23-2015 at 18:30. Reason: Version 1.7.1
    tRololo312312 is offline
    tRololo312312
    Senior Member
    Join Date: Apr 2015
    Old 04-23-2015 , 19:34   Re: [TF2] MedicBot (1.0) (24/4/15)
    Reply With Quote #2

    AW GAWD

    I forgot to put Features list D:

    Already a mistake...

    EDIT: Did it...

    Last edited by tRololo312312; 04-23-2015 at 19:46.
    tRololo312312 is offline
    BatyaMedic
    Member
    Join Date: Sep 2014
    Old 04-24-2015 , 05:38   Re: [TF2] MedicBot (1.0) (24/4/15)
    Reply With Quote #3

    ?
    https://forums.alliedmods.net/showthread.php?p=2247083
    __________________
    BatyaMedic is offline
    tRololo312312
    Senior Member
    Join Date: Apr 2015
    Old 04-24-2015 , 08:05   Re: [TF2] MedicBot (1.0) (24/4/15)
    Reply With Quote #4

    Quote:
    Originally Posted by BatyaMedic View Post
    I am aware of that. This is not a duplicate plugin and coding is alot different. Also my plugin has few features that his does not which are:

    - Works on Bots
    - Has Enemy Combat support

    Also lots of his commands do not work in that plugin.
    tRololo312312 is offline
    BatyaMedic
    Member
    Join Date: Sep 2014
    Old 04-25-2015 , 01:53   Re: [TF2] MedicBot (1.0) (24/4/15)
    Reply With Quote #5

    Quote:
    Originally Posted by tRololo312312 View Post
    I am aware of that. This is not a duplicate plugin and coding is alot different. Also my plugin has few features that his does not which are:

    - Works on Bots
    - Has Enemy Combat support

    Also lots of his commands do not work in that plugin.
    Oh,okay,its good.
    __________________
    BatyaMedic is offline
    Thorlax
    Junior Member
    Join Date: May 2008
    Location: Sweden
    Old 04-25-2015 , 04:25   Re: [TF2] MedicBot (1.0) (24/4/15)
    Reply With Quote #6

    I'm going to test this tonight. Thanks!
    __________________


    Thorlax is offline
    Send a message via Skype™ to Thorlax
    Nanochip
    Senior Member
    Join Date: Jan 2014
    Old 04-25-2015 , 10:48   Re: [TF2] MedicBot (1.0) (24/4/15)
    Reply With Quote #7

    Nice plugin, however I'm a bit confused, does the sm_afk command spawn the bot around you and heal you?

    Ps: I would suggest changing the sm_afk to something more suiting like sm_medicbot
    __________________

    Last edited by Nanochip; 04-25-2015 at 10:49.
    Nanochip is offline
    tRololo312312
    Senior Member
    Join Date: Apr 2015
    Old 04-25-2015 , 14:19   Re: [TF2] MedicBot (1.0) (24/4/15)
    Reply With Quote #8

    Quote:
    Originally Posted by Nanochip View Post
    Nice plugin, however I'm a bit confused, does the sm_afk command spawn the bot around you and heal you?

    Ps: I would suggest changing the sm_afk to something more suiting like sm_medicbot
    No. The Plugin makes YOU controlled by a bot and its ment for being AFK (means that your character still does stuff in game while you are not front of your computer)

    There is no hardcoded adverts so how clients are going to found it out? having !afk or /afk is easy to guess.
    tRololo312312 is offline
    SPYderman
    Senior Member
    Join Date: Aug 2013
    Old 04-25-2015 , 15:50   Re: [TF2] MedicBot (1.0) (24/4/15)
    Reply With Quote #9

    Thanks for continuing this!

    Some issues so far I'd like to report:
    - The bot refuses to find its target again when it's around a corner or behind a trigger, meaning it's almost impossible for the medic to come out of spawn because it thinks the door triggers are walls.
    - It destroys spies (knows their disguise, I think I even saw it shooting a cloaked one), maybe that's not so bad considering how easy it would be to stab it if it didn't?
    - Maybe make a cvar so that when you press WASD or any movement keys it makes you un-AFK? This isn't so bad either since it's useful to help stuck medics, but if the player is AFK they can't really help them. Perhaps it could teleport back to spawn?

    Last edited by SPYderman; 04-25-2015 at 15:50.
    SPYderman is offline
    tRololo312312
    Senior Member
    Join Date: Apr 2015
    Old 04-25-2015 , 20:15   Re: [TF2] MedicBot (1.0) (24/4/15)
    Reply With Quote #10

    Quote:
    Originally Posted by SPYderman View Post
    Thanks for continuing this!

    Some issues so far I'd like to report:
    - The bot refuses to find its target again when it's around a corner or behind a trigger, meaning it's almost impossible for the medic to come out of spawn because it thinks the door triggers are walls.
    - It destroys spies (knows their disguise, I think I even saw it shooting a cloaked one), maybe that's not so bad considering how easy it would be to stab it if it didn't?
    - Maybe make a cvar so that when you press WASD or any movement keys it makes you un-AFK? This isn't so bad either since it's useful to help stuck medics, but if the player is AFK they can't really help them. Perhaps it could teleport back to spawn?
    Well i will look into first two:

    - I could make the bot run forward and left when it does not have target but i dont know yet how well this is going to work out

    - That spy detect is quite easy fix so after update bot will not detect disguised or cloaked spais

    - I dont know about WASD thing tho...if anyone can tell how i can detect client button press (so it does not detect when server presses players buttons) that would be very helpful

    EDIT: All features should be done

    Last edited by tRololo312312; 04-25-2015 at 22:40. Reason: just little edit :3
    tRololo312312 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 13:41.


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