Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.org/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 2024-01-21 00:00:00Z and 2024-01-22 00:00:00Z
Avatar
chillerdragon BOT 2024-01-21 00:13:03Z
Yes @MilkeeyCat that’s exactly how it works
00:15
https://github.com/ChillerDragon/irc-websockets/blob/91135aaa4e2062dbfd1e85cb0113b1f3558feb27/src/irc.ts#L32 This is the new message callback from the irc lib. The variable „client“ is a irc client
websockets wrapper around irc. Contribute to ChillerDragon/irc-websockets development by creating an account on GitHub.
00:18
Ryo watching coding videos! Busted!
Replying to @Ryozuki Learath2 do u know good ghidra and RE long tutorials that are good?
justatest 1
00:22
Replying to @Learath2 Liveoverflow's channel is nice to watch, and stacksmashing
Avatar
ws-client BOT 2024-01-21 07:17:25Z
<ChillerDragon> thread safety is annoying
07:17
<ChillerDragon> i should switch from bash scripting to C scripting so i can better shoot my self in the foot
07:18
<ChillerDragon> it fakin copies all state on fork. So editing variables only affects the fork -.- how did C handle that again?
Avatar
chillerdragon thanks 🙂
08:13
And matterbridge sends a msg in discord when it sees new msg in irc?
Avatar
chillerdragon BOT 2024-01-21 08:31:11Z
Yep and vice versa
Avatar
Okaaay
Avatar
chillerdragon: look at this poggers2 i dont know how any of this shit works but it does work xd
Avatar
chillerdragon BOT 2024-01-21 09:10:53Z
watafak
09:12
I didn’t know [^] can do multiple characters
Avatar
this also works xd
Avatar
chillerdragon BOT 2024-01-21 09:13:49Z
That’s what I thought
09:14
Yea I really don’t think regex is the solution here
Avatar
how else 🤔
Avatar
chillerdragon BOT 2024-01-21 09:15:55Z
Maybe spilt it into chunks or go character by character. And skip any kind of rich text when inside of a code snippet. There is more than links
Avatar
ws-client BOT 2024-01-21 09:17:10Z
<ChillerDragon> See off topic Chanel
Avatar
I think using Option<>s is better. it gives you a panic when you try to use the thing and it's not there, instead of silently continuing
Avatar
chillerdragon BOT 2024-01-21 09:32:50Z
09:32
Dude I’m mobile @MilkeeyCat
Avatar
this looks cursed justatest
Avatar
რილია 2024-01-21 09:35:39Z
tear
Avatar
Avatar
chillerdragon
Click to see attachment 🖼️
რილია 2024-01-21 09:37:03Z
how i see ddnet src
Avatar
Avatar
chillerdragon
Click to see attachment 🖼️
nice zindex
Avatar
რილია 2024-01-21 09:38:36Z
where do CNetObj's get sent to the clients ?
Avatar
Avatar
რილია
where do CNetObj's get sent to the clients ?
using snapshots
09:41
NETMSG_SNAP, NETMSG_SNAPSINGLE, NETMSG_SNAPEMPTY
❤️ 1
Avatar
c1a1720 Ensure uses of localtime function are thread-safe - Robyt3 94931fa Merge pull request #7832 from Robyt3/Base-Localtime-Threadlocal - def-
Avatar
ws-client BOT 2024-01-21 12:23:30Z
<ChillerDragon> @heinrich5991 omagawd i finally found the wireshark filter i asked u about
12:23
<ChillerDragon> u remember? then one without the noise
12:23
<ChillerDragon> (((!(tw7.msg == "sys.input")) && !(tw7.msg == "sys.snap_single")) && !(tw7.msg == "sys.input_timing")) && !(tw7.msg == "sys.snap_empty")
12:24
<ChillerDragon> compresses 1k packets of snap noise down to only a hand full of interesting packets
12:27
<ChillerDragon> its all done via ui clicking :D i always tried to click on the entire packet to do filters. But what really works in this case is opening the packet and only applying the specific tw msg as filter
12:27
<ChillerDragon> pre order my 80$ wireshark udemy course now
12:28
<ChillerDragon> @davide you might like this too c:
12:29
<ChillerDragon> wait it was davide + some numbers right?
12:29
<ChillerDragon> ah watever
Avatar
Avatar
ws-client
<ChillerDragon> compresses 1k packets of snap noise down to only a hand full of interesting packets
snap noise?
12:42
<ChillerDragon> the server and client send a lot of packets all the time
12:42
<ChillerDragon> input and snap
12:43
<ChillerDragon> if you join a server and write hi in chat twice and then look at the traffic dump you have thousands of packets
Avatar
chiller whats ur fake discords link again
Avatar
ws-client BOT 2024-01-21 12:44:12Z
<ChillerDragon> chat.zillyhuhn.com
Avatar
no it isnt
12:48
u forgot the https
12:48
<ChillerDragon> u forgot the browser extension :p
12:48
<ChillerDragon> ye my webserver is configured wrong
Avatar
the hell is a token
12:49
i aint into bitcoin no thanks
Avatar
ws-client BOT 2024-01-21 12:49:08Z
<ChillerDragon> nimrocks
Avatar
oh
Avatar
To simplify the usage of the demo recorder, parameters are added to the IDemoRecorder::Stop function to control whether the demo file is removed or renamed when stopping the recording. Ensure demo files of the replay recorder are always removed (except on crashes). The temporary replay demos were previously not removed when being disconnected from a server. Fix auto demos being stopped and restarted when enabling replays in the settings menu. Now only the replay recorder is stopped/st...
Avatar
chillerdragon: look how cool is that justatest
Avatar
ws-client BOT 2024-01-21 12:51:38Z
<cyberamoung> trollchungus
12:51
<ChillerDragon> yikes bloated regex im not too big of a fan i have to admit
12:52
<cyberamoung> why does 1 message with image in discord show up as 2 separate messages here
12:52
<ChillerDragon> ?
Avatar
i dont even care if anyone would use it. it was personal at this point
Avatar
ws-client BOT 2024-01-21 12:53:13Z
<ChillerDragon> @cyberamoung ah i added fake multi line here
12:53
<ChillerDragon> it combines messages from the same author into one
Avatar
chillerdragon: he probably means this
Avatar
yes
Avatar
i sent it as 1 message (edited)
Avatar
ws-client BOT 2024-01-21 12:54:11Z
<ChillerDragon> oh
12:54
<ChillerDragon> maybe matterbridge did that
12:54
<ChillerDragon> because discord attachement links are kinda long nowerdays
12:54
<cyberamoung> wait now its fixed
12:54
<ChillerDragon> maybe it doesnt fit in one line
12:55
<cyberamoung> what the hell is going on lol
12:55
<ChillerDragon> its some magic message merging happening on the front end here
Avatar
you know guys it looks like that "fantasy" box from spongebob
12:57
Avatar
ws-client BOT 2024-01-21 12:57:42Z
<ChillerDragon> ye the tenor embeds are a work in progress ._.
12:57
<cyberamoung> mean people rude gif
12:58
<cyberamoung> chillerdragon when add channel description
Avatar
i'll find original video xd
Avatar
ws-client BOT 2024-01-21 12:58:22Z
<ChillerDragon> soon(tm)
12:58
<cyberamoung> chiller can u ping me again in offtopic
13:00
<cyberamoung> a
13:00
<cyberamoung> what oops
Avatar
can someone make a feature that saves automatically when team members get timeouted?
13:45
it would be really useful
Avatar
That's a good idea actually, an emergency save
Avatar
Ensure that the CHttpRequest::OnCompletion function has finished before updating the state which is visible to other threads. Otherwise, threads may try to access the result of a completed HTTP request, before the result has been initialized/updated in the OnCompletion function. Fixes warning due to invalid texture width/height being shown for downloaded skins, because the texture was loaded before the image data was initialized. Closes #7818. Regression from #7683. Before this, the...
15:35
b89e4e8 Finish CHttpRequest::OnCompletion before updating State() - Robyt3 c2ecf1a Merge pull request #7838 from Robyt3/Http-OnCompletion-HappensBefore-GlobalState - Learath2
Avatar
რილია 2024-01-21 15:58:57Z
https://github.com/ddnet/ddnet/blob/94931fadc08740d8ad39fdf8fe60345bbd8ebd3d/src/game/server/entities/projectile.cpp#L302C1-L360C2 i can't figure out how CNetObj's make snapshots for specific clients. where in this function tells to make snapshot for SnapingClient ????
DDraceNetwork, a free cooperative platformer game. Contribute to ddnet/ddnet development by creating an account on GitHub.
15:59
i have been stuck at this shit, cant figure it out
Avatar
Avatar
რილია
https://github.com/ddnet/ddnet/blob/94931fadc08740d8ad39fdf8fe60345bbd8ebd3d/src/game/server/entities/projectile.cpp#L302C1-L360C2 i can't figure out how CNetObj's make snapshots for specific clients. where in this function tells to make snapshot for SnapingClient ????
Wym? The variable SnappingClient tells you which client you are currently crafting a snapshot for
Avatar
Avatar
Learath2
Wym? The variable SnappingClient tells you which client you are currently crafting a snapshot for
რილია 2024-01-21 16:01:19Z
but where in this function actually tells the server to create the snapshot ?
Avatar
Nowhere, the server is the one which calls this while making the snapshot
16:02
When you do snapnewitem, it gets added to the snap for snappingclient
Avatar
რილია 2024-01-21 16:03:59Z
i put this in CProjectile::Snap() function if(SnapingCLient == 0) return; and the snapshot will not created for just client 0
Avatar
If you put that at the very top, yes, client 0 will just never see any of the projectiles
Avatar
Instead of leaking the m_MoveRestrictions to all classes which needs to adjust the Character velocity, add a setter which takes into account those restrictions. The shotgun bug replication requires an access to the Velocity without the restrictions applied (so we have to have this dirty setter). #### What is the motivation for the changes of this pull request? Fix incapsulation and get rid of the logic duplication which should be replicated whenever we need to adjust the Character ve...
Avatar
yo, if someone have java and uses linux. can u help me. copy this repo https://github.com/Javohir37/SnakeGame.git and try to run it by running javac -d bin src/*.java && java -cp bin MainMenu it works for my friend but not for me pepeW
Avatar
BlaiZephyr | meloƞ 2024-01-21 17:32:10Z
not on linux but this happens on windows if it helps you in any way lmao: PS C:\Users\blaiz\Projects\SnakeGame> javac -d bin src/*.java PS C:\Users\blaiz\Projects\SnakeGame> java -cp bin MainMenu Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: Cannot invoke "java.net.URL.toExternalForm()" because "location" is null at java.desktop/javax.swing.ImageIcon.<init>(ImageIcon.java:232) at MainMenuPanel.<init>(MainMenuPanel.java:107) at MainMenu.<init>(MainMenu.java:38) at MainMenu.lambda$main$0(MainMenu.java:61) at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714) at java.base/java.security.AccessController.doPrivileged(AccessController.java:400) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90) Exception in thread "Thread-0" java.lang.NullPointerException: Cannot invoke "javax.sound.sampled.Clip.stop()" because "<local2>" is null at GamePanel.lambda$music$0(GamePanel.java:138) at java.base/java.lang.Thread.run(Thread.java:1583) (edited)
Avatar
the same error xd
17:34
thx
Avatar
BlaiZephyr | meloƞ 2024-01-21 17:35:17Z
2 nullpointerexceptions, so it shouldnt compile for anyone at that point lol
Avatar
it works in his ide
Avatar
BlaiZephyr | meloƞ 2024-01-21 17:35:38Z
what ide
Avatar
idk xd
17:36
something for yava
Avatar
BlaiZephyr | meloƞ 2024-01-21 17:37:29Z
whatafak (edited)
Avatar
intellij
17:42
its 2 nulls coz it cant file assets files
Avatar
Avatar
BlaiZephyr | meloƞ
2 nullpointerexceptions, so it shouldnt compile for anyone at that point lol
javac -d bin src/*.java && mkdir bin/assets && cp -r ./assets/* ./bin/assets && java -cp bin MainMenu now you can play snake xd
Avatar
BlaiZephyr | meloƞ 2024-01-21 17:50:44Z
omg its awesome
Avatar
/tc getting worse with every update /tc now only teleports 10-12 tiles on me* even zoomed out. it was nearly great as it got introduced now its quite bad. (still better as nothing tho). /tp with /pause on the other hand works quite great (hard to tell without cursor)
Avatar
Following up https://github.com/ddnet/ddnet/pull/7838#discussion_r1460999318

Checklist

  • [ ] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to integration test
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with ...
🍻 1
Avatar
d0f5ced Make http states a enum class and use it across the codebase - Kaffeine 24612a0 Merge pull request #7841 from infclass/kaffeine/http-state - def-
22:56
9150f48 Refactor demo recorder usage - Robyt3 fca6e0a Merge pull request #7837 from Robyt3/Demo-Recorder-Improvements - def-
22:57
386935f Character: Incapsulate m_MoveRestrictions and m_Core - Kaffeine 50dc9de Merge pull request #7839 from infclass/kaffeine/fix-move-restrictions-incapsulation - def-
Exported 131 message(s)