.\windows_DDNetPP.exe
.\windows_DDNetPP.exe
into your cmddir
cd Desktop
firstsv_map blmapv3royal
rainbow
and use tab completionsv_rcon_password yourpw
playtime
[twnet_parser v0.8.0] udp payload: ff ff ff ff ff ff 01
--- 0.7
--- 0.6
[twnet_parser v0.8.0] udp payload: 01 01 01 ff ff ff ff 04
--- 0.7
--- 0.6
[twnet_parser v0.8.0] udp payload: 10 00 00 04 62 61 6e 00
--- 0.7
[twnet_parser v0.8.0] udp payload: 30 00 00 01 56 53 3e 00
--- 0.7
--- 0.6
[twnet_parser v0.8.0] udp payload: 10 00 00 04 62 61 6e 00
--- 0.7
[twnet_parser v0.8.0] udp payload: 80 08 13 58 00 81 35 69
--- 0.7
--- 0.6
[twnet_parser v0.8.0] udp payload: 10 00 00 01 54 4b 45 4e ff ff ff ff
--- 0.7
@
[twnet_parser v0.8.0] udp payload: 10 00 00 04 62 61 6e 00
--- 0.7
--- 0.6
<class: 'PacketHeader6'>: {'flags': <class: 'PacketFlags6'>, 'ack': 0, 'token': b'\x04ban', 'num_chunks': 0, 'connless_version': 1, 'response_token': b'\xff\xff\xff\xff'}
<class: 'CtrlClose'>: {'message_type': 'control', 'message_name': 'close', 'message_id': 4, 'reason': 'ban'}
[twnet_parser v0.8.0] udp payload: 10 00 00 01 54 4b 45 4e ff ff ff ff
--- 0.7
--- 0.6
<class: 'PacketHeader6'>: {'flags': <class: 'PacketFlags6'>, 'ack': 0, 'token': b'\x01TKE', 'num_chunks': 0, 'connless_version': 1, 'response_token': b'\xff\xff\xff\xff'}
<class: 'CtrlConnect'>: {'message_type': 'control', 'message_name': 'connect', 'message_id': 1, 'response_token': b'\xff\xff\xff\xff'}
server| +- | ▲ pps | ▼ pps
MASTER| up | 12| 8
GER2 |ddos|235.75k| 5.46k
POL | up | 1.18k| 1.37k
RUS4 | up | 8.28k| 10.38k
IRN | up | 201| 233
SAU | up | 113| 183
CHL2 | up | 139| 106
BRA | up | 816| 1.02k
ARG | up | 134| 72
PER | up | 36| 8
USA1 | up | 326| 631
USA2 | up | 5| 5
CHN0 | up | 1.81k| 2.43k
CHN11 | up | 4.19k| 4.29k
CHN2 | up | 6.84k| 8.41k
CHN3 | up | 1.0k| 1.64k
CHN4 | up | 1.97k| 2.64k
CHN5 | up | 3.47k| 4.56k
CHN6 | up | 1.66k| 2.23k
CHN7 | up | 1.91k| 2.38k
CHN8 | up | 495| 626
CHN9 | up | 6.7k| 8.84k
CHN12 | up | 150| 195
CHN13 | up | 4.71k| 6.2k
TWN | up | 1.22k| 1.5k
KOR | up | 1.13k| 1.45k
SGP2 | up | 115| 145
IND | up | 24| 28
AUS | up | 26| 29
ZAF3 | up | 163| 190
#define _WIN32_WINNT 0x0600
in system.cpp
and commented what it's needed forRegDeleteTreeW
allows deleting an entire tree. Otherwise I'd have to delete each folder individually in the correct order..demo
and .map
file extensions and the ddnet:
protocol scheme to be opened with DDNet.desktop
file for the protocol, but you need to manually install it in some way.desktop
filefailed to query replaced source registry crates-io
failures in the CI are getting really frequent.desktop
on its ownrustup
calls should happenrustup
calls should happenanalyze.py
script to get info about translation then pasted the results into a text file. Finally, used another python script to generate the translation status data.readme.txt
in the scripts/languages
folder$ for i in data/languages/*.txt; do COVERED=$(cat $i|grep "^== "|grep -v "^== $"|wc -l); TOTAL=$(cat $i|grep "^== "|wc -l); [ "${i:t}" != "license.txt" ] && [ "${i:t}" != "index.txt" ] && echo "$(($COVERED*100/$TOTAL))% ${i:r:t}"; done | sort -n -r
to get the statisticsfn main() {
println!("Hello, ӎěłŏƞ");
}
use core::ptr::{write_volatile};
fn main() {
let mut string1 = ['t' as u8, 'e' as u8, 's' as u8, 't' as u8, '\0' as u8];
let ptr = string1.as_mut_ptr();
for i in 0..4 {
unsafe { write_volatile((ptr as *mut u8).add(i), *ptr.add(i)); }
}
unsafe { write_volatile((ptr as *mut u8).add(4), *(&b'\0' as *const u8)); }
let string2 = core::str::from_utf8(&string1).unwrap();
print!("{}", string2);
}
b"test\0"
would also improve readability, although I'm not sure if you are going for that count * size_of::()
bytes from src
to dst
. The source and destination must not overlap.fn main() {
let string1 = [b't', b'e', b's', b't'];
let mut string2 = [0u8; 4];
for i in 0..4 {
string2[i] = string1[i];
}
let string3 = core::str::from_utf8(&string2).unwrap();
print!("{}", string3);
}
waitpid
return value in kill_process
kill_process
should return true
on successreturn waitpid(process, &status, 0) != -1;
(edited)