Raised This Month: $51 Target: $400
 12% 

[REQ] SQL request on map End make crash


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fraise
Member
Join Date: Sep 2016
Location: Paris, France
Old 06-24-2019 , 19:39   [REQ] SQL request on map End make crash
Reply With Quote #1

Hi !

Since several weeks, my server crash everytime a sql request is done on the end map.
On my log, i get "SQL error happen, bla bla bla" or "Database connexion lost".
Do you have the same problem ? Do you know how to solve it ? Maybe a way to stop SQL request when map change on pre hook ?

I search a lot about this problem but i didn't found a solution for this

Thanks !
__________________
\o/
fraise is offline
I am inevitable
Member
Join Date: May 2019
Location: 0xA6DA34
Old 06-25-2019 , 08:27   Re: [REQ] SQL request on map End make crash
Reply With Quote #2

what plugin is causing this error, and can you link the source code
__________________
I do make plugins upon requests, so hit me up on discord if you're interested: Stefan Milivojevic#5311
I am inevitable is offline
fraise
Member
Join Date: Sep 2016
Location: Paris, France
Old 06-25-2019 , 09:59   Re: [REQ] SQL request on map End make crash
Reply With Quote #3

Main plugins is Store by zephirus, which make sql request on Map End, and one of mine too, which do the same. I didn't have the log fro the moment but i'll add it asap.
__________________
\o/
fraise is offline
fraise
Member
Join Date: Sep 2016
Location: Paris, France
Old 06-26-2019 , 09:16   Re: [REQ] SQL request on map End make crash
Reply With Quote #4

Here a log :

PHP Code:
L 06/21/2019 18:27:15: [mapchooser_extended.smxLoaded map list for csgo.
L 06/21/2019 18:27:15server_cvar"sm_nextmap" "ba_jail_minecraftparty_v6"
L 06/21/2019 18:27:15server_cvar"sv_tags" "SM Hosties v2.2"
L 06/21/2019 18:27:16: [store.smxSQL error happened.
QueryUPDATE store_players SET `credits`=MAX(`credits`+0,0), `date_of_last_join`=1561134422, `name`='Tonio76 -Toutouille-' WHERE `id`=2
Error
Driver is unloading 
__________________
\o/

Last edited by fraise; 06-26-2019 at 09:16.
fraise is offline
iluvit9887
Junior Member
Join Date: Sep 2018
Old 06-27-2019 , 16:39   Re: [REQ] SQL request on map End make crash
Reply With Quote #5

delete cookies and check tcp/ip settings

Quote:
Originally Posted by fraise View Post
Here a log :

PHP Code:
L 06/21/2019 18:27:15: [mapchooser_extended.smxLoaded map list for csgo.
L 06/21/2019 18:27:15server_cvar"sm_nextmap" "ba_jail_minecraftparty_v6"
L 06/21/2019 18:27:15server_cvar"sv_tags" "SM Hosties v2.2"
L 06/21/2019 18:27:16: [store.smxSQL error happened.
QueryUPDATE store_players SET `credits`=MAX(`credits`+0,0), `date_of_last_join`=1561134422, `name`='Tonio76 -Toutouille-' WHERE `id`=2
Error
Driver is unloading 
iluvit9887 is offline
fraise
Member
Join Date: Sep 2016
Location: Paris, France
Old 06-28-2019 , 13:29   Re: [REQ] SQL request on map End make crash
Reply With Quote #6

Checked, nothing change. I found this error too when srcds crashes : Host_Error: Index error writing string table baseline downloadables
__________________
\o/
fraise is offline
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 06-28-2019 , 23:37   Re: [REQ] SQL request on map End make crash
Reply With Quote #7

Quote:
Originally Posted by fraise View Post
Checked, nothing change. I found this error too when srcds crashes : Host_Error: Index error writing string table baseline downloadables
so the crash is not related to sql
its because you are not precaching OnMapStart
__________________
8guawong is offline
fraise
Member
Join Date: Sep 2016
Location: Paris, France
Old 06-29-2019 , 07:25   Re: [REQ] SQL request on map End make crash
Reply With Quote #8

ow... ok, is there a way to know what isn't precached ?
__________________
\o/
fraise is offline
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 06-29-2019 , 11:18   Re: [REQ] SQL request on map End make crash
Reply With Quote #9

Quote:
Originally Posted by fraise View Post
ow... ok, is there a way to know what isn't precached ?
look through your plugins and see what is precached not in onmapstart and change it to onmapstart
__________________
8guawong is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:56.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode