• 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!

Buy shop system

gabrelfilho

New Member
Joined
May 20, 2012
Messages
15
Reaction score
0
Hello and sorry for the bad english...


I have a problem in my shop system ot server. I created a website for it, which is still offline, and was trying to add a system that makes the character when buying an item in the shop, the item is delivered to him automatically. I got to the site will deliver the items, but now the site is delivering the items every 30 seconds and infinite times, and every time he delivers the items the following error appears:

[06.15.2012 08:02:06] [Error - GlobalEvent Interface]
[06/15/2012 08:02:06] data / globalevents / scripts / shop.lua: onThink
[06/15/2012 08:02:06] Description:
[06/15/2012 08:02:06] data / globalevents / scripts / shop.lua: 56: attempt to call field 'executeQuery' (a nil value)
[06/15/2012 08:02:06] stack traceback:
[06/15/2012 08:02:06] data / globalevents / scripts / shop.lua: 56: in function <data/globalevents/scripts/shop.lua:7>
[06.15.2012 08:02:06] [Error - GlobalEvents :: think] Could not execute event: shop


Several topics of forums to exchange said the "executeQuery" for just "query", but to no avail and still giving the same bug. I already have a database in my phpmyadmin the z_ots_comunication, z_shop_history_item, and z_shop_history_pacc z_shop_offer xtibia as various topics and several other sites offer. Have added the global events / scripts / shop.lua in the xml file, and also file 100 compat-lib folder, and the error still continues. I'm searching for the solution of this error will be days and still can not answer. Please help me!
 
Back
Top