HomePortalFAQSearchMemberlistUsergroupsRegisterLog in
Meet the new KITO admins & hear their plans here.
You can use google search to find threads and posts here now. Example

Share | 
 

 Keep your server alive

Go down 
AuthorMessage
RedEye
Retired
avatar

Game username : -redeye-
Server : KITO
Male Posts : 2578
Join date : 2011-07-24
Age : 30

PostSubject: Keep your server alive   Sun Feb 10, 2013 9:39 pm

This code is provided by raknet for Windows

Open notepad and save as something.bat and save it in the server folder
Code:
@echo off

if %1A==A goto error
if not %2n==n goto error

  :again
  start /b /wait %1
  goto again

goto end

:error
echo Enter the exe to run endlessly.

:end

then run the two servers:
Code:
something.bat loginserver.exe
Code:
something.bat gameserver.exe

________________________________
Retired
Back to top Go down
Centelleo
Banned
avatar

Game username : Centelleo
Server : Foreign Entity
Female Posts : 329
Join date : 2012-01-10

PostSubject: Re: Keep your server alive   Mon Feb 11, 2013 7:48 pm

sooo, what does this do exactly? Razz
Back to top Go down
http://taleofmervian.tk
RedEye
Retired
avatar

Game username : -redeye-
Server : KITO
Male Posts : 2578
Join date : 2011-07-24
Age : 30

PostSubject: Re: Keep your server alive   Mon Feb 11, 2013 8:27 pm

Restarts gameserver.exe or loginserver.exe if they quit/exit/crash for any reason.

________________________________
Retired
Back to top Go down
Iceland

avatar

Game username : Iceland
Male Posts : 76
Join date : 2013-10-11
Age : 22
Location : Iceland

PostSubject: Re: Keep your server alive   Wed Mar 12, 2014 8:01 pm

So you don't /need/ this unless it crashes?
Back to top Go down
RedEye
Retired
avatar

Game username : -redeye-
Server : KITO
Male Posts : 2578
Join date : 2011-07-24
Age : 30

PostSubject: Re: Keep your server alive   Wed Mar 12, 2014 8:02 pm

not /need/ but when it crashes.

________________________________
Retired
Back to top Go down
Iceland

avatar

Game username : Iceland
Male Posts : 76
Join date : 2013-10-11
Age : 22
Location : Iceland

PostSubject: Re: Keep your server alive   Wed Mar 12, 2014 10:36 pm

Ah alright.
Back to top Go down
lazyzim

™
avatar

Server : Dragon's Den
Male Posts : 747
Join date : 2011-11-27

PostSubject: Re: Keep your server alive   Sat Mar 15, 2014 12:13 pm

Sadly when they crash they tend to just sit there still running just not accepting logins.
All the players have been disconnected.
These bat files would only loop if the login server or gameserver closed down.
Back to top Go down
Greentea



Server : Impressive Castles
Female Posts : 8
Join date : 2014-08-08
Age : 19
Location : On your bed, reading a book

PostSubject: Re: Keep your server alive   Fri Aug 08, 2014 11:13 pm

Well this could help me, thanks!  Razz 
Back to top Go down
http://https:impressivecastles.board.net
Iceland

avatar

Game username : Iceland
Male Posts : 76
Join date : 2013-10-11
Age : 22
Location : Iceland

PostSubject: Re: Keep your server alive   Thu Oct 23, 2014 5:30 am

I know this is old but I]m so confused.
You said to run it, how do you run it? It's just a batch file so how do you run it with the gameserver.exe?
Sorry if it seems dumb just I'm really confused by this.
I made the file and such but it still kept crashing/terminating.
Back to top Go down
Dead Account

avatar

Male Posts : 531
Join date : 2013-06-17

PostSubject: Re: Keep your server alive   Thu Oct 23, 2014 8:40 am

aah, thanks for this!
Back to top Go down
Sponsored content




PostSubject: Re: Keep your server alive   

Back to top Go down
 
Keep your server alive
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Keeping I.T. Open :: START HERE :: KITO's IT Source Code :: Guides & FAQs-
Jump to: