ElitesHost Forums

Full Version: How to Fix UNKNOWN Gamemode
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2

Renzkie

Always Check Server.cfg and server.log.txt
Change the Plugins line in server.cfg if its uknown 
.so For linux Plugins .dll for Windows Plugins 
Linux Files must be like this 

echo Executing Server Config...

lanmode 0
rcon_password changedforisaac
maxplayers 32
port 7782
hostname Shallow Roleplay[Hiring] 
gamemode0 SRP 1
filterscripts Maping PlayerInteriors PlayerExteriors yom_buttons vactions Server 
announce 1
query 1
chatlogging 0
mapname San Andreas
weburl http://www.bloogaming.tk
plugins mysql.so whirlpool.so streamer.so sscanf.so nativechecker.so crashdetect.so
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
logtimeformat [%H:%M:%S]


For Windows Files Must be like this
echo Executing Server Config...

lanmode 0
rcon_password changedforisaac
maxplayers 32
port 7782
hostname Shallow Roleplay[Hiring] 
gamemode0 SRP 1
filterscripts Maping PlayerInteriors PlayerExteriors yom_buttons vactions Server 
announce 1
query 1
chatlogging 0
mapname San Andreas
weburl http://www.bloogaming.tk
plugins mysql.dll whirlpool.dll streamer.dll sscanf.dll nativechecker.dll crashdetect.dll
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
logtimeformat [%H:%M:%S]

IF this tutorial didn't work , try to change the gamemode0 line
gamemode0 [Put your Gamemode file name here that will be seen in gamemode folder]

+1 REP If this tut. helped you .

Dont forger to add my facebook account
http://www.facebook.com/cjfusilero6

Manman1232163

I was actually going to say that, lel, I always got this but Smile thanks anyways

Pawno

Nice Tut. good for newbie.

alterego

Nice tut. Good for newbies.

Can I add something?
There are times when the .amx compiles incompletely and that's also a problem. It says no problem but it still doesn't work, it might work on your desktop/laptop but in some cases especially when it is already uploaded on a hosting server it won't work. They should really try to check before uploading the .amx since sometimes that's the problem. Smile

[EDITED]either they need the native checker.dll to check maybe their .dll on plugins and .inc on pawn does not work well together or maybe they need to recompile their .pwn with an updated includes and libpawnc.dll.

That was my problem with my old EHN and I asked people for support and I was given that tip. So I'd be happy to share what was shared to me as well. Smile

ZuZu

Nice tutorial Good for newbies.
But.. In pawno is possible to other problems cause 'unknown Gamemode', anyway, nice work.

KidPlaySamp

I dont think people cant doo this xD

JohnTurbo

here you are

1- check if your gamemode runs with MySQL then you must check if your gamemode connected suesscfully to the Database but make sure that you have created an Database at first
2- check your OnGameModeInit if you have did something wrong on the script and make sure that all requeried files is exist (Ex: scriptfiles/ZM/save/what ever your Files.....)
3- make sure that you have uploaded all your requeried Plugins (.so if you are using Linux Hosting/.dll if you are using Windows Hosting) and make sure that you have verfied them too near to 'plugins' line on your server.cfg and check your server.log everytime to be sure that there is no any proplem and use crashdetect plugin to detect the proplems if your server crashed or what ever any proplem has appeared
4- make sure that you have uploaded your 'pawno/includes' folder if you are using Windows Hosting Only (not needed on Linux)
5- make sure that you have loaded all the plugins that you have used its functions( native blabla(playerid); ) or simply use nativechecker plugin to check if there is any function(native) you have used and it has no usage of effect of what ever script.
6- Make sure your script compiles well on your PC & not showing any errors on starting.

- if you have tried all of my methods and your server still with unknown gamemode then please feel free to pm me your server.log and your proplems and let me help you Big Grin

Aby

Nice Tutorial!

Pawno

Very Good.. Keep it up Bro and good for new Server owner here.

Sentinel

Nice Tutorial !
Pages: 1 2