tbdscripts / cosmo-issues

Issue board for Cosmo
1 stars 2 forks source link

Sync with gmod bug #85

Closed Ahoyas closed 2 years ago

Ahoyas commented 2 years ago

❌ Description of the bug

When I put the "cosmo_gmod" folder in my addons this problem appear :

[Cosmo - DEBUG] Checking for pending orders... L 04/17/2022 - 00:12:07: Lua Error: [cosmo_gmod] addons/cosmo_gmod/lua/cosmo/core/sv_database.lua:58: attempt to index field 'con' (a nil value) 1. escape - addons/cosmo_gmod/lua/cosmo/core/sv_database.lua:58 2. getPendingOrders - addons/cosmo_gmod/lua/cosmo/core/sv_database.lua:35 3. checkForPendingOrders - addons/cosmo_gmod/lua/cosmo/core/sv_core.lua:4 4. func - addons/cosmo_gmod/lua/cosmo/core/sv_core.lua:116 5. unknown - lua/includes/modules/hook.lua:241

✔ Expected Behaviour

No response

✨ How do you reproduce this bug?

To reproduce the bug I have to enter my MYSQL credentials in "sv_config.lua" and relaunch my server.

🌳 Website Environment

📋 Additional Information

No response

Lythium4848 commented 2 years ago

@Ahoyas You are using an out of date version of the cosmo-gmod addon. Please update it from here

Lythium4848 commented 2 years ago

Also you do not have the MySQLoo module installed to your server

LucaTanks commented 2 years ago

Not a bug, use the Discord for support.