View Single Post
kiljon
Junior Member
Join Date: Aug 2015
Old 11-26-2018 , 16:57   Re: [ANY] Extended Speed Meter (v1.4, 2017-06-05)
Reply With Quote #25

Quote:
Originally Posted by Acuze View Post
As it stands there are currently no functional versions of this plugin, the official version that has been posted isn't saving correctly to the database as a result of the this error.

L 11/25/2018 - 09:29:49: [SM] Exception reported: Invalid database Handle 0 (error: 4)
L 11/25/2018 - 09:29:49: [SM] Blaming: extendedspeedmeter.smx
L 11/25/2018 - 09:29:49: [SM] Call stack trace:
L 11/25/2018 - 09:29:49: [SM] [0] SQL_LockDatabase
L 11/25/2018 - 09:29:49: [SM] [1] Line 4014, E:\Dev\extended-speed-meter\addons\sourcemod\scripting\extendedspee dmeter.sp::SaveMapRecords
L 11/25/2018 - 09:29:49: [SM] [2] Line 489, E:\Dev\extended-speed-meter\addons\sourcemod\scripting\extendedspee dmeter.sp::OnMapEnd
L 11/25/2018 - 09:29:49: Error log file session closed.

Some of the 'alternate fixes' that we have tried so far have fixed the original issue with the database, but have each had their own individual issues such as not being able to disable the speed hud.

Game - CSGO
SM version - SourceMod 1.10.0.6356
Database - MYSQL
Well, it seems like something goes wrong while locking the database. It won't be able to correctly save/insert data if it can't lock the database first. Docs for reference

I can see you're running SM 1.10, this plugin has only been tested and verified with SM 1.6.2+ until SM 1.9 (6098-dev). Furthermore SM 1.10 has not been marked as stable yet. Stable builds reference Would it be possible to downgrade to stable SM 1.9 and try it again?

I would also like to know the list of other plugins you're running at the same time. Not trying to shift the blame here, but if they also save data to the database at the end of the map but they don't correctly close their database handle, then this plugin might not be able to correctly lock it. If I can see how this may become a more widespread problem, then I could add some safety checks. So can you give a list of running plugins? Did you also have the problem while only running this plugin + SM admin?

Could you also say what your 'alternate fixes' were? It seems like you are frustrated, I did not create this plugin to make people frustrated.

Can I also ask if this is your first version of the plugin running or did you run 1.0 and upgraded to 1.4 for example?
kiljon is offline