To make it clear, this is my plugin created by me and only me. Anyways, when I'm running my plugin on my server for a while, I start getting an error, and it isnt just once. It can make up to a 300+ KB file of errors very shortly. This usually makes me shut down my server, otherwise it just keeps erroring till I shut it down. The error is with MySQL natives I'm guessing. The error is:
Code:
L 04/05/2006 - 07:40:04: [MYSQL] Invalid result handle -1
L 04/05/2006 - 07:40:04: [AMXX] Displaying debug trace (plugin "notreleasedyet.amxx")
L 04/05/2006 - 07:40:04: [AMXX] Run time error 10: native error (native "dbi_nextrow")
L 04/05/2006 - 07:40:04: [AMXX] [0] notreleasedyet.sma::activehud (line 507)
I have tried editing some stuff but no luck, and also the line will change to the end of my plugin error about 50 times change to the spot error once, then go back to the random line. I really have no clue what could be the problem. I tried to see if remove_task(id) on disconnect could stop it, due to the amount of people leaving and entering but nothing worked. If anyone knows how to fix this it would be greatly appreciated.