







1























cl_mouse_max_distance lower or adjust your screen resolution if the game does not fill the whole screen

























1
--call-graph dwarf I think since we probably omit frame pointers on a release build









c++
void net_addr_str_v4(const NETADDR *addr, char *str, size_t max) {
char *p = str;
for(int i = 0; i < 4; i++) {
auto r = std::to_chars(p + j, p + 3, addr->ip[i];
p = r.ptr;
*p = '.';
}
*p++ = '\0';
} I think this had some issue though, whatever, was just messing around


c++
void net_addr_str_v4(const NETADDR *addr, char *str, size_t max) {
char *p = str;
for(int i = 0; i < 4; i++) {
auto r = std::to_chars(p + j, p + 3, addr->ip[i];
p = r.ptr;
*p = '.';
}
*p++ = '\0';
} I think this had some issue though, whatever, was just messing around 

[7:57 PM]heinrich5991: probably just don't redo the work
[7:57 PM]heinrich5991: each time
[7:57 PM]heinrich5991: but rather do it when the client joins
[7:57 PM]heinrich5991: not sure how well this could be integrated
[7:57 PM]heinrich5991: afk ^^
[7:57 PM]Learath2: Yeah, or pass the ip binary instead of as a string?
[7:57 PM]heinrich5991: but then we need to define a binary format
[7:58 PM]heinrich5991: that doesn't change
[7:58 PM]heinrich5991: I can see NETADDR changing, unfortunately
[7:58 PM]Learath2: We could define an underlying NETADDR_INTERNAL with only ip and port, that's not going to change unless ipv8 is due
[8:00 PM]heinrich5991: I'll take a look whether we can avoid redoing the work
[8:00 PM]heinrich5991: then the string repr would be fine

str_copy is much cheaper atleast (edited)FillAntibot would expose some mechanism for the Filler to use the previous struct they submitted







1
1
1
























tig blame









git log -S