Banned player (MYSQL) makes server crash
#1

Fixed
Reply
#2

I realy want to help you but i dont know much about MySQL
Reply
#3

Quote:
Originally Posted by MatriXgaMer
Посмотреть сообщение
I realy want to help you but i dont know much about MySQL
Then why did you even need to post in this thread since that you have no idea to help him!

On topic: You could minimize your code instead of sending lots of queries, use "SELECT * FROM bans" and use the sscanf format according to your database bans table. Example like your column is banindex, name, issuer, date, reason and expiration. So you could do something like this in your sscanf format. Make it like in the ascending order from the first column to the last column in your bans table.

pawn Код:
sscanf(query, "p<|>is[24]s[24]is[128]i", banindex, name, issuer, date reason, expirstion");
Reply
#4

Fixed
Reply
#5

Quote:
Originally Posted by MatriXgaMer
Посмотреть сообщение
I realy want to help you but i dont know much about MySQL
Stop trying to increase your post count with a stupid excuse.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)