What is 'ui_server_address' in ~/.teeworlds/settings_ddnet.cfg ?

Request help for teeworlds-related subjects (mapping, servers, ..).
For client issues, see our repositories (https://github.com/ddnet/ddnet/issues).
Post Reply
linuxmint173
Posts: 4
Joined: Mon Jun 19, 2017 6:39 am

What is 'ui_server_address' in ~/.teeworlds/settings_ddnet.cfg ?

Post by linuxmint173 »

Code: Select all

$stat ~/.teeworlds/settings_ddnet.cfg /media/mint/mystuff/17_3/teeworlds-user-config/settings_ddnet.cfg | egrep '^Modify'
Modify: 2017-06-18 21:02:25.456186938 -0700
Modify: 2017-06-18 09:21:36.000000000 -0700

$diff ~/.teeworlds/settings_ddnet.cfg teeworlds-user-config/settings_ddnet.cfg 
57c57
< ui_server_address "95.85.7.117:8339"
---
> ui_server_address "188.68.37.85:8343"
121c121
< snd_enable 0
---
> snd_enable 1


$grep server ~/.teeworlds/settings_ddnet.cfg 
cl_ddnet_version_server "version.ddnet.tw"
cl_ddnet_update2_server "update2.ddnet.tw"
cl_ddnet_maps_server "maps.ddnet.tw"
ui_server_address "95.85.7.117:8339"
br_filter_serveraddress ""
snd_servermessage 0

$cd ~/Downloads
$wget -q https://github.com/ddnet/ddnet/archive/10.6.3.tar.gz
$sudo apt-get -y install atool > /dev/null 2>&1
$aunpack 10.6.3.tar.gz > /dev/null
10.6.3.tar.gz: extracted to `ddnet-10.6.3'
$cd ddnet-10.6.3
$grep -RsHIn 'ui_server_address' .
./src/game/variables.h:92:MACRO_CONFIG_STR(UiServerAddress, ui_server_address, 64, "localhost:8303", CFGFLAG_CLIENT|CFGFLAG_SAVE, "Interface server address")
$grep -RsHIn UiServerAddress .
./src/game/variables.h:92:MACRO_CONFIG_STR(UiServerAddress, ui_server_address, 64, "localhost:8303", CFGFLAG_CLIENT|CFGFLAG_SAVE, "Interface server address")
./src/game/client/components/menus_browser.cpp:216:				str_copy(g_Config.m_UiServerAddress, pItem->m_aAddress, sizeof(g_Config.m_UiServerAddress));
./src/game/client/components/menus_browser.cpp:247:		int Selected = str_comp(pItem->m_aAddress, g_Config.m_UiServerAddress) == 0; //selected_index==ItemIndex;
./src/game/client/components/menus_browser.cpp:463:		str_copy(g_Config.m_UiServerAddress, pItem->m_aAddress, sizeof(g_Config.m_UiServerAddress));
./src/game/client/components/menus_browser.cpp:469:			Client()->Connect(g_Config.m_UiServerAddress);
./src/game/client/components/menus_browser.cpp:1107:						str_copy(g_Config.m_UiServerAddress, pItem->m_aAddress, sizeof(g_Config.m_UiServerAddress));
./src/game/client/components/menus_browser.cpp:1354:			Client()->Connect(g_Config.m_UiServerAddress);
./src/game/client/components/menus_browser.cpp:1364:		DoEditBox(&g_Config.m_UiServerAddress, &Button, g_Config.m_UiServerAddress, sizeof(g_Config.m_UiServerAddress), 14.0f, &Offset);
./src/game/client/components/menus.cpp:1084:			pExtraText = g_Config.m_UiServerAddress; // TODO: query the client about the address
./src/game/client/components/menus.cpp:1280:				Client()->Connect(g_Config.m_UiServerAddress);
./src/engine/client/client.cpp:2775:			str_copy(g_Config.m_UiServerAddress, m_aCmdConnect, sizeof(g_Config.m_UiServerAddress));
$grep -RsHIni 'interface server' .
./src/osxlaunch/server_mysql.m:3:@interface ServerView : NSTextView
./src/osxlaunch/server.m:3:@interface ServerView : NSTextView
./src/game/variables.h:92:MACRO_CONFIG_STR(UiServerAddress, ui_server_address, 64, "localhost:8303", CFGFLAG_CLIENT|CFGFLAG_SAVE, "Interface server address")
User avatar
deen
TECHNICAL Team
Posts: 3576
Joined: Mon May 05, 2014 2:30 pm
Player profile: https://ddnet.org/players/deen/
Discord: deen#5910

Re: What is 'ui_server_address' in ~/.teeworlds/settings_ddnet.cfg ?

Post by deen »

The address shown at the bottom in your serverbrowser when you start the game. So probably the last server you were connected to.
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests