Hi,
I need a quick help. I'm working on some mod and I've found out (or at least I think so) if SQL data base is closed incorrectly on map change, server crashes.
With this code, I get tag mismatch warning and server crashes once in ~five times on map change:
PHP Code:
public plugin_end() {
if(dbc > 0) {
dbi_close(dbc)
}
}
However, with this plugin completes fine but server always crashes:
PHP Code:
public plugin_end() {
if(dbc) {
dbi_close(dbc)
}
}
Any ideas ?