Alot of MYSQL errors.... I dont know what happened - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Alot of MYSQL errors.... I dont know what happened (
/showthread.php?tid=500422)
Alot of MYSQL errors.... I dont know what happened -
FutureGenerationGaming - 13.03.2014
Alright so i just reput some stuff didnt touch the script then when i go to update something inside i get 22 errors and it says all error 035: argument type mismatch (argument 1) and i didnt even edit anything but some text...
Here is what it looks like:
Code:
C:\Users\George\Desktop\FGG 0.3z\gamemodes\FGG v2.8\FGGV4.pwn(10156) : error 035: argument type mismatch (argument 1)
C:\Users\George\Desktop\FGG 0.3z\gamemodes\FGG v2.8\FGGV4.pwn(10161) : error 035: argument type mismatch (argument 1)
C:\Users\George\Desktop\FGG 0.3z\gamemodes\FGG v2.8\FGGV4.pwn(13348) : warning 202: number of arguments does not match definition
C:\Users\George\Desktop\FGG 0.3z\gamemodes\FGG v2.8\FGGV4.pwn(13357) : warning 202: number of arguments does not match definition
C:\Users\George\Desktop\FGG 0.3z\gamemodes\FGG v2.8\FGGV4.pwn(13366) : warning 202: number of arguments does not match definition
C:\Users\George\Desktop\FGG 0.3z\gamemodes\FGG v2.8\FGGV4.pwn(19610) : error 035: argument type mismatch (argument 1)
C:\Users\George\Desktop\FGG 0.3z\gamemodes\FGG v2.8\FGGV4.pwn(19618) : error 035: argument type mismatch (argument 1)
C:\Users\George\Desktop\FGG 0.3z\gamemodes\FGG v2.8\FGGV4.pwn(19618) : warning 213: tag mismatch
C:\Users\George\Desktop\FGG 0.3z\gamemodes\FGG v2.8\FGGV4.pwn(19626) : error 035: argument type mismatch (argument 1)
C:\Users\George\Desktop\FGG 0.3z\gamemodes\FGG v2.8\FGGV4.pwn(19634) : error 035: argument type mismatch (argument 1)
C:\Users\George\Desktop\FGG 0.3z\gamemodes\FGG v2.8\FGGV4.pwn(19634) : warning 213: tag mismatch
C:\Users\George\Desktop\FGG 0.3z\gamemodes\FGG v2.8\FGGV4.pwn(27131) : error 035: argument type mismatch (argument 1)
C:\Users\George\Desktop\FGG 0.3z\gamemodes\FGG v2.8\FGGV4.pwn(27167) : error 035: argument type mismatch (argument 1)
C:\Users\George\Desktop\FGG 0.3z\gamemodes\FGG v2.8\FGGV4.pwn(27188) : error 035: argument type mismatch (argument 1)
C:\Users\George\Desktop\FGG 0.3z\gamemodes\FGG v2.8\FGGV4.pwn(27215) : error 035: argument type mismatch (argument 1)
C:\Users\George\Desktop\FGG 0.3z\gamemodes\FGG v2.8\FGGV4.pwn(87482) : error 035: argument type mismatch (argument 1)
C:\Users\George\Desktop\FGG 0.3z\gamemodes\FGG v2.8\FGGV4.pwn(87521) : error 035: argument type mismatch (argument 1)
C:\Users\George\Desktop\FGG 0.3z\gamemodes\FGG v2.8\FGGV4.pwn(91615) : error 035: argument type mismatch (argument 1)
C:\Users\George\Desktop\FGG 0.3z\gamemodes\FGG v2.8\FGGV4.pwn(91742) : error 035: argument type mismatch (argument 1)
C:\Users\George\Desktop\FGG 0.3z\gamemodes\FGG v2.8\FGGV4.pwn(91765) : error 035: argument type mismatch (argument 1)
C:\Users\George\Desktop\FGG 0.3z\gamemodes\FGG v2.8\FGGV4.pwn(91893) : error 035: argument type mismatch (argument 1)
C:\Users\George\Desktop\FGG 0.3z\gamemodes\FGG v2.8\FGGV4.pwn(91923) : error 035: argument type mismatch (argument 1)
C:\Users\George\Desktop\FGG 0.3z\gamemodes\FGG v2.8\FGGV4.pwn(91948) : error 035: argument type mismatch (argument 1)
C:\Users\George\Desktop\FGG 0.3z\gamemodes\FGG v2.8\FGGV4.pwn(91985) : error 035: argument type mismatch (argument 1)
C:\Users\George\Desktop\FGG 0.3z\gamemodes\FGG v2.8\FGGV4.pwn(92007) : error 035: argument type mismatch (argument 1)
C:\Users\George\Desktop\FGG 0.3z\gamemodes\FGG v2.8\FGGV4.pwn(92045) : error 035: argument type mismatch (argument 1)
C:\Users\George\Desktop\FGG 0.3z\gamemodes\FGG v2.8\FGGV4.pwn(92089) : error 035: argument type mismatch (argument 1)
C:\Users\George\Desktop\FGG 0.3z\gamemodes\FGG v2.8\FGGV4.pwn(122093) : warning 235: public function lacks forward declaration (symbol "OnQueryFinish")
C:\Users\George\Desktop\FGG 0.3z\gamemodes\FGG v2.8\FGGV4.pwn(126370) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
22 Errors.
Re: Alot of MYSQL errors.... I dont know what happened -
mahardika - 13.03.2014
post the line plz
Re: Alot of MYSQL errors.... I dont know what happened -
FutureGenerationGaming - 13.03.2014
Quote:
Originally Posted by mahardika
post the line plz
|
Code:
10156: mysql_query(q, THREAD_BAN_CHECK_NAME, playerid);
Re: Alot of MYSQL errors.... I dont know what happened -
FutureGenerationGaming - 14.03.2014
Bump... I dont know what happened i just came to compile it and boom nothing works
Re: Alot of MYSQL errors.... I dont know what happened -
DeathKing - 14.03.2014
PHP Code:
mysql_query(conhandle, query[], bool:use_cache = true)
wait you cant use mysql_query....
mysql_tquery(connectionHandle, query[], callback[] = "", format[] = "", {Float,_}:...)
^^ use that
Ex. mysql_tquery(q, THREAD_BAN_CHECK_NAME, "", "d", playerid);
PS. You changed mysql version form a very old one to a newer one.... and on the process mysql_query changed its syntax
kindly rep+ me if i helped ehehe trying to gain Rep to advertise