Jump to content

Recommended Posts

Hello guys,

I have small problem on quest empire_war.

 

I'm going to play. I will give the results of the war.
Nothing will happen to me and exiting this error.

" attempt to call global `mysql_query' (a nil value)  "

 

There are illustrated a quest mysql_query

    local kill_now = mysql_query("SELECT kills from player.war WHERE empire='"..pc.get_empire().."' LIMIT 1")
     local kill_up = mysql_query("UPDATE player.war SET kills ='"..(kill_now.kills[1]+1).."' WHERE empire ='"..pc.get_empire().."' LIMIT 1") 
 

 

(mysql_query is in quest_function)

and i have mysql56

 

Thanks for help :)

Link to comment
https://metin2.dev/topic/9515-empire-war/
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Fix, Add mysql_Query to quest_lib , and i have a new error

 

 Warning: Using a password on the command line interface can be insecure.
and syserr

 

SYSERR: Nov 30 21:05:32 :: RunState: LUA_ERROR: [string "empire_war"]:2: attempt to index field `kills' (a nil value)
SYSERR: Nov 30 21:05:32 :: WriteRunningStateToSyserr: LUA_ERROR: quest valka_risi.start click

Link to comment
https://metin2.dev/topic/9515-empire-war/#findComment-57316
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.