From c1455376624eee52fde063ab123897a0e48341c6 Mon Sep 17 00:00:00 2001 From: Mycroft Date: Tue, 11 Apr 2023 13:58:21 +0100 Subject: [PATCH 1/4] twea;(esx_multicharacter): Blame OxMySQL for the database issues People cant read --- [core]/esx_multicharacter/server/main.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/[core]/esx_multicharacter/server/main.lua b/[core]/esx_multicharacter/server/main.lua index 12864d99..64fbfe88 100644 --- a/[core]/esx_multicharacter/server/main.lua +++ b/[core]/esx_multicharacter/server/main.lua @@ -100,11 +100,11 @@ end end if not databaseFound then - deferrals.done(('[ESX Multicharacter] Cannot Find the servers mysql_connection_string. Please make sure it is correctly configured in your server.cfg'):format(oneSyncState)) + deferrals.done('[ESX] Cannot Find the servers mysql_connection_string. Please make sure it is correctly configured in your server.cfg') end if not databaseConnected then - deferrals.done(('[ESX Multicharacter] ESX Cannot Connect to your database. Please make sure it is correctly configured in your server.cfg'):format(oneSyncState)) + deferrals.done('[ESX] OxMySQL Was Unable Connect to your database. Please make sure it is turned on and correctly configured in your server.cfg') end if identifier then @@ -236,4 +236,4 @@ end RegisterNetEvent('esx_multicharacter:relog', function() local source = source TriggerEvent('esx:playerLogout', source) - end) \ No newline at end of file + end) From e13711c119121824ad5701a6832b1f7579fa10fa Mon Sep 17 00:00:00 2001 From: Mycroft Date: Tue, 11 Apr 2023 14:01:15 +0100 Subject: [PATCH 2/4] tweak(es_extended): Blame OxMySQL for Database issues --- [core]/es_extended/server/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[core]/es_extended/server/main.lua b/[core]/es_extended/server/main.lua index 892b5a5e..bd052536 100644 --- a/[core]/es_extended/server/main.lua +++ b/[core]/es_extended/server/main.lua @@ -102,7 +102,7 @@ if not Config.Multichar then end if not Core.DatabaseConnected then - return deferrals.done(('[ESX] ESX Cannot Connect to your database. Please make sure it is correctly configured in your server.cfg'):format(oneSyncState)) + return deferrals.done('[ESX] OxMySQL Was Unable Connect to your database. Please make sure it is turned on and correctly configured in your server.cfg') end if identifier then From 833fbd42e5d5d5bd3e52cd004c3efca421737ec7 Mon Sep 17 00:00:00 2001 From: Mycroft Date: Tue, 11 Apr 2023 14:12:45 +0100 Subject: [PATCH 3/4] fix: typo --- [core]/esx_multicharacter/server/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[core]/esx_multicharacter/server/main.lua b/[core]/esx_multicharacter/server/main.lua index 64fbfe88..19dc2a94 100644 --- a/[core]/esx_multicharacter/server/main.lua +++ b/[core]/esx_multicharacter/server/main.lua @@ -104,7 +104,7 @@ end end if not databaseConnected then - deferrals.done('[ESX] OxMySQL Was Unable Connect to your database. Please make sure it is turned on and correctly configured in your server.cfg') + deferrals.done('[ESX] OxMySQL Was Unable To Connect to your database. Please make sure it is turned on and correctly configured in your server.cfg') end if identifier then From 42eb8aafd208bf87b2fbe1a9b32a2030839e14da Mon Sep 17 00:00:00 2001 From: Mycroft Date: Tue, 11 Apr 2023 14:13:07 +0100 Subject: [PATCH 4/4] fix: typo --- [core]/es_extended/server/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[core]/es_extended/server/main.lua b/[core]/es_extended/server/main.lua index bd052536..228e99c0 100644 --- a/[core]/es_extended/server/main.lua +++ b/[core]/es_extended/server/main.lua @@ -102,7 +102,7 @@ if not Config.Multichar then end if not Core.DatabaseConnected then - return deferrals.done('[ESX] OxMySQL Was Unable Connect to your database. Please make sure it is turned on and correctly configured in your server.cfg') + return deferrals.done('[ESX] OxMySQL Was Unable To Connect to your database. Please make sure it is turned on and correctly configured in your server.cfg') end if identifier then