Sziasztok!
Az alábbi gondom lenne:
C:\\Documents and Settings\\Dani\\Dokumentumok\\samp03z_svr_R1_win32\\pawno\\AdvLog+.pwn(101) : error 010: invalid function or declaration
C:\\Documents and Settings\\Dani\\Dokumentumok\\samp03z_svr_R1_win32\\pawno\\AdvLog+.pwn(107) : error 010: invalid function or declaration
C:\\Documents and Settings\\Dani\\Dokumentumok\\samp03z_svr_R1_win32\\pawno\\AdvLog+.pwn(112) : error 054: unmatched closing brace (\"}\")
És ahova mutat a hiba::
Timer:isFSConfigured[2000]() {
#if DEFAULT == true
SendClientMessageToAll(-1, \"Please configure the AdvLog+ Filterscript...\");
printf(\"[AdvLog+] You haven\'t edited the script yet, please do so.\");
#endif
#if MySQL == true
if(!mysql_ping(mysqlConnection)) {
printf(\"[WARNING][AdvLog+ - MySQL]: The MySQL Connection has been lost, attempting to reconnect...\");
mysql_reconnect(mysqlConnection);
}
#endif
} Mi lehet a gond?
Köszönöm elõre a segítséget!
Szerintem ehelyett:
#if DEFAULT == true
Ezt kéne:
#if defined DEFAULT
Idézetet írta: TheDon date=1393244360\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"46712\" data-ipsquote-contentclass=\"forums_TopicSzerintem ehelyett:
#if DEFAULT == true
Ezt kéne:
#if defined DEFAULT
Köszönöm!
Most 1 hiba jött elõ:
C:\\Documents and Settings\\Dani\\Dokumentumok\\samp03z_svr_R1_win32\\pawno\\include\\YSI/y_timers.inc(80) : fatal error 100: cannot read from file: \"internal\\y_plugins\"
Ebben az esetben:
#include <YSI/y_timers>
Ha:
#include <YSI\\y_timers>
akkor:
C:\\Documents and Settings\\Dani\\Dokumentumok\\samp03z_svr_R1_win32\\filterscripts\\AdvLog+.pwn(101) : error 010: invalid function or declaration
C:\\Documents and Settings\\Dani\\Dokumentumok\\samp03z_svr_R1_win32\\filterscripts\\AdvLog+.pwn(103) : error 021: symbol already defined: \"SendClientMessageToAll\"
C:\\Documents and Settings\\Dani\\Dokumentumok\\samp03z_svr_R1_win32\\filterscripts\\AdvLog+.pwn(107) : error 010: invalid function or declaration
C:\\Documents and Settings\\Dani\\Dokumentumok\\samp03z_svr_R1_win32\\AdvLog+.pwn(112) : error 054: unmatched closing brace (\"}\")
Timer:isFSConfigured[2000]() {
#if defined DEFAULT
SendClientMessageToAll(-1, \"Please configure the AdvLog+ Filterscript...\");
printf(\"[AdvLog+] You haven\'t edited the script yet, please do so.\");
#endif
#if MySQL == true
if(!mysql_ping(mysqlConnection)) {
printf(\"[WARNING][AdvLog+ - MySQL]: The MySQL Connection has been lost, attempting to reconnect...\");
mysql_reconnect(mysqlConnection);
}
#endif
}
De minden bizonnyal a \\ jeles include sor a helyes.
Dupla hozzászólás automatikusan összefûzve. ( 2014. február 24. - 15:07:28 )
Kiegészítés:
ha felrakom a Zeex javításos compilert, akkor:
pawno\\include\\YSI\\internal\\..\\internal\\..\\internal\\y_natives.inc(65) : fatal error 100: cannot read from file: \"y_globaltags\"
#if MySQL == true
Ezt is írd át úgy ahogy a DEFAULT makrót is.
A probléma fenáll még mindig sajnos(mindkét verzió).
Dupla hozzászólás automatikusan összefûzve. ( 2014. február 24. - 16:28:42 )
http://forum.sa-mp.com/showthread.php?p=2311685Aki szeretné próbálgatni, annak itt a link, amivel próbálkozok, összehozni.
Ha ezt a kis részt itt kiszedem /* */ ezzel, akkor ugyan lefordítja a scriptet rendesen, hibamentesen, de SQL-be már nem ment semmit. se chat se parancs se rcon se csatlakozást
[gmod]A kiemelt témákat gondolom nem vetted észre? Témát zárom.. ilyen hibákért tényleg új témát nyitni.. :-[ Írj a kiemelt témákba![/gmod]