-
Notifications
You must be signed in to change notification settings - Fork 36
Description
I spent an incredible amount of time and nerves when I had a game crash during the execution of sql_custom queries.
And I found out what the reason was.
The lines in which (Null) is written are not processed in the function (in .dll), which is why the game crashes.
By excluding and including lines, I found out this fact.
Here are screenshots of the tests.
sql_custom

DB row (remark discord_id != null)

Test Image (GetPlayerIndificatorWork)

Test Image (GetPlayerIndificator) where squad isNull

Game\app Crashed after this line
it doesn't matter what you have chosen
Prepared Statement = false
Prepared Statement = true
The game always crashes when false.
And when true. It ends with an error ->
extDB3: SQL: Error MariaDBStatementException1: Input: GetPlayerIndificator:76561198145580366
I hope after this everyone who wants to use sql_custom and encounters a game crash will see this title in order to solve their problem and spend as many nerves as I spent while looking for what the problem was.
