15.12.2012, 00:35
(
Последний раз редактировалось Baboon; 15.12.2012 в 10:30.
)
I have searched for a lot of things, but stuff won't just fix it.
I got quite a complex script and use quite a lot of floats to be honest, but I do need them all and I work with my brains, so I know when I have to use them and when not...
Anyway these are the errors that are being spammed and make my server hang:
This only happened to me on Windows and NOT on linux, I am using the mysql plugin of BlueG R7.
I am sending this query:
each 200 ms to check for some stuff and it really has to be this fast... I have read that the R7 is hella faster than the previous versions and that it can execute queries in less than a few ms. My database is currently hosted @ localhost.
Doing something with pragma does not work!
Edit: I put mysql before any other plugins in server.cfg and that did the trick somehow, but I still think it could happen.
I got quite a complex script and use quite a lot of floats to be honest, but I do need them all and I work with my brains, so I know when I have to use them and when not...
Anyway these are the errors that are being spammed and make my server hang:
Код:
[02:43:09] [debug] #0 00000008 in ?? () at C:\Users\Timothy\Desktop\SAN ANDREAS\pirates\pawno\include\float.inc:102 [02:43:09] [debug] Run time error 8: "Heap underflow" [02:43:09] [debug] Heap index (HEA) is 0x18FD78, heap bottom (HLW) is 0x25696C [02:43:09] [debug] AMX backtrace: [02:43:09] [debug] #0 00000008 in ?? () at C:\Users\Timothy\Desktop\SAN ANDREAS\pirates\pawno\include\float.inc:102 [02:43:09] [debug] Run time error 8: "Heap underflow" [02:43:09] [debug] Heap index (HEA) is 0x18FD78, heap bottom (HLW) is 0x25696C [02:43:09] [debug] AMX backtrace: [02:43:09] [debug] #0 00000008 in ?? () at C:\Users\Timothy\Desktop\SAN ANDREAS\pirates\pawno\include\float.inc:102
I am sending this query:
Код:
format(query, sizeof(query), "SELECT z FROM 3_map.map WHERE x = '%f' AND y = '%f' LIMIT 1", pos[0], pos[1]); mysql_function_query(connectionhandle, query, true, "OnPlayerCheckCannon", "iif", v, o, pos[2]);
Doing something with pragma does not work!
Edit: I put mysql before any other plugins in server.cfg and that did the trick somehow, but I still think it could happen.