Jump to content

Recommended Posts

Posted

C:\Users\dariu\OneDrive\Desktop\fresh gm\gamemodes\gm.pwn(71) : error 017: undefined symbol "handle"
C:\Users\dariu\OneDrive\Desktop\fresh gm\gamemodes\gm.pwn(78) : error 001: expected token: ";", but found "-identifier-"
C:\Users\dariu\OneDrive\Desktop\fresh gm\gamemodes\gm.pwn(97) : error 017: undefined symbol "cache_get_value_name"
C:\Users\dariu\OneDrive\Desktop\fresh gm\gamemodes\gm.pwn(98) : error 017: undefined symbol "cache_get_value_name_int"
C:\Users\dariu\OneDrive\Desktop\fresh gm\gamemodes\gm.pwn(131) : error 017: undefined symbol "handle"
C:\Users\dariu\OneDrive\Desktop\fresh gm\gamemodes\gm.pwn(132) : error 017: undefined symbol "handle"
C:\Users\dariu\OneDrive\Desktop\fresh gm\gamemodes\gm.pwn(147) : error 017: undefined symbol "handle"
C:\Users\dariu\OneDrive\Desktop\fresh gm\gamemodes\gm.pwn(148) : error 017: undefined symbol "handle"

 

si codu:

(71)mysql_pquery(handle, query, "OnPlayerLogin", "i", playerid);
(78)cache_get_value_name(0, "Parola", FoxData[playerid][pPassword]);
(97)cache_get_value_name_int(0, "ID", FoxData[playerid][pSQL]);
(98)mysql_format(handle, query, sizeof(query), "INSERT INTO `conturi` (`Nume`, `Parola`, IP) VALUES ('%e', '%e', '%e')", GetName(playerid), Hashhhh, ip);

(131)mysql_format(handle, query, sizeof(query), "INSERT INTO `conturi` (`Nume`, `Parola`, IP) VALUES ('%e', '%e', '%e')", GetName(playerid), Hashhhh, ip);

(132)mysql_pquery(handle, query, "", "");
(147)mysql_format(handle, query, sizeof(query), "SELECT * FROM `conturi` WHERE `Nume`='%e' AND `Parola` = '%e'", GetName(playerid),Hashhhh);
(148)mysql_pquery(handle, query, "OnLogin", "i", playerid);

 

 

am incercat sa rezolv si nu inteleg(am facut acest sistem dintr-un tutorial: 

asta e gm u un mic proiect al meu (sunt incepator)

gm.pwn

Posted

C:\Users\dariu\OneDrive\Desktop\fresh gm\gamemodes\gm.pwn(67) : error 017: undefined symbol "mysql_init_options"
C:\Users\dariu\OneDrive\Desktop\fresh gm\gamemodes\gm.pwn(67) : warning 213: tag mismatch: expected tag "MySQLOpt", but found none ("_")
C:\Users\dariu\OneDrive\Desktop\fresh gm\gamemodes\gm.pwn(69) : error 017: undefined symbol "mysql_set_option"
C:\Users\dariu\OneDrive\Desktop\fresh gm\gamemodes\gm.pwn(71) : warning 213: tag mismatch: expected tag none ("_"), but found "MySQLOpt"
C:\Users\dariu\OneDrive\Desktop\fresh gm\gamemodes\gm.pwn(71) : warning 213: tag mismatch: expected tag "MySQL", but found none ("_")
C:\Users\dariu\OneDrive\Desktop\fresh gm\gamemodes\gm.pwn(72) : error 017: undefined symbol "MYSQL_INVALID_HANDLE"
C:\Users\dariu\OneDrive\Desktop\fresh gm\gamemodes\gm.pwn(98) : warning 213: tag mismatch: expected tag none ("_"), but found "MySQL"
C:\Users\dariu\OneDrive\Desktop\fresh gm\gamemodes\gm.pwn(114) : warning 213: tag mismatch: expected tag none ("_"), but found "MySQL"
C:\Users\dariu\OneDrive\Desktop\fresh gm\gamemodes\gm.pwn(115) : warning 213: tag mismatch: expected tag none ("_"), but found "MySQL"
C:\Users\dariu\OneDrive\Desktop\fresh gm\gamemodes\gm.pwn(129) : error 017: undefined symbol "MYSQL_INVALID_CACHE"
C:\Users\dariu\OneDrive\Desktop\fresh gm\gamemodes\gm.pwn(129) : warning 213: tag mismatch: expected tag "Cache", but found none ("_")
C:\Users\dariu\OneDrive\Desktop\fresh gm\gamemodes\gm.pwn(187) : error 017: undefined symbol "MYSQL_INVALID_CACHE"
C:\Users\dariu\OneDrive\Desktop\fresh gm\gamemodes\gm.pwn(187) : warning 213: tag mismatch: expected tag "Cache", but found none ("_")
C:\Users\dariu\OneDrive\Desktop\fresh gm\gamemodes\gm.pwn(220) : warning 213: tag mismatch: expected tag none ("_"), but found "MySQL"
C:\Users\dariu\OneDrive\Desktop\fresh gm\gamemodes\gm.pwn(221) : warning 213: tag mismatch: expected tag none ("_"), but found "MySQL"
C:\Users\dariu\OneDrive\Desktop\fresh gm\gamemodes\gm.pwn(252) : error 017: undefined symbol "cache_get_value"
C:\Users\dariu\OneDrive\Desktop\fresh gm\gamemodes\gm.pwn(253) : error 017: undefined symbol "cache_get_value"
C:\Users\dariu\OneDrive\Desktop\fresh gm\gamemodes\gm.pwn(315) : error 017: undefined symbol "cache_get_value_int"
C:\Users\dariu\OneDrive\Desktop\fresh gm\gamemodes\gm.pwn(317) : error 017: undefined symbol "cache_get_value_int"
C:\Users\dariu\OneDrive\Desktop\fresh gm\gamemodes\gm.pwn(318) : error 017: undefined symbol "cache_get_value_int"
C:\Users\dariu\OneDrive\Desktop\fresh gm\gamemodes\gm.pwn(320) : error 017: undefined symbol "cache_get_value_float"
C:\Users\dariu\OneDrive\Desktop\fresh gm\gamemodes\gm.pwn(321) : error 017: undefined symbol "cache_get_value_float"
C:\Users\dariu\OneDrive\Desktop\fresh gm\gamemodes\gm.pwn(322) : error 017: undefined symbol "cache_get_value_float"
C:\Users\dariu\OneDrive\Desktop\fresh gm\gamemodes\gm.pwn(323) : error 017: undefined symbol "cache_get_value_float"
C:\Users\dariu\OneDrive\Desktop\fresh gm\gamemodes\gm.pwn(324) : error 017: undefined symbol "cache_get_value_int"
C:\Users\dariu\OneDrive\Desktop\fresh gm\gamemodes\gm.pwn(336) : warning 213: tag mismatch: expected tag none ("_"), but found "MySQL"
C:\Users\dariu\OneDrive\Desktop\fresh gm\gamemodes\gm.pwn(353) : warning 213: tag mismatch: expected tag none ("_"), but found "MySQL"
C:\Users\dariu\OneDrive\Desktop\fresh gm\gamemodes\gm.pwn(354) : warning 213: tag mismatch: expected tag none ("_"), but found "MySQL"
C:\Users\dariu\OneDrive\Desktop\fresh gm\gamemodes\gm.pwn(365) : warning 213: tag mismatch: expected tag none ("_"), but found "MySQL"
C:\Users\dariu\OneDrive\Desktop\fresh gm\gamemodes\gm.pwn(366) : warning 213: tag mismatch: expected tag none ("_"), but found "MySQL"
C:\Users\dariu\OneDrive\Desktop\fresh gm\gamemodes\gm.pwn(379) : warning 213: tag mismatch: expected tag none ("_"), but found "MySQL"
C:\Users\dariu\OneDrive\Desktop\fresh gm\gamemodes\gm.pwn(380) : warning 213: tag mismatch: expected tag none ("_"), but found "MySQL"
Pawn compiler 3.10.8              Copyright (c) 1997-2006, ITB CompuPhase

 

Posted

Vezi ca acolo în sistem ala ai și un a_mysql.inc, pune i mysql pe care este scris codu, posibil ca tu sa ai o alta versiune în include și nu se leagă cu codul scris pe versiunea sa.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.