• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Windows How to name website to example.mine.nu

andii95

New Member
Joined
Aug 21, 2009
Messages
413
Reaction score
2
Location
Sweden
ive already created a hostname and then ive made a Gesior ACC and i got a website that called like my ip adress. but how do i change it to mine.nu instead of my ip adress??
 
Last edited:
ive already created a hostname and then ive made a Gesior ACC and i got a website that called like my ip adress. but how do i change it to mine.nu instead of my ip adress??
 
go to config.lua
change
serverName = ""
and in the "" put your server name
example:
serverName = "example.mine.nu"

Repp me if it helped.
 
Last edited:
hmm...

But if i write in ip="hiho.no-ip.org" and i start the Server everybody can login and play.

after a huge of time

when the Internetprovider give me a new ip. (online ip changed from 128.324.2.12 to 12.232.232.2) and my router send it to no-ip.org and change there the ip to the new one, so 12.232.232.2.(so nslookup hiho.no-ip.org is 12.232.232.2 also correct)but the players cant login. tibia error 10060

if they want to login they see there "characters choosing window" but if they click enter to play there comes the error (10060) why?
 
Last edited:
hmm...

But if i write in ip="hiho.no-ip.org" and i start the Server everybody can login and play.

after a huge of time

when the Internetprovider give me a new ip. (online ip changed from 128.324.2.12 to 12.232.232.2) and my router send it to dyndns.org and change there the ip to the new one.(so nslookup hiho.no-ip.org is correct) the players cant login. tibia error 10060

if they want to login they see there characters but if they click enter to play there comes the error (10060) why?
add in the DUC, to run these commands each time it notices a new IP,
taskkill "otserv.exe"
start "" "File\to\otserv\otserv.exe"
 
So you think the Server didnt registrate that hiho.no-ip.org is available under the new ip?

So i have to shutdown the Server "hardcore" like? with taskkill? so that he didnt save the files?
 
So you think the Server didnt registrate that hiho.no-ip.org is available under the new ip?

So i have to shutdown the Server "hardcore" like? with taskkill? so that he didnt save the files?
programm this into your OTServ,
in game.h:
Code:
void runQuitAndWait()
{
setGameState(GAME_STATE_SHUTDOWN);
for (i=0; i < 99999; i++)
{
//hack.. lol
}
}
under loading (somwhere in otserv.cpp under int main)
Code:
atexit(g_game.runQuitAndWait());
AND USE TASKKILL WITHOUT FORCE!
(use:
taskkill /im "otserv.exe"
Do NOT use:
taskkill /im "otserv.exe" /f
)
 
if i understand that right:

if i use the command taskkill /im "otserv.exe", WITHOUT using your Sourcecode, the Server ask me "Do you really want shutdown the Server? choose yes or no" So it wouldn't be easier to give the Server a parameter for automaticly choosing "yes" that he shutdown normally?

Because i dont understand your Sourcecode:

void runQuitAndWait()
{
setGameState(GAME_STATE_SHUTDOWN);
for (i=0; i < 99999; i++)
{
//hack.. lol
}
}

Its an empty For-Loop that need time because the high Integer "999999", so your idea was that he shutdown a little bid time after ip change that he make a Serversave automaticly (config.lua) and than he shutdown "hardcorelike"?

hans hendrik thx a lot for helping! you the first one who can help my! Plz answer fast

thx for reading
Holz
 
if i understand that right:

if i use the command taskkill /im "otserv.exe", WITHOUT using your Sourcecode, the Server ask me "Do you really want shutdown the Server? choose yes or no" So it wouldn't be easier to give the Server a parameter for automaticly choosing "yes" that he shutdown normally?

Because i dont understand your Sourcecode:

void runQuitAndWait()
{
setGameState(GAME_STATE_SHUTDOWN);
for (i=0; i < 99999; i++)
{
//hack.. lol
}
}

Its an empty For-Loop that need time because the high Integer "999999", so your idea was that he shutdown a little bid time after ip change that he make a Serversave automaticly (config.lua) and than he shutdown "hardcorelike"?

hans hendrik thx a lot for helping! you the first one who can help my! Plz answer fast

thx for reading
Holz
does it ask that when you do
taskkill /im "otserv.exe"
? (my server dont, but then again i run outdated code/console version)
if so, get rid of whatever code makes it ask.. :p and yeah use 999999 then (ugly hack anwyay xD, maybe u wanna try sleep(int ms) instead.. #include unistd.h (linux*) or Winbase.h (windows*))
 
Back
Top