30.11.2014, 16:18
Ok so I noticed something strange on my server. I got a dialog showing the content of a variable, like this:
The varaible g_sCustomCarCategory is only being accessed in OnGameModeInit. So far so good, dialog shows properly after the server start. But after some indefinite amount of time the dialog displays gibberish.

I think the content "dd" is always the same but how is this possible? I thought of a buffer overflow at another variable but crashdetect doesn't show me any out of bounds. Oh and I did also notice this with my dynamic teleport dialog..
pawn Код:
ShowPlayerDialog(playerid, DIALOG_ID_VEHICLESHOP, DIALOG_STYLE_LIST, "Custom car shop", g_sCustomCarCategory, "Select", "Cancel");

I think the content "dd" is always the same but how is this possible? I thought of a buffer overflow at another variable but crashdetect doesn't show me any out of bounds. Oh and I did also notice this with my dynamic teleport dialog..