Thread: [ANY] VPN Block
View Single Post
LionKing
Member
Join Date: Jan 2017
Location: Belgium
Old 11-02-2019 , 06:56   Re: [ANY] VPN Block
Reply With Quote #46

I am unable to get this to work.

I have tried using djed's solution, but this still had no effect.
The only error it throws me are error logs from SQL connections.
Code:
L 11/02/2019 - 00:27:32: [SM] Exception reported: Invalid database Handle 0 (error: 4)
L 11/02/2019 - 00:27:32: [SM] Blaming: VPNBlock.smx
L 11/02/2019 - 00:27:32: [SM] Call stack trace:
L 11/02/2019 - 00:27:32: [SM]   [0] SQL_Query
L 11/02/2019 - 00:27:32: [SM]   [1] Line 72, VPNBlock.sp::OnClientAuthorized
L 11/02/2019 - 00:27:32: [SM] Exception reported: Databases don't work
L 11/02/2019 - 00:27:32: [SM] Blaming: VPNBlock.smx
L 11/02/2019 - 00:27:32: [SM] Call stack trace:
L 11/02/2019 - 00:27:32: [SM]   [0] SetFailState
L 11/02/2019 - 00:27:32: [SM]   [1] Line 44, VPNBlock.sp::OnSqlConnect
But OP said it is optional to connect to a database.
LionKing is offline