Unknown Gamemode help
#1

Hello, My server was working well, I compiled the gamemode after editing it (No errors and no warnings), Then uploaded it, And restarted the server, Then the gamemode became "Unknown".
I checked everything, plugins and server.cfg, Nothing is wrong.
It shows "Unkown" only when i run it on the host, But in localhost (my computer), It works well.

Can someone help me ? How can i fix it ?
Reply
#2

do you use the plugins?
Reply
#3

How about checking the server_log?
Reply
#4

Quote:
Originally Posted by FeniX70
View Post
do you use the plugins?
Yes i use them.


Quote:
Originally Posted by Runn3R
View Post
How about checking the server_log?
Wait, I'm downloading it on my PC from the host..




Here is my server.cfg
Code:
echo Executing Server Config...
lanmode 0
rcon_password uWillneverkNowIt59
maxplayers 30
port 7773
hostname Mafia Server (Coming Soon!!)
gamemode0 BB
filterscripts adminspec
plugins sscanf.so
announce 1
query 1
chatlogging 0
weburl Coming.Soon
maxnpc 1
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
mapname San Fierro
password changedIt
Reply
#5

If it's a linux host, you need to add .so at the end of the plugins and make sure they're linux compatible.
Reply
#6

Quote:
Originally Posted by BleverCastard
View Post
If it's a linux host, you need to add .so at the end of the plugins and make sure they're linux compatible.
How can i know if it is linux or not ?
Reply
#7

Quote:
Originally Posted by aCloudy
View Post
How can i know if it is linux or not ?
Ask the company that's hosting your server.
Reply
#8

if the samp_server in you host isn't a '.exe' its a linux probably a CentOS
Reply
#9

Quote:
Originally Posted by Runn3R
View Post
if the samp_server in you host isn't a '.exe' its a linux probably a CentOS
There is no "samp_server" in my server file, I start it on the host website.
Reply
#10

Then samp03svr? If it is it's a linux.
Reply
#11

Quote:
Originally Posted by Runn3R
View Post
Then samp03svr? If it is it's a linux.
No, samp03svr is not exe, But before, I typed in server.cfg > plugins .so, And it was working, Now you're telling me only linux must be .so
Reply
#12

Sorry for this bump, But help me please!
Reply
#13

You didn't post the server_log yet..
Reply
#14

Quote:
Originally Posted by Runn3R
View Post
You didn't post the server_log yet..
The log size is huge, I tried to open it, But (Not responding) for long time.

Can you tell me the reasons of having "Unknown Gamemode" ?
Reply
#15

Delete the server_log then restart the server and the log should be smaller size.
Reply
#16

Quote:
Originally Posted by aCloudy
View Post
The log size is huge, I tried to open it, But (Not responding) for long time.

Can you tell me the reasons of having "Unknown Gamemode" ?
Runn3R is trying to help you but you're not listening. If you continue to ignore him, others just won't help you anymore. So be a good little boy andpost the server log like Runn3R said so he can help you. I refuse to help people like you anymore.
Reply
#17

Quote:
Originally Posted by aCloudy
View Post
Can you tell me the reasons of having "Unknown Gamemode" ?
That your gamemode isn't loaded.

Quote:
Originally Posted by aCloudy
View Post
The log size is huge, I tried to open it, But (Not responding) for long time.
If it's huge, it means you haven't resetted it in a long time, you have to reset it once in a while so it doesn't get that huge.
Just delete it, run your server, and then it will generate a new log, then show that here.
Reply
#18

Change your server.cfg to this:

Code:
echo Executing Server Config...
lanmode 0
rcon_password uWillneverkNowIt59
maxplayers 30
port 7773
hostname Mafia Server (Coming Soon!!)
gamemode0 BB 1
filterscripts adminspec
plugins sscanf.so
announce 1
query 1
chatlogging 0
weburl Coming.Soon
maxnpc 1
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
mapname San Fierro
password changedIt
__________________



Please +1 rep if I helped.
Reply
#19

That happened to me, turned out I was missing a plugin. Make sure you have all required plugins and includes for the gamemode, for me I had to download streamer.so, it may be the same for you, but it may not.
Reply
#20

Sorry for the too late answer.
This is the log when i started my server:

This is what i use:
HTML Code:
#include <a_samp>
#include <zcmd>
#include <streamer>
#include <sscanf2>
#include <foreach>
Code:
----------
Loaded log file: "server_log.txt".
----------

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

[04:06:49] 
[04:06:49] Server Plugins
[04:06:49] --------------
[04:06:49]  Loading plugin: sscanf.so
[04:06:49] 

[04:06:49]  ===============================

[04:06:49]       sscanf plugin loaded.     

[04:06:49]    © 2009 Alex "Y_Less" Cole

[04:06:49]  ===============================

[04:06:49]   Loaded.
[04:06:49]  Loaded 1 plugins.

[04:06:50] 
[04:06:50] Ban list
[04:06:50] --------
[04:06:50]  Loaded: samp.ban
[04:06:50] 
[04:06:50] 
[04:06:50] Filterscripts
[04:06:50] ---------------
[04:06:50]   Loading filterscript 'adminspec.amx'...
[04:06:50]   Loaded 1 filterscripts.

[04:06:50] Script[gamemodes/BB.amx]: Run time error 19: "File or function is not found"
[04:06:50] Number of vehicle models: 0
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)