Private server starter (batch).
So the other thread got deleted, appearently it had to be in Source Code, not RotMG.
-Imp in text.
-Starts MySQL too!
Run it as admin:
Source: Windows - How to code a BAT file to always run as admin mode? - Stack Overflow
Remember to change the file locations!
Just in case you have no idea on how to run this:
Source: Batch File Help
If you did all the above and it doesn't work, please leave a comment and I will try to help you out.
-Imp in text.
-Starts MySQL too!
Run it as admin:
In order to run as an Administrator, create a shortcut for the batch file.
1. Right click the batch file and click copy
2. Navigate to where you want the shortcut
3. Right click the background of the directory
4. Select Paste Shortcut
Then you can set the shortcut to run as administrator:
1. Right click the shortcut
2. Choose Properties
3. In the Shortcut tab, click Advanced
4. Select the checkbox "Run as administrator"
1. Right click the batch file and click copy
2. Navigate to where you want the shortcut
3. Right click the background of the directory
4. Select Paste Shortcut
Then you can set the shortcut to run as administrator:
1. Right click the shortcut
2. Choose Properties
3. In the Shortcut tab, click Advanced
4. Select the checkbox "Run as administrator"
Code:
@echo off title RotMG server starter by Ocud. GOTO IMP :THREE NET start MYSQL56 GOTO START :TWO ECHO Starting wserver... CD C:\rotmg_svr-master\wserver\bin\Debug ::CHANGE THIS TO YOUR WSERVER LOCATION START wServer.exe GOTO START :ONE ECHO Starting server... CD C:\rotmg_svr-master\Server\bin\Debug ::CHANGE THIS TO YOUR SERVER LOCATION START Server.exe GOTO START :IMP echo NMMMMMMMMMMMMMMMMMMMo oMmmmmmmmmmmmmM+ sMMMMMMMM echo NMMMMMMMMMMMMMMMMMMMo oMyyyyyyyyyyyyM+ sMMMMMMMN echo NMMMMMMMMMMMMMMMMMMMo oMyyyyyyyyyyyyM+ sMMMMMMMM echo MMMMMMMMMMMMMMMMMMMmmmmmmyyyyyyyyyyyymmmmmmMMMMMMM echo ooooooMMMMMMMMMMMMMyyyyyyyyyyyyyyyyyyyyyyyhMMMMMMM echo +MMMMMMMMMMMMMyyyyyyyyyyyyyyyyyyyyyyyhMMMMMMM echo +MMMMMMMMMMMMMyyyyyy++++++yyyyyy+++++oMMMMMMM echo +MMMMMMMMMMMMMyyyyyy......yyyyys.....:MMMMMMM echo +MMMMMMMMMMMMMyyyyyy......yyyyys.....:MMMMMMM echo +MMMMMMMMMMMMMyyyyyy//////yyyyyy/////oMMMMMMM echo +++++oMMMMMMMyyyyyyyyyyyyyyyyyyyyyyyhMo+++++ echo +MMMMMMMyyyyyyyyyyyyyyyyyyyyyyyhM++++++ echo +MmmmmmmyyyyyyyyyyyyyyyyyyyyyyyhdddmmmM echo +MhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhM echo +++++oMhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhM echo +MmmmmmmmmmmmmhhhhhhhhhhhhhhhhhhmmmmmmhhhhhdM echo +MhhhhhhNs++oMhhhhhhhhhhhhhhhhhhMo++sNhhhhhdM echo +MdhhhhhNs +MhhhhhhhhhhhhhhhhhhM+ sNhhhhhdM echo +MmmmmmmNs +MhhhhhhhhhhhhhhhhhdM+ sNmmmmmmM echo ++++++++ +MdhhhhhhhhhhhhhhhhdM+ ++++++++ echo ooooosMddddddddddddddddddM+ echo +MmmmmmmmmmmmmmmmmmmddddddM+ echo +MddddddMo oMddddddM+ echo +MddddddMo oMddddddM+ echo +MNNNNNNMo oMNNNNNNM+ pause :START CHOICE /N /C:1234 /M "Start: 1=Server, 2=wServer, 3=MySQL Server or 4=exit"%1 IF ERRORLEVEL ==4 GOTO END IF ERRORLEVEL ==3 GOTO THREE IF ERRORLEVEL ==2 GOTO TWO IF ERRORLEVEL ==1 GOTO ONE :END PAUSE
Just in case you have no idea on how to run this:
1. Click Start
2. Type: notepad and press enter.
3. Once notepad is open, copy the above code into notepad.
4. Click File and click Save; browse to where you want to save the file. For the file name, type "test.bat", and if your version of Windows has a "Save as type" option, choose "All files", otherwise it will save as a text file. Once all of this has been done click the Save button and exit notepad.
5. Now, to run the batch file, double-click or run the file like any other program. Once the batch file has completed running it will close the window automatically.
2. Type: notepad and press enter.
3. Once notepad is open, copy the above code into notepad.
4. Click File and click Save; browse to where you want to save the file. For the file name, type "test.bat", and if your version of Windows has a "Save as type" option, choose "All files", otherwise it will save as a text file. Once all of this has been done click the Save button and exit notepad.
5. Now, to run the batch file, double-click or run the file like any other program. Once the batch file has completed running it will close the window automatically.
If you did all the above and it doesn't work, please leave a comment and I will try to help you out.