Jump to content
×
×
  • Create New...
  • 0

Empire war


gummyantifi

Question

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
Share on other sites

  • Answers 3
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

3 answers to this question

Recommended Posts

  • 0

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
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


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.