SA-MP Forums Archive
[Ajuda] Sobre GM - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Sobre GM (/showthread.php?tid=396675)



Sobre GM - sofina - 01.12.2012

Tipo eu jб olhei vбrios tutoriais no ******* e tal, mais sempre da o mesmo erro nгo sei porque.
Eu vou tentar criar um GM do zero, faзo tudo igual mais quando eu tento abrir o emulador ele simplesmente abre e fecha em questгo de milйsimos. Alguйm sabe o porque?



Re : Sobre GM - ipsBruno - 01.12.2012

Se for a tela preta, o motivo estб em server_log.txt

Poste ele aqui!


Re: Sobre GM - sofina - 01.12.2012

Mais nгo aparece nada, quando abro o emulador o mesmo simplesmente fecha sozinho, como falei acima.

Eu fiz igual o tutorial do cara, e o dele deu certo.


Код:
#include <a_samp>

{
	// Don't use these lines if it's a filterscript
	SetGameModeText("larpg");
	AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
	return 1;
}



Re : Sobre GM - ipsBruno - 01.12.2012

PHP код:
#include <a_samp>
main()
{
    
// Don't use these lines if it's a filterscript
    
SetGameModeText("larpg");
    
AddPlayerClass(01958.37831343.157215.3746269.1425000000);
    return 
1;

Pressiona F5 e abre sampserver.exe


Re: Sobre GM - steki. - 01.12.2012

Vocк provavelmente nгo mudou a senha RCON, ou nгo configurou algum gamemode.


Re: Sobre GM - sofina - 01.12.2012

@ipsBruno Eu coloquei igual vocк colocou ai, mais continua do mesmo jeito.

@Stewie Cara, o GM й novo vou cria-lo do zero, e jб mudei a senha da rcon vбrias vezes.


Re : Sobre GM - ipsBruno - 01.12.2012

Emulador vocк se refere а abrir a tela preta samp_server.exe ou clicar em compilar quando se tem o cуdigo?


Posta serveR_log.txt


Re: Sobre GM - sofina - 01.12.2012

Me refiro ao emulador.

Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3e-R2, ©2005-2012 SA-MP Team

[10:43:47] filterscripts = ""  (string)
[10:43:47] 
[10:43:47] Server Plugins
[10:43:47] --------------
[10:43:47]  Loaded 0 plugins.

[10:43:47] I couldn't load any gamemode scripts. Please verify your server.cfg
[10:43:47] It needs a gamemode0 line at the very least.

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

SA-MP Dedicated Server
----------------------
v0.3e-R2, ©2005-2012 SA-MP Team

[10:43:52] filterscripts = ""  (string)
[10:43:52] 
[10:43:52] Server Plugins
[10:43:52] --------------
[10:43:52]  Loaded 0 plugins.

[10:43:52] I couldn't load any gamemode scripts. Please verify your server.cfg
[10:43:52] It needs a gamemode0 line at the very least.

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

SA-MP Dedicated Server
----------------------
v0.3e-R2, ©2005-2012 SA-MP Team

[10:44:01] filterscripts = ""  (string)
[10:44:01] 
[10:44:01] Server Plugins
[10:44:01] --------------
[10:44:01]  Loaded 0 plugins.

[10:44:01] I couldn't load any gamemode scripts. Please verify your server.cfg
[10:44:01] It needs a gamemode0 line at the very least.

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

SA-MP Dedicated Server
----------------------
v0.3e-R2, ©2005-2012 SA-MP Team

[10:44:47] filterscripts = ""  (string)
[10:44:47] 
[10:44:47] Server Plugins
[10:44:47] --------------
[10:44:47]  Loaded 0 plugins.

[10:44:47] I couldn't load any gamemode scripts. Please verify your server.cfg
[10:44:47] It needs a gamemode0 line at the very least.

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

SA-MP Dedicated Server
----------------------
v0.3e-R2, ©2005-2012 SA-MP Team

[10:44:48] filterscripts = ""  (string)
[10:44:48] 
[10:44:48] Server Plugins
[10:44:48] --------------
[10:44:48]  Loaded 0 plugins.

[10:44:48] I couldn't load any gamemode scripts. Please verify your server.cfg
[10:44:48] It needs a gamemode0 line at the very least.

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

SA-MP Dedicated Server
----------------------
v0.3e-R2, ©2005-2012 SA-MP Team

[10:55:46] filterscripts = ""  (string)
[10:55:46] Error: Your password must be changed from the default password, please change it.

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

SA-MP Dedicated Server
----------------------
v0.3e-R2, ©2005-2012 SA-MP Team

[10:57:09] Error: Your password must be changed from the default password, please change it.

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

SA-MP Dedicated Server
----------------------
v0.3e-R2, ©2005-2012 SA-MP Team

[10:57:10] Error: Your password must be changed from the default password, please change it.

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

SA-MP Dedicated Server
----------------------
v0.3e-R2, ©2005-2012 SA-MP Team

[10:57:11] Error: Your password must be changed from the default password, please change it.

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

SA-MP Dedicated Server
----------------------
v0.3e-R2, ©2005-2012 SA-MP Team

[11:21:58] filterscripts = ""  (string)
[11:21:58] Error: Your password must be changed from the default password, please change it.

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

SA-MP Dedicated Server
----------------------
v0.3e-R2, ©2005-2012 SA-MP Team

[11:22:01] filterscripts = ""  (string)
[11:22:01] Error: Your password must be changed from the default password, please change it.

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

SA-MP Dedicated Server
----------------------
v0.3e-R2, ©2005-2012 SA-MP Team

[11:22:02] filterscripts = ""  (string)
[11:22:02] Error: Your password must be changed from the default password, please change it.

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

SA-MP Dedicated Server
----------------------
v0.3e-R2, ©2005-2012 SA-MP Team

[11:22:02] filterscripts = ""  (string)
[11:22:02] Error: Your password must be changed from the default password, please change it.

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

SA-MP Dedicated Server
----------------------
v0.3e-R2, ©2005-2012 SA-MP Team

[11:22:03] filterscripts = ""  (string)
[11:22:03] Error: Your password must be changed from the default password, please change it.

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

SA-MP Dedicated Server
----------------------
v0.3e-R2, ©2005-2012 SA-MP Team

[18:04:48] gamemode0 = ""  (string)
[18:04:48] filterscripts = ""  (string)
[18:04:48] Error: Your password must be changed from the default password, please change it.

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

SA-MP Dedicated Server
----------------------
v0.3e-R2, ©2005-2012 SA-MP Team

[18:10:02] filterscripts = ""  (string)
[18:10:02] Error: Your password must be changed from the default password, please change it.

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

SA-MP Dedicated Server
----------------------
v0.3e-R2, ©2005-2012 SA-MP Team

[18:10:03] filterscripts = ""  (string)
[18:10:03] Error: Your password must be changed from the default password, please change it.

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

SA-MP Dedicated Server
----------------------
v0.3e-R2, ©2005-2012 SA-MP Team

[18:10:11] filterscripts = ""  (string)
[18:10:11] Error: Your password must be changed from the default password, please change it.

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

SA-MP Dedicated Server
----------------------
v0.3e-R2, ©2005-2012 SA-MP Team

[18:10:27] filterscripts = ""  (string)
[18:10:27] 
[18:10:27] Server Plugins
[18:10:27] --------------
[18:10:27]  Loaded 0 plugins.

[18:10:27] I couldn't load any gamemode scripts. Please verify your server.cfg
[18:10:27] It needs a gamemode0 line at the very least.

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

SA-MP Dedicated Server
----------------------
v0.3e-R2, ©2005-2012 SA-MP Team

[18:10:32] filterscripts = ""  (string)
[18:10:32] 
[18:10:32] Server Plugins
[18:10:32] --------------
[18:10:32]  Loaded 0 plugins.

[18:10:32] I couldn't load any gamemode scripts. Please verify your server.cfg
[18:10:32] It needs a gamemode0 line at the very least.

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

SA-MP Dedicated Server
----------------------
v0.3e-R2, ©2005-2012 SA-MP Team

[18:10:33] filterscripts = ""  (string)
[18:10:33] 
[18:10:33] Server Plugins
[18:10:33] --------------
[18:10:33]  Loaded 0 plugins.

[18:10:33] I couldn't load any gamemode scripts. Please verify your server.cfg
[18:10:33] It needs a gamemode0 line at the very least.
Caso precise do Server.cfg

Код:
echo Executing Server Config...
lanmode 0
rcon_password vtnc
maxplayers 50
port 7777
hostname SA-MP 0.3 Server
gamemode0 larpg
filterscripts 
announce 0
query 1
weburl 
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 10
logtimeformat [%H:%M:%S]



Re: Re : Sobre GM - Schocc - 01.12.2012

Quote:
Originally Posted by ipsBruno
Посмотреть сообщение
PHP код:
#include <a_samp>
main()
{
    
// Don't use these lines if it's a filterscript
    
SetGameModeText("larpg");
    
AddPlayerClass(01958.37831343.157215.3746269.1425000000);
    return 
1;

Pressiona F5 e abre sampserver.exe
pra caregar um script como gamemode

й sу isso mesmo que precisa?
main()
SetGameModeText
e AddPlayerClass

?


Re: Re : Sobre GM - Rodney Francalim - 01.12.2012

Quote:
Originally Posted by Schocc
Посмотреть сообщение
pra caregar um script como gamemode

й sу isso mesmo que precisa?
main()
SetGameModeText
e AddPlayerClass

?
main()
OnGameModeInit()