Restarting a server and uploading files to the VDS
-
- A semi-regular
- Posts: 16
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Wed Dec 16, 2009 9:30 am
Restarting a server and uploading files to the VDS
Ok, so i have a dedi box and i was wondering if i can "restart" a server without having to put it back up, like somthing in command or somthing>?
also how do i setup/use FTP from Remote desktop if i have a file on my computer???
Thanks for help in advance
also how do i setup/use FTP from Remote desktop if i have a file on my computer???
Thanks for help in advance
Re: Help please
In order to fully restart a server, typically you would have to shut it down (either through a command like "rcon quit" for HL1/HL2 servers or by closing the application by hand) and then start it back up through the command line. To make the startup automatic, though, you could wrap the server in a looping batch file or script, or you could turn it into a system service that is set to restart automatically (with a program like FireDaemon).biggsy2012 wrote:Ok, so i have a dedi box and i was wondering if i can "restart" a server without having to put it back up, like somthing in command or somthing>?
I would recommend using remote desktop itself to transfer files, if you're the only one doing it -- before you connect, go into the RD options and click the "Local Resources" page, select "More..", and check the box for "Drives", and then your local hard drive will show up as a drive on the remote machine and it will allow you to even copy/paste your files there.also how do i setup/use FTP from Remote desktop if i have a file on my computer???
If you would prefer FTP, I'd recommend using installing FileZilla: http://wiki.filezilla-project.org/FileZilla_FTP_Server. It is a free, open-source daemon.
-
- A semi-regular
- Posts: 16
- Joined: Wed Dec 16, 2009 9:30 am
Re: Help please
but like whats the FTP info? my servers is on 216.52.143.111:27015
(plox connect if u want were having fun)
(plox connect if u want were having fun)
Re: Help please
If you install the FileZilla FTP server (the directions are at the link I gave), you'll be able to connect through FTP to your IP of 216.52.143.111, using the login information you set it up with.biggsy2012 wrote:but like whats the FTP info? my servers is on 216.52.143.111:27015
(plox connect if u want were having fun)
As I said, though, I'd recommend just using remote desktop. That'd be one less hole you'd have to punch in your server's security.
-
- A semi-regular
- Posts: 16
- Joined: Wed Dec 16, 2009 9:30 am
Re: Help please
sorry, howd i add it to the server in the first place?
-
- A semi-regular
- Posts: 16
- Joined: Wed Dec 16, 2009 9:30 am
Re: Help please
how do i use RD, i cant jsut drag files can i?
Re: Help please
You can copy and paste, or you can copy just as you would between drives on your home computer, since your personal hard drive will show up in Windows explorer while you're connected. Here's some more information about this:biggsy2012 wrote:how do i use RD, i cant jsut drag files can i?
I would recommend using remote desktop itself to transfer files, if you're the only one doing it -- before you connect, go into the RD options and click the "Local Resources" page, select "More..", and check the box for "Drives", and then your local hard drive will show up as a drive on the remote machine and it will allow you to even copy/paste your files there.
-
- A semi-regular
- Posts: 16
- Joined: Wed Dec 16, 2009 9:30 am
Re: Restarting a server and uploading files to the VDS
Ok, whare would/could i run the scrim to put the server backup automaticly?
Thanks
Thanks
-
- A semi-regular
- Posts: 16
- Joined: Wed Dec 16, 2009 9:30 am
Re: Restarting a server and uploading files to the VDS
also, i run a shortcut which is
"%windir%\system32\cmd.exe /c start /high /d"c:\game installs\sourcebase" "Game server" "c:\game installs\sourcebase\srcds.exe" -game cstrike -tickrate 100 -nocrashdialog"
which loads the box whare i have to click ok, and then it starts the server, is there a way to run it in a window?
Thanks
Toby
"%windir%\system32\cmd.exe /c start /high /d"c:\game installs\sourcebase" "Game server" "c:\game installs\sourcebase\srcds.exe" -game cstrike -tickrate 100 -nocrashdialog"
which loads the box whare i have to click ok, and then it starts the server, is there a way to run it in a window?
Thanks
Toby
-
- A semi-regular
- Posts: 16
- Joined: Wed Dec 16, 2009 9:30 am
Re: Restarting a server and uploading files to the VDS
ment to be script*biggsy2012 wrote:Ok, whare would/could i run the script* to put the server backup automaticly?
Thanks
Re: Restarting a server and uploading files to the VDS
Yes. The second half of my tutorial here talks about the command line you would use for this: http://www.nfoservers.com/forums/viewto ... =46&t=4107biggsy2012 wrote:also, i run a shortcut which is
"%windir%\system32\cmd.exe /c start /high /d"c:\game installs\sourcebase" "Game server" "c:\game installs\sourcebase\srcds.exe" -game cstrike -tickrate 100 -nocrashdialog"
which loads the box whare i have to click ok, and then it starts the server, is there a way to run it in a window?
Thanks
Toby
You could create a simple .bat file that looks like this:Ok, whare would/could i run the script to put the server backup automaticly?
Thanks
Code: Select all
:start
[your server command line]
goto start
Or, better, you could use FireDaemon: http://www.firedaemon.com. Or ServerChecker: http://www.dumbclan.co.uk/forum/index.p ... topic=5784. Or, if you're feeling adventurous, srvany: http://support.microsoft.com/kb/137890
-
- A semi-regular
- Posts: 16
- Joined: Wed Dec 16, 2009 9:30 am
Re: Restarting a server and uploading files to the VDS
You could create a simple .bat file that looks like this:
.. and then run that through the shortcut instead.
This didnt work it just created hundreds upon hundreds of Dedicated server files over and over
Code: Select all
:start
[your server command line]
goto start
This didnt work it just created hundreds upon hundreds of Dedicated server files over and over
Re: Restarting a server and uploading files to the VDS
Ah, I'm sorry, you're right. The reason this happens is the use of "start".biggsy2012 wrote:You could create a simple .bat file that looks like this:
.. and then run that through the shortcut instead.Code: Select all
:start [your server command line] goto start
This didnt work it just created hundreds upon hundreds of Dedicated server files over and over
To fix that, add this after the word "start" in your command line:
Code: Select all
/wait
-
- A semi-regular
- Posts: 16
- Joined: Wed Dec 16, 2009 9:30 am
Re: Restarting a server and uploading files to the VDS
:start /wait
[your server command line]
goto start
? or
:start
/wait
[your server command line]
goto start
[your server command line]
goto start
? or
:start
/wait
[your server command line]
goto start
Re: Restarting a server and uploading files to the VDS
The "/wait" needs to be put after "start" in your command line. I.e., something like "%windir%\system32\cmd.exe /c start /wait /high...