Skip to content

Game Crash with (NULL) OUTPUT [SQL_Custom] #22

@AndreiGud

Description

@AndreiGud

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
Image
DB row (remark discord_id != null)
Image
Test Image (GetPlayerIndificatorWork)
Image
Test Image (GetPlayerIndificator) where squad isNull
Image
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.
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions