[2022-06-15 11:14:21][assert]: CUI::ConvertMouseMove CursorType 0
Process 11008 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BREAKPOINT (code=1, subcode=0x10008d0d0)
frame #0: 0x000000010008d0d0 DDNet
::dbgbreak() at system.cpp:194:2
191 void dbgbreak()
192 {
193 #ifdef __GNUC
-> 194 __builtin_trap();
195 #else
196 abort();
197 #endif
Target 0: (DDNet) stopped.
(lldb) up
frame #1: 0x0...error: cannot convert ‘std::chrono::nanoseconds’ {aka ‘std::chrono::duration<long int, std::ratio<1, 1000000000> >’} to ‘int’ in assignment
Now
thing again didnt uCURSOR_NONE
is returned when the cursor was not moved. Closes #5418.
class IGraphics *CComponent::Graphics() const { return m_pClient->Graphics(); }
c++
bool ShouldRenderGoals = m_pClient->m_Snap.m_pGameInfoObj && (m_pClient->m_Snap.m_pGameInfoObj->m_ScoreLimit || m_pClient->m_Snap.m_pGameInfoObj->m_TimeLimit || (m_pClient->m_Snap.m_pGameInfoObj->m_RoundNum && m_pClient->m_Snap.m_pGameInfoObj->m_RoundCurrent));
c++
bool ShouldRenderGoals = m_pClient->m_Snap.m_pGameInfoObj && (m_pClient->m_Snap.m_pGameInfoObj->m_ScoreLimit || m_pClient->m_Snap.m_pGameInfoObj->m_TimeLimit || (m_pClient->m_Snap.m_pGameInfoObj->m_RoundNum && m_pClient->m_Snap.m_pGameInfoObj->m_RoundCurrent));
IEditor::UpdateAndEditor
into OnUpdate
and OnRender
and call the various input and UI methods in the same order as in the gameclient. This fixes the joystick input being slow in the editor.
io_read_all
reads all bytes from a file handle into a new buffer. It should only need one allocation per file in cases where the actual file size matches the expected file size. Otherwise it falls back to doubling the buffer size if the actual file size is larger than expected to avoid TOCTOU problems.
io_read_all_str
reads all bytes from a file handle into a new buffer and also ensures that the buffer is null-terminated and contains no other null-characters.
mem_has_null
is a u...[2022-06-16 00:22:53][register/6/ipv6]: ERROR: the master server reports that clients can not connect to this server.
[2022-06-16 00:22:53][register/6/ipv6]: ERROR: configure your firewall/nat to let through udp on port 8303.
And yes i know, i need to have the portforwarding, but I have already done this[2022-06-16 00:30:06][http]: https://master1.ddnet.tw/ddnet/15/register failed. libcurl error: The requested URL returned error: 400
I have never seen this one[2022-06-16 00:30:06][http]: https://master1.ddnet.tw/ddnet/15/register failed. libcurl error: The requested URL returned error: 400
I have never seen this one