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

Shop System console error.

yayco

New Member
Joined
Jul 3, 2008
Messages
18
Reaction score
2
Location
Poland
Below is error in console during start engine. Player dont receive items in game from shop. Database works without bugs.
This error i see when i edited creaturescript/login.lua. TFS 0.2.10.



PHP:
Lua Script Error: [GlobalEvent Interface]
data/globalevents/scripts/shop.lua:onThink
data/globalevents/scripts/shop.lua:8: attempt to index global 'db' (a nil value)
stack traceback:
        [C]: ?
        data/globalevents/scripts/shop.lua:8: in function <data/globalevents/scripts/shop.lua:7>
[Error - GlobalEvents::think] Failed to execute event: shop

Anyone help me?

- - - Updated - - -

solved.
 
Back
Top