Signup Now
Results 1 to 4 of 4
  1. #1
    Free User Benya's Avatar
    Join Date
    Dec 2013
    Posts
    274
    Reputation
    29
    Rep Power
    21

    To invite x person, when joined change party to "shared experience enabled"

    Hello, i've found the auto invite and i guess the auto join, however how can i make so that the leader enables shared exp?

    Thanks in advance.

    What i got:
    Inviter:
    auto(1000) local InviteName = 'Floxirn'


    if getcreature(InviteName).party == 0 then
    contextmenu('Invite to Party',InviteName, true)

    waitping(2,3)
    elseif getcreature(InviteName).party == 1 then
    contextmenu("Join "..InviteName.."'s Party",InviteName, true)
    waitping(2,3)
    end
    Joiner:
    contextmenu("Join Fia via's Party", "Fia via", True) -- Joining Fia via party
    Now, i'm not sure if the joiner is correct, is it?

    And in the first one i guess "enablesharedexp()" should be implemented somewhere, just don't understand how to put it... Would appreciate help. thanks.

    Maybe this should work better as a inviter / joiner?
    local PlayerNames = {'Ash', 'Brock', 'Misty', 'Guido'}

    for i, player in ipairs(PlayerNames) do
    if getcreature(player).party == 0 then
    contextmenu('Invite to Party',player, true)
    waitping(2,3)
    elseif getcreature(player).party == 1 then
    contextmenu("Join "..player.."'s Party",player, true)
    waitping(2,3)
    end
    end
    But still don't get how to enable shared exp.
    Last edited by Benya; 07-03-2016 at 08:28 AM.

  2. #2
    Free User Benya's Avatar
    Join Date
    Dec 2013
    Posts
    274
    Reputation
    29
    Rep Power
    21
    Anyone dare to try help?

  3. #3
    Moderator Dehan's Avatar
    Join Date
    Dec 2013
    Posts
    1,404
    Reputation
    315
    Rep Power
    26
    @Benya, use this on the party leader:

    if $self.party == 4 and not $battlesigned then
    contextmenu("Enable Shared Experience", $name, false)
    end

    Level Latest Scripts by Dehan
    250+
    [EK & ED & MS & RP] [Navigation] Prison -1
    200+
    [EK & ED & MS] [Navigation] Asura Palace
    200+
    [EK & ED] [Navigation] Lower Roshamuul Softcore

  4. #4
    Free User Benya's Avatar
    Join Date
    Dec 2013
    Posts
    274
    Reputation
    29
    Rep Power
    21
    Quote Originally Posted by Dehan View Post
    @Benya, use this on the party leader:

    if $self.party == 4 and not $battlesigned then
    contextmenu("Enable Shared Experience", $name, false)
    end
    It works, however not if etc i die and it invite and accepts again, do it need an "auto 100" function?


    Okey i got it to work now, awesome! Now i don't need to worry about that again!
    Last edited by Benya; 04-04-2016 at 03:36 AM.

 

 

Posting Permissions

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