Problem in HostName
#1

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!
Reply
#2

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

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

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

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

What's the hostname it's coming up with?
Reply
#7

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)
Reply
#8

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.
Reply
#9

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!
Reply
#10

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...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)