Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 13:27

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

Advertisement



Python Bot Quest Dialog

Discussion on Python Bot Quest Dialog within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2010
Posts: 51
Received Thanks: 3
Python Bot Quest Dialog

Tag Com,

bin dabei einen Bot in Python zu schreiben und nun bin ich bei einer Funktion die durch den Quest Dialog eines Items klickz.
Das klappt mit dem Befehl
PHP Code:
event.SelectAnswer(10
einigermaßen

Das Problem ist nach dem durch die Quest geklickt wurde verschwindet der Dialog nicht. Hätte jemand eine Lösung?
.Puma is offline  
Old 03/19/2013, 17:41   #2
 
elite*gold: 139
Join Date: Sep 2010
Posts: 583
Received Thanks: 546
probier mal event.Destroy()
.XXShuzZzle is offline  
Thanks
1 User
Old 03/19/2013, 18:36   #3
 
elite*gold: 0
Join Date: Sep 2010
Posts: 51
Received Thanks: 3
Klappt leider nicht, lediglich der Text in dem Fenster verschwindet
.Puma is offline  
Old 03/19/2013, 19:08   #4
 
elite*gold: 726
Join Date: Jul 2010
Posts: 14,233
Received Thanks: 7,915
->

Schau dir mal in dem Skript den Soulstone Reader, dort überspringt der Bot auch Quest Fenster.
noahrmal is offline  
Thanks
1 User
Old 03/19/2013, 19:22   #5
 
elite*gold: 0
Join Date: Sep 2010
Posts: 51
Received Thanks: 3
Quote:
Originally Posted by 123klo View Post
->

Schau dir mal in dem Skript den Soulstone Reader, dort überspringt der Bot auch Quest Fenster.
PHP Code:
def ReadQuest(selfindex):
        if 
self.State == "Stop":
            return
        
import event
        
#start
        
if self.ReadExo:
            
event.SelectAnswer(1254)
        else:
            
self.ReadExo 1
            self
.Gui[11].SetText("Yes")
        
#select skill
        
event.SelectAnswer(1int(index))
        
#say you want to read
        
event.SelectAnswer(10)
        
#send string packet
        
net.SendQuestInputStringPacket(self.Gui[14].GetText())        
        
#sucess/fail
        
event.SelectAnswer(10
Wenn diese Funktion gemeint ist, nach der habe ich gearbeitet.
Allerdings ist mir nicht ganz klar wofür bei event.SelectAnswer(1, 0) z.b die 0 steht oder bei event.SelectAnswer(1, int(index)) index
.Puma is offline  
Reply


Similar Threads Similar Threads
[Python-Release] Inventory Bonus Dialog
04/26/2015 - Metin2 PServer Guides & Strategies - 91 Replies
Hey e*pvper's! I saw like this window on a pic on this forum, and I wrote it for all. So I make pub is my which I wrote 3-4 or 5 hrs and I translate to english and german languages. I think not needed too big instruction for the usage, only put the files their correct places and perfect. uiinventory.py --> root files inventorywindow.py --> locale/** files (locale/**/ui/) + My little portable/injectable version, but that a new window, not inventory.
[PYTHON][Turkish- Made] Hide All Quest
12/01/2012 - Metin2 PServer Guides & Strategies - 24 Replies
Hallo, http://www.youtube.com/watch?v=tgJ2yMGpoS8 How To ?: Open Root.Epk&Eix, Open uigamebutton.py: Add the first line: import questkontrol
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 13:27.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.