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

[ANY] ASteambot - Invite To Steam Group


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Plugin ID:
5852
Plugin Version:
1.0
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Simply invite players to steam group.
    Old 10-03-2017 , 15:18   [ANY] ASteambot - Invite To Steam Group
    Reply With Quote #1

    ASteambot Invite To Steam Group




    Before anything, read this :
    You will need ASteambot to run this plugin.
    You need at least the version V 2.6.0.
    You need to open at least 1 port.



    Very simple plugin, it invite players to the steam group of your choice.


    • Fast, almost instant
    • Quick configuration
    • Very tiny plugin



    Download and run ASteambot, it can be downloaded [here]

    You need at least version V 2.3.1 !

    Install ASteambot_Core :

    If you already have installed ASteambot_Core, update it.

    0) Install socket extension
    1) Grab ASteambot_Core from [here]
    2) Put in your plugins folder : addons/sourcemod/plugins
    3) DOWNLOAD AND EDIT THE CONFIGURATION FILE AND PUT IT IN [SERVER PATH]/cfg/asteambot/asteambot_core.cfg !!!
    4) Restart your server

    Install ASteambot_ASteambot_InviteToGroup:

    1) Grab the smx file (ASteambot_InviteToGroup.smx) on github, [here]
    2) Put the smx file in your plugins folder : addons/sourcemod/plugins
    3) Restart your server.
    4) Configure the configuration file in /cfg/asteambot/asteambot_steamgroupinvite.cfg
    5) Grab your steamgroup ID64 from here : http://steamcommunity.com/groups/YOURGROUPNAME/memberslistxml/?xml=1
    it's the number in <groupID64>'s tag, for exemple :
    http://steamcommunity.com/groups/arkarrbotsteamgroup/memberslistxml/?xml=1
    group's id is 103582791460339322
    6) Reaload map or plugin and done !



    sm_steamgroup - send a invite to join the steam group to you.



    None



    Nothing, feel free to ask.



    None found yet



    None, yet.



    All files are on Github : https://github.com/Arkarr/SourcemodASteambot/

    Enjoy !

    Logs :
    Spoiler
    __________________

    Last edited by Arkarr; 05-02-2019 at 11:19.
    Arkarr is offline
    BASTIEN1
    Junior Member
    Join Date: May 2017
    Old 10-03-2017 , 22:48   Re: [ANY] ASteambot - Invite To Steam Group
    Reply With Quote #2

    Can we have it where it auto sends a invite if the client joins the server and isn't following the steam group?
    BASTIEN1 is offline
    sneaK
    SourceMod Moderator
    Join Date: Feb 2015
    Location: USA
    Old 10-04-2017 , 01:31   Re: [ANY] ASteambot - Invite To Steam Group
    Reply With Quote #3

    Quote:
    Originally Posted by BASTIEN1 View Post
    Can we have it where it auto sends a invite if the client joins the server and isn't following the steam group?
    https://steamcommunity.com/discussio...7529575843900/
    __________________
    sneaK is offline
    Arkarr
    Veteran Member
    Join Date: Sep 2012
    Location: Just behind my PC screen
    Old 10-04-2017 , 02:24   Re: [ANY] ASteambot - Invite To Steam Group
    Reply With Quote #4

    Quote:
    Originally Posted by sneaK View Post
    Wait, I didn't knew that. Is my plugin "borderline" ?
    __________________
    Arkarr is offline
    lemeshovich
    Member
    Join Date: Jun 2011
    Old 10-09-2017 , 12:03   Re: [ANY] ASteambot - Invite To Steam Group
    Reply With Quote #5

    im getting that when typing sm_steamgroup in console
    SM Errors

    but anyway im getting steam group invite
    lemeshovich is offline
    Arkarr
    Veteran Member
    Join Date: Sep 2012
    Location: Just behind my PC screen
    Old 10-09-2017 , 12:28   Re: [ANY] ASteambot - Invite To Steam Group
    Reply With Quote #6

    Are you using version 1.2 of the plugin ?
    PHP Code:
        if(client == 0)
        {
            
    PrintToServer("[SM] This command is in-game only.");
            return 
    Plugin_Handled;
        } 
    __________________
    Arkarr is offline
    Bubka3
    Sir Buzz Killington, Esq.
    Join Date: Jan 2010
    Location: New York, NY
    Old 10-10-2017 , 19:51   Re: [ANY] ASteambot - Invite To Steam Group
    Reply With Quote #7

    According to the link sneaK posted, Steam has made it so you must be friends to invite someone into a group. A steam bot is probably not friends with everyone running the !invite command, so they will not get invites.
    Bubka3 is offline
    Triniayo
    Senior Member
    Join Date: Apr 2011
    Location: #include <germany>
    Old 10-11-2017 , 04:56   Re: [ANY] ASteambot - Invite To Steam Group
    Reply With Quote #8

    Yup, you would have to add a "!friends" Command that the bot sends an Friend-Request first, and then the Bot would be able to handle the "!invite" Command.
    __________________
    If you need any help, feel free to add me on Steam.


    Triniayo is offline
    Send a message via Skype™ to Triniayo
    Arkarr
    Veteran Member
    Join Date: Sep 2012
    Location: Just behind my PC screen
    Old 10-11-2017 , 08:29   Re: [ANY] ASteambot - Invite To Steam Group
    Reply With Quote #9

    I know guys, that's why it's already in it !

    Check lines 59 - 64 :
    PHP Code:
    if(MessageType == AS_NOT_FRIENDS)
    {
         
    int client FindClientBySteamID(message)
         
    CPrintToChat(client"%s {green}I can't invite you in my steamgroup, because we are not friend. Please accept my friend request and try again."MODULE_NAME);
         
    ASteambot_SendMesssage(AS_FRIEND_INVITEmessage);

    __________________

    Last edited by Arkarr; 10-11-2017 at 08:31.
    Arkarr is offline
    Triniayo
    Senior Member
    Join Date: Apr 2011
    Location: #include <germany>
    Old 10-11-2017 , 08:39   Re: [ANY] ASteambot - Invite To Steam Group
    Reply With Quote #10

    Oh, you're quick hehe. Good one! :>
    __________________
    If you need any help, feel free to add me on Steam.


    Triniayo is offline
    Send a message via Skype™ to Triniayo
    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 06:01.


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