MySQL problems maybe?
#1

Quote:

C:\Users\Apple\Desktop\SCRIPT\gamemodes\rp.pwn(340 1) : error 017: undefined symbol "mysql_query"
C:\Users\Apple\Desktop\SCRIPT\gamemodes\rp.pwn(439 7) : error 017: undefined symbol "mysql_query"
C:\Users\Apple\Desktop\SCRIPT\gamemodes\rp.pwn(441 9) : error 017: undefined symbol "mysql_query"
C:\Users\Apple\Desktop\SCRIPT\gamemodes\rp.pwn(452 5) : error 017: undefined symbol "mysql_query"
C:\Users\Apple\Desktop\SCRIPT\gamemodes\rp.pwn(460 0) : error 017: undefined symbol "mysql_query"
C:\Users\Apple\Desktop\SCRIPT\gamemodes\rp.pwn(463 4) : error 017: undefined symbol "mysql_query"
C:\Users\Apple\Desktop\SCRIPT\gamemodes\rp.pwn(470 6) : error 017: undefined symbol "mysql_query"
C:\Users\Apple\Desktop\SCRIPT\gamemodes\rp.pwn(474 4) : error 017: undefined symbol "mysql_query"
C:\Users\Apple\Desktop\SCRIPT\gamemodes\rp.pwn(476 4) : error 017: undefined symbol "mysql_query"
C:\Users\Apple\Desktop\SCRIPT\gamemodes\rp.pwn(482 3) : error 017: undefined symbol "mysql_query"
C:\Users\Apple\Desktop\SCRIPT\gamemodes\rp.pwn(486 2) : error 017: undefined symbol "mysql_query"
C:\Users\Apple\Desktop\SCRIPT\gamemodes\rp.pwn(486 9) : error 017: undefined symbol "mysql_query"
C:\Users\Apple\Desktop\SCRIPT\gamemodes\rp.pwn(493 9) : error 017: undefined symbol "mysql_query"
C:\Users\Apple\Desktop\SCRIPT\gamemodes\rp.pwn(548 2) : error 017: undefined symbol "mysql_query"
C:\Users\Apple\Desktop\SCRIPT\gamemodes\rp.pwn(886 5) : error 017: undefined symbol "mysql_query"
C:\Users\Apple\Desktop\SCRIPT\gamemodes\rp.pwn(891 3) : error 017: undefined symbol "mysql_query"
C:\Users\Apple\Desktop\SCRIPT\gamemodes\rp.pwn(938 7) : error 017: undefined symbol "mysql_query"
C:\Users\Apple\Desktop\SCRIPT\gamemodes\rp.pwn(101 25) : error 017: undefined symbol "mysql_query"
C:\Users\Apple\Desktop\SCRIPT\gamemodes\rp.pwn(118 60) : error 017: undefined symbol "mysql_query"
C:\Users\Apple\Desktop\SCRIPT\gamemodes\rp.pwn(119 03) : error 017: undefined symbol "mysql_query"
C:\Users\Apple\Desktop\SCRIPT\gamemodes\rp.pwn(120 89) : error 017: undefined symbol "mysql_query"
C:\Users\Apple\Desktop\SCRIPT\gamemodes\rp.pwn(122 86) : error 017: undefined symbol "mysql_query"
C:\Users\Apple\Desktop\SCRIPT\gamemodes\rp.pwn(126 20) : error 025: function heading differs from prototype
C:\Users\Apple\Desktop\SCRIPT\gamemodes\rp.pwn(126 85) : error 017: undefined symbol "mysql_query"
C:\Users\Apple\Desktop\SCRIPT\gamemodes\rp.pwn(127 36) : error 017: undefined symbol "mysql_query"
C:\Users\Apple\Desktop\SCRIPT\gamemodes\rp.pwn(134 40) : error 017: undefined symbol "mysql_query"

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


26 Errors.

All I did was change the MySQL plugin.
Reply
#2

The function was changed in the update of the plugin, in the thread what it is now, and replace those with the new function.
Reply
#3

In the include? Because in the include it is defined.

mysql query defines:

pawn Код:
// mysql_query_callback(index, query[], callback[], extraid, connectionHandle)
#define mysql_query_callback(%1,%2,%3,%4,%5) \
    mysql_function_query(%5,%2,false,%3,"siii",%2,%1,%4,%5)

// mysql_query(query[], resultid, extraid, connectionHandle)
#define mysql_query(%1,%2,%3,%4) \
    mysql_function_query(%4,%1,false,"OnQueryFinish","siii",%1,%2,%3,%4)
Reply
#4

What plugin version are you using?
Reply
#5

BlueG's R15

EDIT: Appparently the script's verison was BlueG's R5 or something
Reply
#6

You'll have a lot of fun converting. R15 doesn't support nonthreaded queries, and I'll assume that whole gamemode doesn't have threaded queries implemented.
Reply
#7

Ugh, I'm to lazy to do that, anyone know where I can find the BlueG's R5 verison for windows? Not linux. The download links on his topic aren't working, either.
Reply
#8

I have one, I'll send you a download link trough PM if you like.
I also sticked to R5, since the newest things are kinda hard and long to do.
Reply
#9

Please and thank you.
Reply
#10

People, threaded queries were invented to make life easier. It's not some kind of developers joke to completely switch to other syntax just because they felt like it. Threaded queries secure your server from malicious users, they are more stable, a LOT faster. If you value your users, then do it for them!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)