Offline-Server MAC

Problems that don't fit in other categories.
*WuDL*
User
Posts: 6
Joined: Tue Oct 13, 2015 11:27 pm
Player profile: *WuDL*
Mapper profile: *WuDL*

Offline-Server MAC

Post by *WuDL* » Fri Apr 01, 2016 7:44 pm

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
User
Posts: 1119
Joined: Tue May 06, 2014 6:40 pm
Mapper profile: Silex

Re: Offline-Server MAC

Post by Silex » Fri Apr 01, 2016 7:46 pm

*WuDL* wrote:vielleicht mach ich ja auch mal wieder eine Map ;)
Bitte nicht

*WuDL*
User
Posts: 6
Joined: Tue Oct 13, 2015 11:27 pm
Player profile: *WuDL*
Mapper profile: *WuDL*

Re: Offline-Server MAC

Post by *WuDL* » Fri Apr 01, 2016 7:50 pm

Keine Sorge du Hund! Obwohl die bestimmt besser wäre als meine anderen ^^

User avatar
deen
Retired Administrator
Posts: 3292
Joined: Mon May 05, 2014 2:30 pm
Player profile: deen

Re: Offline-Server MAC

Post by deen » Fri Apr 01, 2016 9:00 pm

Similar thread: https://forum.ddnet.tw/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*
User
Posts: 6
Joined: Tue Oct 13, 2015 11:27 pm
Player profile: *WuDL*
Mapper profile: *WuDL*

Re: Offline-Server MAC

Post by *WuDL* » Sat Apr 02, 2016 12:14 am

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
User
Posts: 687
Joined: Sat Jul 26, 2014 11:47 pm
Player profile: kamillentee
Clan: |*KoG*|

Re: Offline-Server MAC

Post by kamillentee » Sat Apr 02, 2016 12:32 am

nah deen thats for linux

mac is ~/Library/Application Support/Teeworlds

HMH
Technical Team: Team Leader
Posts: 146
Joined: Mon May 05, 2014 8:41 pm
Player profile: HMH

Re: Offline-Server MAC

Post by HMH » Sat Apr 02, 2016 12:58 am

~/.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/
Bildschirmfoto 2016-04-02 um 00.40.44.png
Shotcut: ⇧⌘G
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.
Bildschirmfoto 2016-04-02 um 00.53.13.png
Start the DDNet-Server
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*
User
Posts: 6
Joined: Tue Oct 13, 2015 11:27 pm
Player profile: *WuDL*
Mapper profile: *WuDL*

Re: Offline-Server MAC

Post by *WuDL* » Sat Apr 02, 2016 6:29 pm

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
Technical Team: Team Leader
Posts: 146
Joined: Mon May 05, 2014 8:41 pm
Player profile: HMH

Re: Offline-Server MAC

Post by HMH » Sat Apr 02, 2016 9:08 pm

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*
User
Posts: 6
Joined: Tue Oct 13, 2015 11:27 pm
Player profile: *WuDL*
Mapper profile: *WuDL*

Re: Offline-Server MAC

Post by *WuDL* » Mon Apr 04, 2016 7:35 pm

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 3 guests