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-11-10 00:00 and 2024-11-11 00:00
Avatar
ws-client BOT 2024-11-10 01:32
<ChillerDragon> @Pathos you can tag me by saying my name like in tw chat. The round stats are documented in the readme https://github.com/ddnet-insta/ddnet-insta/blob/f5a05654d839b18d6b75a4f105691c1390e41eea/README.md#publish-round-stats
A teeworlds instagib (grenade/laser capture the flag/death match/catch) mod based on DDRaceNetwork (gctf/ictf/idm/gdm/zcatch) - ddnet-insta/ddnet-insta
01:36
<ChillerDragon> If you need a website to keep track of elos you can also look at https://github.com/TyeNTy/teeworlds-league which has a http endpoint that ddnet-insta can post to
Teeworlds League. Contribute to TyeNTy/teeworlds-league development by creating an account on GitHub.
01:38
<ChillerDragon> Or just rebuild the same concept at least. Listening for json via http seems smoother than csv and inotifywait but in the end its kinda the same thing. But yes one day i will add files and csv. If you say you can't do it without i can move it up in my todo.
01:40
<ChillerDragon> The starting a official match and restricting clan names i am not too sure about. Seems like a lot of complexity that can just be annoying or forgotten. Also what is its use case? It can easily be bypased. Why shouldn't every game count? And every game with matching clans can be automatically detected as clan game by the external stats service.
Avatar
Avatar
Solly
and i still cant find things without a hunt
it took me year and half maybe to become familiar with tw code as a beginning programmer
💀 1
03:09
so it is what it is xd
Avatar
ws-client BOT 2024-11-10 05:19
<ChillerDragon> @Pathos ok i implemented both csv and writing to a file. But i would recommend using the http posts and json instead.
👍 1
Avatar
ChillerDragon can you make changes to tune for an individual player?
Avatar
Avatar
Evelyn
Then I think it would be easy to create an anti-cheat
No functionality for such things, examine network protocol, there is only a little piece of pretty general data available to server. Also you can easily not register config vars in console
Avatar
ChillerDragon and how to remove mutation for frequent nickname changes
Avatar
ws-client BOT 2024-11-10 06:22
<ChillerDragon> @Evelyn sv_max_namechanges_per_ip (how many times one ip can change the name (hourly) before the msg gets hidden)
06:25
<ChillerDragon> there is no per player tune zone yet it would also cause prediction issues until https://github.com/ddnet/ddnet/pull/8959 is merged
On the client side the per-character tuning as-is works acceptable as long as AntiPing is off (infclass uses per-player tuning for many years). Turning on the AntiPing ruins the UX in some cases. (...
Avatar
Avatar
ws-client
<ChillerDragon> If you need a website to keep track of elos you can also look at https://github.com/TyeNTy/teeworlds-league which has a http endpoint that ddnet-insta can post to
Ouch... Huge ouch... This seemed so promising until I saw MongoDB... It won't be scalable, unfortunately. https://www.enterprisedb.com/news/new-benchmarks-show-postgres-dominating-mongodb-varied-workloads (source https://info.enterprisedb.com/rs/069-ALB-339/images/PostgreSQL_MongoDB_Benchmark-WhitepaperFinal.pdf) Tagging @TNT -- I would recommend raw .csv files, Postgres, or DuckDB (though this depends) instead of Mongo. Mongo will lag. (edited)
Performance of two of the fastest-growing database management systems compared head-to-head with Postgres emerging as the winner The Postgres database management system (DBMS) measured between 4 and 15 times faster than MongoDB in transaction performance testing conducted by OnGres, a company specializing in providing database software and servi...
Avatar
Avatar
ws-client
<ChillerDragon> @Pathos you can tag me by saying my name like in tw chat. The round stats are documented in the readme https://github.com/ddnet-insta/ddnet-insta/blob/f5a05654d839b18d6b75a4f105691c1390e41eea/README.md#publish-round-stats
I see. Are you able to see react emojis?
Avatar
Avatar
Solly
and i still cant find things without a hunt
It's a project that's been developed for many years, and devs here are helpful so you can ask questions
Avatar
Avatar
ws-client
<ChillerDragon> @Pathos you can tag me by saying my name like in tw chat. The round stats are documented in the readme https://github.com/ddnet-insta/ddnet-insta/blob/f5a05654d839b18d6b75a4f105691c1390e41eea/README.md#publish-round-stats
This looks very promising!!! (ignore -- just taking notes for a commit: https://github.com/ddnet-insta/ddnet-insta/tree/f5a05654d839b18d6b75a4f105691c1390e41eea) Can you explain a bit about sv_round_stats_format_discord, sv_round_stats_format_http, and sv_round_stats_format_file? What happens if I set all of them to 0 or csv? I don't understand. (edited)
07:58
ChillerDragon Are you able to see edits? I'm guessing not replies, right?
Avatar
what type of configuration should I choose so that the fps is not low?
Avatar
ChillerDragon ah shet, I just realised vanilla isn't implemented yet haha oops
Avatar
ws-client BOT 2024-11-10 08:19
<ChillerDragon> mongodb is web scale
08:21
<ChillerDragon> @Pathos the stats only work with team modes for now. By not implemented you mean dm stats right? Because the rest should be all there.
08:27
<ChillerDragon> @Pathos you pick one format per destination. If you set all to 0 it will send csv to discord, http and file. Given that you also set a discord webhook, http endpoint and file name
Avatar
ws-client BOT 2024-11-10 08:52
<ChillerDragon> @Pathos round stats for dm are now implemented too :)
Avatar
Avatar
Pathos
Ouch... Huge ouch... This seemed so promising until I saw MongoDB... It won't be scalable, unfortunately. https://www.enterprisedb.com/news/new-benchmarks-show-postgres-dominating-mongodb-varied-workloads (source https://info.enterprisedb.com/rs/069-ALB-339/images/PostgreSQL_MongoDB_Benchmark-WhitepaperFinal.pdf) Tagging @TNT -- I would recommend raw .csv files, Postgres, or DuckDB (though this depends) instead of Mongo. Mongo will lag. (edited)
it's not supposed to scale
Avatar
Avatar
jxsl13
it's not supposed to scale
nahhh my Teeworlds server needs to keep stats for twenty million players
Avatar
chillerdragon BOT 2024-11-10 09:07
Edits get resend so yea I see them
Replying to @Pathos ChillerDragon Are you able to see edits? I'm guessing not replies, right…
09:08
I do not see reaction emojis
Replying to @Pathos I see. Are you able to see react emojis?
Avatar
it's for the league with like 50 players
Avatar
@deen there is no 18.7 tag of ddnet on github, can you make it? otherwise its hard to update the ebuild on gentoo
Avatar
oh true i wanted to update ddnet on nixpkgs aswell - ty 4 reminder
Avatar
@Ryozuki ping me when the tag is available kek
Avatar
ChillerDragon how to set up /shop
Avatar
ws-client BOT 2024-11-10 11:12
<ChillerDragon> @Evelyn tile 161
Avatar
And the products in /shop how to set up
Avatar
ws-client BOT 2024-11-10 11:17
<ChillerDragon> what do you want to setup
Avatar
Firstly , translate into Russian , secondly , remove all products , secondly , add your own setting : product level price
Avatar
ws-client BOT 2024-11-10 11:19
<ChillerDragon> before we add new translations could you help me finish the tournament broadcast one
Avatar
ws-client BOT 2024-11-10 11:20
EN = [EVENT] BLOCK IN 5 SECONDS [1/2] /join'ed already RU= [ИВЕНТ) Блок турнир через (The number of seconds before the tournament) , (The number of people who came in Just a number without /2) ...
Avatar
What should I do there?
Avatar
ws-client BOT 2024-11-10 11:21
<ChillerDragon> Come up with a shorter message
11:22
<ChillerDragon> @Evelyn to remove items from the shop you can use deactivate_shop_item [item name] for example deactivate_shop_item police you can test it in the admin console and then persists it in your config
Avatar
ws-client BOT 2024-11-10 11:24
<ChillerDragon> and you want to set a custom price for the exististing items or something else? I could add that if you will actually use it. Or what exactly do you need?
11:25
<ChillerDragon> @Evelyn you made the message even longer it does not fit
Avatar
In short, the meaning is lost
Avatar
Avatar
ws-client
<ChillerDragon> and you want to set a custom price for the exististing items or something else? I could add that if you will actually use it. Or what exactly do you need?
I want to add my own products. for example, level 5 is required for grenade and it costs 1000
Avatar
ws-client BOT 2024-11-10 11:29
<ChillerDragon> you mean a regular grenade as if it was collected in the map? and you loose it on death?
11:29
<ChillerDragon> @Evelyn in the long form the words are lost xd
Avatar
Avatar
ws-client
<ChillerDragon> you mean a regular grenade as if it was collected in the map? and you loose it on death?
I didn 't understand the meaning of the question , I want it to be given out to death
Avatar
ws-client BOT 2024-11-10 11:39
<ChillerDragon> @Evelyn okay i added grenade to the shop
Avatar
Maybe you'll just make a command that deletes all products from the shop, and then a command to add products and delete them? so that I have already set it up myself
Avatar
ws-client BOT 2024-11-10 11:46
<ChillerDragon> Oke i added deactivate_all_shop_items you can put that in your config and after that you can add activate_shop_item grenade
Avatar
maybe yod add active_shop_item "Product Name" "The required level" "Price" "The action being performed, like the issue of a grenade in my case"
Avatar
ws-client BOT 2024-11-10 11:54
<ChillerDragon> what actions do you need
Avatar
Issuing weapons, for example gun "name of the weapon" (edited)
Avatar
ws-client BOT 2024-11-10 11:56
<ChillerDragon> i can add all weapons yes
Avatar
Is this what adding a grenade will look like? activate_shop_item "grenade" "5" "1000" "gun grenade"
Avatar
ws-client BOT 2024-11-10 12:01
<ChillerDragon> activate_shop_item grenade
Avatar
But for other weapons?
Avatar
ws-client BOT 2024-11-10 12:03
<ChillerDragon> similiar but im working on it sec
Avatar
montikboom 2024-11-10 12:09
How to remove all player votes using rcon ?
Avatar
Avatar
montikboom
How to remove all player votes using rcon ?
montikboom 2024-11-10 12:09
And how pause votes so no one can vote
Avatar
ChillerDragon which tiles are responsible for making sure that I pass through others , as well as for the hook to pass through other people
Avatar
ws-client BOT 2024-11-10 12:13
<ChillerDragon> @Evelyn i added laser, shotgun and ninja
12:14
<ChillerDragon> you mean solo? https://zillyhuhn.com/cs/.1731240831.png
12:14
<ChillerDragon> or no collide and no hook?
Avatar
So that everyone can help each other to see , to hit . But the hook went through people and also anyone could go through people
Avatar
ws-client BOT 2024-11-10 12:16
<ChillerDragon> you can hover the tiles and you get a description at the bottom of your screen
Avatar
ws-client BOT 2024-11-10 12:31
<ChillerDragon> @Evelyn ok now you can do set_shop_item_description grenade "axaxaxaxaxa ракета, запускающая базуку"
12:33
<ChillerDragon> and set_shop_item_level grenade 5 and set_shop_item_price grenade "10 000"
Avatar
Avatar
Ryozuki
@deen there is no 18.7 tag of ddnet on github, can you make it? otherwise its hard to update the ebuild on gentoo
done
Avatar
GitHub BOT 2024-11-10 13:22
ab78e26 Fix upper bound of hook collision line width scrollbar - Robyt3 533a88a Update Ukrainian l10n (18.7) - EGYT5453 bf8602d Update Chinese translations for 18.7 - Pioooooo b0a0ab3 Update Swedish translations for 18.7 - furo321 8d21974 Update brazilian_portuguese.txt - rffontenelle e3435b2 Update russian.txt - 4ipset111 b16b0d3 Update Turkish translation for 18.7 - GokturkTalha 57483b9 Update azerbaijanese.txt - GokturkTalha f3b0eb5 azerbaijanese > azerbaijani - GokturkTalha 91f1c38 Fix CMakeLists.txt - def- d3c99fa Fix invalid prediction tuning in tune zone 0 - KebsCS
Avatar
Avatar
Evelyn
ChillerDragon which tiles are responsible for making sure that I pass through others , as well as for the hook to pass through other people
screenshots are hard
Avatar
ChillerDragon
14:54
Do you know the discord of the fng community?
Avatar
read #welcome
Avatar
ChillerDragon do you have any ideas how to implement Anti-cheat?
Avatar
GitHub BOT 2024-11-10 16:15

Problem

I want keep my auto demos around for some time, e.g. because I want to cut out a clip. But I want them to be deleted if I don't look into them, as by cl_auto_demo_max. The issue is that in some situations, the number of demos quickly grows, killing even young demos very fast. These situations include:
  • In non-ddrace game-modes (like fng), there's a demo for each round.
  • If you quickly switch maps in ddrace, there's a demo for each map.
Effectively, I can't know for s...
Avatar
Avatar
Pathos
It's a project that's been developed for many years, and devs here are helpful so you can ask questions
they are :D
Avatar
Avatar
Evelyn
ChillerDragon how to set up /shop
@Evelyn Bro, start learning C++, all your requests are so childish that they can be done by yourself without ChillerDragon, text translation in general can be done even without C++ knowledge, you almost every day ask him to do something instead of you, don't you think it's a bit disrespectful to ask him to write code for your server instead of you? Hell, you even ask him to translate text from English to Russian 💀
👀 1
🇰 1
🇮 1
🇸 1
🇦 1
🇴 1
17:10
It would be nice if it were some serious requests, but you are just asking to modify the ready code a bit or to tell you which tile is responsible for what
Avatar
Okay, before I actually start on removing all the original images, I should probably figure our what a QuadContainer is first
🇻 4
🇴 4
🇽 4
🇪 4
🇱 4
poggers2 4
18:24
I remember Robyt3 saying to store the IDs somewhere, and I think that's why.
Avatar
Quad containers are not directly relevant for splitting the images. Quad containers allow you to upload quads (X0, Y0. X1. Y1 positions) to the GPU only once during loading, which makes rendering more efficient by avoiding repeated uploading of the same quad data to the GPU.
Avatar
GitHub BOT 2024-11-10 20:20

Example non black outline skin

!screenshot_2024-11-10_20-07-50

Custom colors enabled

!screenshot_2024-11-10_20-07-56

Custom colors enabled and dj used

!screenshot_2024-11-10_20-08-01 The back outline of the body is brighter t...
Avatar
This is going to be harder than I thought
20:57
turns out all the IDs are in one generated enum
20:58
Which means all the textures have to be inside one list if I want to access them through any sort of, QuadContainerIndex thing
20:58
Or is that not it? This is hurting my brain.
20:59
I don't even know why we're erasing the content.py if we're going to be wanting to develop custom gameskins in the future.
Avatar
We aren't really erasing content.py, it contains more than images and sprites.
21:07
And I don't think quad containers are relevant for this
Avatar
hello! Hi, when I go to some map I get a crash when loading maps logs(visual studio 2022) “DDNet.exe” (Win32). Loaded “C:Windows/System32/ntasn1.dll”. “DDNet.exe” (Win32). Loaded “C:\Windows\System32\ncryptsslp.dll”. An exception was raised at address 0x00007FF775766A77 in DDNet.exe: 0xC00000FD: Stack overflow (parameters: 0x00000000000000000001, 0x000000E5BB003000). Unhandled exception at address 0x000000007FF775766A77 in DDNet.exe: 0xC00000FD: Stack overflow (parameters: 0x0000000000000000000001, 0x000000E5BB003000). The “[8732] DDNet.exe” program terminated with code 0 (0x0). ru: "DDNet.exe" (Win32). Загружено "C:\Windows\System32\ntasn1.dll". "DDNet.exe" (Win32). Загружено "C:\Windows\System32\ncryptsslp.dll". Вызвано исключение по адресу 0x00007FF775766A77 в DDNet.exe: 0xC00000FD: Stack overflow (параметры: 0x0000000000000001, 0x000000E5BB003000). Необработанное исключение по адресу 0x00007FF775766A77 в DDNet.exe: 0xC00000FD: Stack overflow (параметры: 0x0000000000000001, 0x000000E5BB003000). Программа "[8732] DDNet.exe" завершилась с кодом 0 (0x0).
Avatar
Avatar
blackkent
hello! Hi, when I go to some map I get a crash when loading maps logs(visual studio 2022) “DDNet.exe” (Win32). Loaded “C:Windows/System32/ntasn1.dll”. “DDNet.exe” (Win32). Loaded “C:\Windows\System32\ncryptsslp.dll”. An exception was raised at address 0x00007FF775766A77 in DDNet.exe: 0xC00000FD: Stack overflow (parameters: 0x00000000000000000001, 0x000000E5BB003000). Unhandled exception at address 0x000000007FF775766A77 in DDNet.exe: 0xC00000FD: Stack overflow (parameters: 0x0000000000000000000001, 0x000000E5BB003000). The “[8732] DDNet.exe” program terminated with code 0 (0x0). ru: "DDNet.exe" (Win32). Загружено "C:\Windows\System32\ntasn1.dll". "DDNet.exe" (Win32). Загружено "C:\Windows\System32\ncryptsslp.dll". Вызвано исключение по адресу 0x00007FF775766A77 в DDNet.exe: 0xC00000FD: Stack overflow (параметры: 0x0000000000000001, 0x000000E5BB003000). Необработанное исключение по адресу 0x00007FF775766A77 в DDNet.exe: 0xC00000FD: Stack overflow (параметры: 0x0000000000000001, 0x000000E5BB003000). Программа "[8732] DDNet.exe" завершилась с кодом 0 (0x0).
for any errors to do with overflows or segment faults etc etc use asan instructions for enabling usan and asan (sanatazers) can be found on the readme in ddnet/master (edited)
Exported 100 message(s)
Timezone: UTC+0