You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These are the lines of code that are creating the errors.
Apartments/apart_server.lua:61
local executed_query = MySQL:executeQuery("SELECT * FROM user_apartment WHERE name = @nom", {['@nom'] = tostring(name)})
Menu comes up to purchase.
When I select "Buy Apartment", it takes the money from me (cash), but nothing else happens in game.
I get the following messages in the console:
[ script:Apartments] SCRIPT ERROR: @Apartments/apart_server.lua:61: attempt to call a nil value (method 'executeQuery')
[ script:Apartments] > handler (@essentialmode/server/player/login.lua:132)
[ script:Apartments] > handler (@Apartments/apart_server.lua:39)
[ script:Apartments] SCRIPT ERROR: @Apartments/apart_server.lua:276: attempt to call a nil value (method 'executeQuery')
[ script:Apartments] > handler (@essentialmode/server/player/login.lua:132)
[ script:Apartments] > handler (@Apartments/apart_server.lua:267)
[ script:Apartments] SCRIPT ERROR: @Apartments/apart_server.lua:61: attempt to call a nil value (method 'executeQuery')
[ script:Apartments] > handler (@essentialmode/server/player/login.lua:132)
[ script:Apartments] > handler (@Apartments/apart_server.lua:39)
I have imported the "user_apartment" SQL in a few times.
Both prerequisites are present and running
The text was updated successfully, but these errors were encountered: