Mindee-BOT

Mindee-BOT Community => Scripting => Request => Topic started by: manhf on September 17, 2021, 05:19:52 PM

Title: [Request] Script for doing PVP Achievement
Post by: manhf on September 17, 2021, 05:19:52 PM
I think this script will be useful to get all the pvp achievements   [maguire]  [nowkiss]
Title: Re: [Request] Script for doing PVP Achievement
Post by: MikeOwh 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.
Title: Re: [Request] Script for doing PVP Achievement
Post by: manhf 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.

Title: Re: [Request] Script for doing PVP Achievement
Post by: MikeOwh 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.
Title: Re: [Request] Script for doing PVP Achievement
Post by: manhf 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.

(https://i.postimg.cc/ZK778Pqm/Tibiame-Pvp-1-m4v-snapshot-00-02-220nnn.jpg)
Title: Re: [Request] Script for doing PVP Achievement
Post by: MikeOwh 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.
Title: Re: [Request] Script for doing PVP Achievement
Post by: =Mindee= 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)
Title: Re: [Request] Script for doing PVP Achievement
Post by: dora 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)
      

Title: Re: [Request] Script for doing PVP Achievement
Post by: MikeOwh on September 22, 2021, 03:52:16 PM
Excuse me, I find it almost impossible to search through all the functions.
 [facepalm3]