Closed MrCoala closed 10 months ago
For context, debug.getregistry
was removed, which likely means you just can't get SPECIAL_REG
anymore
Update: Make sure you've got the latest version of GMod/SRCDS. It looks like mysqloo is working again with it
I am not sure why mysqloo would be broken by this.
I don't use debug.getregistry
or SPECIAL_REG
anywhere as far as I can see, and my local dev server does not seem affected (but this might be because some hotfix is already out?)
Okay, so i am not sure what is happening right now but the latest update suddenly broke mysqloo.
I just installed a fresh gmod-server copy by using steamcmd:
./steamcmd.sh +login anonymous +force_install_dir ./gmod_test/ +app_update 4020 validate +quit
I installed the latest gmsv_mysqloo_linux64.dll into: ./gmod_test/garrysmod/lua/bin Into this directory /garrysmod/lua/includes/modules i put the following files from this repo:
connectionpool.lua mysqloolib.lua tmysql4.lua
These are the lua errors i got:
[sw_helper] Couldn't include file 'includes/modules/mysqloo.lua' - File not found or is empty (@addons/sw_helper/lua/server/sv_mysql.lua (line 1))
- unknown - addons/sw_helper/lua/server/sv_mysql.lua:1
- include - [C]:-1
- Include - addons/sw_helper/lua/autorun/init.lua:57
- IncludeFolder - addons/sw_helper/lua/autorun/init.lua:85
- unknown - addons/sw_helper/lua/autorun/init.lua:90
[sw_helper] addons/sw_helper/lua/server/sv_mysql.lua:1: Module not found!
- require - [C]:-1
- unknown - addons/sw_helper/lua/server/sv_mysql.lua:1
- include - [C]:-1
- Include - addons/sw_helper/lua/autorun/init.lua:57
- IncludeFolder - addons/sw_helper/lua/autorun/init.lua:85
- unknown - addons/sw_helper/lua/autorun/init.lua:90
For that code:
require('mysqloo')
I am pretty confused right now since this is the exact same setupt as my productive server has but it still fails with the latest gmod server files.
OK, I have just found out that for some inexplicable reason the srcds process is now running the 32 bit binaries. I have copied the 32 bit module and it is now working again. But I am still a bit confused as to why it has switched from being 64 bit to being 32 bit.
Since it appears to work now, I will close the issue. If anyone finds something else wrong with this latest Garry's Mod update, please feel free to re-open.
The garrysmod update of today broke mysqloo. It is basically not useable anymore. Can you have a look into that?