SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 02/10/2017, 06:40 AM   #1
Oldyman
Little Clucker
 
Join Date: Feb 2014
Posts: 38
Reputation: 2
Default Server cannot identify the gamemode

Greetings,
To start off i am using a VPS i purchased to host my SA-MP server, the VPS uses Linux Ubuntu, and my server uses MySQL, at first i was unable to connect to the database i purchased but i managed to fix that by contacting the host, everything works perfectly when running it on window using the same stuff that i am looking to use on my VPS

When i transfered the files to the VPS after successfully testing my script on my window, the server starts but it doesn't identify the gamemode meaning that the server starts with no gamemode

* Server.cfg is configured and perfect
* Gamemode has no errors
* Database is correct & operating
* Edited the gamemode permissions in VPS to 777

Plugins that i am using
* crashdetect.dll
* mysql.dll
* mysql.pdb
* nativechecker.dll
* sscanf.dll
* streamer.dll
* Whirlpool.dll


Again everything works perfectly on windows but not on Linux for some reason the cmd that i used to activate the server ./samp03svr &
__________________
Don't forget to REP Me!
Oldyman is offline   Reply With Quote
Old 02/10/2017, 06:42 AM   #2
AzaMx
Huge Clucker
 
Join Date: Aug 2014
Location: Home.
Posts: 334
Reputation: 63
Default Re: Server cannot identify the gamemode

For linux, you should use .so plugins.
If theres any error in server_log, please share.
AzaMx is offline   Reply With Quote
Old 02/10/2017, 06:56 AM   #3
Oldyman
Little Clucker
 
Join Date: Feb 2014
Posts: 38
Reputation: 2
Default Re: Server cannot identify the gamemode

links to find the stated .so plugins?
__________________
Don't forget to REP Me!
Oldyman is offline   Reply With Quote
Old 02/10/2017, 07:00 AM   #4
Zeth
Huge Clucker
 
Zeth's Avatar
 
Join Date: Feb 2017
Location: Titan
Posts: 431
Reputation: 114
Default Re: Server cannot identify the gamemode

.so (linux) version of the plugins can be find in their respective threads or simply use 'search' tool or G00gle it.
It would be much better if you can show your server.log
Zeth is offline   Reply With Quote
Old 02/10/2017, 07:04 AM   #5
Oldyman
Little Clucker
 
Join Date: Feb 2014
Posts: 38
Reputation: 2
Default Re: Server cannot identify the gamemode

Clearly plugins for now let me try and tell you what happens
__________________
Don't forget to REP Me!
Oldyman is offline   Reply With Quote
Old 02/10/2017, 07:33 AM   #6
Oldyman
Little Clucker
 
Join Date: Feb 2014
Posts: 38
Reputation: 2
Default Re: Server cannot identify the gamemode

Downloaded all the needed .so plugins and edit the config file, but got the following error on the logs
*** Streamer Plugin: CreateDynamicObject: Expecting 12 parameter(s), but found 11
[02:26:49] *** Streamer Plugin: Streamer_SetVisibleItems: Expecting 3 parameter(s), but found 2
[02:26:49] Loaded 5 filterscripts.

[02:26:50] *** Streamer Plugin: Include file version (0x26105) does not match plugin version (0x277001) (script might need to be recompiled with the latest include file)
[02:26:50] AMX (154101384) loaded
[02:26:50] Script[gamemodes/gamemode.amx]: Run time error 19: "File or function is not found"
[
__________________
Don't forget to REP Me!
Oldyman is offline   Reply With Quote
Old 02/10/2017, 07:36 AM   #7
Oldyman
Little Clucker
 
Join Date: Feb 2014
Posts: 38
Reputation: 2
Default Re: Server cannot identify the gamemode

==

[02:19:10] Loaded.
[02:19:10] Loading plugin: streamer.so
[02:19:10]

*** Streamer Plugin v2.7.7 by Incognito loaded ***

[02:19:10] Loaded.
[02:19:10] Loading plugin: mysql.so
[02:19:10] Failed (libmysqlclient.so.18: cannot open shared object file: No such file or directory)
[02:19:10] Loading plugin: Whirlpool.so
[02:19:10]
[02:19:10] ==================
[02:19:10]
[02:19:10] Whirlpool loaded
[02:19:10]
[02:19:10] ==================
[02:19:10]
[02:19:10] Loaded.
[02:19:10] Loaded 3 plugins.

[02:19:10]
[02:19:10] Ban list
[02:19:10] --------
[02:19:10] Loaded: samp.ban
[02:19:10]
[02:19:10]
[02:19:10] Filterscripts
[02:19:10] ---------------
[02:19:10] Loading filterscript 'yom_buttons.amx'...
[02:19:10] *** Streamer Plugin: Include file version (0x26105) does not match plugin version (0x277001) (script might need to be recompiled with the latest include file)
[02:19:10] AMX (165472000) loaded
[02:19:10] Loading filterscript 'vactions.amx'...
[02:19:10] AMX (159590024) loaded
[02:19:10] Loading filterscript 'Server.amx'...
[02:19:10] *** Streamer Plugin: Include file version (0x26105) does not match plugin version (0x277001) (script might need to be recompiled with the latest include file)
[02:19:10] AMX (15959020 loaded
[02:19:10] *** Streamer Plugin: CreateDynamicObject: Expecting 12 parameter(s), but found 11
[02:19:10] *** Streamer Plugin: CreateDynamicObject: Expecting 12 parameter(s), but found 11
[02:19:10] *** Streamer Plugin: CreateDynamicObject: Expecting 12 parameter(s), but found 11
__________________
Don't forget to REP Me!
Oldyman is offline   Reply With Quote
Old 02/10/2017, 07:46 AM   #8
biker122
Gangsta
 
Join Date: Feb 2014
Posts: 766
Reputation: 59
Default Re: Server cannot identify the gamemode

You need to install MySQL libraries for it to run or simply use mysql_static.so (of your version) which includes itself a library and on the other side, your streamer plugin doesn't match the streamer include version used in the gamemode. Consider compiling the gamemode with proper version of streamer include.
__________________
k
biker122 is offline   Reply With Quote
Old 02/10/2017, 07:56 AM   #9
Oldyman
Little Clucker
 
Join Date: Feb 2014
Posts: 38
Reputation: 2
Default Re: Server cannot identify the gamemode

1) Is tHIS the one you are talking about? and shall i include it in the cfg file?
2) as for the Streamer plugins, i should only compile my gamemode again with the streamer plugin that i installed
rite?
@biker122
__________________
Don't forget to REP Me!
Oldyman is offline   Reply With Quote
Old 02/10/2017, 08:37 AM   #10
Oldyman
Little Clucker
 
Join Date: Feb 2014
Posts: 38
Reputation: 2
Default Re: Server cannot identify the gamemode

Please give me a little bit of a detailed answer due to my lack of knowledge
__________________
Don't forget to REP Me!
Oldyman is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Identify Player... introzen Scripting Help 6 02/12/2017 08:52 PM
IRC Bot Identify? Blackazur Scripting Help 10 07/03/2014 07:10 PM
Object identify Lidor124 Scripting Help 0 02/03/2014 02:51 PM
ns identify Chiao Scripting Help 3 10/09/2013 08:37 AM
How to identify Fernado Samuel Server Support 18 04/04/2013 04:03 AM


All times are GMT. The time now is 07:36 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.