29.03.2015, 16:38
Hey guys. This is the problem I get when I try to run the server. It shows:
[21:57:32] [debug] #0 00000008 in public OnLoadFurniture () from gamemode.amx
[21:57:32] [debug] Run time error 8: "Heap underflow"
[21:57:32] [debug] Heap pointer (HEA) is 0x486CBA, heap bottom (HLW) is 0x8179F0
[21:57:32] [debug] AMX backtrace:
[21:57:32] [debug] #0 00000008 in public RefuelCheck () from gamemode.amx
[21:57:33] [debug] Run time error 8: "Heap underflow"
[21:57:33] [debug] Heap pointer (HEA) is 0x486CBA, heap bottom (HLW) is 0x8179F0
[21:57:33] [debug] AMX backtrace:
[21:57:33] [debug] #0 00000008 in public OnLoadStorage () from gamemode.amx
[21:57:33] [debug] Run time error 8: "Heap underflow"
[21:57:33] [debug] Heap pointer (HEA) is 0x486CBA, heap bottom (HLW) is 0x8179F0
[21:57:33] [debug] AMX backtrace:
[21:57:33] [debug] #0 00000008 in public OnLoadFurniture () from gamemode.amx
[21:57:33] [debug] Run time error 8: "Heap underflow"
[21:57:33] [debug] Heap pointer (HEA) is 0x486CBA, heap bottom (HLW) is 0x8179F0
[21:57:33] [debug] AMX backtrace:
[21:57:33] [debug] #0 00000008 in public OnLoadStorage () from gamemode.amx
[21:57:33] [debug] Run time error 8: "Heap underflow"
[21:57:33] [debug] Heap pointer (HEA) is 0x486CBA, heap bottom (HLW) is 0x8179F0
[21:57:33] [debug] AMX backtrace:
[21:57:33] [debug] #0 00000008 in public OnLoadFurniture () from gamemode.amx
[21:57:33] [debug] Run time error 8: "Heap underflow"
[21:57:33] [debug] Heap pointer (HEA) is 0x486CBA, heap bottom (HLW) is 0x8179F0
[21:57:33] [debug] AMX backtrace:
[21:57:33] [debug] #0 00000008 in public OnLoadStorage () from gamemode.amx
[21:57:33] [debug] Run time error 8: "Heap underflow"
[21:57:33] [debug] Heap pointer (HEA) is 0x486CBA, heap bottom (HLW) is 0x8179F0
[21:57:33] [debug] AMX backtrace:
[21:57:33] [debug] #0 00000008 in public OnLoadFurniture () from gamemode.amx
[21:57:33] [debug] Run time error 8: "Heap underflow"
[21:57:33] [debug] Heap pointer (HEA) is 0x486CBA, heap bottom (HLW) is 0x8179F0
[21:57:33] [debug] AMX backtrace:
[21:57:33] [debug] #0 00000008 in public OnLoadStorage () from gamemode.amx
[21:57:33] [debug] Run time error 8: "Heap underflow"
[21:57:33] [debug] Heap pointer (HEA) is 0x486CBA, heap bottom (HLW) is 0x8179F0
[21:57:33] [debug] AMX backtrace:
The code is:
[21:57:32] [debug] #0 00000008 in public OnLoadFurniture () from gamemode.amx
[21:57:32] [debug] Run time error 8: "Heap underflow"
[21:57:32] [debug] Heap pointer (HEA) is 0x486CBA, heap bottom (HLW) is 0x8179F0
[21:57:32] [debug] AMX backtrace:
[21:57:32] [debug] #0 00000008 in public RefuelCheck () from gamemode.amx
[21:57:33] [debug] Run time error 8: "Heap underflow"
[21:57:33] [debug] Heap pointer (HEA) is 0x486CBA, heap bottom (HLW) is 0x8179F0
[21:57:33] [debug] AMX backtrace:
[21:57:33] [debug] #0 00000008 in public OnLoadStorage () from gamemode.amx
[21:57:33] [debug] Run time error 8: "Heap underflow"
[21:57:33] [debug] Heap pointer (HEA) is 0x486CBA, heap bottom (HLW) is 0x8179F0
[21:57:33] [debug] AMX backtrace:
[21:57:33] [debug] #0 00000008 in public OnLoadFurniture () from gamemode.amx
[21:57:33] [debug] Run time error 8: "Heap underflow"
[21:57:33] [debug] Heap pointer (HEA) is 0x486CBA, heap bottom (HLW) is 0x8179F0
[21:57:33] [debug] AMX backtrace:
[21:57:33] [debug] #0 00000008 in public OnLoadStorage () from gamemode.amx
[21:57:33] [debug] Run time error 8: "Heap underflow"
[21:57:33] [debug] Heap pointer (HEA) is 0x486CBA, heap bottom (HLW) is 0x8179F0
[21:57:33] [debug] AMX backtrace:
[21:57:33] [debug] #0 00000008 in public OnLoadFurniture () from gamemode.amx
[21:57:33] [debug] Run time error 8: "Heap underflow"
[21:57:33] [debug] Heap pointer (HEA) is 0x486CBA, heap bottom (HLW) is 0x8179F0
[21:57:33] [debug] AMX backtrace:
[21:57:33] [debug] #0 00000008 in public OnLoadStorage () from gamemode.amx
[21:57:33] [debug] Run time error 8: "Heap underflow"
[21:57:33] [debug] Heap pointer (HEA) is 0x486CBA, heap bottom (HLW) is 0x8179F0
[21:57:33] [debug] AMX backtrace:
[21:57:33] [debug] #0 00000008 in public OnLoadFurniture () from gamemode.amx
[21:57:33] [debug] Run time error 8: "Heap underflow"
[21:57:33] [debug] Heap pointer (HEA) is 0x486CBA, heap bottom (HLW) is 0x8179F0
[21:57:33] [debug] AMX backtrace:
[21:57:33] [debug] #0 00000008 in public OnLoadStorage () from gamemode.amx
[21:57:33] [debug] Run time error 8: "Heap underflow"
[21:57:33] [debug] Heap pointer (HEA) is 0x486CBA, heap bottom (HLW) is 0x8179F0
[21:57:33] [debug] AMX backtrace:
The code is:
Код:
for (new i = 0; i < MAX_HOUSES; i ++) if (HouseData[i][houseExists]) { format(str, sizeof(str), "SELECT * FROM `housestorage` WHERE `ID` = '%d'", HouseData[i][houseID]); mysql_function_query(g_iHandle, str, true, "OnLoadStorage", "d", i); format(str, sizeof(str), "SELECT * FROM `furniture` WHERE `ID` = '%d'", HouseData[i][houseID]); mysql_function_query(g_iHandle, str, true, "OnLoadFurniture", "d", i); } return 1; }