Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 17:54

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

Advertisement



how connect Phyton->Quest

Discussion on how connect Phyton->Quest within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2014
Posts: 1
Received Thanks: 0
how connect Phyton->Quest

I need connect execute a quest from phyton.

I am using:

import event
event.QuestButtonClick(1)

But I have a problem that is.. I don't have index of the quest I have a name.
test.quest
the content of the quest is:

quest test begin
state start begin
when login begin
set_state(open )
end
end
state open begin
when button begin
chat("I am here!!")
end
end
end

when I used the index of the quest (1 because is in first row of locale_list) everything work fine. But... I think all the time index of the quest will not be 1. If for some reason the change of position on the list would not work. I tried to find the index of the quest with the name of it but I could not.

I tried using this:

import event
import quest
event.QuestButtonClick(quest.GetQuestIndex("test.q uest"))
but does not work and get this error....

SYSERR: Jan 25 23:53:02 :: OnInfo: QUEST no quest by (quest 2147483647)


any ideas or help?
RafaVK is offline  
Old 01/26/2015, 02:52   #2
 
DEMONKING.'s Avatar
 
elite*gold: 5
Join Date: Oct 2012
Posts: 290
Received Thanks: 357
first of all, this is the wrong section
u have to put ur thread here :


second :
take a look at this , it might help you :

>>>>>>>>
event.QuestButtonClick(quest.GetQuestIndex("test.q uest"))
mmmmm....
y don't u just do that :

questindex = 20
event.QuestButtonClick(questindex)

so no need for the name of quest or anything like this
DEMONKING. is offline  
Old 01/26/2015, 10:48   #3
 
Crvena's Avatar
 
elite*gold: 0
Join Date: Dec 2011
Posts: 50
Received Thanks: 99
try this
Crvena is offline  
Old 01/26/2015, 12:35   #4

 
#dynastie's Avatar
 
elite*gold: 0
Join Date: May 2013
Posts: 593
Received Thanks: 467
Look here:
#dynastie is offline  
Old 01/27/2015, 20:47   #5



 
.aNNdii#'s Avatar
 
elite*gold: 1
Join Date: Aug 2008
Posts: 7,744
Received Thanks: 3,606
Arrow Metin2 PServer Guides & Strategies -> Metin2 PServer - Discussions / Questions

#moved
.aNNdii# is offline  
Reply


Similar Threads Similar Threads
M2 Phyton Loader.exe
05/13/2013 - Metin2 Hacks, Bots, Cheats, Exploits & Macros - 2 Replies
Hey guys,i saw a phyton fishbot at DaRealFreak and i need a phyton loader to use it,how can i get it? a link for download may be...?
Phyton Help
11/28/2012 - Metin2 Private Server - 1 Replies
Suche Jemand Der sich mit Python Auskennt und Kurz Zeit in Skype Hatt. Einfach Hier Rein Schreiben und ich adde
[PHYTON TEACHER]
03/29/2012 - Metin2 Private Server - 1 Replies
Hey com, ich hätte mal eine frage, nämlich ob mir jemand evtl ein wenig Phyton beibringen kann zumindest die Grundlagen. Danke schonmal im Vorraus an euch :D Mfg, Benni aka. Dexam
Compile all quest without quest's files list // Kompilieren Sie alle Quest ohne Quest
07/17/2011 - Metin2 PServer Guides & Strategies - 3 Replies
ENGLISH Hello dear community, this is a very simple guide but at the same time useful. How to compile ALL quest in the folder "quest" without the files list in the file "locale_list"? Easy! Open the file "make" and replace the content of the file with this: for f in *.quest; do ./qc $f; done Oki. Now set the 0777 permission to the file. Finally open a SSH client and sign in. Write the command: cd /game_file_folder



All times are GMT +2. The time now is 17:54.


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