Advanced Server Setup
Posted: Sun Nov 11, 2018 6:57 am
Advanced Server Setup
written by MiM
Just thought i'd share my setup for fast map testing and some other tweaks.
(we're gonna work with standard ddnet files, i'd recommend backing up your files)
What this tutorial will do:
-It will make it so when you save your map in the editor, you can just ctrl+shift+e back to the game,
-The server will close after you close the ddnet client
-It will add 2 shortcuts:
(useful if you have dynamic ip like me)
"Ctrl+T" Connects to your server
"Ctrl+G" Copies ip:port to clipboard
Note: Make sure that you have a map named 'LiveTest' in the data>maps folder.
We're done.
1.Start up the game thru DDNet Modified.exe
2.Join your server by pressing Ctrl+T
3.Edit some stuff in your map, save it as LiveTest
4.Vote to reload
5.Profit
Ill keep this updated if i come up/someone suggests any useful things.
written by MiM
Just thought i'd share my setup for fast map testing and some other tweaks.
(we're gonna work with standard ddnet files, i'd recommend backing up your files)
What this tutorial will do:
-It will make it so when you save your map in the editor, you can just ctrl+shift+e back to the game,
call vote to reload map and changes to the map will apply
-The server will run in the background process (no more annoying alt-tabs)-The server will close after you close the ddnet client
-It will add 2 shortcuts:
(useful if you have dynamic ip like me)
"Ctrl+T" Connects to your server
"Ctrl+G" Copies ip:port to clipboard
First, lets set up some stuff in autoexec_server.cfgShow
1.In your ddnet folder, open up autoexec_server.cfg (in notepad o.o)
2.Add this vote -
3.Change
to
2.Add this vote -
add_vote "Reload" "reload""
like so:3.Change
# Map to start server with sv_map "Kobra 4"
to
# Map to start server with sv_map "LiveTest"
Swap the maps folderShow
We're gonna set this up so the server reads maps from
%appdata% > teeworlds > maps
1.Delete existing 'maps' folder from the data folder.
2.Go to your %appdata% > teeworlds folder and send the maps folder to desktop as a shortcut.
3.Rename it from 'maps - Shortcut' to 'maps' and put that bad boi into the data folder.
%appdata% > teeworlds > maps
1.Delete existing 'maps' folder from the data folder.
2.Go to your %appdata% > teeworlds folder and send the maps folder to desktop as a shortcut.
3.Rename it from 'maps - Shortcut' to 'maps' and put that bad boi into the data folder.
Lastly, we need some stuff to do the work for usShow
Its 2 ahk scripts that will do a bunch of stuff for us.
So instead of launching the game thru the standard DDNet.exe, we will be doing it with DDNet Modified.exe
(If you're worried that ill hack your doggo pictures you can google 'how to convert .exe back to .ahk' and see the code in notepad)
1. Download
DDNet Modified
Put both files into your game folder.
3.Create a .txt file named 'Port' in your game folder like so
Open it up with notepad and put your server port in there like this:
Save
So instead of launching the game thru the standard DDNet.exe, we will be doing it with DDNet Modified.exe
(If you're worried that ill hack your doggo pictures you can google 'how to convert .exe back to .ahk' and see the code in notepad)
1. Download
DDNet Modified
and
Server ShortcutsPut both files into your game folder.
3.Create a .txt file named 'Port' in your game folder like so
Open it up with notepad and put your server port in there like this:
Save
We're done.
1.Start up the game thru DDNet Modified.exe
2.Join your server by pressing Ctrl+T
3.Edit some stuff in your map, save it as LiveTest
4.Vote to reload
5.Profit
Ill keep this updated if i come up/someone suggests any useful things.