need help FAST
#1

http://pastebin.ca/1483848
here's my script. server crashes onplayerlogin and onplayer register the query fails. why?
Reply
#2

Help me pls
Reply
#3

Add debug messages to see where the problem appears.
Reply
#4

ok, but what about the register? it doesn't crash, but the query fails...
Reply
#5

sorry for dp, but I hate editing.
pawn Код:
mysql_fetch_row(resultline);
        print("debug");

        mysql_fetch_field_row(field, "SQLID");  PlayerInfo[playerid][pSQLID] = strval(field); // this line crashes server
        print("debug");
it prints the first "debug" but then it doesn't. what's wrong with the line?
Reply
#6

I really hate tripple posting but I know no-one looks in page 2 because I don't either (most of the time) ...
Reply
#7

Can you show us how ''field'' is defined?


EDIT:

Try this and show us where it stopped;
Quote:

mysql_fetch_row(resultline);
print("debug [1]");

mysql_fetch_field_row(field, "SQLID");
print("debug [2]");

PlayerInfo[playerid][pSQLID] = strval(field); // this line crashes server
print("debug [3]");

Reply
#8

thanks for reply
I tried that the fetch_field_row crashes it. um.. there's a link in the main topic to the whole script
http://pastebin.ca/1483848
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)