Offline-Server MAC

Request help for teeworlds-related subjects (mapping, servers, ..).
For client issues, see our repositories (https://github.com/ddnet/ddnet/issues).
*WuDL*
Posts: 6
Joined: Tue Oct 13, 2015 11:27 pm
Player profile: http://ddnet.tw/players/-42-WuDL-42-/
Mapper profile: http://ddnet.tw/mappers/-42-WuDL-42-/

Offline-Server MAC

Post 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. ^^
Silex
Posts: 1124
Joined: Tue May 06, 2014 6:40 pm
Mapper profile: http://ddnet.tw/mappers/Silex/

Re: Offline-Server MAC

Post by Silex »

*WuDL* wrote:vielleicht mach ich ja auch mal wieder eine Map ;)
Bitte nicht
*WuDL*
Posts: 6
Joined: Tue Oct 13, 2015 11:27 pm
Player profile: http://ddnet.tw/players/-42-WuDL-42-/
Mapper profile: http://ddnet.tw/mappers/-42-WuDL-42-/

Re: Offline-Server MAC

Post by *WuDL* »

Keine Sorge du Hund! Obwohl die bestimmt besser wäre als meine anderen ^^
User avatar
deen
TECHNICAL Team
Posts: 3575
Joined: Mon May 05, 2014 2:30 pm
Player profile: https://ddnet.org/players/deen/
Discord: deen#5910

Re: Offline-Server MAC

Post 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.
*WuDL*
Posts: 6
Joined: Tue Oct 13, 2015 11:27 pm
Player profile: http://ddnet.tw/players/-42-WuDL-42-/
Mapper profile: http://ddnet.tw/mappers/-42-WuDL-42-/

Re: Offline-Server MAC

Post 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
User avatar
kamillentee
Posts: 687
Joined: Sat Jul 26, 2014 11:47 pm
Player profile: http://ddnet.tw/players/kamillentee/
Clan: |*KoG*|

Re: Offline-Server MAC

Post by kamillentee »

nah deen thats for linux

mac is ~/Library/Application Support/Teeworlds
HMH
Posts: 145
Joined: Mon May 05, 2014 8:41 pm
Player profile: http://ddnet.tw/players/HMH/

Re: Offline-Server MAC

Post 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 3524 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 3524 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.
*WuDL*
Posts: 6
Joined: Tue Oct 13, 2015 11:27 pm
Player profile: http://ddnet.tw/players/-42-WuDL-42-/
Mapper profile: http://ddnet.tw/mappers/-42-WuDL-42-/

Re: Offline-Server MAC

Post 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
HMH
Posts: 145
Joined: Mon May 05, 2014 8:41 pm
Player profile: http://ddnet.tw/players/HMH/

Re: Offline-Server MAC

Post 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.
*WuDL*
Posts: 6
Joined: Tue Oct 13, 2015 11:27 pm
Player profile: http://ddnet.tw/players/-42-WuDL-42-/
Mapper profile: http://ddnet.tw/mappers/-42-WuDL-42-/

Re: Offline-Server MAC

Post 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*
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest