>> AUTO INVITE CLAN PLUG <<

This is a discussion on >> AUTO INVITE CLAN PLUG << within the Warcraft 3 Hacks, bots and tools board part of the Warcraft 3 forum category; Say me info: Your Realm? Roc Or Tft?...

Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21
  1. #11
    T[X]AS's Avatar
    T[X]AS is offline Premium Member
    Array
    Join Date
    Feb 2007
    Posts
    126
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    11
    Reputation
    138

    Re: >> AUTO INVITE CLAN PLUG <<

    Say me info:



    Your Realm?
    Roc Or Tft?
    ----------------
    ! DrOiD InSiDe !
    ----------------

  2. #12
    Fersu is offline Newbie
    Array
    Join Date
    Apr 2007
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    0

    Re: >> AUTO INVITE CLAN PLUG <<

    Quote Originally Posted by T[X
    AS ]
    and if player have > 300 wins?

    Think all conditions that players can have Before post plz
    More than 300 wins = 60% stats

    <100 = No invite.
    ?100 wins = 60 %
    ?200 wins = 55 %
    ?300 wins = 50 %

  3. #13
    T[X]AS's Avatar
    T[X]AS is offline Premium Member
    Array
    Join Date
    Feb 2007
    Posts
    126
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    11
    Reputation
    138

    Re: >> AUTO INVITE CLAN PLUG <<

    Join Clan PluG
    2.0

    Multiple Conditions Added
    Now Bot Test: Clan , Level , And 3 wins/percent Conditions

    Default Settings:

    Clan : HE

    Minimum Wins1 : 100
    Minimum Percent1 : 60 %
    Minimum Wins2 : 200
    Minimum Percent2 : 55 %
    Minimum Wins3 : 300
    Minimum Percent3 : 50 %

    Minumum Level = 15

    Game: ROC
    GateWay : Northend


    This plug Auto invite a player who type .Join in clan channel , if he pass the required stats.

    If you wanna change the stats , modify this:

    private const MyClan = "HE"

    Private const MinWinS1 = 100
    private const MinPercent1 = 60
    Private const MinWinS2 = 200
    private const MinPercent2 = 55
    Private const MinWinS3 = 300
    private const MinPercent3 = 50

    private const GameTyPe = "ROC"



    Code:
    &#39;joinc
    &#39;2.0
    &#39;By DrOiD @ T[X]AS
    
    &#39;///// CONDITIONS ///////////
    &#39;My CLan
    Private const MyClan = "HE"
    
    &#39;Conditions
    Private const MinWinS1 = 100
    private const MinPercent1 = 60
    
    Private const MinWinS2 = 200
    private const MinPercent2 = 55
    
    Private const MinWinS3 = 300
    private const MinPercent3 = 50
    
    &#39;Game Type
    private const GameTyPe = "ROC"
    
    &#39;Min Level
    Private const MinLevel = 15
    
    
    
    &#39;>>>>>>> Sub Events <<<<<<<<<<
    
    Sub joinc_event_UserTalk(Username, Flags, Message, Ping)
    
    
    If Left(lcase(message),6) = botvars.trigger & "join" then
    
    	addq "/emote ** Wait... Analizing Acc... [ " & username & " ] **"
    	tag = LCase(GetInternalDataByUsername(Username, 0))
    
    	if ucase(tag) = ucase(MyClan) then
    		Addq "/emote >.< YOU ARE IN CLAN " & myclan & " ! " & username & " !!"
    		exit sub
    	end if
    	if ucase(tag) <> "" then
            Addq "/emote >.< Leave the clan " & tag & " ! " & username & " !! If you wanna Join..."
            exit sub
    	end if
    
    	if ScINet.stillExecuting then
    	  addq "/emote " & username & "  >>>> SorrY <<<<      ^_^ I&#39;M BuSy  "
    	  exit sub
    	end if
        
        &#39;Web Profile
        if gametype = "ROC" then Content=scinet.openurl("http://www.battle.net/war3/ladder/wa...ame="&Username)
        if gametype = "TFT" then Content =scinet.openurl("http://www.battle.net/war3/ladder/w3...ame="&Username)
    
        &#39;*** TesT if WeB is DowN ***
        posErroR = instr(content, "Error Encountered")
    
        if poserror > 0 then
         Addq "/emote >> BatTLe.NeT Profile WeB is DoWN -> I cant TesT Your Acc << Ask to Shaman..."
         exit sub
        end if
    
    	&#39;******* User StatS ******
    	pos1 = instr(content, "Total")
    	pos1 = instr(pos1,content,"rankingRow")
    	pos1 = instr(pos1, content, ">")+1
    	pos2 = instr(pos1, content, "<")
    	twins = mid(content, pos1, pos2-pos1)
    	pos1 = instr(pos1, content, "%")-15
    	pos1 = instr(pos1, content, ">")+1
    	pos2 = instr(pos1, content, "<")-2
    	tpercent = mid(content, pos1, pos2-pos1)
    
        UserStat = GetInternalDataByUserName(Username, 5)
        Levelx = Split(UserStat, " ")(2)
    
        if cint(levelx) < MinLeveL then
          addq "/emote ** " & username & " You need Level " & minlevel & " To enter clan " & myclan
         exit sub
        end if
    		
    	text = "WinS : [" & twins & "] With Percent : [" & tpercent & "]"
        tpercent = left(tpercent,2)
        &#39;Wins & Percent Conditions    
        if cint(twins) >= MinWinS1 And cint(twins) <= cint(MinWinS2) then
        If cint(tpercent) >= cint(MinPercent1) Then      	
          Call InviteClan(USername,text)
          exit sub
        end If
        End if
        
        if cint(twins) >= MinWinS2 And cint(twins) <= cint(MinWinS3) then
        If cint(tpercent) >= cint(MinPercent2) then
          Call InviteClan(USername,text)
          exit sub
        end If
        End if
        
        if cint(twins) >= cint(MinWinS3) Then
        If cint(tpercent) >= cint(MinPercent3) Then
          Call InviteClan(USername,text)
          exit sub    
        End If
        End If
        
        addq "/emote Sorry... , You Dont have the Stats Enough to Join Clan " & myclan & " | " & Username & " | Detected : " & Text
    	addq "/emote ReQs: " & MinWinS1 & " WinS/" & MinPercent1 & " % | " & MinWinS2 & " Wins/" & MinPercent2 & " % | " & MinWinS3 & " Wins/" & MinPercent3 & "%"
        
    
        
        
    end if
    end Sub
    
    
    sub InviteClan(username,Text)
    
    		&#39;Condition Passed -> Step : Invite to clan
        addq "/emote Welcome to CLan " & myclan & " " & Username & " | Detected: " & Text
        addq Command(BotVars.Username, "/invite " & Username, True)
    
    End Sub


    The Plug is Not Tested , So.. Post your COmment Here Before you Try It 8)
    ----------------
    ! DrOiD InSiDe !
    ----------------

  4. #14
    Fersu is offline Newbie
    Array
    Join Date
    Apr 2007
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    0

    Re: >> AUTO INVITE CLAN PLUG <<

    Quote Originally Posted by T[X]AS
    if ScINet.stillExecuting then
    addq "//emote " & username & " >>>> SorrY <<<< ^_^ I&#39;M BuSy "
    exit sub
    end if
    Delete the "/" .
    Very nice at the moment. Cheers men!

  5. #15
    Fersu is offline Newbie
    Array
    Join Date
    Apr 2007
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    0

    Re: >> AUTO INVITE CLAN PLUG <<

    Some Ideas for the Join Clan PluG v 3.0


    The stardar command to move the bot throught the channel is .join (/join bot inside) ".join clan he"...
    The plugin command ".join" could make conflicts with the standar bot ".join" command.
    Allow it on the pluginsettings.ini with:
    Code:
    __________________________________________________
    [joinc]
    
    enabled=True
    
    ;New Version Notification
    nvn=True
    
    ;Name of command which retrieves join
    join_command=enter
    
    __________________________________________________
    Do something against the spammers/fuckers who put .join .join .join .join to shut down the bot.

    You can make a condition for Clans who doesn&#39;t want that anyone join on their Clan.
    I.E.:
    <User> .join
    <Bot>** Wait... Analizing Acc... [ User ] **
    <Bot> Requires found... But wait [ User ] Requesting to the shamans/chieftain...
    <To Chaman> User want to join on the Clan, answer with yes/no please.
    <From Chaman> yes
    <Bot>/invite user
    <Bot> Welcome bla bla..

    Analizando se escribe "Analyzing" no "Analizing"

    Going to a professional plugin!

  6. #16
    T[X]AS's Avatar
    T[X]AS is offline Premium Member
    Array
    Join Date
    Feb 2007
    Posts
    126
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    11
    Reputation
    138

    Re: >> AUTO INVITE CLAN PLUG <<

    >>> I will not make more plugs/fixed in D3Scene <<< I go to other site , cant stay in d3scene

    http://www.d3scene.com/forum/txas-sa...y-t2260.0.html


    Bye all
    ----------------
    ! DrOiD InSiDe !
    ----------------

  7. #17
    Fersu is offline Newbie
    Array
    Join Date
    Apr 2007
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    0

    Re: >> AUTO INVITE CLAN PLUG <<

    LoL why???

  8. #18
    C0mm4nd3r is offline Hacker
    Array
    Join Date
    Feb 2007
    Location
    Mallorca
    Posts
    164
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    11
    Reputation
    54
    what does " myclan " variable and what does it do?
    THX!

  9. #19
    xiN
    xiN is offline Guess who's back ?
    Array
    Join Date
    Feb 2007
    Location
    Six feet under
    Posts
    1,580
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    12
    Reputation
    358
    myclan = the clan where u want the bot invite players into

  10. #20
    Renarama is offline Wannabe Member
    Array
    Join Date
    Jul 2007
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    0
    So how i get it to work ? , :S

Page 2 of 3 FirstFirst 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •