MySQL Plugin
#1

I've started using the MySQL plugin R7 From BlueG for a while now in my gamemode and I've been able to use it properly un til I came across a few things that caused my server to crash. One function and one callback basically that killed my gamemode.

One of them was mysql_format, whenever I used %e in the string to protect the variables with mysql_real_escape_string, it caused the server to crash, but when I changed %e to %s it worked like a charm. Anyway to fix this?

Second one was, whenever I placed this little piece of snippet below in my filterscript it crashes the whole server when starting up the gamemode WITH the filterscript but when I load it in through RCON it works correctly. What I try to achieve is, is that I want to be able to load this filterscript when the gamemode gets resetted or loads as well.

Код:
public OnQueryFinish(query[], resultid, extraid, connectionHandle)
{
   
    return 1;
}
I'd appreciate help here if you know what might cause the issue, if I need to post more details then please say so, thanks in advance.
Reply


Messages In This Thread
MySQL Plugin - by AarabMoney - 20.01.2013, 14:01
Re: MySQL Plugin - by azzerking - 20.01.2013, 14:15
Re: MySQL Plugin - by AarabMoney - 20.01.2013, 14:21
Re: MySQL Plugin - by azzerking - 20.01.2013, 14:36
Re: MySQL Plugin - by Stevo127 - 20.01.2013, 14:42
Re: MySQL Plugin - by AarabMoney - 20.01.2013, 16:06

Forum Jump:


Users browsing this thread: 3 Guest(s)