Register for your free account! | Forgot your password?

You last visited: Today at 03:01

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


Python Bot Quest Dialog

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: 544
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: 856
Join Date: Jul 2010
Posts: 14,236
Received Thanks: 7,890
-> [DaRealFreaks Abschied]Python Script von Levelbot v2

Schau dir mal in dem Skript den Soulstone Reader, dort überspringt der Bot auch Quest Fenster.


123klo 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
-> [DaRealFreaks Abschied]Python Script von Levelbot v2

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



« Metin2 Start Fehler | Suche CommonDropItem 2013 »

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...
[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...



All times are GMT +2. The time now is 03:01.


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

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.