Szerző Téma: AdvLog+ FS gond  (Megtekintve 1266 alkalommal)

AdvLog+ FS gond
« Dátum: 2014. Február 24. - 12:36:03 »
0 Show voters
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!

Nem elérhető TheDon

  • 159
    • Profil megtekintése
AdvLog+ FS gond
« Válasz #1 Dátum: 2014. Február 24. - 13:19:20 »
0 Show voters
Szerintem ehelyett:
 
#if DEFAULT == true

 
Ezt kéne:
 
#if defined DEFAULT

AdvLog+ FS gond
« Válasz #2 Dátum: 2014. Február 24. - 14:17:42 »
0 Show voters
Idézetet írta: TheDon date=1393244360\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"46712\" data-ipsquote-contentclass=\"forums_Topic
Szerintem 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\"
« Utoljára szerkesztve: 2014. Február 24. - 15:07:28 írta kdani25 »

Nem elérhető TheDon

  • 159
    • Profil megtekintése
AdvLog+ FS gond
« Válasz #3 Dátum: 2014. Február 24. - 15:39:54 »
0 Show voters
#if MySQL == true

 
Ezt is írd át úgy ahogy a DEFAULT makrót is.

AdvLog+ FS gond
« Válasz #4 Dátum: 2014. Február 24. - 16:21:47 »
0 Show voters
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=2311685
Aki 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
« Utoljára szerkesztve: 2014. Február 24. - 16:28:42 írta kdani25 »

Nem elérhető ZyZu.

  • Globális moderátor
  • 8939
  • my turbo diesel forum
  • Discord: ZyZu.
    • Profil megtekintése
AdvLog+ FS gond
« Válasz #5 Dátum: 2014. Február 24. - 23:23:51 »
0 Show voters
[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]

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal