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 2023-11-22 00:00:00Z and 2023-11-23 00:00:00Z
Avatar
That's forbidden by masterserver rules. Caused by #7519.
Avatar
ef8a87a Add demo_extract_chat to .gitignore. - furo321 8b0fccc Merge pull request #7522 from furo321/gitignore - heinrich5991
Avatar
morning
07:44
its finally time i become a llvm contributor
😫 1
Avatar
xd you have 20k issues to choose from
07:49
i have my own issue
07:50
I tried to search for a method to convert programatically using the C API MLIR code to LLVMIR and my conclusion is, you can't, because its missing the method mlir::translateModuleToLLVMIR (http...
Avatar
Epic
07:59
Now do the pr to immortalize yourself
Avatar
Teeworlds 0.7 added a NETMSGTYPE_SV_COMMANDINFO net message. I would love to see that in ddnet. It should use the same arguments as the 0.7 message same as https://github.com/ddnet/ddnet/pull/7515 I would also like it to use the same ID but that discussion is held here. It allows us to get rid of the hardcodet chat command completion. Which ena...
Avatar
Avatar
Jupstar ✪
Now do the pr to immortalize yourself
yes, i only need to do a setup that takes shitload and then code
Avatar
Avatar
heinrich5991
fastest: don't use linked lists
btw maybe interesting for you (run on intel skylake i7 6700k): https://pastebin.com/jpRXghp2
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
08:28
one of the reasons i linked hashlink. even tho it's a linked list, it's pretty fast for my use cases
08:31
kinda funny that it beat std vec in the second benchmark in iteration is ofc bit luck based, but shows that a efficiently packed linked list can still be very powerful
Avatar
@Jupstar ✪ why u not using criterion and black_box for benches?
Avatar
Avatar
Ryozuki
@Jupstar ✪ why u not using criterion and black_box for benches?
1. i never heard of that 2. i wrote these benchmarks when i started with rust. so i defs didnt heard of them back then xdd
08:36
i tried cargo bench, but was unstable
08:36
like anything in rust 😬
Avatar
An identity function that hints to the compiler to be maximally pessimistic about what black_box could do.
08:36
cargo bench is not unstable??
Avatar
then it was back then, i could not use it without nightlies
08:37
"Note: The #[bench] attribute is currently unstable and only available on the nightly channel. "
Avatar
anyway everybody and their mother uses https://github.com/bheisler/criterion.rs
Statistics-driven benchmarking library for Rust. Contribute to bheisler/criterion.rs development by creating an account on GitHub.
08:37
you can also use https://github.com/bheisler/iai which i think uses callgrind under the hood
Experimental one-shot benchmarking/profiling harness for Rust - GitHub - bheisler/iai: Experimental one-shot benchmarking/profiling harness for Rust
08:38
the blackbox function is important to prevent const time optimizations on input
Avatar
Avatar
Jupstar ✪
"Note: The #[bench] attribute is currently unstable and only available on the nightly channel. "
ah ur looking at the attribute
Avatar
next time i'll look into it xd
08:39
but it doesn't look trivial to use these libs to me
08:39
i prefer to have some fancy ass macro that hides anything from me
08:41
use criterion
08:41
it is like a cargo bench impl
08:41
when u setup criterion u just use cargo bench
Avatar
ok
Avatar
neat thing is it can make html reports with graphs
08:42
im seting up ccache before i venture on llvm dev
Avatar
yeah, for a more important benchmark i can look into it xdd
Avatar
Avatar
Ryozuki
im seting up ccache before i venture on llvm dev
how does it feel as cpp dev?
Avatar
isnt llvm in cpp?
Avatar
is there a command for a server to make it load maps in which you always must join a team?
Avatar
Smth Like teamsize exist
Avatar
i was looking for sv_team command but it gets overwritten by map commands or smth thonk
Avatar
it doesnt seem to work even if a map has no sv_team coomand set :p
Avatar
ChillerDragon BOT 2023-11-22 09:55:04Z
reset.cfg is your friend for sv_team
09:55
09:56
@MilkeeyCat this and inside the map are the places where sv_team can be set. Setting it in the regular autoexec.cfg gets troled away
Avatar
Avatar
ChillerDragon
@MilkeeyCat this and inside the map are the places where sv_team can be set. Setting it in the regular autoexec.cfg gets troled away
thanks :D
Avatar
i got wow working on linux
10:42
with lutris
10:42
linux is amazing
Avatar
Wow
Avatar
ChillerDragon BOT 2023-11-22 11:03:46Z
wow
Avatar
LLVMModuleRef mlirTranslateModuleToLLVMIR(MlirOperation module, LLVMContextRef context) { Operation *moduleOp = unwrap(module); llvm::LLVMContext *ctx = reinterpret_cast<llvm::LLVMContext*>(context); std::unique_ptr<llvm::Module> llvmModule = mlir::translateModuleToLLVMIR(moduleOp, *ctx); LLVMModuleRef moduleRef = reinterpret_cast<LLVMModuleRef>(const_cast<llvm::Module*>(llvmModule.release())); return moduleRef; }
☠️ 1
11:47
guys
11:47
do u see ub here
11:47
xd
11:47
a c api for the c++ api
11:51
i tested it and it works
11:51
kek
12:37
i even added a test
Avatar
chillerdragon BOT 2023-11-22 12:39:29Z
Wat u hacking ryo
Avatar
chillerdragon BOT 2023-11-22 12:43:17Z
Contribute to the project?
Avatar
He's basically the maintainer at this point
Avatar
ChillerDragon BOT 2023-11-22 13:12:50Z
wow
13:36
justatest
13:45
@heinrich5991 btw did u know
13:45
llvm clang format options
13:45
they rename ur variables to the correct format
13:45
xd
Avatar
no, did not
Avatar
❯ cat .clang-format BasedOnStyle: LLVM
13:46
lmao
Avatar
Avatar
Jupstar ✪
btw maybe interesting for you (run on intel skylake i7 6700k): https://pastebin.com/jpRXghp2
what's "access"? how can it be slower than "iterate"?
Avatar
❯ cat .clang-tidy Checks: '-*,clang-diagnostic-*,llvm-*,misc-*,-misc-const-correctness,-misc-unused-parameters,-misc-non-private-member-variables-in-classes,-misc-no-recursion,-misc-use-anonymous-namespace,readability-identifier-naming' CheckOptions: - key: readability-identifier-naming.ClassCase value: CamelCase - key: readability-identifier-naming.EnumCase value: CamelCase - key: readability-identifier-naming.FunctionCase value: camelBack # Exclude from scanning as this is an exported symbol used for fuzzing # throughout the code base. - key: readability-identifier-naming.FunctionIgnoredRegexp value: "LLVMFuzzerTestOneInput" - key: readability-identifier-naming.MemberCase value: CamelCase - key: readability-identifier-naming.ParameterCase value: CamelCase - key: readability-identifier-naming.UnionCase value: CamelCase - key: readability-identifier-naming.VariableCase value: CamelCase - key: readability-identifier-naming.IgnoreMainLikeFunctions value: 1 - key: readability-redundant-member-init.IgnoreBaseInCopyConstructors value: 1 - key: modernize-use-default-member-init.UseAssignment value: 1
13:46
with this
13:46
i think
Avatar
uhhh my game crashed when i reloaded my server while i was still uploading a map, should i put the crash dump
Avatar
Avatar
heinrich5991
what's "access"? how can it be slower than "iterate"?
Access By value
13:47
For vector it's find
13:47
That's why it's slow
Avatar
@Jupstar ✪ btw this uses the default hasher for hashmap
13:47
there are faster hash functions
Avatar
wtf??
Avatar
Avatar
Ryozuki
there are faster hash functions
Ok but I doubt it will beat indexmap
Avatar
aHash is a non-cryptographic hashing algorithm that uses the AES hardware instruction - GitHub - tkaitchuck/aHash: aHash is a non-cryptographic hashing algorithm that uses the AES hardware instruction
13:48
A blazingly fast, portable hash function with proven statistical guarantees.
Avatar
Avatar
Jupstar ✪
Access By value
what does access mean for the different containers? probably not access by value, but by key somehow, for hashmaps?
Avatar
uh oh my server is crashing me whenever i try to join it
Avatar
Avatar
heinrich5991
what does access mean for the different containers? probably not access by value, but by key somehow, for hashmaps?
Yes. But since i also need delete it needs to be able to have hashmap lookup perf anyway. Don't over interpret the vec results. It's mostly in there to check iteration speed
13:51
It's original designed to compare index map to a hash queue
13:52
Ofc u can use a vector and never ever delete any element to have index performance
13:52
But then u have the limitations of ddnet code
Avatar
there are also hashmaps that can preserve insertion order
Avatar
Indexmap
13:53
But not deleting order
13:53
At least not fast
Avatar
yes, also deletion order
13:54
I think python has one
13:54
I think you do it with a linked hash map, basically
Avatar
Yes that's what I'm using here too
13:54
That's the whole point xd
13:55
Linked lists are used
Avatar
but apparently thel inked hashmap you use cannot maintain insertion order on deletion
13:55
I just wanted to say that this is possible
Avatar
It can
13:56
Only indexmap can not
13:56
I use hashlink
13:56
Indexmap basically used a vec internally
13:56
So it should normally outperform a internal linked list
13:56
In iteration
Avatar
what do u use this map for
Avatar
Lot of stuff
13:58
E.g. skins container
13:58
Which makes it easy to remove unused skins
13:58
A.k.a unhot unloading
13:58
And hot loading if used again
14:01
https://github.com/Jupeyy/dd-pg/blob/test5/game/client-containers/src/container.rs#L98-L110 i'm basically moving used stuff to the end, which is almost free with a linked list then i know that all stuff in the front might be old
14:02
it's also nice for network queues and entity containers
14:04
did u know the maintainer of the crate is/was the lead dev of starbound
14:05
ChillerDragon
14:05
what are u up to
14:05
little troll xd
Avatar
In Starbound, you create your own story - there’s no wrong way to play! You may choose to save the universe from the forces that destroyed your home, uncovering greater galactic mysteries in the process, or you may wish to forego a heroic journey entirely in favor of colonizing uncharted planets.Settle down and farm the land, become an intergala...
Price
$5.99
Recommendations
118200
Metacritic
81
14:05
this game xdd
14:06
ok enough talk, cya chiller stop troll on important projects lmao
Avatar
Avatar
Jupstar ✪
did u know the maintainer of the crate is/was the lead dev of starbound
nice
Avatar
she even had a rustcon talk xDD
Avatar
when c++20 on ddnet
Avatar
chillerdragon: what did u even try to write that it was auto detected by some bot
Avatar
i wanna know too
Avatar
Avatar
Ryozuki
when c++20 on ddnet
in 30 years
Avatar
im amazed how well lutris works
14:09
and well wine proton
14:09
ill try starcraft 2
Avatar
Avatar
Ryozuki
i wanna know too
did you maybe get an email about it?
Avatar
lemme check
14:10
yes
14:10
he said this
14:10
wow ryOwO is llvm dev
14:10
no wonder xd
Avatar
typical chiller ngl
14:11
113mb/s rn
14:11
linux rocks
14:12
i need to buy a new 2tb ssd
Avatar
xd i won lottery => linux rocks
owo 2
Avatar
i kinda wanna change the m2 ssd which i think is 500gb
14:12
but i would need to move my OS
14:12
and im too lazy
14:12
maybe it would work if i copy it with dd
14:12
and then change fstab?
14:13
the uuid
14:13
¿Está listo para el rendimiento de próxima generación? El SSD Crucial P5 Plus ofrece una velocidad y protección de datos notables con lecturas secuenciales de hasta 6600MB/s para una computación transformadora. Diseñado por Micron con la última tecnología Gen4 NVMe, el Crucial P5 Plus incluye car...
14:13
its amazing
14:13
100€
14:13
pic4
14:13
so cheap rn
Avatar
Avatar
Ryozuki
maybe it would work if i copy it with dd
you can clone disks/partitions with gparted
14:14
also iirc UUID gets also copied
14:15
i thought uuid was made up from some hardware info
14:15
xd
14:15
ill buy that m2
Avatar
Avatar
Ryozuki
i thought uuid was made up from some hardware info
gparted also has an option to regenerate UUID for a filesystem/partition
Avatar
Avatar
Ryozuki
and im too lazy
So if you can have both SSDs connected to your PC at the same time you can just copy+paste partitions with gparted
14:19
you can resize them also etc
Avatar
@Ryozuki how the hell do you live with 500GB xdd compiling 10 rust projects = full
Avatar
i have a normal ssd
14:20
with 2tb
14:20
but shared with winshit
Avatar
ok 😄
14:20
urgh
14:20
amazon is smth else
14:20
i will get the ssd today
14:20
XD
Avatar
big city
14:22
oh i see my setup now
14:22
14:22
this is how i have it
14:23
2 m2s
14:23
windows stupidly takes lot of space
14:24
On a non GPT partition table I can do sfdisk -d /dev/sda | sfdisk /dev/sdb. But sfdisk doesn't support GPT partition tables. What can I use instead? I'm looking for a one or two command solution...
14:27
hmm
14:28
looks pog
Avatar
damn i already got a review
Avatar
Avatar
Ryozuki
damn i already got a review
Rip
14:54
More review than code xd
14:54
Good that u paid for that
Avatar
nah its good
14:55
its mostly style and doc conventions
Avatar
ChillerDragon BOT 2023-11-22 16:21:31Z
16:21
watfak
Avatar
don't spam people's issue trackers
Avatar
ChillerDragon BOT 2023-11-22 16:22:16Z
ofc banhammer5991 agrees with censorship axaxax
16:22
i was cheering for my frint
Avatar
When a question is made comparing compiled languages like C++ and Rust, the typical generic answer comes: “Both are compiled languages with no/minimal runtime that let you write whatever the machine can do. So performance will depend on your writing, not your chosen language.”
Avatar
chillerdragon: ~600 ppl are watching that repo
16:41
nice mass ping
16:41
😬
Avatar
ChillerDragon BOT 2023-11-22 16:48:16Z
oh no shiet
16:48
but wait they dont watch pr comments do they?
16:48
ez
16:48
my pr got approved
Avatar
ChillerDragon BOT 2023-11-22 16:48:47Z
epic
Avatar
Avatar
ChillerDragon
but wait they dont watch pr comments do they?
if you watch a repo, you get all comments
Avatar
ChillerDragon BOT 2023-11-22 16:49:04Z
okay i fucked up then
16:49
wopsi daisy
16:49
Im not used to github comments being red by more than 2 people
16:49
@Ryozuki thats big flex bro congrats
Avatar
chiller
16:50
they watch prs
16:50
and they have subscribers
16:50
on another platform
16:50
@llvm/pr-subscribers-mlir-llvm @llvm/pr-subscribers-mlir
16:50
also on phabricator
Avatar
it's ok chiller, u'll be fame now
Avatar
wait, github can delete comments? LOL
16:52
i thought everything there was just kinda permanent
Avatar
ChillerDragon BOT 2023-11-22 16:52:37Z
nono github is like a regular forum
16:52
repo owners can delete and edit comments
Avatar
u can generally remove sensible data
Avatar
edits show their diff tho*
Avatar
ChillerDragon BOT 2023-11-22 16:53:09Z
ddnet also uses it to censor bot clients etc
16:53
bot ads
Avatar
you mean yours?
16:53
bcs u always cross link to your repo
Avatar
ChillerDragon BOT 2023-11-22 16:53:41Z
oh that too axaxax
16:53
@Jupstar ✪
Avatar
ChillerDragon BOT 2023-11-22 16:54:04Z
i saw latlely something on ddnet github where it got edited saying "dont mention bot clients" or sumsin
Avatar
the average apple user takes that as granted
Avatar
Avatar
Ryozuki
edits show their diff tho*
you can also delete edit revisions
16:55
16:55
XD
Avatar
apple in a nutshell
Avatar
when open source hardware stuff
Avatar
open hardware?
Avatar
Avatar
Voxel
when open source hardware stuff
why u carte
16:56
care
16:56
u use windows
16:56
justatest
Avatar
pssst
16:56
dont demotivate him
Avatar
i think rpi is open source
Avatar
@Ryozuki if there would be open hardware pcs (that are useful) would u also built it your own, just like you build gentoo your own?
16:57
else u not hipster enough
16:57
sounds more complicated
16:57
but ifg i had spare money i would try
Avatar
Avatar
Ryozuki
u use windows
damn so im suddenly not allowed to mention j hardware now?? LOL
16:58
classic linux user
Avatar
i always wonder how high voxels pulse is in this chat
16:58
either he player, or he raging af
Avatar
im literally laying in bed rn
Avatar
bom bom
16:59
bom bom
Avatar
Avatar
Voxel
damn so im suddenly not allowed to mention j hardware now?? LOL
im joking xd
16:59
voxel u need to come to windows
16:59
ur the last one left
Avatar
Avatar
Ryozuki
u use windows
you can still use windows and care about open hardware
Avatar
well and robyt
Avatar
just like you can use closed hardware and still use linux
Avatar
please don't do this shitting on windows users…
Avatar
51e3c37 Use mem_copy instead of for-loop in CPacker::AddRaw - Robyt3 ab4e737 Fix misaligned int loads in CUnpacker::GetUncompressedInt - Robyt3 f95b0f1 Merge pull request #7520 from Robyt3/Packer-Improvements - heinrich5991
Avatar
please continue, my popcorn is not empty yet
Avatar
Avatar
heinrich5991
please don't do this shitting on windows users…
he said he was joking, plus this is ryozuki so, ive gotten used to it
Avatar
idc if people are "joking"
17:01
in real life you have to make really sure that the recipient gets that, in order to still be friendly
17:01
over the internet, it just doesn't work
Avatar
feels low quality and typical anti rust
17:02
Conclusion Given that the performance benefits are either inconclusive, non-existent or more likely negative, and the safety benefits are not really that pressing for most applications, is that really worth moving to a completely new language, with its infamous long and hard learning curve as Rust?
17:02
xd
Avatar
What did chiller write in the comment?
Avatar
wow ryOwO is llvm dev
17:03
he wrote this
Avatar
Avatar
Ryozuki
wow ryOwO is llvm dev
^
Avatar
Avatar
Ryozuki
Conclusion Given that the performance benefits are either inconclusive, non-existent or more likely negative, and the safety benefits are not really that pressing for most applications, is that really worth moving to a completely new language, with its infamous long and hard learning curve as Rust?
that indeed sounds bullshit
17:03
xDD
Avatar
on my pr on llvm
17:03
@Learath2 im an llvm contributor now (edited)
17:03
EZ
17:03
green_tick rust green_tick llvm ???
Avatar
Avatar
Ryozuki
wow ryOwO is llvm dev
LOL
17:03
trollerdragon
Avatar
Avatar
Ryozuki
green_tick rust green_tick llvm ???
khronos
Avatar
what do u contribute to khronos?
17:03
a spec? xD
Avatar
i contributed a bug report for the vulkan loader
NekoEvil 1
17:04
😏
Avatar
Avatar
Ryozuki
feels low quality and typical anti rust
"I still think X is as good as Y". that mostly tells me that Y is generally accepted to be good 🙂 (edited)
Avatar
Avatar
heinrich5991
"I still think X is as good as Y". that mostly tells me that Y is generally accepted to be good 🙂 (edited)
what is x and y here?
17:04
im not getting what u mean exactly
Avatar
I'm quoting the title of the blog post I sent
Avatar
Avatar
Ryozuki
feels low quality and typical anti rust
I have a feeling anything anti rust would feel low quality to you immediately anyway
Avatar
Avatar
Learath2
I have a feeling anything anti rust would feel low quality to you immediately anyway
not rly
17:06
i always said
17:06
if a new lang better than rust pops up
17:06
ill jump ship
17:06
and i hope one appears
Avatar
rust nightly > rust
17:06
ryo can accept that
Avatar
true xd
Avatar
unfortunately, rust has a lot of movement behind it at this point
17:06
so the new language is going to face an uphill battle, even if it is better
17:07
maybe rust has also easier time adopting new features from new languages
17:07
@Jupstar ✪ polonius rust > rust
Avatar
wat
Avatar
new borrow checker, I think?
Avatar
polonius is the next gen borrow checker
Avatar
is it faster?
Avatar
-Zpolonius
Avatar
is it less sensitive? xd
Avatar
less sensitive
17:08
it allows more
Avatar
interesting
Avatar
i think its not faster or slower
17:08
Defines the Rust borrow checker. Contribute to rust-lang/polonius development by creating an account on GitHub.
17:10
there is also plans for a better type solver
17:10
An implementation and definition of the Rust trait system using a PROLOG-like logic solver - GitHub - rust-lang/chalk: An implementation and definition of the Rust trait system using a PROLOG-like ...
Avatar
Also fix normal clients being disconnected/controlled like debug dummies. Closes #7523.

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 affect existing maps
  • [ ] Tested the ch...
Avatar
well im not sure if its being used already
17:11
i read rust-analyzer uses it
Avatar
Avatar
Ryozuki
it allows more
It's not exactly less sensitive but it's smarter and can prove more, no?
Avatar
Avatar
Learath2
It's not exactly less sensitive but it's smarter and can prove more, no?
yeah, i guess by less sensitive we mean it is less restrictive in what u can do
17:12
since it can prove more yes
Avatar
I think I'll just merge #7171 and we can fix the ubsan warnings some other way
Avatar
Fix for #7170 Reset is not needed in core init, as it already reset before each init except reckoning. Checklist Tested the change ingame Provided screenshots if it is a visual change Tested in...
Avatar
@Ryozuki have u already tried NVK?
17:15
it's now vk 1.0 conform
Avatar
whats was nvk xd
Avatar
nvidia vk driver
17:15
oss ofc
17:16
not from nvidia
Avatar
ah idk
Avatar
enjoy your 3 fps
17:16
😬
Avatar
Is anyone even making anything using the rust integration we have in the code?
17:29
Every compilation is paying the rust tax and we still don't have anything in :/
Avatar
yea, maybe we should rip it out again
17:30
my upcoming™ quic network will make use of rust
Avatar
Avatar
Learath2
Is anyone even making anything using the rust integration we have in the code?
its sad we havent done anything
17:32
but i think its more that there is not much ported to rust
17:32
so u need to do 200% work to do something
17:34
DDoS Mitigation with XDP and Rust: Dive into a Rust-based eBPF program for redirecting UDP flood attacks to a honeypot. This hands-on guide demonstrates the potent synergy of XDP and Rust in network security, offering a practical approach to packet manipulation and cybersecurity.
17:34
@ReiTW
Avatar
Avatar
Ryozuki
its sad we havent done anything
it's sad that we need pyson, rust & cpp compiler at least pyson should leave 😏
Avatar
you forgot the cmake interpreter
Avatar
true
Avatar
generally, python and cmake are installed on systems that have a C++ compiler
17:39
so it's not much of a burden
Avatar
This fixes the hook going invisible issue reported on Discord, and potentially reintroduces the UB fixed in 6680ec388cb8b71f9fa73223d3af9d37148bd26a, however I could not reproduce the UB anymore using ubsan :/ Lesson learned, don't try to be smart 🙃

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 add...
Avatar
stuff like that might always be an AI production
Avatar
hello Where can I find multieasymap files?
Avatar
https://maps.ddnet.org/ all the maps we host and many others are here
Avatar
you can also open it in your client if you're connected to the server
17:51
open the editor and select "load current map"
17:52
generally all ddnet maps are here https://github.com/ddnet/ddnet-maps/tree/master
All released maps on DDraceNetwork, see also https://ddnet.org/releases/ and https://maps.ddnet.org/ - GitHub - ddnet/ddnet-maps: All released maps on DDraceNetwork, see also https://ddnet.org/rele...
17:52
the current ones
Avatar
Avatar
heinrich5991
stuff like that might always be an AI production
yeah i thought so. i set it up as a trick question.
17:52
when hire an artist
Avatar
I'm trying, thank you everyone in advance
Avatar
Avatar
Voxel
when hire an artist
AIs are artists
17:53
😬
Avatar
Thank you very much it worked. I have another question, how can I add my server to the Turkish servers list? I just type the IP and enter it, I want it to appear in the list.,
Avatar
Avatar
Jupstar ✪
AIs are artists
prove it
Avatar
if you host it on a server, the server list should automatically list it
17:55
please do not impersonate the "DDNet Turkey" name though
Avatar
Well, when I don't, it doesn't appear when I type the server name.
17:56
I host it on a virtual server located in Türkiye.
Avatar
Avatar
Voxel
prove it
xdd it still choose you if i could choose
17:57
the synapses count is still too low
Avatar
Avatar
deks
Well, when I don't, it doesn't appear when I type the server name.
can you check the log output of the server?
17:57
what does it say about "register"?
Avatar
2023-11-22 09:52:33 I sql: failed connecting to db: Can't open sqlite database: 'unable to open database file'
Avatar
that sound bad 😮
17:59
but maybe unrelated
Avatar
I downloaded the server from the ddnet website, installed multeasy and opened it.
Avatar
which operating system is the server on? windows? linux?
Avatar
windows 2016
Avatar
can you post the whole log output?
Avatar
yes, one minute
18:01
share error
18:01
come to dm
18:01
i am bad english sorry...
18:02
2023-11-22 I engine: running on windows-win64-amd64 2023-11-22 I engine: arch is little endian 2023-11-22 I engine: operating system version: Windows 10.0.14393.0 2023-11-22 I storage: added path '$USERDIR' ('C:\Users\Administrator\AppData\Roaming/DDNet') 2023-11-22 I storage: added path '$DATADIR' ('data') 2023-11-22 I storage: added path '$CURRENTDIR' ('C:\Users\Administrator\Desktop\ddnet\DDNet-17.4-win64') 2023-11-22 I http: libcurl version 8.0.1 (compiled = 8.0.1) 2023-11-22 I host_lookup: host='localhost' port=0 1 2023-11-22 I host_lookup: host='localhost' port=0 2 2023-11-22 I console: executing 'autoexec_server.cfg' 2023-11-22 I server: added maps to votes 2023-11-22 I console: failed to open 'myServerconfig.cfg' 2023-11-22 I server: starting... 2023-11-22 I socket: Setting TOS on ipv6 failed: 0 2023-11-22 I server: using port 8303 2023-11-22 I server: server name is 'harbitech.com.tr DDNet server' 2023-11-22 I sql: failed connecting to db: Can't open sqlite database: 'unable to open database file' 2023-11-22 I sql: [2] load best time failed on all databases 2023-11-22 I git-revision: d1310c22731891a3874ff52a83443f7cdd57842f 2023-11-22 I server: version 17.4 on win64 amd64 2023-11-22 I server: git revision hash: d1310c22731891a3874ff52a83443f7cdd57842f 2023-11-22 I server: +-------------------------+ 2023-11-22 I server: | rcon password: 'V9gTC2' | 2023-11-22 I server: +-------------------------+
Avatar
I was thinking about writing a post but my english and explanations sucks
Avatar
check whether autoexec_server.cfg contains something like sv_register
Avatar
Avatar
ReiTW
I was thinking about writing a post but my english and explanations sucks
doit
18:04
you could ask people here (e.g. me 😛 ) to review it
Avatar

Register server (make it public)

sv_register 0
Avatar
change that to 1
Avatar
still same
Avatar
no change in log output?
Avatar
2023-11-22 10:07:26 I register/6/ipv6: registering... 2023-11-22 10:07:26 I http: https://master1.ddnet.org/ddnet/15/register failed. libcurl error (7): 2023-11-22 10:07:26 E register/6/ipv6: error response from master 2023-11-22 10:07:41 I register/6/ipv6: registering... 2023-11-22 10:07:41 I http: https://master1.ddnet.org/ddnet/15/register failed. libcurl error (7): 2023-11-22 10:07:41 E register/6/ipv6: error response from master 2023-11-22 10:07:56 I register/6/ipv6: registering... 2023-11-22 10:07:56 I http: https://master1.ddnet.org/ddnet/15/register failed. libcurl error (7): 2023-11-22 10:07:56 E register/6/ipv6: error response from master 2023-11-22 10:08:11 I register/6/ipv6: registering... 2023-11-22 10:08:11 I http: https://master1.ddnet.org/ddnet/15/register failed. libcurl error (7): 2023-11-22 10:08:11 E register/6/ipv6: error response from master
18:08
bro bro bro
18:09
thank you
18:09
fix
Avatar
Avatar
deks
2023-11-22 10:07:26 I register/6/ipv6: registering... 2023-11-22 10:07:26 I http: https://master1.ddnet.org/ddnet/15/register failed. libcurl error (7): 2023-11-22 10:07:26 E register/6/ipv6: error response from master 2023-11-22 10:07:41 I register/6/ipv6: registering... 2023-11-22 10:07:41 I http: https://master1.ddnet.org/ddnet/15/register failed. libcurl error (7): 2023-11-22 10:07:41 E register/6/ipv6: error response from master 2023-11-22 10:07:56 I register/6/ipv6: registering... 2023-11-22 10:07:56 I http: https://master1.ddnet.org/ddnet/15/register failed. libcurl error (7): 2023-11-22 10:07:56 E register/6/ipv6: error response from master 2023-11-22 10:08:11 I register/6/ipv6: registering... 2023-11-22 10:08:11 I http: https://master1.ddnet.org/ddnet/15/register failed. libcurl error (7): 2023-11-22 10:08:11 E register/6/ipv6: error response from master
sv_register "ipv4"
Avatar
to get rid of the log messages
18:11
doesn't really fix anything
Avatar
How illegal is it to cast an iterator to a pointer? 😄
18:36
b9f786c Revert the mess-chain #7247. Apply #7171 - Learath2 403c1a5 Merge pull request #7526 from Learath2/pr_reckon - def-
Avatar
Avatar
Learath2
How illegal is it to cast an iterator to a pointer? 😄
just dereference it and reference it?
Avatar
Avatar
heinrich5991
just dereference it and reference it?
Problem is I need the iterator stored, but I only have a void *s worth of storage
18:39
Mh, what am I even thinking, iterators are not just pointers, it's larger than a void *
18:39
It's time for food, low blood sugar
Avatar
vector iterators are just a pointer AFAIK
Avatar
Avatar
Learath2
Problem is I need the iterator stored, but I only have a void *s worth of storage
check the size and if it's larger, allocate
18:54
48bfecc Ensure debug dummies are not included in server info - Robyt3 7f9371c Merge pull request #7525 from Robyt3/Server-Debug-Dummies-ServerInfo - heinrich5991
Avatar
Avatar
Learath2
https://en.cppreference.com/w/cpp/memory/enable_shared_from_this have any of you ever seen this thing? black magic 😄
if it is what I think it is, I wanted to have this in rust, before
18:55
food now though, will look at it later
Avatar
Avatar
Learath2
https://en.cppreference.com/w/cpp/memory/enable_shared_from_this have any of you ever seen this thing? black magic 😄
hmm. doesn't sound too black-magic to me tbh
19:19
but I'd still like something similar for rust
Avatar
whats the best place to put proto files in ddnet thonk in data? (edited)
Avatar
datasrc, probably
Avatar
oh, thanks 🙂
Avatar
what are you doing? 🙂
Avatar
Avatar
heinrich5991
what are you doing? 🙂
before i was working on website and rust server but ddnet server also has to send a request to rust server when the map is finished so it can shutdown and let the website know about it. so i need to use proto files in ddnet as well feelsbadman
Avatar
ah 🙂
19:58
got a link to the rest of the project? 🙂
Avatar
rest? it's basically a website, rust server, and not commited ddnet server code
19:59
DDNet-Team-Searcher has 4 repositories available. Follow their code on GitHub.
20:01
3.3k lines cmake file, holly hell pepeW
Avatar
Website where players can find other players, sounds very cool owo
Avatar
ChillerDragon BOT 2023-11-22 20:44:37Z
ryOwO bash repo enjoyer
20:44
Avatar
Avatar
MilkeeyCat
why did you go for protobuf? 🙂 (edited)
Avatar
Avatar
heinrich5991
why did you go for protobuf? 🙂 (edited)
Why not. Json sucks and i dont know many alternatives so i decided to try protobuf
21:00
After 1 hour trying to make cmake generate those damn files, i feel it will be so much fun
Avatar
Avatar
MilkeeyCat
Why not. Json sucks and i dont know many alternatives so i decided to try protobuf
ah. I would've gone with json, I guess
Avatar
ChillerDragon BOT 2023-11-22 21:15:59Z
@MilkeeyCat where website
Avatar
Avatar
ChillerDragon
@MilkeeyCat where website
On github santatrollet
Avatar
ChillerDragon BOT 2023-11-22 21:16:25Z
url
Avatar
Avatar
heinrich5991
ah. I would've gone with json, I guess
That would be easy way
Avatar
Avatar
MilkeeyCat
On github santatrollet
Link pls
Avatar
ChillerDragon BOT 2023-11-22 21:16:32Z
Website where weirdos can find another weirdos to play with each other - GitHub - DDNet-Team-Searcher/website: Website where weirdos can find another weirdos to play with each other
21:16
i see no link in description or readme
Avatar
Avatar
ChillerDragon
i see no link in description or readme
Its not hosted
Avatar
ChillerDragon BOT 2023-11-22 21:17:00Z
wot
21:17
why
Avatar
Because its not finished
21:17
._.
21:17
I have a long ass todo
Avatar
ChillerDragon BOT 2023-11-22 21:17:31Z
classic
Avatar
Its right in the repo
Avatar
who made the artwork
Avatar
My friend
Avatar
who is your friend
Avatar
He played ddnet once and said he hates this game (edited)
Avatar
aha
21:18
that's impossible
21:18
please try again
Avatar
This art made by your friend too? xdd
Avatar
Avatar
Mʎɹ シ
This art made by your friend too? xdd
Nop, mystery.fox :D
Avatar
Teach him how to use alpha channel
Avatar
Avatar
ChillerDragon
classic
Host it for me gigachad
Avatar
Avatar
Mʎɹ シ
Teach him how to use alpha channel
Her* xd
thonk 1
Avatar
why does json suck? 🙂
Avatar
Takes a lot of space
Avatar
it includes java in its name
21:27
😏
Avatar
Avatar
heinrich5991
why does json suck? 🙂
Almost every ur message ends with 🙂 justatest
Avatar
Avatar
Jupstar ✪
it includes java in its name
It includes JavaScript in its name
Avatar
Avatar
MilkeeyCat
Takes a lot of space
what are u even doing
21:29
that u need so much space
21:29
store vertices?
Avatar
I dont need much space
Avatar
so u just hipster, i respect that
Avatar
I just dont want it to take bajillion kilobytes
Avatar
1 trillion fps is a must have for future humans, also when searching teams
Avatar
Avatar
MilkeeyCat
I just dont want it to take bajillion kilobytes
not like compression exists xd
Avatar
Avatar
MilkeeyCat
I just dont want it to take bajillion kilobytes
(all i send is 3 numbers, but doesn't matter)
21:32
The time just hasn't come to frontend yet (edited)
Avatar
i dont want to be mean, but if ur website does not use webgpu, it kinda sucks
21:38
would be really anti hipster
Avatar
Its not finished yet, i can find where to use it
21:42
When i will have infinite amount of time ill get rid of next.js and rewrite it in htmx greenthing
21:42
And go obviously
Avatar
We are only using int game settings at the moment so these bugs/fixes shouldn't have any effect on existing maps.

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
  • [X] Changed no physics that affect existing ma...
23:22
d331bcb Fix color game settings not being reset correctly - Robyt3 61c201c Fix string game settings not being reset correctly - Robyt3 7562833 Merge pull request #7527 from Robyt3/Config-ResetGameSettings-Fixes - def-
Exported 514 message(s)