Page 1 of 2

Offline-Server MAC

Posted: Fri Apr 01, 2016 7:44 pm
by *WuDL*
Hallo Leute,

wie ja manche von euch wissen spiele ich für gewöhnlich über mein MacBook TW. Da ich zudem auch noch eine
ausgesprochen bescheidene Internetverbindung habe, bin ich zu dem Entschluss gekommen, dass es schön wäre Offline ein paar Maps mit Dummy zu spielen bzw. ein paar eigene Mapideen
( vielleicht mach ich ja auch mal wieder eine Map ;) ) auszuprobieren. Nun habe ich aber das Problem, das mein technisches Wissen auf meinem Mac wirklich gegen 0 geht. Lange Rede kurzer Sinn: ich bin zu dumm einen Offline Server zu starten, ein paar Konsolencommands reinzupacken und ein paar Maps ins Votingsystem reinzuschmeissen.
Generell bin ich dezent verwirrt von den ganzen Speicherpfaden die teeworlds auf meinem Mac verwendet. Wo sind denn Skins, Mapdls, etc.. Auf Windows erschien mir das doch wesentlich leichter :)
Falls sich jemand also die Mühe machen möchte mich etwas aufzuklären, wäre ich demjenigen sehr verbunden ^^

Greetz,
*WuDL*

PS. Ich baue darauf, dass es innerhalb der deutschsprachigen Community genug Menschen gibt die mit einem Computer umgehen können. Bei Bedarf kann ich den Text auch nochmal ins Englische übersetzen, da habe ich jetzt aber keine Lust zu. ^^

Re: Offline-Server MAC

Posted: Fri Apr 01, 2016 7:46 pm
by Silex
*WuDL* wrote:vielleicht mach ich ja auch mal wieder eine Map ;)
Bitte nicht

Re: Offline-Server MAC

Posted: Fri Apr 01, 2016 7:50 pm
by *WuDL*
Keine Sorge du Hund! Obwohl die bestimmt besser wäre als meine anderen ^^

Re: Offline-Server MAC

Posted: Fri Apr 01, 2016 9:00 pm
by deen
Similar thread: viewtopic.php?f=68&t=2193

You can just use the ~/.teeworlds directory (That's the hidden .teeworlds directory in your home directory.), it's like config_directory on Windows, so you can make a skins, maps, ... directory there.

Re: Offline-Server MAC

Posted: Sat Apr 02, 2016 12:14 am
by *WuDL*
thanks for the fast reply deen. The problem is that i can't find any directories when i search for ~/.teeworlds in the Terminal

Re: Offline-Server MAC

Posted: Sat Apr 02, 2016 12:32 am
by kamillentee
nah deen thats for linux

mac is ~/Library/Application Support/Teeworlds

Re: Offline-Server MAC

Posted: Sat Apr 02, 2016 12:58 am
by HMH
~/.teeworlds is correct for non-Mac unix systems. For Mac it is slightly different.
@*WuDL*: Use this shortcut to open the hidden teeworlds-folder: cmd + shift + g. This will open a prompt that asks you to which folder to go, just type: ~/Library/Application Support/Teeworlds/
Shotcut: ⇧⌘G
Shotcut: ⇧⌘G
Bildschirmfoto 2016-04-02 um 00.40.44.png (36.35 KiB) Viewed 3634 times
After you press enter the folder with your maps and settings etc. will appear.

To start a server just put all the files from the official download into one folder and double-click: DDNet-Server. This will make a window appear that asks you for the settings-file to use, just choose the file you want to use then.
Start the DDNet-Server
Start the DDNet-Server
Bildschirmfoto 2016-04-02 um 00.53.13.png (101.27 KiB) Viewed 3634 times
After this the server should be running at: localhost:8303. Possibly you firewall is going to block the server from your lan-server list. You can connect to it directly anyway, just put localhost:8303 as Host dddress.

Re: Offline-Server MAC

Posted: Sat Apr 02, 2016 6:29 pm
by *WuDL*
Thanks mate,

i wrote a settings.cfg file with Textedit. But it doesn't work. Whats wrong there? When i say DDnet Server to use masters.cfg it works. ( then i get a Standard DDnet Lan server with the map Kobra ^^ )

Greetz

Re: Offline-Server MAC

Posted: Sat Apr 02, 2016 9:08 pm
by HMH
Are you sure your settings.cfg is a plain-text file (you can not do things like make a word bold or italic etc.) ? Textedit got an option to convert the text to plain-text, maybe you need to use that first.

Re: Offline-Server MAC

Posted: Mon Apr 04, 2016 7:35 pm
by *WuDL*
I think there is a problem in the path to the map folder. Maybe you can take a look.

These are my settings: ( written in TextEdit - Plain Text and .cfg Suffix )

Code: Select all

sv_port 8303
sv_name *WuDL* Testserver
sv_rcon_password „test1234“
sv_map „At_Night_2“
sv_test_cmds 1
sv_map_vote 1
When i try to open this with DDnetServer the Console says:

Code: Select all

[16-04-04 19:33:34][engine]: running on unix-macosx-amd64
[16-04-04 19:33:34][engine]: arch is little endian
[16-04-04 19:33:34][storage]: couldn't open storage.cfg
[16-04-04 19:33:34][storage]: using standard paths
[16-04-04 19:33:34][storage]: added path '$USERDIR' ('/Users/****/Library/Application Support/Teeworlds')
[16-04-04 19:33:34][storage]: added path '$DATADIR' ('data')
[16-04-04 19:33:34][storage]: added path '$CURRENTDIR' ('/Volumes/DDNet/DDNet-Server.app/Contents/Resources')
[16-04-04 19:33:34][host lookup]: host='localhost' port=0 1
[16-04-04 19:33:34][host lookup]: host='localhost' port=0 2
[16-04-04 19:33:34][console]: failed to open 'autoexec.cfg'
[16-04-04 19:33:34][console]: executing '/Users/****/Desktop/Teeworlds Kopie/mysettings.cfg'
[16-04-04 19:33:34][server]: starting...
[16-04-04 19:33:34][datafile]: loading. filename='maps/„At_Night_2“.map'
[16-04-04 19:33:34][datafile]: could not open 'maps/„At_Night_2“.map'
[16-04-04 19:33:34][server]: failed to load map. mapname='„At_Night_2“'
Greetz,
*WuDL*