Results 1 to 6 of 6

Thread: Atack Player - used for training

  1. #1
    iBot User
    Join Date
    Jun 2012
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    10
    Rep Power
    5

    Atack Player - used for training

    Hi everyone!
    I'm doing a Training Script for OPEN-PVP.

    I need some proffessional help.

    What do I need:

    - Some action/waypoint for Lure 2 monsters and kill if lure more than 2(easy to do this on targeting).
    (I search in all forum, and get stuck on lure waypoints. I have many doubts how it works)
    - Attack another character (by name)
    YES IT WILL GET WHITE SKULL (have no problems for me)

    Its possible?

    Thanks!

    I really appreciate if I get some help on Portuguese, but have no problems with English.

  2. #2
    Moderator Drakke's Avatar
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,898
    Mentioned
    216 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    390 Post(s)
    Reputation
    366
    Rep Power
    10
    Quote Originally Posted by skztikz View Post
    Hi everyone!
    I'm doing a Training Script for OPEN-PVP.

    I need some proffessional help.

    What do I need:

    - Some action/waypoint for Lure 2 monsters and kill if lure more than 2(easy to do this on targeting).
    (I search in all forum, and get stuck on lure waypoints. I have many doubts how it works)
    - Attack another character (by name)
    YES IT WILL GET WHITE SKULL (have no problems for me)

    Its possible?

    Thanks!

    I really appreciate if I get some help on Portuguese, but have no problems with English.
    I can fix this for you, but wouldnt it be easier if you were in party tho? Then no names will be needed.
    Wont do it tonight cuz its quite late here, but tomorrow np!

  3. #3
    iBot User
    Join Date
    Jun 2012
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    10
    Rep Power
    5
    Quote Originally Posted by Drakke View Post
    I can fix this for you, but wouldnt it be easier if you were in party tho? Then no names will be needed.
    Wont do it tonight cuz its quite late here, but tomorrow np!
    Hi Drakke!

    Thanks for your suport.
    Im not 100% sure, but in the new pvp system we just cannot attack player on party (please correct me if I'm wrong)

    And I'm Fan of your scripts. XD

    ----------------------------------------------
    &news:
    I got deleted on character lvl 8 TODAY that I was making some training tests.
    Script only uses:
    - Healer
    - Mana trainer
    - Eat food
    - reconnecter
    - Attack (using ACTION ~ setpvpmode("Red fist") attack("player"))

    I will post it on BANS sections for help some theorys about bans.

  4. #4
    Moderator Drakke's Avatar
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,898
    Mentioned
    216 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    390 Post(s)
    Reputation
    366
    Rep Power
    10
    Quote Originally Posted by skztikz View Post
    Hi Drakke!

    Thanks for your suport.
    Im not 100% sure, but in the new pvp system we just cannot attack player on party (please correct me if I'm wrong)

    And I'm Fan of your scripts. XD

    ----------------------------------------------
    &news:
    I got deleted on character lvl 8 TODAY that I was making some training tests.
    Script only uses:
    - Healer
    - Mana trainer
    - Eat food
    - reconnecter
    - Attack (using ACTION ~ setpvpmode("Red fist") attack("player"))

    I will post it on BANS sections for help some theorys about bans.
    local PlayersAround = getcreatures('p')
    local TargetName = 'Drakke'

    for i=1,#PlayersAround do
    if PlayersAround[i].party >= 3 then
    attack(PlayersAround[i].name)
    updateworld()
    elseif PlayersAround[i].name == TargetName then
    setpvpmode(3)
    attack(PlayersAround[i].name)
    updateworld()
    end
    end


    Here you have action, will first look if youre in party with the person and attack if you are, else it will look for the name you have set as TargetName and target that person and put on pvp mode

  5. #5
    iBot User
    Join Date
    Feb 2012
    Posts
    37
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    10 Post(s)
    Reputation
    10
    Rep Power
    5
    did not work help me

    04:43:19 : Action NewAction1 : [string "local PlayersAround =getcreatures ( 'p' ) ..."]:9: unexpected symbol near '<'
    Scripter,
    and Tester.


    Atenciosamente,
    Ataulpho



    Scripts? Look here


  6. #6
    iBot User
    Join Date
    Feb 2012
    Posts
    37
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    10 Post(s)
    Reputation
    10
    Rep Power
    5
    Quote Originally Posted by Drakke View Post
    local PlayersAround = getcreatures('p')
    local TargetName = 'Drakke'

    for i=1,#PlayersAround do
    if PlayersAround[i].party >= 3 then
    attack(PlayersAround[i].name)
    updateworld()
    elseif PlayersAround[i].name == TargetName then
    setpvpmode(3)
    attack(PlayersAround[i].name)
    updateworld()
    end
    end


    Here you have action, will first look if youre in party with the person and attack if you are, else it will look for the name you have set as TargetName and target that person and put on pvp mode

    did not work help me

    04:43:19 : Action NewAction1 : [string "local PlayersAround =getcreatures ( 'p' ) ..."]:9: unexpected symbol near '<'
    Scripter,
    and Tester.


    Atenciosamente,
    Ataulpho



    Scripts? Look here


Posting Permissions

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