How to test a map on lan-server?

Read tips and guides about teeworlds-related subjects (mapping, compiling, ..).
User avatar
Fňokurka oo7
Posts: 1195
Joined: Thu Feb 19, 2015 1:33 am
Clan: ( . Y . )

How to test a map on lan-server?

Post by Fňokurka oo7 »

How to test a map on lan server
written by Fňokurka, edited by Index
For further information.
Mapping ABC: http://forum.ddnet.tw/viewtopic.php?f=35&t=2419
Create simple ddrace map: http://forum.ddnet.tw/viewtopic.php?f=35&t=2426
Spanish video tutorial: viewtopic.php?f=16&t=3051

In this tutorial you set up your own lan server to test a map.
You will need the official ddnet client (http://ddnet.tw/downloads) to follow the instructions.

Open DDNet folder, and open file called autoexec_server.cfg with a text editor. The most important settings are already written there with a short explanation. Rcon password is for logging in on your server and allowing you to use some useful comands. It doesn't have to be "rcon", you can choose your own password.
st_1.PNG
Save the changes and start "DDNet-Server.exe". Then start DDNet.
st_2.PNG
Take a look on this picture and try to do exactly what I did. Don't forget to untick filters and also choose "LAN" instead of "Internet".
DDNet 2015-10-09 14-52-59-47.png
If you want to log in, press "F2" and write your password - in my case "rcon".
You have now acess to some useful testing commands:
  • reload - reloads map after saved changes
  • change_map "map name" - changes map
  • super - gives you powers (no freeze, kill won't kill you...) // unsuper - deactivates super
DDNet 2015-10-09 14-53-06-91.png
DDNet 2015-10-09 14-53-19-63.png
DDNet 2015-10-09 14-53-33-29.png
DDNet 2015-10-09 14-53-49-81.png
DDNet 2015-10-09 14-54-07-14.png
And that’s it, now you can test any map.
Last edited by Fňokurka oo7 on Sat Jan 23, 2016 11:11 am, edited 2 times in total.
------------------------------------------------------------
Some people just need a high-five.
In the face.
With a chair.
Made of steel.
Multiple times.
User avatar
imp
Posts: 788
Joined: Mon May 05, 2014 5:56 pm
Player profile: http://ddnet.tw/players/imp/
Mapper profile: http://ddnet.tw/mappers/imp/

Re: How to test your map?

Post by imp »

In my opinion the autoexe.cfg is really confusing. In reality you only need like 5 commands, the rest can be deleted.

Also - in F2 - totele [number] and totelecp [number] is very important
Welf
Posts: 1838
Joined: Fri Jun 06, 2014 12:20 am
Player profile: http://ddnet.tw/players/Welf/
Mapper profile: http://ddnet.tw/mappers/Welf/

Re: How to test your map?

Post by Welf »

agree with imp, even if there are explanations, they wont know the meaning of "#", so this amount of text is rather confusing if you open it up at the first time (without any help/tutorial/knowledge)
Chairn
Posts: 400
Joined: Sat Apr 11, 2015 5:05 pm
Player profile: http://ddnet.tw/players/Chairn/
Clan: QuintessenZ

Re: How to test your map?

Post by Chairn »

You could have set your client to english for this tutorial ^^.
User avatar
Fňokurka oo7
Posts: 1195
Joined: Thu Feb 19, 2015 1:33 am
Clan: ( . Y . )

Re: How to test your map?

Post by Fňokurka oo7 »

SORRYYYYYYYYYY! Welf, imp, Chairn
------------------------------------------------------------
Some people just need a high-five.
In the face.
With a chair.
Made of steel.
Multiple times.
User avatar
kamillentee
Posts: 687
Joined: Sat Jul 26, 2014 11:47 pm
Player profile: http://ddnet.tw/players/kamillentee/
Clan: |*KoG*|

Re: How to test your map?

Post by kamillentee »

So what about a mode that the test server does not need any cfg because of some standard values. A mode where just running the executable is needed and thats it. You run the binary and you will get a prompt where you will be asked for a password and then the server is running. If one does not want to type in a password by every server starting he just learn to use a config.
User avatar
Soreu
Posts: 1371
Joined: Fri Aug 22, 2014 2:47 pm
Location: Poland
Player profile: http://ddnet.tw/players/Soreu
Mapper profile: http://ddnet.tw/mappers/Soreu
Clan: GSP

Re: How to test your map?

Post by Soreu »

Welf wrote:agree with imp, even if there are explanations, they wont know the meaning of "#", so this amount of text is rather confusing if you open it up at the first time (without any help/tutorial/knowledge)
From original autoexec_server.cfg:
# Everything following a # is considered a comment and ignored by the server.
And I don't really think that the text is confusing or that there is needed any knowledge, since everything is explained in clear way

kamillentee wrote:So what about a mode that the test server does not need any cfg because of some standard values. A mode where just running the executable is needed and thats it. You run the binary and you will get a prompt where you will be asked for a password and then the server is running. If one does not want to type in a password by every server starting he just learn to use a config.
Previous autoexec.cfg had only like 5 lines of code, so that's what you could call such mode.

All default values are set in the code, in the autoexec_server.cfg are added just the most used/useful commands to show that there are is possibility to edit the way server runs without reading whole page on ddnet.tw
Nobody is forced to read or edit every single of them, the most-important-of-all-times are on very top - in first 30 lines
„Vince te ipsum”

         :3             |     GSP Founder     Honorary iMTGmember
Graphic-guy     |     Website & Forum Team Leader (Ex)     [ToP] Leader (Dead)

Last truly active: Sun Aug 28, 2016 11:13 pm - having great DDNet in both memory and heart
User avatar
imp
Posts: 788
Joined: Mon May 05, 2014 5:56 pm
Player profile: http://ddnet.tw/players/imp/
Mapper profile: http://ddnet.tw/mappers/imp/

Re: How to test your map?

Post by imp »

It's just that all the information in the autoexe.cfg is relevant for maybe 5% of people. For me it was rather annoying to read though it so I didn't delete important stuff accidently
pטGס
Posts: 2
Joined: Thu Oct 08, 2015 10:09 pm

Re: How to test your map?

Post by pטGס »

ty
how im load my map?
I need to put directory?
Ninjed
Posts: 1300
Joined: Thu Oct 01, 2015 7:00 pm
Player profile: https://ddnet.tw/players/Le-32-Petit-32-Prince/
Mapper profile: https://ddnet.tw/mappers/Ninjed

Re: How to test your map?

Post by Ninjed »

no, log over F2, and write: change_map "map_name"
The Real One!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest