05.11.2013, 18:30
Using db_get_field_assoc to get the data of a field when it's NULL, it crashes the server. When you create the table, use "NOT NULL" in the fields and/or add default values.
Compiling with debug info (in most cases) prints the line the crash was caused at. To do so, goto pawno folder and create a file pawn.cfg
Open it and write it in:
Save it and re-compile your scripts. Run the server and try to login again. It should say the line so you can prevent the crash from reading the NULL value.
Compiling with debug info (in most cases) prints the line the crash was caused at. To do so, goto pawno folder and create a file pawn.cfg
Open it and write it in:
pawn Код:
-d3

