Closed julian12517 closed 3 years ago
Can you make a video of you doing some things then relogging. I havent had this issue and I used this gamemode within the last month.
`[SQL] Read-only database connected. [SQL] Write worker 1 connected. [SQL] Write worker 2 connected. [SQL] Write worker 3 connected. [SQL] Write worker 4 connected. [SQL] Write worker 5 connected. [SQL] Write worker 6 connected. [SQL] Write worker 7 connected. [SQL] Write worker 8 connected. [SQL] Initializing gamemode tables...
[ERROR] gamemodes/santosrp/gamemode/sv_mysql.lua:268: attempt to call method 'IsConnected' (a nil value)
thats the first sql related thing that comes up in server log
i honestly don't even know what the issue could possibly be i've been trying constantly to fix this issue over the past couple days and nothing
You are using TMYSQL4 correct also, have you checked if external connections are enabled on your database <- if not done by your host by default
Edit: ensure you're using this repo: https://github.com/bkacjios/gm_tmysql4 In the future I might update the gamemode to use MYSQLOO just never see anyone really use this gamemode that much tho
alright so using that got rid of the error but it still says read only
nevermind it's working now thanks man
would you happen to have a list of commands for whitelisting etc...
The command itself can be found in sv_jobs.lua also, add me on discord if you have any other questions bread#4487
A few commands:
srp_admin_whitelist_player
says its in read only mode and wont write santos files to the db