SA-MP Forums Archive
Unkown - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Unkown (/showthread.php?tid=423919)



Unknown [Unanswered] - lexurs - 19.03.2013

I recently purchased a VPS and I use PuTTY for the samp server to run.. When I attempt to run it, [./samp03svr] it starts up... But not correctly. When I go to the sa-mp server list, it pops up, the name and map name.. The mode, though, is "Unknown". I haven't been able to successfully run this gamemode and it seems that no one else gets this error because I look for the answer everywhere, and nothing works. Can you help me?

Can I atleast get a suggestion if someone know 'what' might be wrong?


Re: Unkown - StuartD - 19.03.2013

You may be missing the correct plugins to run the server, Add a plugin called "Native Checker" which will tell you what you are missing for the server to run correctly.


Re : Unkown - thegreathom - 19.03.2013

When you start it, the gamemodes text is "Unknow"? But you have all others informations in your servers? Be sure you have :
pawn Код:
SetGameModeText("WWW.SA-MP.COM"); // Remplace it by your.
in
pawn Код:
public OnGameModeInit()
{
    return 1;
}
Correct me if I am wrong.


Re: Unkown - lexurs - 19.03.2013

I downloaded Nativechecker but it won't function because the only thing that pops up is this,

Here is the 'unknown' part,


Re : Unkown - thegreathom - 19.03.2013

Quote:

When you start it, the gamemodes text is "Unknow"? But you have all others informations in your servers? Be sure you have :
pawn Код:
SetGameModeText("WWW.SA-MP.COM"); // Remplace it by your.
in
pawn Код:
public OnGameModeInit()
{
    return 1;
}
Correct me if I am wrong.

.. I am pretty sure you don't have this line in your Gamemodes.


Re: Unkown - lexurs - 19.03.2013

What I currently see in the gamemode is

public OnGameModeInit()
{
AntiDeAMX();
// Default Rates (-200 Players)
SendRconCommand("onfoot_rate 40");
SendRconCommand("incar_rate 40");
SendRconCommand("weapon_rate 40");
SendRconCommand("stream_distance 250.0");
SendRconCommand("stream_rate 1000");
Streamer_TickRate(75);
/* Init gamemode */
djson_GameModeInit();

// TIMERS
/*scriptTimers[0] = SetTimer("severTimers", 1000, 1);
scriptTimers[1] = SetTimer("severTimers2", 1000, 1);
scriptTimers[2] = SetTimer("saveAccounts", 300000, 1);
scriptTimers[3] = SetTimer("VehicleUpdate", 10000, 1);
scriptTimers[4] = SetTimer("ServerMicrobeat", 250, 1);
scriptTimers[5] = SetTimer("SyncUp", 60000, 1);
scriptTimers[6] = SetTimer("Mensajes", 600000, 1);
scriptTimers[7] = SetTimer("EMSUpdate", 5000, 1);
scriptTimers[8] = SetTimer("playerTabbedLoop", 600000,1);
scriptTimers[9] = SetTimer("SpecUpdate", 5000, 1);
scriptTimers[10] = SetTimer("Anticheat", 1000, 1);*/
SendRconCommand("mapname San Andreas");
SendRconCommand("weburl arconyarp.latinforos.es");
SendRconCommand("gamemodetext Role Play Espaсol ");
new servergmtextstr[64]; // DO NOT REMOVE THIS
format(servergmtextstr, 64, "hostname *Arconya City RolePlay [Espaсol][0.3x]* ", SERVER_GM_TEXT); // DO NOT REMOVE THIS
SendRconCommand(servergmtextstr); // DO NOT REMOVE THIS


EDIT: It seems to be the gamemode because I tried the GM that the files bring already ,'bare' , and it works..


Re : Unkown - thegreathom - 19.03.2013

pawn Код:
SendRconCommand("gamemodetext Role Play Espaсol ");
new servergmtextstr[64]; // DO NOT REMOVE THIS
format(servergmtextstr, 64, "hostname *Arconya City RolePlay [Espaсol][0.3x]* ", SERVER_GM_TEXT);
SendRconCommand(servergmtextstr);
Why you use it, and you can simply use? :
pawn Код:
SetGameModeText(" Role Play Espaсol "); // Remplace it by your.



Re: Unkown - NathNathii - 19.03.2013

The plugins i sent you should work


Re: Unkown - lexurs - 20.03.2013

Thanks for the help, I fixed it by editing the plugin files.