




m_AllowPlaceUnusedTiles with an enum class
m_AllowPlaceUnusedTiles have been replaced with the corresponding enum values from EUnusedEntities. 
isAllowPlaceUnusedTiles().
















































































for (int i = 0; i < size; i++)
    printf("%02x ", (unsigned char)data[i]);
printf("\n");









tcpdump "udp and port 8303" -w test.pcap it





tcpdump "udp and port 8303" -w test.pcap it 

tcpdump "udp and port 8303" -w test.pcap it 






























































char buf[64];
net_addr_str(&Addr, buf, sizeof(buf), true);
printf("from %s\n", buf); (edited)





















































































































































































































mod test {
    extern fn malloc(size: u64) -> *mut u8;
    extern fn puts(ptr: *mut u8) -> i32;
    #[langitem = "String"]
    struct String {
        ptr: *mut u8,
        len: u64,
        cap: u64,
    }
    fn main() -> u64 {
        let x: String = "hello \nworld";
        puts(x.ptr);
        return 0;
    }
}
@MilkeeyCat i got strings, and so i got prints






















 1


note: - it tells you that you're missing something important - i assume you didnt download the msvc build tools

































 1


MESA_LOADER_DRIVER_OVERRIDE=zink ./DDNet "gfx_backend OpenGL; gfx_gl_major 3; gfx_gl_minor 3"















console_output_level 1

m_SpectatorCount is bolted on to DDNetSpectatorInfo. But the server is sending the packet without that field, which means the parsing will fail.






m_SpectatorCount by adding a fourth argument to NetIntRange, which will fix the problem.































 
 maybe deleting packages was a bad idea after all




#0 0x55cff7946c9e in net_addr_str(NETADDR const*, char*, int, bool) /home/david/ddnet/src/base/system.cpp:1174
#1 0x55cff66011c4 in CClient::ProcessServerInfo(int, NETADDR*, void const*, int) /home/david/ddnet/src/engine/client/client.cpp:1237
#2 0x55cff6604d39 in CClient::ProcessConnlessPacket(CNetChunk*) /home/david/ddnet/src/engine/client/client.cpp:1206
#3 0x55cff66058f0 in CClient::PumpNetwork() /home/david/ddnet/src/engine/client/client.cpp:2577
#4 0x55cff6607160 in CClient::Update() /home/david/ddnet/src/engine/client/client.cpp:2661
#5 0x55cff6610359 in CClient::Run() /home/david/ddnet/src/engine/client/client.cpp:3248
#6 0x55cff61f5aa4 in main /home/david/ddnet/src/engine/client/client.cpp:4951
#7 0x7fad0a8fc1c9 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58
#8 0x7fad0a8fc28a in __libc_start_main_impl ../csu/libc-start.c:360
#9 0x55cff6202ea4 in _start (/home/david/ddnet/build/DDNet+0x12aea4) (BuildId: 1043ffce204214dd61d0eb439242ead75d39e3c5)
 ignore the line of the final crash also the lines of the client.cpp will be off due to my fuzzing code




















