Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.tw/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories — IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2019-08-14 00:00:00Z and 2019-08-15 00:00:00Z
Avatar
I know but i try everything and keep doing like that :s
00:24
i open my ports
00:24
i wait like 2 - 3 hours
00:24
and put the sv_register 1
00:24
change the ports to 8303 8304 8309 etc
00:24
and nothing :s
00:25
Avatar
what is ur server ip
Avatar
127.0.0.1
02:24
troll
Avatar
localhost
Avatar
Why is ddracecommands.h not in the same directory as ddracecommands.cpp?
03:23
or like ddracechat
03:24
@Learath2
Avatar
Only god knows
Avatar
and me
06:52
troll
Avatar
@fokkonaut ddracecomands.h included in Engine-client side..... both srv and cl need this header
Avatar
In the autoexec_cfg you need change anything more than sv_register 1?
10:59
not sure if the master servers are working properly currently
10:59
disable firewalls, enable port forwarding in your router
11:00
maybe someone else can test that it works right now?
11:00
can people connect with your ip directly?
Avatar
Mmm my public ip?
11:03
look, i change sv_register to 1 , i open the ports 8303 upd and tcp and i make a rule in my firewall for that ports to enable
11:03
and nothing xDD
11:05
11:06
i tell a friend to connect and insta the server crash
11:07
with my public ip
11:11
Well my friend right now can connect if i open the server with admins right (sry for my english)
11:16
but my server isnt in the master server i think
Avatar
if you connect to a master, but it is not responsiding its the ddos attacks I guess
Avatar
hey, ddnet is currently unplayable for me this is the second time, that this showed up, but last time it went away after a few hours problem: while i see every movement of every other tee real-time, i own input is delayed by up to a few seconds. this 'lag' is completely inconsistent, sometimes i can move normally, sometimes i have to wait a couple seconds to do anything, its unpredictable all sorts of pings are fine while that happens. im also playing via lan, so no problems there is this a known issue and there is a fix or can i help troubleshooting in any way?
Avatar
:( fck ddos
Avatar
its not ddos, everyone else on the servers is fine (edited)
11:39
also its ddnet servers only
Avatar
and kog servers i dont know if that server have priority bcoz they are official or something like that, idk :x
Avatar
i dont quite understand what you mean, but i dont have the problem on kog servers
Avatar
You might be dropping packets
13:28
happens to me sometimes
Avatar
it's funny bcoz the 0.7 servers work pretty well than the 0.6
13:40
Avatar
the masterserver code didn't change much at all between 0.6 and 0.7
Avatar
it's weird :x
Avatar
is there anything that could be done?
13:53
+ sometimes the other players movement lag for me too (edited)
13:59
i have this problem now since yesterday ~afternoon
Avatar
/home/teeworlds/git/teeworlds/src/game/server/score/file_score.cpp:200:19: required from here /usr/include/c++/6/bits/predefined_ops.h:72:22: error: no match for 'operator<' (operand types are 'const CFileScore::CPlayerScore' and 'CFileScore::CPlayerScore') { return __val < *__it; } line 200: sort(m_Top.all()); function around it: void CFileScore::UpdatePlayer(int ID, float Score, float aCpTime[NUM_CHECKPOINTS]) { const char *pName = Server()->ClientName(ID); lock_wait(gs_ScoreLock); CPlayerScore *pPlayer = SearchScore(ID, 0); if (pPlayer) { for (int c = 0; c < NUM_CHECKPOINTS; c++) pPlayer->m_aCpTime[c] = aCpTime[c]; pPlayer->m_Score = Score; str_copy(pPlayer->m_aName, pName, sizeof(pPlayer->m_aName)); sort(m_Top.all()); } else m_Top.add(*new CPlayerScore(pName, Score, aCpTime)); lock_unlock(gs_ScoreLock); Save(); } m_Top is: sorted_array<CPlayerScore> m_Top; This is the file_score from ddnet, i am trying to use it on 0.7, i cant get it to work
19:43
Does anyone has an idea?
19:49
this is the whole error
Avatar
It could be that we are compiling with C++14
19:58
There was that big change in how the stl types took in their comparison functions
Avatar
Dune helped me, I added a const here too: bool operator<(const CPlayerScore& other) ->>>>>>>>>const { return (this->m_Score < other.m_Score); }
Avatar
oof colors
Exported 57 message(s)