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-09-14 00:00 and 2024-09-15 00:00
00:04
Sticker
Avatar
Avatar
timakro
i want to start testing the beta of a new version of ddnet trashmap soon. could i maybe have a channel on this server to direct people to for feedback? @Discord Mod (i hope i didn't ping too many - can't figure out how to see who is part of a role on discord)
if you only want feedback from everyone maybe a #town-hall post can suit your needs.
Avatar
GitHub BOT 2024-09-14 07:32
When shutting down a server valgrind reports that some bytes are still reachable. All those warnings seem to come from the logger. I implemented a ~CFutureLogger(); to see if the destructor is ever called. And it does not seem to get called on shutdown. This is not a memory leak so nothing critical. But it would be nice if running ddnet servers would not cause any valgrind warnings to spot regressions more easily. ``` $ valgrind --leak-check=full --show-leak-kinds=all ./DDNet-Serv...
Avatar
Avatar
Learath2
Nope
MilkeeyCat 2024-09-14 07:39
Oke, I don't know how it has to be written but my way for checking types is just bunch of nested if statements xd https://github.com/MilkeeyCat/meraki/blob/df8418c4835b856337d801bd98a3b2e31660a2e6/src/passes/type_checker.rs#L218-L284
Avatar
Avatar
MilkeeyCat
Oke, I don't know how it has to be written but my way for checking types is just bunch of nested if statements xd https://github.com/MilkeeyCat/meraki/blob/df8418c4835b856337d801bd98a3b2e31660a2e6/src/passes/type_checker.rs#L218-L284
does ur lang support type inference?
07:45
i.e, if u do x == 2, does it infer the 2 type to be equal to x (if possible?)
07:45
A Hindley–Milner (HM) type system is a classical type system for the lambda calculus with parametric polymorphism. It is also known as Damas–Milner or Damas–Hindley–Milner. It was first described by J. Roger Hindley and later rediscovered by Robin Milner. Luis Damas contributed a close formal analysis and proof of the method in his PhD thesis. A...
Type inference, sometimes called type reconstruction,: 320  refers to the automatic detection of the type of an expression in a formal language. These include programming languages and mathematical type systems, but also natural languages in some branches of computer science and linguistics.
Avatar
MilkeeyCat 2024-09-14 07:46
ye, it infer types for integer literals
Avatar
type systems are the hard part of frontend compilers xd
07:46
left.type_(scope)?
07:46
why type_
07:47
maybe i have some kind of autism but i cant help seeing names like that xdd
07:47
@MilkeeyCat my tip is to use rust powerful enums as much as possible
07:48
ie u can declare a enum of builtin types with a variant of a id of a user type
Avatar
well a builtin type can be a struct with the given fields who are also types
07:49
and those are what user types are made of
07:49
why is struct a string and not a vec of types ??
07:49
Vec<Self>
Avatar
MilkeeyCat 2024-09-14 07:49
it's just a name for entry in a type table
Avatar
ah i see
07:50
well u should use maybe a numeric id
07:50
more efficient
07:50
string requires heap alloc
07:50
or a Uuid, which is copy
07:50
(its a u128 iirc)
Avatar
MilkeeyCat 2024-09-14 07:51
my whole problem is that it doesn't work, optimization isn't the thing i care the most right now xdd
Avatar
ah i see why u type type_
07:51
rust tip for you
07:51
u can use the keyword reserved type name
07:51
using
07:51
r#type
07:51
as the name
07:51
#[derive(Debug, Clone, PartialEq, PartialOrd, Eq, Hash)] pub struct TypeArray { pub r#type: Box<Type>, pub length: usize, }
07:51
altho i recommend just "ty"
Avatar
アリヂン 2024-09-14 07:51
class greenthing
Avatar
MilkeeyCat 2024-09-14 07:51
r#type looks ugly
07:51
😬
Avatar
ye xd
07:52
i use ty
Avatar
MilkeeyCat 2024-09-14 07:52
rustc also uses ty
Avatar
but its dope u can use keywords
Avatar
MilkeeyCat 2024-09-14 07:52
i like type_
Avatar
アリヂン 2024-09-14 07:52
have you guys seen the new do yeet keyword in rust? 😎
Avatar
its a name to prevent bikeshedding xd
Avatar
ws-client BOT 2024-09-14 07:53
<ChillerDragon> sos developers idk how to do memory management. Im still stuck at using the sql code -.-
07:53
DDraceNetwork, a free cooperative platformer game. Contribute to ddnet/ddnet development by creating an account on GitHub.
07:54
<ChillerDragon> i am trying to pass a type here that is not a string
07:54
<ChillerDragon> i have a bunch of classes that all inherit from a base class and i would like to pass then to the sql worker thread
07:55
<ChillerDragon> can i have the CSqlPlayerRequest hold it on the stack and do a mem copy from a pointer or something like that? :D
07:57
<ChillerDragon> i think i know how to do with if the CSqlPlayerRequest holds a pointer to the base class but that would then remove the RAII and i have to free the memory on all exit branches of the worker thread
Avatar
@MilkeeyCat for type inference, u basically have points in the code which gives you types for variables, these are usually in "let" statements (where u declare a variable, like int x or let x: 2, in function parameters and in function return types), from those points u can start infering Usually this is done with a "unify" method To briefly summarize the union-find algorithm, given the set of all types in a proof, it allows one to group them together into equivalence classes by means of a union procedure and to pick a representative for each such class using a find procedure. Emphasizing the word procedure in the sense of side effect, we're clearly leaving the realm of logic in order to prepare an effective algorithm. The representative of a u n i o n ( a , b ) {\displaystyle {\mathtt {union}}(a,b)} is determined such that, if both a and b are type variables then the representative is arbitrarily one of them, but while uniting a variable and a term, the term becomes the representative. Assuming an implementation of union-find at hand, one can formulate the unification of two monotypes as follows: unify(ta, tb): ta = find(ta) tb = find(tb) if both ta,tb are terms of the form D p1..pn with identical D,n then unify(ta[i], tb[i]) for each corresponding ith parameter else if at least one of ta,tb is a type variable then union(ta, tb) else error 'types do not match'
07:58
anyway u should either read a bit or just go by ur heart and do if elses
Avatar
Avatar
Ryozuki
@MilkeeyCat for type inference, u basically have points in the code which gives you types for variables, these are usually in "let" statements (where u declare a variable, like int x or let x: 2, in function parameters and in function return types), from those points u can start infering Usually this is done with a "unify" method To briefly summarize the union-find algorithm, given the set of all types in a proof, it allows one to group them together into equivalence classes by means of a union procedure and to pick a representative for each such class using a find procedure. Emphasizing the word procedure in the sense of side effect, we're clearly leaving the realm of logic in order to prepare an effective algorithm. The representative of a u n i o n ( a , b ) {\displaystyle {\mathtt {union}}(a,b)} is determined such that, if both a and b are type variables then the representative is arbitrarily one of them, but while uniting a variable and a term, the term becomes the representative. Assuming an implementation of union-find at hand, one can formulate the unification of two monotypes as follows: unify(ta, tb): ta = find(ta) tb = find(tb) if both ta,tb are terms of the form D p1..pn with identical D,n then unify(ta[i], tb[i]) for each corresponding ith parameter else if at least one of ta,tb is a type variable then union(ta, tb) else error 'types do not match'
MilkeeyCat 2024-09-14 07:59
i saw unify method in rustc :clueless:
08:01
thanks, ill read about dis stuff
Avatar
ws-client BOT 2024-09-14 08:17
<ChillerDragon> ok i think i got it
08:17
<ChillerDragon> at least it doesnt crash and valgrind does not complain. But i feel dirty for using malloc and memcopy im sure i introduced some UB.
Avatar
Avatar
Devinci
if you only want feedback from everyone maybe a #town-hall post can suit your needs.
yes that works for me
08:47
i forgot about discord forums :D (edited)
Avatar
@Discord Mod no need to create a channel then
Avatar
Avatar
StormA
i wish to know what happened
Most normal sta Client moment
Avatar
Hello, I want to create a list server for my client that I am practicing, can anyone help me?
Avatar
ws-client BOT 2024-09-14 10:35
<ChillerDragon> a "list server" is a master server?
Avatar
Avatar
ws-client
<ChillerDragon> a "list server" is a master server?
mean server list
10:37
How can I put my own servers in the section that is for the server list?
Avatar
Avatar
MAhdiyar
How can I put my own servers in the section that is for the server list?
Jupstar ✪ 2024-09-14 10:39
It's not very easy if you don't know a lot about how computers work
Avatar
I don't mean server LAN @Jupstar ✪ (edited)
Avatar
Avatar
timakro
i want to start testing the beta of a new version of ddnet trashmap soon. could i maybe have a channel on this server to direct people to for feedback? @Discord Mod (i hope i didn't ping too many - can't figure out how to see who is part of a role on discord)
open a thread in #town-hall
Avatar
Avatar
MAhdiyar
I don't mean server LAN @Jupstar ✪ (edited)
Jupstar ✪ 2024-09-14 10:42
You didn't even read the link
10:42
"Setting Up Your LAN Server for Online Play"
10:43
If you want to host a server on a VPS that is even harder
10:43
You should read/watch some tutorials first
Avatar
Avatar
meloƞ
Most normal sta Client moment
Sticker
Avatar
hello all
11:34
Avatar
GitHub BOT 2024-09-14 11:53
!Screenshot 2024-09-14 at 13 52 48 I guess because of [Server] Add support for directories with add_map_votes [furo321] @furo321
11:55
12:01
8c0331c Version 18.5 - def- 18ccf7f Run editor auto-reload on any local address, and not just localhost - furo321 ca595b3 add console chain for 0.7 tee - dobrykafe 6b6e295 Fix double free or corruption crash with hot_reload - furo321 46dad48 Update Chinese translations - Pioooooo cd839a6 Update Swedish translations for 18.5 - furo321 f757102 Update Chinese translations for 18.5 - Pioooooo 5cf168f Update Azerbaijanese translations for 18.5 - GokturkTalha fb39465 Update Turkish translations for 18.5 - GokturkTalha 3de1b7f add author - GokturkTalha 1ab99ce Update spanish.txt - n0Ketchp ac43ca8 Update Ukrainian l10n (18.5) - EGYT5453 9e83d8a update czech translations for 18.5 - dobrykafe 4ffe7c4 update slovak translations for 18.5 - dobrykafe d654d38 Update russian.txt - JuraIBOZO 900618a typos in russian.txt - gerdoe-jr 667863f Update ukrainian.txt - Veydzher df49240 Update ukrainian.txt - Veydzher 923e275 Update ukrainian.txt - Veydzher bae7362 Update ukrainian.txt - Veydzher 54705f0 Use GetMapName() when getting the map name - furo321 2f1a533 Version 18.5.1 - def-
Avatar
how can fix this error?
Avatar
Jupstar ✪ 2024-09-14 12:19
what are you even compiling xd
Avatar
Avatar
Jupstar ✪
what are you even compiling xd
mastersrv
12:19
HAHAHAHA
Avatar
Jupstar ✪ 2024-09-14 12:20
i dunno if mastersrv was ever tested for windows
12:20
guess you have to use linux
Avatar
Avatar
Jupstar ✪
guess you have to use linux
ok
Avatar
Jupstar ✪ 2024-09-14 12:20
but why do u even want a own mastersrv?
12:20
it's not very easy to use that
12:20
if you want to register your server to the server list, follow the tutorials
12:21
the mastersrv has nothing to do with that
Avatar
@Jupstar ✪we have server in iran
Avatar
ws-client BOT 2024-09-14 12:42
<ChillerDragon> I thought ddnet persian is already hosting a master. Can't you register there? @MAhdiyar
Avatar
Avatar
ws-client
<ChillerDragon> I thought ddnet persian is already hosting a master. Can't you register there? @MAhdiyar
no is privet
Avatar
ws-client BOT 2024-09-14 12:42
<ChillerDragon> thats annoying
Avatar
ws-client BOT 2024-09-14 12:43
<ChillerDragon> so soon there will be two custom persian clients with two master servers? -.-
12:43
<ChillerDragon> you better make yours open then :p
Avatar
damn no
Avatar
ws-client BOT 2024-09-14 12:43
<ChillerDragon> no?
12:43
d
12:43
<ChillerDragon> so soon there will be two custom persian clients with two master servers? -.-
12:43
no
Avatar
ws-client BOT 2024-09-14 12:44
<ChillerDragon> i thought you are working on that?
Avatar
Yes thats right
Avatar
ws-client BOT 2024-09-14 12:45
<ChillerDragon> So if you succeed you will create a master server and a custom client?
12:45
<ChillerDragon> Then there will be two? Or what do you mean by "no" xd
Avatar
I have a separate client procedure, I do work
Avatar
ws-client BOT 2024-09-14 12:46
<ChillerDragon> ?
Avatar
Cellegen RiH BOT 2024-09-14 12:46
🐴
Avatar
ws-client BOT 2024-09-14 12:46
<ChillerDragon> do you have a linux server @MAhdiyar ?
Avatar
Cellegen RiH BOT 2024-09-14 12:46
martix gang
Avatar
ws-client BOT 2024-09-14 12:47
<ChillerDragon> matrix sok :p
Avatar
yes chiller
Avatar
ws-client BOT 2024-09-14 12:47
<ChillerDragon> nice
Avatar
I ran into an error i compile mastersrv on windows and get this error , you know what is this?
Avatar
ws-client BOT 2024-09-14 12:49
<ChillerDragon> i dont see images you send on discord
Avatar
error: reference to packed field unaligned
Avatar
ws-client BOT 2024-09-14 12:49
<ChillerDragon> also i dont use windows and i recommend you to also just compile it on linux and ignore windows errors
Avatar
oo sure ok
12:50
Chiller, what do you think about making a ski mod?
Avatar
ws-client BOT 2024-09-14 12:51
<ChillerDragon> but if i had to debug this i would probably play with versions. with the rust version and with the version of the dependency that throws the error
12:51
<ChillerDragon> @MAhdiyar i cant imagine how a ski mod looks like
12:52
<ChillerDragon> ski is about slopes there is no smooth slope prediction right now. Would have to be something cursed with speedups i guess.
12:52
<ChillerDragon> oh but you make your own client so you could ship prediction yeah
12:52
<ChillerDragon> anyways i was never into sports games so for me personally it doesnt sound like fun
Avatar
So what do you think about adding gambling to DDNetPP? 😂
justatest 1
Avatar
ws-client BOT 2024-09-14 12:56
<ChillerDragon> Edgy as I am ofc do I appreciate drugs, gambling and hookers
12:56
<ChillerDragon> there actually already is
Avatar
ws-client BOT 2024-09-14 12:57
<ChillerDragon> @MAhdiyar /StockMarket buy to gamble in ddnet++
12:58
<ChillerDragon> its pvp based gambling i never really got hooked in pve based gambling
Avatar
No, don't let it go, young people will be miserable
Avatar
how to install plugins on the server
Avatar
ws-client BOT 2024-09-14 13:38
<ChillerDragon> @sennxzy the only thing that comes close to a plugin system is antibot modules but there arent any public ones available.
13:38
<ChillerDragon> @sennxzy what kind of plugin are you looking for?
Avatar
Avatar
ws-client
<ChillerDragon> @sennxzy what kind of plugin are you looking for?
register, money, shop
Avatar
ws-client BOT 2024-09-14 13:48
<ChillerDragon> i recommend using a custom server for that
13:48
<ChillerDragon> lucky you these days you have 3 open source projects that implement exactly that
13:50
<ChillerDragon> There is https://github.com/0xfaulty/ddnet-mode which is a huuuuge feature rich modification also known as 0xf it is actively maintained by russian developers checkout there public servers for a preview search "0xF"
Avatar
Avatar
ws-client
<ChillerDragon> lucky you these days you have 3 open source projects that implement exactly that
and how is it all done?
Avatar
ws-client BOT 2024-09-14 13:51
<ChillerDragon> then there is https://github.com/fokkonaut/F-DDrace/ developed by the german potato fokkonaut. Known for its BlmapChill server. Has 128 support and also a strong set of features.
F-DDrace is a server-side modification of Teeworlds, developed by fokkonaut. - fokkonaut/F-DDrace
Avatar
Avatar
ws-client
<ChillerDragon> There is https://github.com/0xfaulty/ddnet-mode which is a huuuuge feature rich modification also known as 0xf it is actively maintained by russian developers checkout there public servers for a preview search "0xF"
how to do it on the server trashmap
Avatar
MilkeeyCat 2024-09-14 13:52
chillerdragon: when own nobot module?
Avatar
ws-client BOT 2024-09-14 13:53
<ChillerDragon> then there is https://github.com/DDNetPP/DDNetPP DDNet++ which was mostly developed by me with contributions from both the 0xF team and fokkonaut! Its barely maintained these days and has lots of bugs. But the shop is customizable so you can chose which entries you want in the shop.
DDraceNetwork + city + block! Based on ddnet (www.ddnet.tw) which is based on teeworlds (www.teeworlds.com). - DDNetPP/DDNetPP
13:54
<ChillerDragon> @sennxzy you can't put it on trash map its for maps not for servers you should buy a linux server and host it your self. Or you can rent a fully managed tw server from me for 1 euro a month.
Avatar
ws-client BOT 2024-09-14 13:55
<ChillerDragon> @MilkeeyCat i thought about it. But i don't enjoy developing closed source software that produces bans too much both things i despise. Also I never really had problems with botters on my servers. I was playing with the idea of an open source module for the public but i think heinrich recommended me not to do it.
Avatar
Avatar
ws-client
<ChillerDragon> @MilkeeyCat i thought about it. But i don't enjoy developing closed source software that produces bans too much both things i despise. Also I never really had problems with botters on my servers. I was playing with the idea of an open source module for the public but i think heinrich recommended me not to do it.
MilkeeyCat 2024-09-14 13:56
ye, i meant open source antibot xd
Avatar
ws-client BOT 2024-09-14 13:56
<ChillerDragon> i was thinking about becoming the next cloudflare for teeworlds tho. That sounds more interesting to me. Some kind of reverse proxy flood protection human captcha in game shenanigan system.
13:57
<ChillerDragon> another thing i wanted to do is build a antibot module just to explore the api and see how much can be done. And then spam prs to ddnet extending it to become a generic plugin api. It would be really cool if it had more hooks and would allow loading multiple modules.
13:57
<ChillerDragon> then we could send this dizyyy guy some shop.dll and he could just plug and play
13:58
<ChillerDragon> i love how in minecraft as a non technical server admin you can really build your own modification without knowing how to code by mix and matching a bunch of plugins
14:01
<ChillerDragon> i guess i should open a discussion issue for that. I just remembered how much i wanted it
Avatar
Avatar
MilkeeyCat
chillerdragon: when own nobot module?
The free speech absolutist probably also supports the rights of botters
Avatar
ws-client BOT 2024-09-14 14:06
<ChillerDragon> spinbotters and chat botters for sure i was always protecting them
14:07
<ChillerDragon> unfair advantage in game such as aimbot is not nice! i still prefer kick, jail, freeze or stuff like that over a mute/ban at all times.
Avatar
Jupstar ✪ 2024-09-14 14:08
the fact that you say that spinbotting is not an unfair advantage only bcs you like it, is already concerning
14:08
it defs creates confusion and makes the opponent harder to read
Avatar
ws-client BOT 2024-09-14 14:08
<ChillerDragon> its not an unfair advantage the onlything sus about it is that it can be used to mask aimbots
Avatar
Avatar
ws-client
<ChillerDragon> unfair advantage in game such as aimbot is not nice! i still prefer kick, jail, freeze or stuff like that over a mute/ban at all times.
It's fair if everyone bots think_bot
Avatar
ws-client BOT 2024-09-14 14:09
<ChillerDragon> i have low respekt for spinbotters since i take pride in manual spinning but i dont think they should be banned
Avatar
Jupstar ✪ 2024-09-14 14:09
if everyone would be allowed to, teero & tater would win lol
Avatar
ws-client BOT 2024-09-14 14:10
<ChillerDragon> @Learath2 oh yea that too! bot vs bot i enjoy minecraft anarchy servers where everyone runs around with a hack client
Avatar
Libertarian moment
Avatar
ws-client BOT 2024-09-14 14:10
<ChillerDragon> i am not sure how fun a anarchy server in tw would be that embraces hacking i guess depends on the gametype
Avatar
Jupstar ✪ 2024-09-14 14:11
it would be fun until you notice you actually like the game
14:11
then you cry
Avatar
ws-client BOT 2024-09-14 14:11
<ChillerDragon> i think all the pvp gametypes like CTF/zCatch and so on would get boring quite quickly
Avatar
Jupstar ✪ 2024-09-14 14:11
yes, but new players would join and try it out too
14:12
i bet most csgo hackers alrady stopped bcs lost fun
14:12
but then new players arrive
14:12
with the same goal
Avatar
ws-client BOT 2024-09-14 14:13
<ChillerDragon> maybe i dont care about hacks in minecraft that much because i never got good in the game but in tw there is something so nice about learning the skill on how to play and seeing others being good that i feel like it would be sad if its full of botting
14:13
<ChillerDragon> I also don't like the current TAS hype at all. It devalues the highlight clips made by actual humans.
Avatar
MilkeeyCat 2024-09-14 14:14
classic x:μ⇒e∼μ′λx.e∼μ→μ′.
Avatar
GitHub BOT 2024-09-14 14:16
Allow loading multiple modules at the same time that can affect the gameplay. The antibot module is basically already a plugin. Its api could be upgraded to allow loading more than one module and be rebranded to "plugin" instead of "antibot". Then it just needs a few more hooks and server admins can build their own mods using drag and drop. It would also help with https://github.com/ddnet/ddnet/issues/7777 because there is now less need for modders to edit the actual ddnet codebase and cau...
Avatar
Classic issue that we cant say yes to directly pepeW
Avatar
ws-client BOT 2024-09-14 14:17
<ChillerDragon> well thats why its a issue not a pr
14:17
<ChillerDragon> to discuss it
14:18
<ChillerDragon> also why not say yes -.-
Avatar
In principle we'll probably say yes to plugins. Then we'll end up agreeing on an architecture that you don't like
Avatar
ws-client BOT 2024-09-14 14:22
<ChillerDragon> the architecture is already there or what do you think is something i won't like?
14:24
<ChillerDragon> this is basically me asking if i can send a pr that allows loading more than one antibot module at a time and then we go from there
Avatar
Jupstar ✪ 2024-09-14 14:29
if you can load one, you can also load many
14:29
no need to upstream it
Avatar
Avatar
ws-client
<ChillerDragon> the architecture is already there or what do you think is something i won't like?
I'm guessing you like the current way we hook the antibot in. I would want a unified wasm plugin system
Avatar
Jupstar ✪ 2024-09-14 14:30
i guess he just wants multiple .so files
14:30
or not
Avatar
ws-client BOT 2024-09-14 14:30
<ChillerDragon> @Jupstar ✪ so the one loads the others? sure i havent thought about that yea sounds good to me
Avatar
Jupstar ✪ 2024-09-14 14:30
and he can do so now, by having one "master" so file that loads the others
Avatar
ws-client BOT 2024-09-14 14:30
<ChillerDragon> ye
Avatar
Avatar
ws-client
<ChillerDragon> @Jupstar ✪ so the one loads the others? sure i havent thought about that yea sounds good to me
Jupstar ✪ 2024-09-14 14:30
yeah
14:30
yeah
14:30
ye
Avatar
Tip: NVIDA GPU support on Wayland clients is almost at a fixed point. Wayland recently merged Explicit Sync support which was the final issue, once NVIDIA driver version 555 is stable NVIDIA GPU support should be working and hopefully officially supported on Hyprland. for all you hyprland fanboys on nvidia!
Avatar
ws-client BOT 2024-09-14 14:31
<ChillerDragon> @Learath2 I like the current way. But what i like about it the most is that it is there already and it works. I don't feel comfortable implementing WASM but if you do i would mind using it i guess.
14:31
<ChillerDragon> wouldn't
Avatar
Avatar
ws-client
<ChillerDragon> @Learath2 I like the current way. But what i like about it the most is that it is there already and it works. I don't feel comfortable implementing WASM but if you do i would mind using it i guess.
wdym implementing wasm - it's called dd-pg and its great :o
Avatar
ws-client BOT 2024-09-14 14:32
<ChillerDragon> dd-pg has no 0.7 support
Avatar
(this is non related, i have no idea what you guys were talking about and i'll see myself out)
Avatar
Avatar
ws-client
<ChillerDragon> dd-pg has no 0.7 support
why would you think that - it's obviously planned with you as the main contributor!
Avatar
Jupstar ✪ 2024-09-14 14:32
lol
Avatar
ws-client BOT 2024-09-14 14:32
<ChillerDragon> jopsti said he will reject 0.7 prs
Avatar
i'll force push em
Avatar
Jupstar ✪ 2024-09-14 14:32
the super unified ultra project
14:32
all versions ever
Avatar
ws-client BOT 2024-09-14 14:33
<ChillerDragon> also nodes?
14:33
<ChillerDragon> and ninslash?
Avatar
we will accept all your rubies
Avatar
Jupstar ✪ 2024-09-14 14:33
all branches
14:33
all commits
14:33
everything
Avatar
ok time to drop i3 and embrace hyprland
14:33
wish me gl
Avatar
Jupstar ✪ 2024-09-14 14:33
gl
Avatar
ws-client BOT 2024-09-14 14:33
<ChillerDragon> can i join dd-pg with roblox client?
Avatar
Jupstar ✪ 2024-09-14 14:34
you mean can you join roblox with dd-pg
14:34
yes
14:34
ofc
Avatar
ws-client BOT 2024-09-14 14:34
<ChillerDragon> neat
Avatar
Jupstar ✪ 2024-09-14 14:35
in theory you could compile a virtual machine to wasm
14:35
and literally start windows -> roblox
14:35
xdd
Avatar
Avatar
ws-client
<ChillerDragon> There is https://github.com/0xfaulty/ddnet-mode which is a huuuuge feature rich modification also known as 0xf it is actively maintained by russian developers checkout there public servers for a preview search "0xF"
its still closed source chiller troll
Avatar
Avatar
ws-client
<ChillerDragon> @Learath2 I like the current way. But what i like about it the most is that it is there already and it works. I don't feel comfortable implementing WASM but if you do i would mind using it i guess.
Exactly why everytime you make one of these issues I cry
Avatar
Avatar
ws-client
<ChillerDragon> dd-pg has no 0.7 support
thank you god jupeyy for no 0.7 support justatest
Avatar
Avatar
ws-client
<ChillerDragon> There is https://github.com/0xfaulty/ddnet-mode which is a huuuuge feature rich modification also known as 0xf it is actively maintained by russian developers checkout there public servers for a preview search "0xF"
destroyed230 2024-09-14 15:18
Oh yeah, i can't play on their servers from a client i built from source
Avatar
Avatar
destroyed230
Oh yeah, i can't play on their servers from a client i built from source
i do play with self build client there though
15:20
self built*
Avatar
destroyed230 2024-09-14 15:22
I don't know, the loading screen just stops at "Loading map file from storage". I also tried to join from a client i download from the site and then join from a self built one right after that and it magically worked
Avatar
ws-client BOT 2024-09-14 15:24
<ChillerDragon> is your self compiled client based on latest ddnet?
15:25
<ChillerDragon> i can join there with chillerbot-ux just fine
15:26
<ChillerDragon> But yea i also sometimes get stuck connecting to specific servers. I usually fix it by connecting to another server and then the client gets in a good state somehow :D
Avatar
Avatar
ws-client
<ChillerDragon> is your self compiled client based on latest ddnet?
destroyed230 2024-09-14 15:27
yep, 18.5
Avatar
ws-client BOT 2024-09-14 15:27
<ChillerDragon> 0XF in particular has some special map sending stuff to filter out bots
Avatar
destroyed230 2024-09-14 15:29
i still don't get why the official client from the site works but my self built one doesn't
Avatar
That was a bug with master, should be fixed now though.
Replying to @destroyed230 I don't know, the loading screen just stops at "Loading map file from st…
Avatar
Avatar
Learath2
Exactly why everytime you make one of these issues I cry
MilkeeyCat 2024-09-14 15:29
chiller gives you ideas to code and you like em feelsbadman
Avatar
Avatar
furo
That was a bug with master, should be fixed now though.
destroyed230 2024-09-14 15:30
nope, i still can't play on their server
Avatar
ws-client BOT 2024-09-14 15:30
<ChillerDragon> send repo of your custom client
Avatar
Jupstar ✪ 2024-09-14 15:30
git fetch --all git rebase upstream/master
Avatar
ws-client BOT 2024-09-14 15:30
<ChillerDragon> watafk rebase?
15:31
<ChillerDragon> that requires force push jopsit
Avatar
Avatar
destroyed230
yep, 18.5
afair 18.5 bug related to map loading wasn't fixed
15:33
robyt3 can disprove it ig
15:33
or prove
Avatar
MilkeeyCat 2024-09-14 15:33
Ladies and gentlemen, how do you checkout pr's code
Avatar
Avatar
destroyed230
nope, i still can't play on their server
did u update to current master?
Avatar
ws-client BOT 2024-09-14 15:33
<ChillerDragon> @MilkeeyCat i usually add the contributors remote and then do a regular checkout
15:34
<ChillerDragon> but there is also some /pulls things which works for github
Avatar
MilkeeyCat 2024-09-14 15:34
ive made alias for dat
Avatar
Avatar
zhn
did u update to current master?
destroyed230 2024-09-14 15:34
no
Avatar
Avatar
destroyed230
no
thats the problem
Avatar
Avatar
MilkeeyCat
Ladies and gentlemen, how do you checkout pr's code
Jupstar ✪ 2024-09-14 15:34
git fetch upstream pull/5085/head:branch
Avatar
MilkeeyCat 2024-09-14 15:34
pr = !"f() { git fetch origin pull/$1/head:pr_$1 && git checkout pr_$1; }; f"
Avatar
do what jupeyy sent to ur message
Avatar
Jupstar ✪ 2024-09-14 15:34
5085 would be pr 5085
Avatar
MilkeeyCat 2024-09-14 15:34
and you can type git pr 5085 xd
Avatar
ws-client BOT 2024-09-14 15:34
<ChillerDragon> nice
15:35
<ChillerDragon> im not sure but i vaguely remember it being a bit different on gitlab
Avatar
Avatar
MilkeeyCat
Ladies and gentlemen, how do you checkout pr's code
git fetch origin pull/999/head (edited)
Avatar
Avatar
zhn
did u update to current master?
destroyed230 2024-09-14 15:53
alright. i did that and it solved the problem
Avatar
Avatar
furo
That was a bug with master, should be fixed now though.
destroyed230 2024-09-14 15:55
idk, i didn't get what you meant or something, i feel stupid
Avatar
Avatar
destroyed230
idk, i didn't get what you meant or something, i feel stupid
he just stated that bug was fixed on latest
16:19
and u just got updated so ur on latest now
Avatar
GitHub BOT 2024-09-14 16:52

Checklist

Previously the path was formatted like %s/%s, so if the directory is empty string, the map name would be /ctf1.map
  • [x] 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 existi...
Avatar
GitHub BOT 2024-09-14 17:29
232018d Don't add / if the directory is empty - MilkeeyCat 0369946 Merge pull request #8946 from MilkeeyCat/pr_fix_callvote_map_change - Robyt3
Avatar
MilkeeyCat 2024-09-14 19:02
@Robyt3 is this a "bullet smoke trail effect" from #8537?
Avatar
Render a demo containing bullet smoke trail effects. Play back the same demo after rendering finished. The bullet smoke trail effect is now missing, though it seems like it reappears after a few se...
Avatar
Avatar
MilkeeyCat
@Robyt3 is this a "bullet smoke trail effect" from #8537?
yeah, the gun bullet trail effect
Avatar
How to fix it
Avatar
MilkeeyCat 2024-09-14 19:04
it doesn't disappear for me thonk
Avatar
Avatar
MilkeeyCat
it doesn't disappear for me thonk
Try rendering on slow speed
Avatar
чаво
Avatar
Maybe it's related to some uninitialized memory though so might not happen on every system
Avatar
Avatar
Komi
How to fix it
Use less custom skins and assets, update your graphics cards driver, restart PC
Avatar
MilkeeyCat 2024-09-14 19:06
I rendered it in 0.5 speed and then played it, and it works
Avatar
Avatar
MilkeeyCat
I rendered it in 0.5 speed and then played it, and it works
I can still reproduce it. Render bullets trails at 0.1 speed, then after rendering is done, quickly play back the same demo again (edited)
Avatar
Avatar
Robyt3
Use less custom skins and assets, update your graphics cards driver, restart PC
OK, thank you
Avatar
Avatar
Robyt3
I can still reproduce it. Render bullets trails at 0.1 speed, then after rendering is done, quickly play back the same demo again (edited)
MilkeeyCat 2024-09-14 19:12
I dunno, I play that play demo button faster than professional Super Smash Bros players and it doesn't work, can you send your demo pls?
Avatar
GitHub BOT 2024-09-14 19:14
Closes #8590 When spectating a player, left-clicking again will switch to the closest player who is not currently being spectated https://github.com/user-attachments/assets/ecc91ce2-8716-4014-b9a4-1f18812780d7
  • [x] Tested the change ingame
  • [x] 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 po...
Avatar
Avatar
MilkeeyCat
I dunno, I play that play demo button faster than professional Super Smash Bros players and it doesn't work, can you send your demo pls?
I just shoot once. Start rendering with 0.1 speed, wait until done, then start playback again
Avatar
MilkeeyCat 2024-09-14 19:18
I... can't reproduce 😦
Avatar
Hmm, might be Windows or compiler specific then
Avatar
GitHub BOT 2024-09-14 19:25
Avoid code to convert from CTeeRenderInfo to chat-internal representation and back to CTeeRenderInfo. Add function to apply information of CSkin to a CTeeRenderInfo to reduce duplicate code.

Checklist

  • [X] 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 poi...
Avatar
Avatar
Komi
How to fix it
any time you see this screen the problem is always stated in the second paragraph
Avatar
seems like whenever u start the game with a controller plugged in and have joystick inputs, mouse movement is treated as joystick input even when no controller is connected (edited)
20:14
actually i just reopened the game and it's still doing it even with no controllers ever having been detected (edited)
20:15
🐪
Avatar
greenthing that's why steam displays ddnet with no controller support kekw
20:15
this is the steam release
20:17
i guess it doesn't happen on the ddnet 18.3 pkg
20:18
steam weirdness or xwayland weirdness (nixpkgs ver using native wayland)
Avatar
GitHub BOT 2024-09-14 20:19
The way to reproduce this is have some speed and disconnect. After joining the tee will have old speed values. Fixes #8814
  • [X] 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
...
Avatar
GitHub BOT 2024-09-14 20:30
>two other things i found out were that when you spam a and d the Y value spasm's a little bit and the X speed value isnt actually properly aligned with the position value no idea what causes this, maybe related to https://github.com/ddnet/ddnet/pull/8743 spasms: https://github.com/user-attachments/assets/5f5d2691-5fec-4a8f-ae60-78577da88388 speed != position https://github.com/user-attachments/assets/aa6230f2-8d92-4313-bd35-101b3f068d55
Avatar
GitHub BOT 2024-09-14 21:58
62075d2 Store CTeeRenderInfo instead of members for chat lines - Robyt3 65cf776 Extract CTeeRenderInfo::Apply(const CSkin *) function - Robyt3 0feee9a Merge pull request #8948 from Robyt3/Client-Chat-TeeRenderInfo-Cleanup - def-
Avatar
Avatar
Ewan
seems like whenever u start the game with a controller plugged in and have joystick inputs, mouse movement is treated as joystick input even when no controller is connected (edited)
just realized my vid is broken
Avatar
hi
Avatar
GitHub BOT 2024-09-14 22:53
Fixes #8927 Reverts the change done in this commit e2fde4d7303a1b935663ea094d40223ebe4c669a, which doesn't seem to be correct.

Checklist

  • [x] 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 af...
Avatar
ws-client BOT 2024-09-14 23:27
<ChillerDragon> hi
Avatar
yo :)
Avatar
ws-client BOT 2024-09-14 23:29
<ChillerDragon> papa tiga
Exported 310 message(s)
Timezone: UTC+0