Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.tw/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories — IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2023-06-02 00:00:00Z and 2023-06-03 00:00:00Z
Avatar
chillerdragon BOT 2023-06-02 06:04:06Z
Nice finally
Avatar
ws-client BOT 2023-06-02 08:36:47Z
<Jupstar> friday and nothing going on here? I'm crestfallen
Avatar
wazzup
Avatar
hi
Avatar
@Jupstar ✪ sweeten my day with a new recipe
Avatar
1. boil an egg 2. open the shell 3. meal done
Avatar
ws-client BOT 2023-06-02 08:58:26Z
<Jupstar> 1. buy rice, some vegetables, hot curry, 2. cook rice ~10min, roast vegetables with lot of oil ~10min. 3. Put way too much curry to the vegetables
Avatar
i was busy pumping iron
09:05
but im home now
09:05
we can talk about rust
Avatar
ws-client BOT 2023-06-02 09:10:33Z
<Jupstar> sounds great. What can you tell me new about?
Avatar
Avatar
Ryozuki
i was busy pumping iron
didnt pump rust
09:15
epic fail
Avatar
ws-client BOT 2023-06-02 09:28:11Z
<Jupstar> yo
Avatar
@heinrich5991 https://github.com/heinrich5991/libtw2/blob/09144b0ced40782b7a939a7d2a88c74c0e02db45/net/src/net.rs#L101 next_peer_id is used only to iterate over peers? it causing that id bug
Avatar
1.70 released
09:40
Empowering everyone to build reliable and efficient software.
Avatar
Avatar
gerdoe
@heinrich5991 https://github.com/heinrich5991/libtw2/blob/09144b0ced40782b7a939a7d2a88c74c0e02db45/net/src/net.rs#L101 next_peer_id is used only to iterate over peers? it causing that id bug
Peers itself should iterate over PeerMap from the start otherwise vacant ids will end after 15th connection from the same endpoint
09:42
maybe i don't understand something but adding self.next_peer_id = PeerId(0); after getting raw pointer made it work for me
09:42
what's next_peer_id used for? (edited)
Avatar
Avatar
Ryozuki
1.70 released
Slower than Heinrich. Sad
09:53
He is bigger rust fan :^)
Avatar
HR has done pogger today. They got me a bonus from the local government somehow for being a master degree graduate.
10:06
Gov send me 15000cny straight to my bank account
10:06
kek
Avatar
good job kekw
Avatar
Avatar
TsFreddie
Gov send me 15000cny straight to my bank account
Thanks premier Xi, very cool
Avatar
ws-client BOT 2023-06-02 10:39:48Z
<Jupstar> Investment for ddnet
Avatar
Avatar
Learath2
Thanks premier Xi, very cool
I'm now officially a chinese government sponsored personnel
11:20
HR said it was only the half of the total bouns, the other half will due in 6 months
11:20
it's pretty hype
11:21
i can finally pay off my credit card
Avatar
Avatar
TsFreddie
I'm now officially a chinese government sponsored personnel
Now they know you exist
Avatar
also running libtw2 server on windows is mess since it always panics WouldBlock error duh
Avatar
Avatar
Jupstar ✪
Now they know you exist
rip, good knowing you all
justatest 1
Avatar
cya
Avatar
Avatar
gerdoe
also running libtw2 server on windows is mess since it always panics WouldBlock error duh
Does it offer a full server?
Avatar
nope but its enough to build some kind of rustee playable server
12:05
physics are also not finished
12:05
prediction makes it even worse
Avatar
Cool, i saw it implemented some game stuff, but didn't know it's enough to implement a basic server
Avatar
Avatar
gerdoe
what's next_peer_id used for? (edited)
I think my plan was to never re-use peer IDs
13:35
probably not properly implemented though
Avatar
Avatar
gerdoe
also running libtw2 server on windows is mess since it always panics WouldBlock error duh
I'm interested in a bug report
Avatar
thread 'main' panicked at 'Custom { kind: WouldBlock, error: "write would block" }', ...\event_loop\src\lib.rs:93:57
13:38
self.net.tick(&mut self.socket).foreach(|e| panic!("{:?}", e)); in fn run<A: Application<SocketLoop>>(mut self, mut application: A)
Avatar
ah. hm
13:39
interesting, didn't know UDP writes could ever block
13:39
I guess you can change the panic! to eprintln!
13:40
also seems its unreal to second player to fully connect
13:40
idk why tho
13:41
it doesn't work with this peer fix and without
13:41
different addresses in local net
13:44
13:45
hangs on second player connect
Avatar
I think I only ever tested it with a single player, sorry 😦
13:47
okey i'll try to do something to get it work xd
13:47
atleast rusty maze teeworlds server would work aha
Avatar
hi, what location are usa3 servers at?
Avatar
usa
troll 5
Avatar
Avatar
louis
hi, what location are usa3 servers at?
also https://ddnet.org/status/ has locations listed
Avatar
Avatar
louis
hi, what location are usa3 servers at?
near trump
Avatar
Avatar
TsFreddie
also https://ddnet.org/status/ has locations listed
oh right thanks
Avatar
Avatar
louis
oh right thanks
I'm also planning to have CAN and USA1 expire in a few weeks. Do you think that's fine? Just USA2 and USA3 will stay
Avatar
will usa2 and 3 be renamed?
Avatar
ig usa3 and usa1 are close in location
15:40
but cant speak for canada
Avatar
^ @Skeith
Avatar
@M Emile
Avatar
Avatar
Voxel
will usa2 and 3 be renamed?
Sure, we can rename USA3 to USA1 after that
greenthing 1
Avatar
This is a more common syntax.

Checklist

  • [x] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [x] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to integration test
  • [x] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github....
Avatar
Since last fall, Neven has been doing an internship to develop a new aliasing model for Rust: Tree Borrows. Hang on a second, I hear you say – doesn’t Rust already have an aliasing model? I...
Avatar
Avatar
Voxel
normal layer areas dont have a search function
u sure?
18:46
try ctrl + right click on the tile u want to search
18:46
it will jump bcs sometimes u have multiple layers, but yeah
Avatar
Avatar
deen
I'm also planning to have CAN and USA1 expire in a few weeks. Do you think that's fine? Just USA2 and USA3 will stay
I think USA1 would be better for current USA population than USA3 there are also quite a few canadian players, idk if getting rid of CAN is a good idea. I guess we'll have to see their ping to USA3 (edited)
Avatar
Avatar
Cøke
try ctrl + right click on the tile u want to search
thats not a search function, thats right clicking to jump to the layer that tile is on
Avatar
but thats what he wanted (edited)
Avatar
Avatar
Skeith
I think USA1 would be better for current USA population than USA3 there are also quite a few canadian players, idk if getting rid of CAN is a good idea. I guess we'll have to see their ping to USA3 (edited)
Most people play on USA1, and I don't think many players are that far east
Avatar
i didn't even know there was a USA3
21:05
usa1 is the best for most people yeah
Avatar
It's new, and people are getting stuck on "connecting" maybe the own person's fault I had to rejoin a few times for it to let me in (edited)
Avatar
damn never seen it in the browser
Avatar
oh it's that new
21:15
yeah i'm stuck getting game info lol
Avatar
Avatar
Ewan
yeah i'm stuck getting game info lol
you're using a custom client yeah? try with the ddrace/steam client
Avatar
it shouldn't do that on any ddnet compatible client
Avatar
tclient issue?
Avatar
apparently treatment said it's not working with tclient, but he could hop on just fine with ddrace client
21:40
😵💫
21:40
i hate steam
21:40
nah still broken
Avatar
iyea it didnt let me in first try
21:50
i went to ger10.ddnet.tw and it got fixed but im not sure if theyre connected 😹
Avatar
Avatar
Ewan
yeah i'm stuck getting game info lol
@Davide ^
22:01
Apparently you have to connect to ger10 to get access to usa3 😄
Avatar
I don't think that has anything to do with it but I'm not sure
22:02
oh it did work it just took a while
Avatar
The anti-DDoS challenge needs 7-10 seconds at the first join, then it's instant the next times (edited)
22:05
wrap me one pls :p
Avatar
ebacc0f Change to username:password for reserved slots - heinrich5991 ffce094 Merge #6696 - bors[bot]
Avatar
uck maybe it is tclient related
Exported 111 message(s)