{"action":"created","issue":{"url":"https://api.github.com/repos/Zeex/pawn/issues/42","labels_url":"https://api.github.com/repos/Zeex/pawn/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/Zeex/pawn/issues/42/comments","events_url":"https://api.github.com/repos/Zeex/pawn/issues/42/events","html_url":"https://github.com/Zeex/pawn/issues/42","id":60908468,"number":42,"title":"Latest version issues","user":{"login":"Kar2k","id":4283893,"avatar_url":"https://avatars.githubusercontent.com/u/4283893?v=3","gravatar_id":"","url":"https://api.github.com/users/Kar2k","html_url":"https://github.com/Kar2k","followers_url":"https://api.github.com/users/Kar2k/followers","following_url":"https://api.github.com/users/Kar2k/following{/other_user}","gists_url":"https://api.github.com/users/Kar2k/gists{/gist_id}","starred_url":"https://api.github.com/users/Kar2k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kar2k/subscriptions","organizations_url":"https://api.github.com/users/Kar2k/orgs","repos_url":"https://api.github.com/users/Kar2k/repos","events_url":"https://api.github.com/users/Kar2k/events{/privacy}","received_events_url":"https://api.github.com/users/Kar2k/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-12T21:30:53Z","updated_at":"2015-03-25T03:43:01Z","closed_at":null,"body":"Okay, firstly. I've been using the latest version and it's been perfect but lately I added a new function and it just won't allow me to use this function ANYWHERE. It's like if it has a function limit.\r\n\r\nI removed all contents of the function and it's basically a return 1;\r\n\r\nsendPlayerVerificationCode(playerid)\r\n{\r\n    return 1;\r\n}\r\n\r\nthen calling sendPlayerVerificationCode(playerid) anywhere crashes the script. Causing an 'access violation' error.\r\n\r\nI HONESTLY can NOT recreate this outside my script.\r\n\r\nI switched and to an old dropback version I use that only has line patches and 1 or 2 other things (11/03/2013 binary). The compiler then notified me about this error \r\n\r\n\"logoffDateStr = (logoffTime == 0) ? \"(Player / Server) Crash / Exit\" : realdate(logoffTime);\"\r\n\r\nwhich should actually be an error but the newer compiler was ignoring that fact that it was an error.\r\n\r\nFIX -> (Wrapping the quotes with brackets) logoffDateStr = (logoffTime == 0) ? (\"(Player / Server) Crash / Exit\") : realdate(logoffTime);\r\n\r\nI believe not using brackets around the quotes was a fix done in your updated pawn compiler right?\r\n\r\nI honestly don't know what else to say about this, but this was my experience today."},"comment":{"url":"https://api.github.com/repos/Zeex/pawn/issues/comments/85816714","html_url":"https://github.com/Zeex/pawn/issues/42#issuecomment-85816714","issue_url":"https://api.github.com/repos/Zeex/pawn/issues/42","id":85816714,"user":{"login":"Kar2k","id":4283893,"avatar_url":"https://avatars.githubusercontent.com/u/4283893?v=3","gravatar_id":"","url":"https://api.github.com/users/Kar2k","html_url":"https://github.com/Kar2k","followers_url":"https://api.github.com/users/Kar2k/followers","following_url":"https://api.github.com/users/Kar2k/following{/other_user}","gists_url":"https://api.github.com/users/Kar2k/gists{/gist_id}","starred_url":"https://api.github.com/users/Kar2k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kar2k/subscriptions","organizations_url":"https://api.github.com/users/Kar2k/orgs","repos_url":"https://api.github.com/users/Kar2k/repos","events_url":"https://api.github.com/users/Kar2k/events{/privacy}","received_events_url":"https://api.github.com/users/Kar2k/received_events","type":"User","site_admin":false},"created_at":"2015-03-25T03:43:01Z","updated_at":"2015-03-25T03:43:01Z","body":"<\bKar\b>\b\u000F\u000330 can you guys believe\u000F\r\n[23:40:42] \u000320\b<\bKar\b>\b\u000F\u000330 if i change format(gQuery, sizeof(gQuery), \"UPDATE `\"#mAccounts_Table\"` SET `Placed` = %d WHERE `Name` = '%s' LIMIT 1\", playerData[playerid][pHits_Placed], playerNameEscaped(playerid));\u000F\r\n[23:40:42] \u000320\b<\bKar\b>\b\u000F\u000330   \u000F\r\n[23:40:51] \u000320\b<\bKar\b>\b\u000F\u000330 to format(gQuery, sizeof(gQuery), \"UPDATE `\"#mAccounts_Table\"` SET `Placed` = %d WHERE `Name` = '%s' LIMIT 1\", ++playerData[playerid][pHits_Placed], playerNameEscaped(playerid));\u000F\u000F\r\n[23:40:58] \u000320\b<\bKar\b>\b\u000F\u000330 my server crashes!? wtf\u000F\r\n\r\nLol I added the ++ to the array to save a line, but it seems like I shouldn't do that. Everytime that was called the server crashed and all that was output was malloc shit, just memory functions"}}