Register for your free account! | Forgot your password?

Go Back   elitepvpers > Metin2 > Metin2 PServer - Discussions / Questions
You last visited: Today at 02:18

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


Error in quest lua, query bug?

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2011
Posts: 5
Received Thanks: 0
Error in quest lua, query bug?

Guten abend an alle!
Ich habe ein Problem mit einem quest
wo ist der fehler in meiner script?



mein problem:
wenn die mission kommt es auf den punkt, wo er benötigt, von zeile 15 (in quest script 15-20)
alle Server schließt...

Vielen dank im voraus an alle!



spiderpork96 is offline  
Old 07/26/2014, 10:30   #2
Trade Restricted
 
elite*gold: 9
Join Date: Jul 2014
Posts: 818
Received Thanks: 677
it would be nice if you write in english, the google translator is not rly good made ^^

can you please post your lua error if there is anyone in your syserr ?


grαyfox is offline  
Old 07/26/2014, 14:15   #3
 
elite*gold: 0
Join Date: Apr 2011
Posts: 5
Received Thanks: 0
Quote:
Originally Posted by .ʛᶉɑҹғох™ View Post
it would be nice if you write in english, the google translator is not rly good made ^^

can you please post your lua error if there is anyone in your syserr ?
Inside the syserr there is no error pertinent...
when the mission gets to the point of run EVENT3 (the one where there are two local) all cores are turned off
spiderpork96 is offline  
Old 07/26/2014, 14:38   #4
 
elite*gold: 97
Join Date: May 2014
Posts: 777
Received Thanks: 202
You haven't defined the query_result as Array. This may be the problem why the cores are crashing.


PDDS™ is offline  
Old 07/26/2014, 14:46   #5
 
elite*gold: 0
Join Date: Apr 2011
Posts: 5
Received Thanks: 0
Quote:
Originally Posted by PDDS™ View Post
You haven't defined the query_result as Array. This may be the problem why the cores are crashing.
then the solution is this?

when event3.server_timer begin
local ret_value, ret_array = execute_query("player", "SELECT id_ti FROM good ORDER BY RAND() LIMIT 1")
local id_vinc = tonumber(ret_array[1][1])
notice_all("Number: "..id_vinc..".")
server_timer("event2",3)
end


spiderpork96 is offline  
Reply



« Server Problem | Invoice files - Dropp Problem »

Similar Threads
[Quest] MySQL Query Ergebnisse in Quest ausgeben lassen
12/13/2013 - Metin2 PServer - Discussions / Questions - 5 Replies
Hey Leute, ich hab mich heut an einer Kopfgeld Quest versucht und stehe nun vor folgendem Problem: Ich habe per mysql_query Command alle Spieler suchen lassen, die in der Spalte kopfgeld_exist (ja, so heißt die Spalte, in der eingetragen wird, ob...
query quest
08/12/2013 - SRO PServer Ask the Experts - 4 Replies
Anybody know of a query to incr quest drop rate? And this is to all quest that require to collect items from mobs. Bc the current rates are redicious. It took me almost 12hrs to just get the items from a mob. No fun...
2Fragen Query & Quest
03/10/2013 - Metin2 PServer - Discussions / Questions - 2 Replies
Hallo epvp, ich hätte mal 2 Fragen. Erste Frage: Wenn ich eine Query einfüge wird die dann mit der alten überschrieben oder muss man das Item vorher aus der item_proto entfernen und dann einfügen wenn ja..gibt es eine möglichkeit die...
QUERY TO SQL WİTH NAVİCAT ERROR
01/31/2013 - Metin2 PServer - Discussions / Questions - 4 Replies
video: QUERY TO SQL W i think maybe this error character_set with about my item_proto character set settings: Engine: MyISAM Character set: big--Big5 Traditional Chinese Collation: big5_chinese_ci
Query Error how fix?
10/20/2012 - SRO PServer Ask the Experts - 9 Replies
Virtual Machine (VMWare Player) client System: Windows Server 2008 R2 SR_ShardManager: http://imageshack.us/a/img145/6430/unbenanntgrh.png GlobalManager: http://imageshack.us/a/img507/170/unbenannt2ou.png



All times are GMT +2. The time now is 02:18.


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.