FAQ: Difference between revisions

From DDraceNetwork
No edit summary
m (typos, punctuation)
 
(23 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{LangNavBox}}
{{MigrateTranslation}}
<languages/>
<translate>
<!--T:1-->
Here you can find a collection of '''''frequently asked questions'''''. If you want to know how to contribute to this wiki, you can take a look at [[Special:MyLanguage/How to contribute|How to contribute]].


Here you can find a collection of '''''frequently asked questions'''''.
<!--T:2-->
If you don't find the answers you want here, you can go to the [https://ddnet.org/discord official Discord].


== Technical Questions ==
== Technical Questions == <!--T:3-->
===Where is the DDNet config, config directory or save directory?===
 
</translate>
<span id="config-dir"></span>
<translate>
===Where is the DDNet config, config directory or save directory?=== <!--T:4-->
 
<!--T:5-->
'''<u>Windows</u>'''
'''<u>Windows</u>'''


<!--T:6-->
Old: <code>%appdata%\Teeworlds</code>
Old: <code>%appdata%\Teeworlds</code>


<!--T:7-->
New: <code>%appdata%\DDNet</code>
New: <code>%appdata%\DDNet</code>


<!--T:8-->
'''<u>Linux</u>'''
'''<u>Linux</u>'''


<!--T:9-->
Old: <code>~/.teeworlds</code>
Old: <code>~/.teeworlds</code>


<!--T:10-->
New: <code>~/.local/share/ddnet</code>
New: <code>~/.local/share/ddnet</code>


<!--T:11-->
'''<u>macOS</u>'''
'''<u>macOS</u>'''


<!--T:12-->
Old: <code>~/Library/Application Support/Teeworlds</code>
Old: <code>~/Library/Application Support/Teeworlds</code>


<!--T:13-->
New: <code>~/Library/Application Support/DDNet</code>
New: <code>~/Library/Application Support/DDNet</code>


Inside the <code>settings_ddnet.cfg</code> file will be your configurations/settings. The config directory can also be used as data directory to replace skins or other files, without modifying the client's data directory (Note: it has the same directory structure as the data directory)  
<!--T:14-->
Inside the <code>settings_ddnet.cfg</code> file will be your configurations/settings. The config directory can also be used as data directory to replace skins or other files, without modifying the client's data directory (Note: it has the same directory structure as the data directory).
 
===My game skin, entities, autoexec or any other file was overwritten by an update, why?=== <!--T:20-->
 
<!--T:21-->
During development we regularly replace, update, or remove files. The updater will overwrite any changes made to the data and binary directories. To make sure that your personal modifications don't get lost use the config directory instead, it has the same directory structure as the "data"-directory that comes with the client.
 
=== Is there any documentation about the DDraceNetwork code? === <!--T:26-->
 
<!--T:27-->
The [[Special:MyLanguage/Development|Development]] page and some [[Special:MyLanguage/Resources#Blog Posts|blog posts]] may help you. You can also find auto-generated docs from Doxygen here: https://codedoc.ddnet.org/.
 
<!--T:30-->
=== The game warns me about images, whose width or height are not divisible by #number, which causes visual bugs, what does it mean? ===
[[File:Texture bleeding tilemap.png|thumb|Texture bleeding because of incorrect resolution|206x206px]]
 
<!--T:31-->
The game tries to give you and graphic designers the best experience. In order to achieve that, it defines clear rules for the layout of its graphics, so that the artists can rely on consistency while creating their work.
 
<!--T:54-->
For example: In Teeworlds the tile maps are small images inside a bigger image for a total of 16x16 images (tile images). In order to render these tile maps correctly the game needs the image width and height to be divisible by 16, otherwise it can not determine where to split the tilemap into smaller images which represent a single tile.
And thus something called "texture bleeding" occurs, which is quite common in texture atlasses.


===How to save and load a run?===
<!--T:55-->
With /save you can save your run in Team and get a code.
You can search the internet for more information about that.


Inside the config directory there is a file called ddnet-saves.txt, it will contain the save codes.
=== "No answer from server yet."? === <!--T:32-->


The run can be restored again with /load "code" in the chat.
<!--T:33-->
It is likely the server is down or not reachable from the client, probably due to DoS attacks. You can try again later or visit [[Troubleshooting#Network / Connection problems]] for more information about how to verify that your internet connection is fine.


Make sure that every player has the same name to load.
=== The servers I play in are gone. What happened? === <!--T:56-->


===My game skin, entities, autoexec or any other file was overwritten by an update, why?===
<!--T:57-->
First, check if you don't have any filters on that can reduce the amount of servers shown. If this is not the case, keep reading below.


During development we regularly replace, update, or remove files. The updater will overwrite any changes made to the data and binary directories. To make sure that your personal modifications don't get lost use the config directory instead, it has the same directory structure as the "data"-directory that comes with the client.
<!--T:58-->
This is a problem that can happen from time to time.
 
<!--T:59-->
This is a little guide to help as a workaround until it gets fixed.
 
<!--T:60-->
If you visit [http://ddnet.org/status/ ddnet.org/status/] and your region server says it's up, this means there is a problem that leads to some (or every) servers to not appear in the server list. However, you can still connect to them via IP.
 
<!--T:61-->
Here is a list of servers domains that you can use to connect from your DDNet Client:
</translate>
 
*<translate><!--T:62--> Germany2 <code>ger2.ddnet.org</code></translate>
*<translate><!--T:63--> Germany10 <code>ger10.ddnet.org</code></translate>
*<translate><!--T:64--> Poland <code>pol.ddnet.org</code></translate>
*<translate><!--T:65--> Russia <code>rus4.ddnet.org</code></translate>
*<translate><!--T:66--> Turkey1 <code>tur.ddnet.org</code></translate>
*<translate><!--T:67--> Turkey2 <code>tur2.ddnet.org</code></translate>
*<translate><!--T:68--> Persian <code>irn.ddnet.org</code></translate>
*<translate><!--T:69--> Saudi Arabia <code>sau.ddnet.org</code></translate>
*<translate><!--T:70--> Chile <code>chl2.ddnet.org</code></translate>
*<translate><!--T:71--> Brazil <code>bra.ddnet.org</code></translate>
*<translate><!--T:72--> Argentina <code>arg.ddnet.org</code></translate>
*<translate><!--T:73--> Peru <code>per.ddnet.org</code></translate>
*<translate><!--T:74--> USA1 <code>usa1.ddnet.org</code></translate>
*<translate><!--T:75--> USA2 <code>usa2.ddnet.org</code></translate>
*<translate><!--T:76--> China0 <code>chn0.ddnet.org</code></translate>
*<translate><!--T:77--> China1 <code>chn11.ddnet.org</code></translate>
*<translate><!--T:78--> China2 <code>chn2.ddnet.org</code></translate>
*<translate><!--T:79--> China3 <code>chn3.ddnet.org</code></translate>
*<translate><!--T:80--> China4 <code>chn4.ddnet.org</code></translate>
*<translate><!--T:81--> China5 <code>chn5.ddnet.org</code></translate>
*<translate><!--T:82--> China6 <code>chn6.ddnet.org</code></translate>
*<translate><!--T:83--> China7 <code>chn7.ddnet.org</code></translate>
*<translate><!--T:84--> China8 <code>chn8.ddnet.org</code></translate>
*<translate><!--T:85--> China9 <code>chn9.ddnet.org</code></translate>
*<translate><!--T:86--> China12 <code>chn12.ddnet.org</code></translate>
*<translate><!--T:87--> China13 <code>chn13.ddnet.org</code></translate>
*<translate><!--T:88--> Taiwan <code>twn.ddnet.org</code></translate>
*<translate><!--T:89--> Korea <code>kor.ddnet.org</code></translate>
*<translate><!--T:90--> Singapore <code>sgp2.ddnet.org</code></translate>
*<translate><!--T:91--> India <code>ind.ddnet.org</code></translate>
*<translate><!--T:92--> Australia <code>aus.ddnet.org</code></translate>
*<translate><!--T:93--> South Africa <code>zaf3.ddnet.org</code></translate>
 
<translate>
<!--T:94-->
''Note that if you don't find your region in the previous [http://ddnet.org/status/ link], it probably means that the region does not have servers, or they were removed due to different problems with the hoster or not having enough players. If you have a good hoster, and want to share it, or even if you want to sponsor a region, join the [https://ddnet.org/discord DDNet Discord] server and talk to an admin about it, they will be very grateful! If you want to make a donation for any server, check out [https://ddnet.org/funding/ ddnet.org/funding/].''


===The game warns me about images, whose width or height are not divisible by #number, which causes visual bugs, what does it mean?===
<!--T:95-->
Highlight a domain with your mouse, press {{key press|ctrl|C}} to copy, go to the server browser in DDNet Client, and paste with {{key press|ctrl|V}} into the Server address field at the bottom. Remember to add port (e.g. <code>usa1.ddnet.org:8308</code>).
</translate>
# <translate><!--T:96--> Try ports greater or less than <code>8300</code> (port <code>8300</code> is always tutorial server) e.g. <code>8308</code>, <code>8298</code> ... for most servers. For BLOCKER servers, use <code>8203</code> or <code>8204</code>.</translate>
# <translate><!--T:97--> If you want an empty server, change port until you get one.</translate>
# <translate><!--T:98--> Once you connect, add it to your favorites. If you leave, you should be able to connect to it again by just double clicking on the IP in the Favorites tab.</translate>
<translate>


The game tries to give you and graphic designers the best experience. In order to archive that, it defines what the layout of its graphics should look like, so the artists can rely on consistency during their creative work.
<!--T:99-->
One small recommendation is to favorite all the servers you regularly play in, so when this problem happens, you have them ready to just join from your Favorites list.


For example: In Teeworlds the tile maps are small 16x16 images inside a bigger image. In order to render these tile maps correctly the game needs the image width and height to be divisible by 16, otherwise it can not determine where to split the tilemap into smaller tiles, else something called "texture bleeding" occurs, which is quite common in texture atlasses.
=== Problems related to the graphics renderer? === <!--T:35-->


You can search the internet for more information about that.
<!--T:36-->
Check out [[Special:MyLanguage/GFX Troubleshooting|GFX Troubleshooting]].


=== Is there any documentation about the DDraceNetwork code? ===
==Gameplay Related== <!--T:37-->
You can find auto-generated docs from Doxygen here: https://wiki.ddnet.tw/docs/


There are also some [[Resources#Blog Posts|blog posts]] that may help you.
===How to play with my friends only?=== <!--T:38-->


==Gameplay Related==
<!--T:39-->
===How to play privately with my group of people instead of in public team 0?===
There are multiple ways to achieve this:
There are multiple ways to achieve this:


<!--T:40-->
# Join an empty official DDNet server, and vote any map you want in Escape -> Call Vote, or use "/map" in chat to search for a map. Join a team using "/team 23" in chat, you can /lock the team and /invite others to join it too. This means others can watch you play, and you get official ranks when you finish the map.
# Join an empty official DDNet server, and vote any map you want in Escape -> Call Vote, or use "/map" in chat to search for a map. Join a team using "/team 23" in chat, you can /lock the team and /invite others to join it too. This means others can watch you play, and you get official ranks when you finish the map.
# Use a public service to host a public server, like Trashmap: https://trashmap.ddnet.tw/ You can upload any map you want, but you won't get official ranks this way.
# Use a public service to host a public server, like Trashmap: https://trashmap.ddnet.org/ You can upload any map you want, but you won't get official ranks this way.
# Create a [[LAN Server]], and set it up to be public.
# Create a [[Special:MyLanguage/LAN Server|LAN Server]], and set it up to be public.
 
===What's weak and strong hook?=== <!--T:41-->
 
<!--T:42-->
You can find information about this at the [[Special:MyLanguage/Hook#Weak Hook - Strong Hook|Hook]] page.
 
===How to save and load a run?=== <!--T:15-->
 
<!--T:16-->
You can use command <code>/save</code> to save your run in Team or in a solo map and get a code. You can also type <code>/save "your code"</code> to use your own code. The run can be restored again with <code>/load "code"</code> command. Inside the config directory there is a file called ddnet-saves.txt, it will contain the save codes.
 
<!--T:19-->
Make sure that every player has the same name to load. You and your team members need to be in a team and not have touched the start line to load a save game. Each save game can only be loaded once, so repeat the above steps if you need to save again.
 
== Design Related == <!--T:43-->
 
=== How to make a map or skin? === <!--T:44-->
 
<!--T:45-->
See [[Special:MyLanguage/Mapping|Mapping]], [[Special:MyLanguage/Skin creation|Skin creation]] and [[Special:MyLanguage/Resources|Resources]] in general.
 
=== How do I upload my map to the official server? === <!--T:46-->


===What's weak and strong hook?===
<!--T:47-->
You can find information about this at the [[Hook#Weak Hook - Strong Hook|Hook]] page.
If you want to upload your map to the official server, your map should comply with and follow the map creation guidelines. Once you think your map meets all the requirements, you can submit it for review in the submit-maps channel on Discord.


== Design Related ==
=== How can I get other players to see the skin that I created? === <!--T:48-->


=== How can I get other players to see the skin that I created? ===
<!--T:49-->
There are two ways to get other players to see your custom skin:
There are two ways to get other players to see your custom skin:


<!--T:50-->
# Others manually add your skin to their game files by pasting it in the skins folder in the config directory.
# Others manually add your skin to their game files by pasting it in the skins folder in the config directory.
# Your skin gets added to the official skin database and automatically downloaded for all other players.
# Your skin gets added to the official skin database and automatically downloaded for all other players.


<!--T:51-->
If you are interested in the second option, your skin must meet a set of requirements in order to keep consistency with other skins in the database and the game's style:
If you are interested in the second option, your skin must meet a set of requirements in order to keep consistency with other skins in the database and the game's style:


<!--T:52-->
* Resolution is 256x128
* Resolution is 256x128
* Outline sizes consistent with other skins
* Outline sizes consistent with other skins
Line 82: Line 205:
* No elements that could be considered offensive
* No elements that could be considered offensive


<!--T:53-->
If you think your skin meets all of them, send it to one of the Skin Database Crew on discord for evaluation.
If you think your skin meets all of them, send it to one of the Skin Database Crew on discord for evaluation.
</translate>

Latest revision as of 20:28, 19 June 2023

Here you can find a collection of frequently asked questions. If you want to know how to contribute to this wiki, you can take a look at How to contribute.

If you don't find the answers you want here, you can go to the official Discord.

Technical Questions

Where is the DDNet config, config directory or save directory?

Windows

Old: %appdata%\Teeworlds

New: %appdata%\DDNet

Linux

Old: ~/.teeworlds

New: ~/.local/share/ddnet

macOS

Old: ~/Library/Application Support/Teeworlds

New: ~/Library/Application Support/DDNet

Inside the settings_ddnet.cfg file will be your configurations/settings. The config directory can also be used as data directory to replace skins or other files, without modifying the client's data directory (Note: it has the same directory structure as the data directory).

My game skin, entities, autoexec or any other file was overwritten by an update, why?

During development we regularly replace, update, or remove files. The updater will overwrite any changes made to the data and binary directories. To make sure that your personal modifications don't get lost use the config directory instead, it has the same directory structure as the "data"-directory that comes with the client.

Is there any documentation about the DDraceNetwork code?

The Development page and some blog posts may help you. You can also find auto-generated docs from Doxygen here: https://codedoc.ddnet.org/.

The game warns me about images, whose width or height are not divisible by #number, which causes visual bugs, what does it mean?

Texture bleeding because of incorrect resolution

The game tries to give you and graphic designers the best experience. In order to achieve that, it defines clear rules for the layout of its graphics, so that the artists can rely on consistency while creating their work.

For example: In Teeworlds the tile maps are small images inside a bigger image for a total of 16x16 images (tile images). In order to render these tile maps correctly the game needs the image width and height to be divisible by 16, otherwise it can not determine where to split the tilemap into smaller images which represent a single tile. And thus something called "texture bleeding" occurs, which is quite common in texture atlasses.

You can search the internet for more information about that.

"No answer from server yet."?

It is likely the server is down or not reachable from the client, probably due to DoS attacks. You can try again later or visit Troubleshooting#Network / Connection problems for more information about how to verify that your internet connection is fine.

The servers I play in are gone. What happened?

First, check if you don't have any filters on that can reduce the amount of servers shown. If this is not the case, keep reading below.

This is a problem that can happen from time to time.

This is a little guide to help as a workaround until it gets fixed.

If you visit ddnet.org/status/ and your region server says it's up, this means there is a problem that leads to some (or every) servers to not appear in the server list. However, you can still connect to them via IP.

Here is a list of servers domains that you can use to connect from your DDNet Client:

  • Germany2 ger2.ddnet.org
  • Germany10 ger10.ddnet.org
  • Poland pol.ddnet.org
  • Russia rus4.ddnet.org
  • Turkey1 tur.ddnet.org
  • Turkey2 tur2.ddnet.org
  • Persian irn.ddnet.org
  • Saudi Arabia sau.ddnet.org
  • Chile chl2.ddnet.org
  • Brazil bra.ddnet.org
  • Argentina arg.ddnet.org
  • Peru per.ddnet.org
  • USA1 usa1.ddnet.org
  • USA2 usa2.ddnet.org
  • China0 chn0.ddnet.org
  • China1 chn11.ddnet.org
  • China2 chn2.ddnet.org
  • China3 chn3.ddnet.org
  • China4 chn4.ddnet.org
  • China5 chn5.ddnet.org
  • China6 chn6.ddnet.org
  • China7 chn7.ddnet.org
  • China8 chn8.ddnet.org
  • China9 chn9.ddnet.org
  • China12 chn12.ddnet.org
  • China13 chn13.ddnet.org
  • Taiwan twn.ddnet.org
  • Korea kor.ddnet.org
  • Singapore sgp2.ddnet.org
  • India ind.ddnet.org
  • Australia aus.ddnet.org
  • South Africa zaf3.ddnet.org

Note that if you don't find your region in the previous link, it probably means that the region does not have servers, or they were removed due to different problems with the hoster or not having enough players. If you have a good hoster, and want to share it, or even if you want to sponsor a region, join the DDNet Discord server and talk to an admin about it, they will be very grateful! If you want to make a donation for any server, check out ddnet.org/funding/.

Highlight a domain with your mouse, press ctrl+C to copy, go to the server browser in DDNet Client, and paste with ctrl+V into the Server address field at the bottom. Remember to add port (e.g. usa1.ddnet.org:8308).

  1. Try ports greater or less than 8300 (port 8300 is always tutorial server) e.g. 8308, 8298 ... for most servers. For BLOCKER servers, use 8203 or 8204.
  2. If you want an empty server, change port until you get one.
  3. Once you connect, add it to your favorites. If you leave, you should be able to connect to it again by just double clicking on the IP in the Favorites tab.

One small recommendation is to favorite all the servers you regularly play in, so when this problem happens, you have them ready to just join from your Favorites list.

Problems related to the graphics renderer?

Check out GFX Troubleshooting.

Gameplay Related

How to play with my friends only?

There are multiple ways to achieve this:

  1. Join an empty official DDNet server, and vote any map you want in Escape -> Call Vote, or use "/map" in chat to search for a map. Join a team using "/team 23" in chat, you can /lock the team and /invite others to join it too. This means others can watch you play, and you get official ranks when you finish the map.
  2. Use a public service to host a public server, like Trashmap: https://trashmap.ddnet.org/ You can upload any map you want, but you won't get official ranks this way.
  3. Create a LAN Server, and set it up to be public.

What's weak and strong hook?

You can find information about this at the Hook page.

How to save and load a run?

You can use command /save to save your run in Team or in a solo map and get a code. You can also type /save "your code" to use your own code. The run can be restored again with /load "code" command. Inside the config directory there is a file called ddnet-saves.txt, it will contain the save codes.

Make sure that every player has the same name to load. You and your team members need to be in a team and not have touched the start line to load a save game. Each save game can only be loaded once, so repeat the above steps if you need to save again.

Design Related

How to make a map or skin?

See Mapping, Skin creation and Resources in general.

How do I upload my map to the official server?

If you want to upload your map to the official server, your map should comply with and follow the map creation guidelines. Once you think your map meets all the requirements, you can submit it for review in the submit-maps channel on Discord.

How can I get other players to see the skin that I created?

There are two ways to get other players to see your custom skin:

  1. Others manually add your skin to their game files by pasting it in the skins folder in the config directory.
  2. Your skin gets added to the official skin database and automatically downloaded for all other players.

If you are interested in the second option, your skin must meet a set of requirements in order to keep consistency with other skins in the database and the game's style:

  • Resolution is 256x128
  • Outline sizes consistent with other skins
  • Fits the tee hitbox well
  • No missing, misaligned or cut off parts
  • No sharp or floating pixels
  • No effects that clash with the game's art style (blur, glow etc.)
  • Not too detailed or too plain
  • Not an edit of an existing skin
  • No elements that could be considered offensive

If you think your skin meets all of them, send it to one of the Skin Database Crew on discord for evaluation.