SA-MP Forums Archive
Connect to localhost - 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: Connect to localhost (/showthread.php?tid=514207)



Connect to localhost - Le3aT - 20.05.2014

I got 2 questions:

First Question:

Do i have to have a port to connect to the local host ?

Second Question:

My friend gets an error when he gets in his local host, It says Trying to join or sth like that, and never starts.


Re: Connect to localhost - Matess - 20.05.2014

127.0.0.1:7777 should be default.


Re: Connect to localhost - Diverse - 20.05.2014

1. No you don't.

2. Tell him to send you his server_log.txt, and then reply here.


Re: Connect to localhost - Le3aT - 20.05.2014

Quote:

1. No you don't.

2. Tell him to send you his server_log.txt, and then reply here.

1. I think the problem is from my debug also launching the debug isn't working, What to do ?

2. alright.


Re: Connect to localhost - Le3aT - 20.05.2014

Quote:

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

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

[07:00:48]
[07:00:48] Server Plugins
[07:00:48] --------------
[07:00:48] Loaded 0 plugins.

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

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

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

[07:00:49]
[07:00:49] Server Plugins
[07:00:49] --------------
[07:00:49] Loaded 0 plugins.

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

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

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

[07:00:49]
[07:00:49] Server Plugins
[07:00:49] --------------
[07:00:49] Loaded 0 plugins.

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

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

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

[07:00:49]
[07:00:49] Server Plugins
[07:00:49] --------------
[07:00:49] Loaded 0 plugins.

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

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

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

[07:00:52]
[07:00:52] Server Plugins
[07:00:52] --------------
[07:00:52] Loaded 0 plugins.

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

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

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

[07:01:29]
[07:01:29] Server Plugins
[07:01:29] --------------
[07:01:29] Loaded 0 plugins.

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

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

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

[07:01:34]
[07:01:34] Server Plugins
[07:01:34] --------------
[07:01:34] Loaded 0 plugins.

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

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

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

[07:02:19]
[07:02:19] Server Plugins
[07:02:19] --------------
[07:02:19] Loaded 0 plugins.

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

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

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

[07:02:49]
[07:02:49] Server Plugins
[07:02:49] --------------
[07:02:49] Loaded 0 plugins.

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

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

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

[14:02:43]
[14:02:43] Server Plugins
[14:02:43] --------------
[14:02:43] Loaded 0 plugins.

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

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

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

[14:02:46]
[14:02:46] Server Plugins
[14:02:46] --------------
[14:02:46] Loaded 0 plugins.

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

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

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

[14:05:23]
[14:05:23] Server Plugins
[14:05:23] --------------
[14:05:23] Loaded 0 plugins.

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

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

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

[14:05:26]
[14:05:26] Server Plugins
[14:05:26] --------------
[14:05:26] Loaded 0 plugins.

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

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

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

[14:05:36]
[14:05:36] Server Plugins
[14:05:36] --------------
[14:05:36] Loaded 0 plugins.

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

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

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

[14:16:23]
[14:16:23] Server Plugins
[14:16:23] --------------
[14:16:23] Loaded 0 plugins.

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

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

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

[14:20:37]
[14:20:37] Server Plugins
[14:20:37] --------------
[14:20:37] Loaded 0 plugins.

[14:20:37]
[14:20:37] Filterscripts
[14:20:37] ---------------
[14:20:37] Loaded 0 filterscripts.

[14:20:37] Hey man how are you
[14:20:37] Number of vehicle models: 0

(4char)


Re: Connect to localhost - iAnonymous - 20.05.2014

Listen
You run samp-server.exe alright ?
Now you enter 127.0.0.1 in your SA-MP.exe
Now connect to the server and you will be able to play ALONE in your server .

If you want your friends to play with you then you will have to forward your desired port from your router's settings or Contact your ISP so that they might help you .
Other then that you can simply check out ****** and www.portforwarding.com and check the instructions for your desired router
I hope this helps !


Re: Connect to localhost - Konstantinos - 20.05.2014

Quote:

I couldn't load any gamemode scripts. Please verify your server.cfg
It needs a gamemode0 line at the very least.

The gamemode he's trying to load doesn't exist. Is your friend sure that he compiled the gamemode so he can get the .amx file?

The localhost will work if samp-server.exe is running and it's not like the above case (without giving run time error).