GTA Közösség - A magyar GTA fórum

San Andreas Multiplayer (SA-MP) => SA-MP: Szerverfejlesztés => Segítségkérés => A témát indította: mefi88 - 2014. Március 18. - 14:15:46

Cím: Run time error 19: "File or function is not found"
Írta: mefi88 - 2014. Március 18. - 14:15:46
Üdv.
A címben szereplõ hibába futottam.
Találtam egy témát, viszont az nem segített.
Plugin-ek ott vannak a plugins mappába, van main(){} és a server.cfg-ben is szerepelnek a pluginek.
Tudnátok segíteni ezügyben?
Saját gépemen ment a mod, viszont hostingnál nem akar :(
Azt megjegyezném, hogy konzol logban van ilyen:
 
[14:09:04]  Loading plugin: streamer
[14:09:04]   Failed (plugins/streamer: cannot open shared object file: No such file or directory)
[14:09:04]  Loading plugin: sscanf
[14:09:04]   Failed (plugins/sscanf: cannot open shared object file: No such file or directory)
[14:09:04]  Loading plugin: crashdetect
[14:09:04]   Failed (plugins/crashdetect: cannot open shared object file: No such file or directory)
[14:09:04]  Loading plugin: fcnpc
[14:09:04]   Failed (plugins/fcnpc: cannot open shared object file: No such file or directory)
[14:09:04]  Loaded 0 plugins.

 
Viszont ott vannak a fájlok a plugins mappában, tehát nem értem.  :-[
Cím: Run time error 19: "File or function is not found"
Írta: Kovacs_Richard - 2014. Március 18. - 14:29:16
server.cfg-be tedd oda a plugin nevek után a kiterjesztést (.so) és a dll-ek helyett a .so kiterjesztésû pluginokat töltsd fel!
Cím: Run time error 19: "File or function is not found"
Írta: mefi88 - 2014. Március 18. - 14:33:59
Hogy mi?
 
plugins streamer sscanf crashdetect fcnpc

 
helyett
 
plugins streamer.so sscanf.so crashdetect.so fcnpc.so

 
 :question:
Vagy most ezt hogy értetted?
Miért kellene kiterjesztés?
szerk.: wow és megy! ??? ezer köszönet! :)
Cím: Run time error 19: "File or function is not found"
Írta: Dfoglalo - 2014. Március 18. - 15:25:22
Azért kell odaírni a fájl kiterjesztését, mert valószínûleg a hostingnál (mint minden normális hostingnál) linux operációs rendszer fut a gépen, windows helyett. A windowsos dll fájlok pedig linuxos kiterjesztéssel az so fájlok. A szerver pedig alapból dll-t keres, ha nem írsz kiterjesztést, még akkor is, ha linuxon fut a szerver.
Cím: Run time error 19: "File or function is not found"
Írta: mefi88 - 2014. Március 18. - 14:15:46
Üdv.
A címben szereplõ hibába futottam.
Találtam egy témát, viszont az nem segített.
Plugin-ek ott vannak a plugins mappába, van main(){} és a server.cfg-ben is szerepelnek a pluginek.
Tudnátok segíteni ezügyben?
Saját gépemen ment a mod, viszont hostingnál nem akar :(
Azt megjegyezném, hogy konzol logban van ilyen:
 
[14:09:04]  Loading plugin: streamer
[14:09:04]   Failed (plugins/streamer: cannot open shared object file: No such file or directory)
[14:09:04]  Loading plugin: sscanf
[14:09:04]   Failed (plugins/sscanf: cannot open shared object file: No such file or directory)
[14:09:04]  Loading plugin: crashdetect
[14:09:04]   Failed (plugins/crashdetect: cannot open shared object file: No such file or directory)
[14:09:04]  Loading plugin: fcnpc
[14:09:04]   Failed (plugins/fcnpc: cannot open shared object file: No such file or directory)
[14:09:04]  Loaded 0 plugins.

 
Viszont ott vannak a fájlok a plugins mappában, tehát nem értem.  :-[
Cím: Run time error 19: "File or function is not found"
Írta: Kovacs_Richard - 2014. Március 18. - 14:29:16
server.cfg-be tedd oda a plugin nevek után a kiterjesztést (.so) és a dll-ek helyett a .so kiterjesztésû pluginokat töltsd fel!
Cím: Run time error 19: "File or function is not found"
Írta: mefi88 - 2014. Március 18. - 14:33:59
Hogy mi?
 
plugins streamer sscanf crashdetect fcnpc

 
helyett
 
plugins streamer.so sscanf.so crashdetect.so fcnpc.so

 
 :question:
Vagy most ezt hogy értetted?
Miért kellene kiterjesztés?
szerk.: wow és megy! ??? ezer köszönet! :)
Cím: Run time error 19: "File or function is not found"
Írta: Dfoglalo - 2014. Március 18. - 15:25:22
Azért kell odaírni a fájl kiterjesztését, mert valószínûleg a hostingnál (mint minden normális hostingnál) linux operációs rendszer fut a gépen, windows helyett. A windowsos dll fájlok pedig linuxos kiterjesztéssel az so fájlok. A szerver pedig alapból dll-t keres, ha nem írsz kiterjesztést, még akkor is, ha linuxon fut a szerver.