SA-MP Forums Archive
Problem in HostName - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Problem in HostName (/showthread.php?tid=607098)



Problem in HostName - gheibi - 14.05.2016

Hello everyone
i just downloaded a GameMod but when I open it with my own computer (By samp-server.exe) , the hostname didn't changed to my own hostname that i wrote in server.cfg and the name of server is the name of the gamemod.
it's right in Mode too.
plz help me!


Re: Problem in HostName - Eymeric69 - 14.05.2016

there is a fonction in the gamemode for change hostname i dont know how he is called


Re: Problem in HostName - gheibi - 14.05.2016

for example this gamemod :
https://sampforum.blast.hk/showthread.php?tid=531000


Re: Problem in HostName - Smithy - 14.05.2016

Search for the hostname by searching "#define SERVER_NAME" in the .pwn


Re: Problem in HostName - gheibi - 14.05.2016

There isn't #define SERVER_NAME in the pwn file!!


Re: Problem in HostName - Smithy - 14.05.2016

What's the hostname it's coming up with?


Re: Problem in HostName - gheibi - 14.05.2016

really it's in another gamemod but in that like this i cant find that function

it coming up with Iran At War (proogaming.ir)


Re: Problem in HostName - Sew_Sumi - 14.05.2016

Quote:
Originally Posted by Harold
Посмотреть сообщение
Search for the hostname by searching "#define SERVER_NAME" in the .pwn
Just because some scripters use that as a method, doesn't mean all of them do.

It's actually a very unused method, but should be used a LOT more. It can do so much, and yet make it easier for an end-user to simply pick up the script and get it customized for themselves relatively quickly.


Re: Problem in HostName - Smithy - 16.05.2016

Quote:
Originally Posted by Sew_Sumi
Посмотреть сообщение
Just because some scripters use that as a method, doesn't mean all of them do.

It's actually a very unused method, but should be used a LOT more. It can do so much, and yet make it easier for an end-user to simply pick up the script and get it customized for themselves relatively quickly.
Never said it was 100% there, was just a suggestion to search!


Re: Problem in HostName - Sew_Sumi - 16.05.2016

Quote:
Originally Posted by Harold
Посмотреть сообщение
Never said it was 100% there, was just a suggestion to search!
As mentioned, the RCON command for changing the hostname would've been better to "search" for...