22.02.2015, 06:17
Quote:
|
Hello, been getting that error recently without a response. Current MYSQL Version: R39-2
debug: Код:
[CMD] /getinfo James1 [debug] Run time error 8: "Heap underflow" [debug] Heap pointer (HEA) is 0x2592C4, heap bottom (HLW) is 0x2592E4 [debug] AMX backtrace: [debug] #0 0000f6c8 in public Mysql_GetPlayerInfo (playerid=35, index[]=@002592e4 "James1") at D:\Games\Server\gamemodes\Script.pwn:1481 Код:
function Mysql_GetPlayerInfo(playerid, index[])
{
new string[128];
if (cache_num_rows() > 0)
{
new regdate[30], Lastip[30],
admlevel, donor, kills, deaths, score, cash, heads, prestige, nuke, airs, tox, capz, laston, timeon;
cache_get_field_content(0, "RegisterDate", regdate, g_SQL);
cache_get_field_content(0, "lastip", Lastip, g_SQL);
admlevel = cache_get_field_content_int(0, "Admin");
donor = cache_get_field_content_int(0, "Donor");
kills = cache_get_field_content_int(0, "Kills");
deaths = cache_get_field_content_int(0, "Deaths");
score = cache_get_field_content_int(0, "Score");
cash = cache_get_field_content_int(0, "Money");
heads = cache_get_field_content_int(0, "Headshots");
prestige = cache_get_field_content_int(0, "Prestige");
nuke = cache_get_field_content_int(0, "Nukes"); //thats line 1481
airs = cache_get_field_content_int(0, "Airstrikes");
tox = cache_get_field_content_int(0, "Toxins");
capz = cache_get_field_content_int(0, "CapZones");
laston = cache_get_field_content_int(0, "Laston");
timeon = cache_get_field_content_int(0, "TimeOnline");
//display the info.. etc...
}
else
{
//not reg.. etc..
}
return 1;
}
http://i.gyazo.com/f46f8fee71ea480e84c4091cffe6adeb.png |

