Skripta koju koristim:NLRPG
Detaljan opis problema:e ovako ja ubacim mod u gpanel i sve plugine ucita ali nece data baze ucitat nez zasto a sve sam namjestio kako treba
evo vidite:
#define MYSQL_HOST "213.239.205.210 "
#define MYSQL_USER "mwgaming"
#define MYSQL_DB "_samp1baza"
#define MYSQL_PASS "kojaocesbre123"
Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno):
aj pls ako neko zna ovo rijesit pls jer treba mi hitno
Postavi u OnGameModeInit:
mysql_debug( 1 );
Pa nam daj mysql_log.txt
Daj pomagaj brate
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3e, (C)2005-2012 SA-MP Team
[21:28:31]
[21:28:31] Server Plugins
[21:28:31] --------------
[21:28:31] Loading plugin: mysql.so
[21:28:31] Failed (plugins/mysql.so: undefined symbol: _Z13stringvprintfPKcPc)
[21:28:31] Loading plugin: streamer.so
[21:28:31]
*** Streamer Plugin v2.6 by Incognito loaded ***
[21:28:31] Loaded.
[21:28:31] Loading plugin: sscanf.so
[21:28:31]
[21:28:31] ===============================
[21:28:31] sscanf plugin loaded.
[21:28:31] (c) 2009 Alex "Y_Less" Cole
[21:28:31] 0.3d-R2 500 Players "dnee"
[21:28:31] ===============================
[21:28:31] Loaded.
[21:28:31] Loading plugin: regex.so
[21:28:31]
[21:28:31] ______________________________________
[21:28:31] Regular Expression Plugin v0.2.0 loaded
[21:28:31] ______________________________________
[21:28:31] By: Fro (c) Copyright <TBG> 2009-2011
[21:28:31] ______________________________________
[21:28:31] Loaded.
[21:28:31] Loading plugin: Whirlpool.so
[21:28:31]
[21:28:31] ==================
[21:28:31]
[21:28:31] Whirlpool loaded
[21:28:31]
[21:28:31] ==================
[21:28:31]
[21:28:31] Loaded.
[21:28:31] Loading plugin: MapAndreas.so
[21:28:31] Loaded.
[21:28:31] Loading plugin: nativechecker.so
[21:28:31] Loaded.
[21:28:31] Loading plugin: libmysql.so
[21:28:31] Failed (plugins/libmysql.so: invalid ELF header)
[21:28:31] Loaded 6 plugins.
[21:28:31]
[21:28:31] Filterscripts
[21:28:31] ---------------
[21:28:31] Loading filterscript 'afacebook.amx'...
[21:28:31] Unable to load filterscript 'afacebook.amx'.
[21:28:31] Loaded 0 filterscripts.
[21:28:31] Error: Function not registered: 'mysql_debug'
[21:28:31] Error: Function not registered: 'mysql_query'
[21:28:31] Error: Function not registered: 'mysql_close'
[21:28:31] Error: Function not registered: 'mysql_reconnect'
[21:28:31] Error: Function not registered: 'mysql_ping'
[21:28:31] Error: Function not registered: 'mysql_real_escape_string'
[21:28:31] Error: Function not registered: 'mysql_store_result'
[21:28:31] Error: Function not registered: 'mysql_num_rows'
[21:28:31] Error: Function not registered: 'mysql_free_result'
[21:28:31] Error: Function not registered: 'mysql_fetch_row_format'
[21:28:31] Error: Function not registered: 'mysql_fetch_int'
[21:28:31] Error: Function not registered: 'mysql_connect'
[21:28:31] Script[gamemodes/NLRPGv3.amx]: Run time error 19: "File or function is not found"
[21:28:31] Number of vehicle models: 0
e sad ovo jebe
SA-MP Dedicated Server
----------------------
v0.3e, (C)2005-2012 SA-MP Team
[22:51:14]
[22:51:14] Server Plugins
[22:51:14] --------------
[22:51:14] Loading plugin: streamer.so
[22:51:14]
*** Streamer Plugin v2.6 by Incognito loaded ***
[22:51:14] Loaded.
[22:51:14] Loading plugin: sscanf.so
[22:51:14]
[22:51:14] ===============================
[22:51:14] sscanf plugin loaded.
[22:51:14] (c) 2009 Alex "Y_Less" Cole
[22:51:14] 0.3d-R2 500 Players "dnee"
[22:51:14] ===============================
[22:51:14] Loaded.
[22:51:14] Loading plugin: regex.so
[22:51:14]
[22:51:14] ______________________________________
[22:51:14] Regular Expression Plugin v0.2.0 loaded
[22:51:14] ______________________________________
[22:51:14] By: Fro (c) Copyright <TBG> 2009-2011
[22:51:14] ______________________________________
[22:51:14] Loaded.
[22:51:14] Loading plugin: Whirlpool.so
[22:51:14]
[22:51:14] ==================
[22:51:14]
[22:51:14] Whirlpool loaded
[22:51:14]
[22:51:14] ==================
[22:51:14]
[22:51:14] Loaded.
[22:51:14] Loading plugin: MapAndreas.so
[22:51:14] Loaded.
[22:51:14] Loading plugin: mysql.so
[22:51:14] Failed (libmysqlclient_r.so.15: cannot open shared object file: No such file or directory)
[22:51:14] Loaded 5 plugins.
pa neko napiso da ima taj eror sta ?
Vidim da si jos pocetnik,zasto koristis SQL?
Citat: FireMan poslato Jul 29, 2012, 23:26:32 POSLE PODNE
Vidim da si jos pocetnik,zasto koristis SQL?
zato sto koristim NL mod a nisam ga jos nikad ubacivo na GP
Pa zasto uopce koristis taj mod,zasto ne napravis nesto svoje i tako ces najbrze naucit skriptat.
pa ako vec imam NL mod editani moj
i sto sam ubacio textdraowe na pocetak nove poslove i nove komande
sta cu sad ic pravit novi ?
aj ako neko zna ovo pls nek se javi da slozm to :'(
Kako ces naucit ako sam nista ne radis,koj ces ku*ac editat.
pa prvi put ubacujem NL mod u hosting pa mi nije jasno zaast nece ucitat mysql.so