[HELP]Server "Unknown Gamemode" While hosting[HELP]
#1

So,
While im hosting at free host. then when i transfer the server files unto my host by FileZilla.Then when i start my server it Says "Unknown Gamemode" and the GM is not working too. But when i start a localhost server it seems fine. I dont know why.And i dont know why it says "Connection Closed By server"




Reply
#2

Open up your server.cfg and

gamemode0 "gamemodename" 1

find this line.

Be sure your game mode has been compiled (.amx) and be sure you are typing correct name.
Reply
#3

Post the server log. It's most likely due to a run time error 19 (missing plugins or failed to load).
Reply
#4

Make sure you're using the correct plugins, if your server host is linux make sure you're using the .so version's and adding them to your server.cfg "plugins blah.so"


Edit: Konstantinos
Reply
#5

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
Post the server log. It's most likely due to a run time error 19 (missing plugins or failed to load).
Код:
[12:58:39] [part] Father_Ivann has left the server (0:1)
[12:58:33] [join] Father_Ivann has joined the server (0:125.60.241.62)
[12:58:31] Incoming connection: 125.60.241.62:54157
[12:57:55] [part] Christian_Ivann has left the server (0:1)
[12:57:46] [join] Christian_Ivann has joined the server (0:125.60.241.62)
[12:57:44] Incoming connection: 125.60.241.62:62231
[12:56:49] Number of vehicle models: 0
[12:56:49] Script[gamemodes/ASRP.amx]: Run time error 19: "File or function is not found"
[12:56:49]    Error: Function not registered: 'CreateDynamicSphere'
[12:56:49]    Error: Function not registered: 'DestroyDynamicMapIcon'
[12:56:49]    Error: Function not registered: 'IsValidDynamicMapIcon'
[12:56:49]    Error: Function not registered: 'SetDynamicObjectPos'
[12:56:49]    Error: Function not registered: 'IsValidDynamicObject'
[12:56:49]    Error: Function not registered: 'CountDynamicMapIcons'
[12:56:49]    Error: Function not registered: 'Streamer_TickRate'
[12:56:49]    Error: Function not registered: 'IsValidDynamic3DTextLabel'
[12:56:49]    Error: Function not registered: 'SetDynamicObjectRot'
[12:56:49]    Error: Function not registered: 'GetDynamicObjectPos'
[12:56:49]    Error: Function not registered: 'AttachDynamicObjectToVehicle'
[12:56:49]    Error: Function not registered: 'CountDynamicObjects'
[12:56:49]    Error: Function not registered: 'CountDynamicPickups'
[12:56:49]    Error: Function not registered: 'CountDynamic3DTextLabels'
[12:56:49]    Error: Function not registered: 'CreateDynamicMapIcon'
[12:56:49]    Error: Function not registered: 'DestroyDynamic3DTextLabel'
[12:56:49]    Error: Function not registered: 'DestroyDynamicPickup'
[12:56:49]    Error: Function not registered: 'IsValidDynamicPickup'
[12:56:49]    Error: Function not registered: 'Streamer_Update'
[12:56:49]    Error: Function not registered: 'Streamer_UpdateEx'
[12:56:49]    Error: Function not registered: 'DestroyAllDynamicAreas'
[12:56:49]    Error: Function not registered: 'DestroyAllDynamicRaceCPs'
[12:56:49]    Error: Function not registered: 'DestroyAllDynamicMapIcons'
[12:56:49]    Error: Function not registered: 'DestroyAllDynamicCPs'
[12:56:49]    Error: Function not registered: 'DestroyAllDynamic3DTextLabels'
[12:56:49]    Error: Function not registered: 'DestroyAllDynamicPickups'
[12:56:49]    Error: Function not registered: 'DestroyAllDynamicObjects'
[12:56:49]    Error: Function not registered: 'MoveDynamicObject'
[12:56:49]    Error: Function not registered: 'IsPlayerInDynamicArea'
[12:56:49]    Error: Function not registered: 'CreateDynamic3DTextLabel'
[12:56:49]    Error: Function not registered: 'CreateDynamicPickup'
[12:56:49]    Error: Function not registered: 'DestroyDynamicObject'
[12:56:49]    Error: Function not registered: 'UpdateDynamic3DTextLabelText'
[12:56:49]    Error: Function not registered: 'CreateDynamicObject'
[12:56:49]    Error: Function not registered: 'Streamer_CallbackHook'

[12:56:49]   Loaded 2 filterscripts.
[12:56:49]   Loading filterscript 'buttons.amx'...
[12:56:49]   Loading filterscript 'anims.amx'...
[12:56:49] ---------------
[12:56:49] Filterscripts
[12:56:49] 

[12:56:49]  Loaded 3 plugins.
[12:56:49]   Loaded.
[12:56:49]  Loading plugin: nativechecker.so
[12:56:49]   Failed (plugins/streamer.sol: cannot open shared object file: No such file or directory)
[12:56:49]  Loading plugin: streamer.sol
[12:56:49]   Loaded.

[12:56:49]  ===============================

[12:56:49]    © 2012 Alex "******" Cole  

[12:56:49]          Version:  2.8.1        

[12:56:49]       sscanf plugin loaded.     

[12:56:49]  ===============================

[12:56:49] 
[12:56:49]  Loading plugin: sscanf.so
[12:56:49]   Loaded.

*** Audio Plugin v0.5 R2 by Incognito loaded ***

[12:56:49] 
[12:56:49]  Loading plugin: audio.so
[12:56:49] --------------
[12:56:49] Server Plugins
[12:56:49] 

v0.3z, ©2005-2014 SA-MP Team
----------------------
SA-MP Dedicated Server

----------
Loaded log file: "server_log.txt".
----------

[12:54:56] [part] Christian_Ivann has left the server (0:1)
[12:54:48] [join] Christian_Ivann has joined the server (0:125.60.241.62)
[12:54:47] Incoming connection: 125.60.241.62:49769
[12:53:52] Number of vehicle models: 0
[12:53:52] Script[gamemodes/ASRP.amx]: Run time error 19: "File or function is not found"

[12:53:52]   Loaded 2 filterscripts.
[12:53:52]   Loading filterscript 'buttons.amx'...
[12:53:52]   Loading filterscript 'anims.amx'...
[12:53:52] ---------------
[12:53:52] Filterscripts
[12:53:52]
Reply
#6

Quote:
Originally Posted by ChristianIvann09
Посмотреть сообщение
Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3x-R2, ©2005-2013 SA-MP Team

[12:49:53] 
[12:49:53] Server Plugins
[12:49:53] --------------
[12:49:53]  Loading plugin: audio.dll
[12:49:53]   Failed (plugins/audio.dll: invalid ELF header)
[12:49:53]  Loading plugin: sscanf.dll
[12:49:53]   Failed (plugins/sscanf.dll: invalid ELF header)
[12:49:53]  Loading plugin: streamer.dll
[12:49:53]   Failed (plugins/streamer.dll: invalid ELF header)
[12:49:53]  Loading plugin: nativechecker.dll
[12:49:53]   Failed (plugins/nativechecker.dll: invalid ELF header)
[12:49:53]  Loaded 0 plugins.

[12:49:53] 
[12:49:53] Filterscripts
[12:49:53] ---------------
[12:49:53]   Loading filterscript 'anims.amx'...
[12:49:53]   Loading filterscript 'buttons.amx'...
[12:49:53]   Loaded 2 filterscripts.

[12:49:53] Script[gamemodes/ASRP.amx]: Run time error 19: "File or function is not found"
[12:49:53] Number of vehicle models: 0
https://sampforum.blast.hk/showthread.php?tid=285894
Reply
#7

Quote:
Originally Posted by Neonman
Посмотреть сообщение
and like this

Код:
[12:58:39] [part] Father_Ivann has left the server (0:1)
[12:58:33] [join] Father_Ivann has joined the server (0:125.60.241.62)
[12:58:31] Incoming connection: 125.60.241.62:54157
[12:57:55] [part] Christian_Ivann has left the server (0:1)
[12:57:46] [join] Christian_Ivann has joined the server (0:125.60.241.62)
[12:57:44] Incoming connection: 125.60.241.62:62231
[12:56:49] Number of vehicle models: 0
[12:56:49] Script[gamemodes/ASRP.amx]: Run time error 19: "File or function is not found"
[12:56:49]    Error: Function not registered: 'CreateDynamicSphere'
[12:56:49]    Error: Function not registered: 'DestroyDynamicMapIcon'
[12:56:49]    Error: Function not registered: 'IsValidDynamicMapIcon'
[12:56:49]    Error: Function not registered: 'SetDynamicObjectPos'
[12:56:49]    Error: Function not registered: 'IsValidDynamicObject'
[12:56:49]    Error: Function not registered: 'CountDynamicMapIcons'
[12:56:49]    Error: Function not registered: 'Streamer_TickRate'
[12:56:49]    Error: Function not registered: 'IsValidDynamic3DTextLabel'
[12:56:49]    Error: Function not registered: 'SetDynamicObjectRot'
[12:56:49]    Error: Function not registered: 'GetDynamicObjectPos'
[12:56:49]    Error: Function not registered: 'AttachDynamicObjectToVehicle'
[12:56:49]    Error: Function not registered: 'CountDynamicObjects'
[12:56:49]    Error: Function not registered: 'CountDynamicPickups'
[12:56:49]    Error: Function not registered: 'CountDynamic3DTextLabels'
[12:56:49]    Error: Function not registered: 'CreateDynamicMapIcon'
[12:56:49]    Error: Function not registered: 'DestroyDynamic3DTextLabel'
[12:56:49]    Error: Function not registered: 'DestroyDynamicPickup'
[12:56:49]    Error: Function not registered: 'IsValidDynamicPickup'
[12:56:49]    Error: Function not registered: 'Streamer_Update'
[12:56:49]    Error: Function not registered: 'Streamer_UpdateEx'
[12:56:49]    Error: Function not registered: 'DestroyAllDynamicAreas'
[12:56:49]    Error: Function not registered: 'DestroyAllDynamicRaceCPs'
[12:56:49]    Error: Function not registered: 'DestroyAllDynamicMapIcons'
[12:56:49]    Error: Function not registered: 'DestroyAllDynamicCPs'
[12:56:49]    Error: Function not registered: 'DestroyAllDynamic3DTextLabels'
[12:56:49]    Error: Function not registered: 'DestroyAllDynamicPickups'
[12:56:49]    Error: Function not registered: 'DestroyAllDynamicObjects'
[12:56:49]    Error: Function not registered: 'MoveDynamicObject'
[12:56:49]    Error: Function not registered: 'IsPlayerInDynamicArea'
[12:56:49]    Error: Function not registered: 'CreateDynamic3DTextLabel'
[12:56:49]    Error: Function not registered: 'CreateDynamicPickup'
[12:56:49]    Error: Function not registered: 'DestroyDynamicObject'
[12:56:49]    Error: Function not registered: 'UpdateDynamic3DTextLabelText'
[12:56:49]    Error: Function not registered: 'CreateDynamicObject'
[12:56:49]    Error: Function not registered: 'Streamer_CallbackHook'

[12:56:49]   Loaded 2 filterscripts.
[12:56:49]   Loading filterscript 'buttons.amx'...
[12:56:49]   Loading filterscript 'anims.amx'...
[12:56:49] ---------------
[12:56:49] Filterscripts
[12:56:49] 

[12:56:49]  Loaded 3 plugins.
[12:56:49]   Loaded.
[12:56:49]  Loading plugin: nativechecker.so
[12:56:49]   Failed (plugins/streamer.sol: cannot open shared object file: No such file or directory)
[12:56:49]  Loading plugin: streamer.sol
[12:56:49]   Loaded.

[12:56:49]  ===============================

[12:56:49]    © 2012 Alex "******" Cole  

[12:56:49]          Version:  2.8.1        

[12:56:49]       sscanf plugin loaded.     

[12:56:49]  ===============================

[12:56:49] 
[12:56:49]  Loading plugin: sscanf.so
[12:56:49]   Loaded.

*** Audio Plugin v0.5 R2 by Incognito loaded ***

[12:56:49] 
[12:56:49]  Loading plugin: audio.so
[12:56:49] --------------
[12:56:49] Server Plugins
[12:56:49] 

v0.3z, ©2005-2014 SA-MP Team
----------------------
SA-MP Dedicated Server

----------
Loaded log file: "server_log.txt".
----------

[12:54:56] [part] Christian_Ivann has left the server (0:1)
[12:54:48] [join] Christian_Ivann has joined the server (0:125.60.241.62)
[12:54:47] Incoming connection: 125.60.241.62:49769
[12:53:52] Number of vehicle models: 0
[12:53:52] Script[gamemodes/ASRP.amx]: Run time error 19: "File or function is not found"

[12:53:52]   Loaded 2 filterscripts.
[12:53:52]   Loading filterscript 'buttons.amx'...
[12:53:52]   Loading filterscript 'anims.amx'...
[12:53:52] ---------------
[12:53:52] Filterscripts
[12:53:52]
Reply
#8

Hide your ip on logs...
Reply
#9

Код:
[12:56:49]   Failed (plugins/streamer.sol: cannot open shared object file: No such file or directory)
[12:56:49]  Loading plugin: streamer.sol
It must be streamer.so, not streamer.sol.
Reply
#10

Failed (plugins/streamer.sol: cannot open shared object file: No such file or directory)
[12:56:49] Loading plugin: streamer.sol

This needs to be streamer.so and then it should function properly.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)