Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 15:40

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

Advertisement



Quest rufen in python

Discussion on Quest rufen in python within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2013
Posts: 43
Received Thanks: 0
Question Quest rufen in python

Hallo,

Ich möchte es fragen, ob es möglich ist, dass ein Quest im Spiel per python bot rufen?
Es gib ein NPC und 2 quest bei ihm. Ich möchte das erste quest nutzen mit dem Bot.
Gibt es einen Befehl, womit ich das Quest rufen kann? Ich werde neben dem NPC stehen.
(Vielleicht net.SendOnClickPacket() ?)
Vielen Dank im Voraus!
Andariel666 is offline  
Old 08/26/2014, 16:21   #2
 
[uLow]Beni's Avatar
 
elite*gold: 0
Join Date: May 2011
Posts: 1,781
Received Thanks: 618
U are right SendOnClickPacket and event.. Im not sure event.XX?
[uLow]Beni is offline  
Thanks
1 User
Old 08/26/2014, 18:20   #3
 
elite*gold: 0
Join Date: Feb 2013
Posts: 43
Received Thanks: 0
Quote:
Originally Posted by [uLow]Beni View Post
U are right SendOnClickPacket and event.. Im not sure event.XX?
Thank you. Finally I have found a command, which seems to be good:
event.QuestButtonClick

Right, it's really in the event module. I will try to write a code with them.
Andariel666 is offline  
Old 08/26/2014, 20:00   #4
 
terron's Avatar
 
elite*gold: 0
Join Date: Jun 2011
Posts: 69
Received Thanks: 25
Quote:
Originally Posted by Andariel666 View Post
Thank you. Finally I have found a command, which seems to be good:
event.QuestButtonClick

Right, it's really in the event module. I will try to write a code with them.
You're right, you can find how to use manual here:
terron is offline  
Thanks
1 User
Old 08/27/2014, 13:10   #5
 
elite*gold: 0
Join Date: Feb 2013
Posts: 43
Received Thanks: 0
I still don't know, how to use:
Code:
event.QuestButtonClick()
The net.SendOnClickPacket(VID) works perfectly, it can opens the NPC from far away, when it is designated. Then it opens the quest list. There is two option and a close button. I would like to click on the first with the event.QuestButtonClick(quest_index).

But how can I found out what is the quest index? Is there any command to get the index of a quest?
Andariel666 is offline  
Old 08/27/2014, 16:15   #6
 
terron's Avatar
 
elite*gold: 0
Join Date: Jun 2011
Posts: 69
Received Thanks: 25
Use a q.getcurrentquestindex() function in your quest or catch up your quests to the top of your quest_list.

terron is offline  
Old 08/27/2014, 19:17   #7
 
elite*gold: 0
Join Date: Feb 2013
Posts: 43
Received Thanks: 0
Thank you, but I can't see the quest list, because this isn't my server.
I am programming a hack and I need that for a hack function. So I have no idea how to find it out.



Any idea?
Andariel666 is offline  
Old 09/02/2014, 21:23   #8
 
elite*gold: 0
Join Date: Feb 2013
Posts: 43
Received Thanks: 0
Unhappy

Is there any solution to click on the target option in a quest window?
Andariel666 is offline  
Old 09/02/2014, 21:43   #9
 
elite*gold: 726
Join Date: Jul 2010
Posts: 14,233
Received Thanks: 7,915
event.SelectAnswer(1, x)

x = 0 -> first quest
x = 1 -> second quest
[...]
noahrmal is offline  
Thanks
1 User
Old 09/06/2014, 12:04   #10
 
elite*gold: 0
Join Date: Feb 2013
Posts: 43
Received Thanks: 0
Quote:
Originally Posted by 123klo View Post
event.SelectAnswer(1, x)

x = 0 -> first quest
x = 1 -> second quest
[...]
Thank you very much, it works well.!

I have one more problem. I can't anyway close the quest window.
I tried to select the last option (close), or event.Destroy and some others.
But without succes.... Where is the problem?
Thank you.
Andariel666 is offline  
Old 09/06/2014, 19:30   #11
 
Eigenartig's Avatar
 
elite*gold: 0
Join Date: Sep 2012
Posts: 219
Received Thanks: 123
Quote:
Originally Posted by Andariel666 View Post
Thank you very much, it works well.!

I have one more problem. I can't anyway close the quest window.
I tried to select the last option (close), or event.Destroy and some others.
But without succes.... Where is the problem?
Thank you.
You should hook quest windows

f.e
Code:
http://pastebin.com/uEsqfFut
Eigenartig is offline  
Reply

Tags
npc, npc anklicken, python, quest


Similar Threads Similar Threads
[*]Haustier + Pferd gleichzeitig Rufen, Quest einstellung?[*]10€ PSC, bei Hilfe.
05/07/2014 - Metin2 Private Server - 5 Replies
#closerequest
Python / Quest
03/09/2014 - Metin2 Private Server - 6 Replies
Hallo, ich wollte mal fragen wie ich es am besten umsetze wie das Gildenlager möchte gern soetwas in der art machen. Wäre nett wen mir das irgendwer beibringen könnte oder erklären könnte wie das geht. MfG
Python GUI, Quest, Befehle?
02/05/2014 - Metin2 Private Server - 1 Replies
Hey COM, ich hab mir vorgenommen, mich mal etwas mit Python und dem dazugehörigem Kram auseinander zu setzen. Mich interessiert folgendes: Wie läuft das ab, ich hab gelesen das man ein GUI in meinem Fall sind es "Label" mit einer Quest füllen kann. Wie stell ich das aber an, was muss ich in die Quest packen um dann im GUI die Zahl 1 stehen zu haben? (Wenns n schönes HowTo gibt, wärs nett wenn es gepostet wird. Desweiteren hab ich mich zu dem Python Thema noch gefragt, wo die...
[Mini-Quest]Reittiere mit Wahrscheinlichkeit rufen
02/24/2011 - Metin2 PServer Guides & Strategies - 20 Replies
Hey, eine kleine Quest von mir :) Sie ist simpel, sie ruft die Reittiere mit Wahrscheinlichkeit und zwar wie hoch man die Fertigkeit Pferderufen hat ^^ Ihr müsst die mit der ItemID des Items ersetzen die das Reittier ruft! Ihr müsst die zu der Value des Reittieres ändern! Hier die Quest: quest fertigkeitenreittier begin
Which Quest Gives The Key For Python?
09/10/2008 - Dekaron Private Server - 2 Replies
Which quest guy i have to see to get the key to enter the python inside the 90 dungeon in x360 private server? I cant find the quest because is full of weird contexts and idk how to get the key to get inside the door of python. A help would and a detailed description would be really appreciate it and thanks would be given



All times are GMT +1. The time now is 15:41.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

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