Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2
You last visited: Today at 23:34

  • Please register to post and access all features, it's quick, easy and FREE!


Python - Metin2 Open a dialog with npc by VID

Discussion on Python - Metin2 Open a dialog with npc by VID within the Metin2 forum part of the Popular Games category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2020
Posts: 4
Received Thanks: 0
Python - Metin2 Open a dialog with npc by VID

Hello, I would like to start the conversation with NPC whose is next to my by the VID

Currently I have this:
Code:
import player, event, net
vid = player.GetTargetVID()
net.SendOnClickPacket(vid)
event.SelectAnswer(1,0)
event.SelectAnswer(1,0)
But to use this script I have to right-click the npc. How to call its functions via VID?

Thank you for all help!



fijiboomer is offline  
Old 03/25/2020, 18:44   #2
 
elite*gold: 0
Join Date: Sep 2019
Posts: 1
Received Thanks: 0
import player, event, net
vid = 8806 <== NPC VID
net.SendOnClickPacket(vid)
event.SelectAnswer(1,0)
event.SelectAnswer(1,0)


Hector97PL is offline  
Old Today, 23:14   #3
Moderator


 
elite*gold: 45
The Black Market: 236/0/0
Join Date: Apr 2011
Posts: 10,437
Received Thanks: 2,294
Arrow General Coding -> Metin2

#moved
False is online now  
Reply

Tags
metin 2 python



« [Question] Mob puller for Official | - »

Similar Threads
[NPC]How i can edit text/dialog on NPC
05/03/2017 - Dekaron - 2 Replies
Hello everyone.I want to change this dialog/text.How i can edit ? http://imageshack.us/photo/my-images/20/yd2n.png/
Adding NPC in NPC Dialog
12/17/2013 - CO2 Private Server - 3 Replies
Okay so I'm running 5165 (Conqure SX) I'm new to Conqure and a little rusty in c# I was wondering weather I could charge more cps each time you want a higher level so 15-16 costing 2k cps and 16-17 3k and if so would this be about right #endregion #region Vanish CO leveling NPC case 0001: { if (option == 0) ...
[HELP]Calling an NPC dialog from inside a current NPC [5375]
10/10/2011 - CO2 Private Server - 5 Replies
I have been trying to call another NPCs dialog from within the current NPC. i.e NPC1 case 001: { switch (npcRequest.OptionID) { case 0: {



All times are GMT +2. The time now is 23:34.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

BTC: 33E6kMtxYa7dApCFzrS3Jb7U3NrVvo8nsK
ETH: 0xc6ec801B7563A4376751F33b0573308aDa611E05

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2020 elitepvpers All Rights Reserved.