Page 1 of 1

Advanced Server Setup

Posted: Sun Nov 11, 2018 6:57 am
by ┇»MiM«┇
Deleted because it's very outdated and doesn't work for the newest ddnet version.

Re: Server setup (For fast map testing straight from editor)

Posted: Sun Nov 11, 2018 10:07 am
by deen
Nice. I guess this is the AHK program?

Code: Select all

#NoEnv
#SingleInstance, Force
#Persistent
SetTitleMatchMode, 2
DetectHiddenWindows, On
If !WinExist("ddnet client")
{
run, ddnet.exe
run, server.exe, , hide
}
SetTimer, ProcessCheckTimer, 6000
Return
ProcessCheckTimer:
Process, Exist, ddnet.exe
If ErrorLevel
return
Else
{
Process, Close, server.exe
ExitApp
}

Re: Server setup (For fast map testing straight from editor)

Posted: Sun Nov 11, 2018 10:09 pm
by ┇»MiM«┇
Yup, nothing crazy

Re: Server setup (For fast map testing straight from editor)

Posted: Tue Nov 13, 2018 1:40 am
by Ravie
When you "Load current map" and then save while logged into rcon the server automatically reloads itself tho (at least for me it does)

not so easy for me.

Posted: Tue Nov 13, 2018 3:20 am
by GG Kid
Using "Exe2Ahk.exe" to decompile "DDNet+ Server.exe" gives the error "Open: The following error occurred: NotARC", non of the other results faired better.

Nice tutorial, well laid out, easy to follow. i assume the above code(Deens post) is the AutoHotKey 'code', which is good as you rely on an external host, bad practice for tutorials which are meant to be around for a while. i wish DDnet would include some way of making LAN servers to test & play Maps, not so unlike others have.

EDIT: thanks, it worked, also this useful https://autohotkey.com/boards/viewtopic.php?f=6&t=59015
Picture of codeShow
snip.PNG
snip.PNG (203.71 KiB) Viewed 41079 times
sharing sources is the way to go man, we want people to take idea's & make them better. as long as people can easy get them with this Resource Hacker the same results are achieved. also messy is how you make it look, not the information presented, see my tutorial viewtopic.php?f=16&t=5819 & search for "old version", although your's is better looking then mine, so who i'm i to judge. sorry if i sound like an ignorant fool, we all have to start some where.
peace!

Re: Server setup (For fast map testing straight from editor)

Posted: Tue Nov 13, 2018 3:39 am
by ┇»MiM«┇
Ravie wrote: Tue Nov 13, 2018 1:40 am When you "Load current map" and then save while logged into rcon the server automatically reloads itself tho (at least for me it does)
Not sure what you're talking about p.p and besides, i'd rather have a vote to do that for me instead of everytime i save the map in the editor it reloads the server.
GG Kid wrote: Tue Nov 13, 2018 3:20 am Using "Exe2Ahk.exe" to decompile "DDNet+ Server.exe" gives the error "Open: The following error occurred: NotARC", non of the other results faired better.

Nice tutorial, well laid out, easy to follow. i assume the above code(Deens post) is the AutoHotKey 'code', which is good as you rely on an external host, bad practice for tutorials which are meant to be around for a while. i wish DDnet would include some way of making LAN servers to test & play Maps, not so unlike others have.
I think Exe2Ahk is outdated. You can try using this.
I would post every script in here but that would just make this topic messy.

Re: Server setup (For fast map testing straight from editor)

Posted: Thu Aug 01, 2019 8:15 pm
by ┇»MiM«┇
Ctrl+T should always work now.
If you notice that the game doesn't register some key strokes please tell me.
SpoilerShow
Bumping this just so people that use it (although i know there aren't many of them) will get the updated files.