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-10-12 00:00 and 2024-10-13 00:00
Avatar
@ChillerDragon https://github.com/ddnet-insta/ddnet-insta/tree/master Any reason why master isn't default branch? And approximately how long until DM/CTF is implemented? :D
A teeworlds instagib (grenade/laser capture the flag/death match/catch) mod based on DDRaceNetwork (gctf/ictf/idm/gdm/zcatch) - GitHub - ddnet-insta/ddnet-insta at master
Avatar
ws-client1 BOT 2024-10-12 04:17
<ChillerDragon> @Pathos the only known todo for dm/ctf is some minor warmup thing thats not too important https://github.com/ddnet-insta/ddnet-insta/issues/136
I was alone then did a !restart then connected the dummy and it instantly started the game. Be careful fixing this. Don't break countdowns in gctf. Check what vanilla does here but don't fo...
04:19
<ChillerDragon> the thing that is missing for it to be called completed is a proper gameplay test. My public server is already public at 88.198.96.203:8309 please report any issues you find :)
04:21
<ChillerDragon> the master branch is used for pure ddnet and merging could also name that one "ddnet" or "upstream" i think it was more convienient for me back in the days if i could click "sync fork" for the master on github and then just pull. So I can merge into ddnet without a remote.
👍 1
Avatar
GitHub BOT 2024-10-12 08:17
The argument x64 is an alias for x86_64 but the name of the build folder always contains x86_64, so the data folder and certificate were not being found when using the x64 argument, unless another architecture was previously built.

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 ...
Avatar
GitHub BOT 2024-10-12 09:26
1828b5b Fix Android build when first building x64 architecture - Robyt3 08ec4dd Merge pull request #9141 from Robyt3/Android-Build-x64-Fix - def-
Avatar
MilkeeyCat 2024-10-12 10:39
Any rust pro have a link to a resource where described how procedural macros work, how rustc calls them etc.
Avatar
GitHub BOT 2024-10-12 10:44
Addresses https://github.com/ddnet/ddnet/pull/9052#discussion_r1796898871 Favorites written to settings_ddnet.cfg can now look like this add_favorite 185.223.31.160:8308 add_favorite "tw-0.7+udp://45.142.178.158:8307" allow_ping It uses ips for 0.6 and the url format for 0.7 only servers.
Avatar
Avatar
MilkeeyCat
Any rust pro have a link to a resource where described how procedural macros work, how rustc calls them etc.
Jupstar ✪ 2024-10-12 11:26
Have you used them before? They simply take tokens and output tokens. You could say u take text and give back text
Avatar
MilkeeyCat 2024-10-12 11:26
ye, I know that xd
11:26
I'm more interested how they are used by compiler, they are first compiled by rustc and then somehow get called
Avatar
Jupstar ✪ 2024-10-12 11:27
Yes, exactly like that xd
Avatar
Avatar
MilkeeyCat
I'm more interested how they are used by compiler, they are first compiled by rustc and then somehow get called
That's the reason they have to be in a different crate in rust iirc
12:07
They are probably handled as a compiler plugin of sorts. You compile the proc macro, then call out to it after building the initial ast to clean up the macro nodes
Avatar
Avatar
Pathos
@ChillerDragon https://github.com/ddnet-insta/ddnet-insta/tree/master Any reason why master isn't default branch? And approximately how long until DM/CTF is implemented? :D
for vanilla mods use jsaurus fork
15:10
we did discuss it with chiller before, ddnet-insta is insta only and will not have any vanilla mods in it eh
Avatar
GitHub BOT 2024-10-12 19:06
There’s no reason why toggle has arguments coded as integers when it can accept any type, as it has internal validation. This restores how the command worked before 18.6 by fixing cases where colors or strings without quotes were incorrectly detected as integers Similar to #8897

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...
Avatar
MilkeeyCat 2024-10-12 20:06
fn add(lhs: usize, rhs: usize) -> usize { return lhs + rhs; } fn sub(lhs: usize, rhs: usize) -> usize { return lhs - rhs; } fn main() -> u8 { let ptrs: fn(usize, usize)->usize[2] = [sub, add]; let value: usize; // there're whoopsie daisies with other types than u8(segfault) for let i: u8 = 0; i < 2; i = i + 1 { value = ptrs[(i as usize)](i as usize, i as usize); printf("%d", value); } return 0; } @Learath2 I didn't decide anything regarding enums but I added function pointers justatest (edited)
Avatar
Currently swap msg sent to dummy is not shown and I can't think of any solution without using strcmp under the current protocol. Imo swap msgs deserve a unique protocol, but I'm not familiar with ddnet protocols so...
20:16
I also hope for a better display of swap msgs, as well as whispers, to differentiate a msg is sent from/to player/dummy
Avatar
GitHub BOT 2024-10-12 21:06
cd96eea Fix toggle arg validation - KebsCS 34015ea Merge pull request #9143 from KebsCS/pr-command-argument-validation - def-
Avatar
Avatar
zhn
for vanilla mods use jsaurus fork
Nice, do you have link?
Avatar
I forgot to give out useless words yesterday, so I'll give two now: recondite = obscure diffident = shy
Exported 26 message(s)
Timezone: UTC+0