








Dummy is already connected/connecting. i have my dummy connect and switch to dummy on the same key


Dummy is already connected/connecting. i have my dummy connect and switch to dummy on the same key 







CClient::ProcessServerInfo






CClient::ProcessServerInfo the 0.7 bridge should not pollute the ddnet 0.6 codePreprocessConnlessPacket() call here https://github.com/ddnet/ddnet/blob/96ad30eb21dad20a307e2c6636004aca41fc887c/src/engine/client/client.cpp#L2508-L2509




pClient->UpdateRenderInfo(true, IClient::CONN_MAIN); sets correct teams for the main teepClient->UpdateRenderInfo(true, IClient::CONN_DUMMY); sets correct teams for dummy
Sixup and ended up writing Xusep xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxD














connect 127.0.0.1 connects with 0.6 protocolconnect tw-0.7+udp://127.0.0.1 connects with 0.7 protocolbool m_Player is true = in game and false = spectator and in 0.6 its spec/bot/ingame














server address field (edited)





























































































8303..=80310 and was wondering why servers had 300 ping xd (edited)

























Found variable which is not used at all xd




























































CSkins7::RandomizeSkin function.
























can't know all exacly







src/game/client/prediction/















Thread 1 "DDNet" received signal SIGSEGV, Segmentation fault.
CSnapshotDelta::SetStaticsize (this=0x13a50400000014, ItemType=ItemType@entry=21, Size=Size@entry=1)
at /home/teero/software/ddnet/src/engine/shared/snapshot.cpp:271
271 m_aItemSizes[ItemType] = Size;


ItemType so large that you overflow waaay out of the process memory?



ItemType so large that you overflow waaay out of the process memory? 





















0x7fffffff9000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x7fffffff9080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x7fffffff9100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x7fffffff9180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x7fffffff9200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
=>0x7fffffff9280: 00 00 00 00 00 00 00 00 00 00 00 00[f2]f2 f2 f2
0x7fffffff9300: f2 f2 f2 f2 f2 f2 f2 f2 f2 f2 f2 f2 f2 f2 f2 f2
0x7fffffff9380: f2 f2 f2 f2 f2 f2 f2 f2 f2 f2 f2 f2 f8 f8 f8 f8
0x7fffffff9400: f8 f2 f2 f2 f2 f2 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8
0x7fffffff9480: f8 f8 f8 f8 f8 f8 f2 f2 f2 f2 f8 f8 f2 f2 f8 f2
0x7fffffff9500: f2 f2 f8 f3 f3 f3 f3 f3 00 00 00 00 00 00 00 00
look at all his friends
1

m_aIdMap overflowed

int CSnapshotBuilder::Finish(void *pSnapData)
{
// flatten and make the snapshot
CSnapshot *pSnap = (CSnapshot *)pSnapData;
pSnap->m_DataSize = m_DataSize;
pSnap->m_NumItems = m_NumItems;
mem_copy(pSnap->Offsets(), m_aOffsets, pSnap->OffsetSize());
mem_copy(pSnap->DataStart(), m_aData, m_DataSize);
return pSnap->TotalSize();
}
the second mem_copy
m_SnapshotBuilder overflowed (edited)

CSnapshot::MAX_SIZE is just not big enough





CSnapshot::MAX_SIZE is just not big enough 
CSnapshotBuilder is stored right next to CSnapshotDelta, when that mem_copy overflows it corrupts CSnapshotDelta









CSnapshot::MAX_SIZE is just not big enough 






CSnapshotBuilder::Finish write to the pSnapData argument which is a char buffer of size CSnapshot::MAX_SIZE. The function then copies the offsets and the data into this buffer, but the data could be as large as CSnapshot::MAX_SIZE so it wouldn't fit together with the offset and the m_DataSize and m_NumItems values.
























SUMMARY: AddressSanitizer: stack-overflow /home/teero/software/ddnet/src/engine/client/client.cpp:93 in CClient::CClient() (edited)AddressSanitizer:DEADLYSIGNAL
=================================================================
==56981==ERROR: AddressSanitizer: stack-overflow on address 0x7ffef67224d8 (pc 0x651fa5de7db0 bp 0x7ffefa7229e0 sp 0x7ffef6721d40 T0)
#0 0x651fa5de7db0 in CClient::CClient() /home/teero/software/ddnet/src/engine/client/client.cpp:93
#1 0x651fa5e92e75 in CreateClient() /home/teero/software/ddnet/src/engine/client/client.cpp:4406:13
#2 0x651fa5e8c369 in main /home/teero/software/ddnet/src/engine/client/client.cpp:4610:21
#3 0x778f6354ec87 (/usr/lib/libc.so.6+0x25c87) (BuildId: 32a656aa5562eece8c59a585f5eacd6cf5e2307b)
#4 0x778f6354ed4b in __libc_start_main (/usr/lib/libc.so.6+0x25d4b) (BuildId: 32a656aa5562eece8c59a585f5eacd6cf5e2307b)
#5 0x651fa5339ab4 in _start (/home/teero/software/ddnet/build/DDNet+0x14c4ab4) (BuildId: 16d480194dacca7529c8c37226d7454bd767caec)
SUMMARY: AddressSanitizer: stack-overflow /home/teero/software/ddnet/src/engine/client/client.cpp:93 in CClient::CClient()
==56981==ABORTING
like wtf





























windows 11 uses like 1gb idle with nothing running 







1













windows 11 uses like 1gb idle with nothing running



























































































































3
























1







































code --new-window ~/shit/ --disable-gpu



hardware.bluetooth.enable = true;


1


bluetoothEnhancements = {
"monitor.bluez.properties" = {
"bluez5.enable-sbc-xq" = true;
"bluez5.enable-msbc" = true;
"bluez5.enable-hw-volume" = true;
"bluez5.codecs" = [
"ldac"
"aptx"
"aptx_11_duplex"
"aptx_11"
"aptx_hd"
"opus_05_pro"
"opus_05_71"
"opus_05_51"
"opus_05"
"opus_05_duplex"
"aac"
"sbc_xq"
];
"bluez5.roles" = [
"a2dp_sink"
"a2dp_source"
"bap_sink"
"bap_source"
"hsp_hs"
"hsp_ag"
"hfp_hf"
"hfp_ag"
];
};
};
};






































pwvucontrol










1


















%appdata%\Teeworlds
New: %appdata%\DDNet
On Linux:
Old: ~/.teeworlds
New: ~/.local/share/ddnet
On macOS:
Old: ~/Library/Application Support/Teeworlds
New: ~/Library/Application Support/DDNet



%appdata%\DDNet; delete everything in skins and downloadedskins i guess









%appdata%\DDNet; delete everything in skins and downloadedskins i guess 















































sv_port description which is easy to miss.
!LAN











