Szerző Téma: MySQL plugin betöltése  (Megtekintve 945 alkalommal)

MySQL plugin betöltése
« Dátum: 2016. Október 24. - 18:48:57 »
0
Sziasztok! Mi a probléma szerintetek? Hiv. forumon is olvasgattam dolgokat de egyik se segített sajna.
Próbáltam a MySQL R39-6-sst és az 5-öst is de ugyan az a hiba.
 

----------
Loaded log file: \"server_log.txt\".
----------
SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team
[18:43:36]
[18:43:36] Server Plugins
[18:43:36] --------------
[18:43:36]  Loading plugin: mysql
[18:43:36]   Failed.
[18:43:36]  Loading plugin: crashdetect
[18:43:36]   CrashDetect v4.15.1 is OK.
[18:43:36]   Loaded.
[18:43:36]  Loading plugin: sscanf
[18:43:36]
[18:43:36]  ===============================
[18:43:36]       sscanf plugin loaded.     
[18:43:36]          Version:  2.8.1       
[18:43:36]    (c) 2012 Alex \"Y_Less\" Cole 
[18:43:36]  ===============================
[18:43:36]   Loaded.
[18:43:36]  Loading plugin: streamer
[18:43:36]
*** Streamer Plugin v2.7.6 by Incognito loaded ***
[18:43:36]   Loaded.
[18:43:36]  Loaded 3 plugins.
[18:43:36]
[18:43:36] Filterscripts
[18:43:36] ---------------
[18:43:36]   Loaded 0 filterscripts.
[18:43:36] [debug] Run time error 19: \"File or function is not found\"
[18:43:36] [debug]  mysql_tquery
[18:43:36] [debug]  cache_get_field_content_int
[18:43:36] [debug]  cache_get_field_content
[18:43:36] [debug]  cache_get_field_content_float
[18:43:36] [debug]  cache_get_data
[18:43:36] [debug]  cache_insert_id
[18:43:36] [debug]  mysql_log
[18:43:36] [debug]  mysql_connect
[18:43:36] [debug]  mysql_errno
[18:43:36] [debug]  mysql_close
[18:43:36] [debug]  mysql_format
[18:43:36] [debug] Run time error 19: \"File or function is not found\"
[18:43:36] [debug]  mysql_tquery
[18:43:36] [debug]  cache_get_field_content_int
[18:43:36] [debug]  cache_get_field_content
[18:43:36] [debug]  cache_get_field_content_float
[18:43:36] [debug]  cache_get_data
[18:43:36] [debug]  cache_insert_id
[18:43:36] [debug]  mysql_log
[18:43:36] [debug]  mysql_connect
[18:43:36] [debug]  mysql_errno
[18:43:36] [debug]  mysql_close
[18:43:36] [debug]  mysql_format
[18:43:36] Script[gamemodes/insidemysql.amx]: Run time error 19: \"File or function is not found\"
[18:43:36] Number of vehicle models: 0

MySQL plugin betöltése
« Válasz #1 Dátum: 2016. Október 25. - 08:56:39 »
0
Linuxon próbálod betölteni? Ha igen, akkor a mysql_static.so-t kell betöltened.
Ha Windowst használsz, akkor nem tudom mi lehet a hiba.

MySQL plugin betöltése
« Válasz #2 Dátum: 2016. Október 25. - 15:14:00 »
0
Win-t használok, most megpróbáltam R38-at és az megy. R38-ban is ez a baj és R39-6-ban is:
 
C:\\Users\\Aron\\Documents\\SAMP Szerver\\gamemodes\\insidemysql.pwn(1686) : error 017: undefined symbol \"mysql_store_result\"
C:\\Users\\Aron\\Documents\\SAMP Szerver\\gamemodes\\insidemysql.pwn(1687) : error 017: undefined symbol \"mysql_num_rows\"
C:\\Users\\Aron\\Documents\\SAMP Szerver\\gamemodes\\insidemysql.pwn(1699) : error 017: undefined symbol \"mysql_free_result\"
Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase
 
3 Errors.

 

Dupla hozzászólás automatikusan összefûzve. ( 2016. Október 25. - 18:44:31 )

1 errort sikerült kijavítanom mikor belenéztem az includeba..
 
C:\\Users\\Aron\\Documents\\SAMP Szerver\\gamemodes\\insidemysql.pwn(1688) : error 017: undefined symbol \"mysql_store_result\"
C:\\Users\\Aron\\Documents\\SAMP Szerver\\gamemodes\\insidemysql.pwn(1702) : error 017: undefined symbol \"mysql_free_result\"
Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase
 
2 Errors.
« Utoljára szerkesztve: 2016. Október 25. - 18:44:31 írta Zippanto »

MySQL plugin betöltése
« Válasz #3 Dátum: 2016. Október 25. - 21:14:31 »
0
Elavult a MySQL, amiből fel van építve a script, Vagy átírod, vagy keresel egy korábbi verziót.

MySQL plugin betöltése
« Válasz #4 Dátum: 2016. Október 25. - 21:27:27 »
0
Átírni, hogy érted?

MySQL plugin betöltése
« Válasz #5 Dátum: 2016. Október 25. - 22:13:48 »
0
a régi mysql tehát R5-R7 ig más fajta függvényt használ mint az R39 esek / R40 esek [r40 meg plááne]
vagy kipróbálgatod hogy melyik kell a módodhoz R7 essel próbálnám először, de a helyedbe megnézném hogy működik az R39 es megpróbálgatni ,,át térni\" rá mert sokkal barátibb hidd el :-)

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal