• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua Guild War Acception Error

LiNiN

Banned User
Joined
Jul 6, 2012
Messages
307
Reaction score
2
Location
Canada
When a player on my server tries to accept war invitation, nothing happens and i get an exe error. I am really getting angry with it, i've tried to fix it and i can't find the solution. I have used the search function to those who can't help me and decide to say that. I really need someone's help! I am really really desperate to fix this a.s.a.p.
Here is the error::
Code:
[27/08/2012 19:14:21] [Error - TalkAction Interface] 
[27/08/2012 19:14:21] data/talkactions/scripts/war.lua:onSay
[27/08/2012 19:14:21] Description: 
[27/08/2012 19:14:21] data/talkactions/scripts/war.lua:53: attempt to call field 'executeQuery' (a nil value)
[27/08/2012 19:14:21] stack traceback:
[27/08/2012 19:14:21] 	data/talkactions/scripts/war.lua:53: in function <data/talkactions/scripts/war.lua:1>

Please help, if you know the error please post below! Any help and direction is needed and appreciated. Thank You! :)
 
So should i do something in function in lib? Or just go into the war.lua and replace every db.executeQuery?

- - - Updated - - -

I replaced every db.executeQuery with db.query and now i get this error

Code:
[27/08/2012 19:30:01] [Error - TalkAction Interface] 
[27/08/2012 19:30:02] data/talkactions/scripts/war.lua:onSay
[27/08/2012 19:30:02] Description: 
[27/08/2012 19:30:02] data/talkactions/scripts/war.lua:53: attempt to call field 'query' (a nil value)
[27/08/2012 19:30:02] stack traceback:
[27/08/2012 19:30:02] 	data/talkactions/scripts/war.lua:53: in function <data/talkactions/scripts/war.lua:1>
 
Yes, assuming the script is for 0.3 and you're using 0.2.
You have to change all of executeQuery to query.

- - - Updated - - -

Hmm, that's strange, do you have the script to post?
 
Well Evan, i repped u for replying because this i really need help with. In the script i replaced what u said, and i posted the error i get now.. "attempt to call field 'query' (a nil value)" Im guessing it has something to do with function but im not sure.. what do you think? I have to go out for a bit now ill check your reply after. Thank you :)

- - - Updated - - -

Still need response :) Someone?
 
Back
Top