Username: Password:

Author Topic: [Request] Script for doing PVP Achievement  (Read 360 times)

Offline manhf

  • Botternator
  • Wolf
  • *****
  • Posts: 139
  • Cookies 4
  • I love Mindee-BOT! So much!!
    • View Profile
[Request] Script for doing PVP Achievement
« on: September 17, 2021, 05:19:52 PM »
I think this script will be useful to get all the pvp achievements   [maguire]  [nowkiss]



Offline MikeOwh

  • Administrator
  • Wolf
  • *****
  • Posts: 145
  • Cookies 10002
  • Little imp.
    • View Profile
    • Skyket
Re: [Request] Script for doing PVP Achievement
« Reply #1 on: September 17, 2021, 06:09:37 PM »
I think this script will be useful to get all the pvp achievements.


Explain your idea to me.

Offline manhf

  • Botternator
  • Wolf
  • *****
  • Posts: 139
  • Cookies 4
  • I love Mindee-BOT! So much!!
    • View Profile
Re: [Request] Script for doing PVP Achievement
« Reply #2 on: September 18, 2021, 02:08:31 PM »
Explain your idea to me.

so here's the plan.. there are 2 chars, let's call it the target and the attacker.. the target just stands still without using a script, only need some adjustment in the setting so that it can kill quickly and the attacker uses a script that can attack the target without being penetrated when facing him I don't know maybe with a script like take item from chest but it doesn't work when I try it, maybe there is a script that can attack the target char directly if it possible.. after the attacker dies he relogs on death and tries to attack again and repeat so on.


Offline MikeOwh

  • Administrator
  • Wolf
  • *****
  • Posts: 145
  • Cookies 10002
  • Little imp.
    • View Profile
    • Skyket
Re: [Request] Script for doing PVP Achievement
« Reply #3 on: September 18, 2021, 06:01:14 PM »
But when you die where do you appear?
I thought you appeared in the city of aurea, if so, the target will also need a script to talk to the npc.

Offline manhf

  • Botternator
  • Wolf
  • *****
  • Posts: 139
  • Cookies 4
  • I love Mindee-BOT! So much!!
    • View Profile
Re: [Request] Script for doing PVP Achievement
« Reply #4 on: September 19, 2021, 03:57:48 PM »
But when you die where do you appear?
I thought you appeared in the city of aurea, if so, the target will also need a script to talk to the npc.

No,just as seen in the video above.. in pvp island at gladus, when we die and relog our char will appeared on the sandy floor so no need to talk to npc.. the best way to get pvp achievements is at gladus pvp island, because it's fast doesn't require long walk and exp doesn't decrease.

« Last Edit: September 19, 2021, 04:00:25 PM by manhf »

Offline MikeOwh

  • Administrator
  • Wolf
  • *****
  • Posts: 145
  • Cookies 10002
  • Little imp.
    • View Profile
    • Skyket
Re: [Request] Script for doing PVP Achievement
« Reply #5 on: September 20, 2021, 06:04:53 PM »
Ah excuse me, I did not see the video.
Anyway I just verified that there is no function that allows attacking other characters. You have to ask Mindee for it.

Offline =Mindee=

  • Commander Shepard
  • BOT Developer Administrator
  • Dragon
  • *****
  • Posts: 2,735
  • Cookies 9017
  • We'll bang, OKAY?
    • View Profile
    • http://mindee-bot.com
Re: [Request] Script for doing PVP Achievement
« Reply #6 on: September 20, 2021, 08:21:57 PM »
Ah excuse me, I did not see the video.
Anyway I just verified that there is no function that allows attacking other characters. You have to ask Mindee for it.

There is one function:

Code: [Select]
script.AttackEntity('name', move (True = move to target, False = don't)
- Tries to attack anything by name (any mob, pet, player, etc)


Mindee-BOT creator, founder and developer.

Offline dora

  • Bug
  • *
  • Posts: 22
  • Cookies 1
  • I love Mindee-BOT!
    • View Profile
Re: [Request] Script for doing PVP Achievement
« Reply #7 on: September 21, 2021, 04:07:13 AM »
I have tried this script, and work.

def onChangeLocation(x, y, z):
   if script.IsPVPArea():
      script.AttackEntity('Target', True)
      


Offline MikeOwh

  • Administrator
  • Wolf
  • *****
  • Posts: 145
  • Cookies 10002
  • Little imp.
    • View Profile
    • Skyket
Re: [Request] Script for doing PVP Achievement
« Reply #8 on: September 22, 2021, 03:52:16 PM »
Excuse me, I find it almost impossible to search through all the functions.
 [facepalm3]