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-08-13 00:00:00Z and 2023-08-14 00:00:00Z
Avatar
I'm in a virtual machine and my mouse in DDNet is inverse (I move it up, in-game it moves down)
00:14
is there already some inverse mouse mode in the client? iirc other games have that
Avatar
might want to try experimenting with mouse capture modes @Patiga
Avatar
Avatar
heinrich5991
might want to try experimenting with mouse capture modes @Patiga
how would I do that?
00:48
ah, mosue capture modes from the vm?
Avatar
yes, vm
Avatar
chillerdragon BOT 2023-08-13 08:14:12Z
wot (@Solay)
chillerdragon
Avatar
When switching from Free-View to the new Multi-View it will automatically focuses the currently visible tees for Multi-View. However this does not seem to work if those tees are in a team. While it does make sense to default to team 0 when there is tees with different teams on screen (since you can't spectate multiple teams at once currently), I do think it would still very much make sense for it to work if all tees on screen are actually in the same team anyway.
Avatar
See commit messages.

Checklist

  • [X] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [X] Written a unit test (especially base/) or added coverage to integration test
  • [X] Considered possible null pointers and out of bounds array indexing
  • [X] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet...
Avatar
I want to add a language to my client sand saved the file in the languages file of the client but i dont find it ingame. What do i also have to do?
Avatar
idk what that could help me. Im not submitting it yet because im not finished translating, id like just to add it to my client first. Or do i find that somewhere there
Avatar
It shows what files they changed to add the Galician Language.
Avatar
thanks, it worked now :D
Avatar
:konsti:
Avatar
im getting pinged
12:39
wat
12:40
why ask me
Avatar
stop ping
12:49
rude
Avatar
Is there any good way to get a pointer to CGameClient from CEditor::Init? I cant even just pass it as an argument because I dont think its available in CClient::Run either.
Avatar
Avatar
marmare_314
Is there any good way to get a pointer to CGameClient from CEditor::Init? I cant even just pass it as an argument because I dont think its available in CClient::Run either.
CGameClient *pGameClient = (CGameClient *)Kernel()->RequestInterface<IGameClient>() Although this should probably be avoided. What are you trying to do?
Avatar
Avatar
Robyt3
CGameClient *pGameClient = (CGameClient *)Kernel()->RequestInterface<IGameClient>() Although this should probably be avoided. What are you trying to do?
Im trying to initialize a CComponent. Im also not quite sure how to do that yet, but the first step would be getting a pointer to the CGameClient class
Avatar
And you want to create CComponents for editor components?
👍 2
13:31
I'm not sure if it's a good idea to use CComponent for the individual editor components or if it would be better to add separate CEditorComponent.
Avatar
You definitely want a CEditorComponent. The editor is just too far cut off from the rest
Avatar
I think there are two separate steps, but you are mostly only looking for one: 1. Wrap the editor using a gameclient component so it's not a special thing in the engine 2. Individual editor components that work like the gameclient components but are part of the editor
13:34
The first is mostly engine cleanup but it would be a pain because gameclient and editor also use separate CUI so this could cause various bugs
Avatar
So step 1 would be making CEditor inherit CComponent instead of IInterface?
Avatar
Yeah, but the steps are mostly independent I'd say
13:37
I think you were mostly interested in the second part, making the editor more modular
Avatar
Yes although the first one doesnt sound like too much work either
Avatar
That's before you get the bug reports justatest
Avatar
Does OnNewSnapshot run every tick?
13:50
Also how can i execute + commands like +right?
13:51
+fire works
13:51
But +right doesn't
Avatar
Implements #7007, to summarize: If all players, that are currently in view, are in the same team, when switching to multi-view it will now switch to those players. Previously, this only worked for players in team 0. If players of differing teams are in view, it will still use the old "only team 0" behavior, which simply ignores players in teams.

Checklist

  • [x] Tested the change ingame
  • [x] ~Provided screenshots if it is a visual change~
  • [x] ~Tested in combination with pos...
Avatar
@pilonpl regarding the execution of "+commands" like "+right", it's possible that this command might not be available or recognized in the game. Check the documentation, game mode, key mappings, and seek assistance from the game's community to resolve the issue. If the "+right" command should work but isn't, there could be specific technical problems that require game support (edited)
Avatar
I mean i just want to press right on every tick
Avatar
I understand. If you're looking to simulate holding the "right" key every tick in a game, you might need to create a script or use a command that can be executed repeatedly. However, the exact method could depend on the game's scripting capabilities and commands (edited)
Avatar
bro is chatgpt
Avatar
Exactly what i thought
Avatar
Avatar
Teero
bro is chatgpt
no
Avatar
I want to cheat this game
Avatar
I write quickly
Avatar
Avatar
pilonpl
I want to cheat this game
is ilegal man
Avatar
Avatar
Solay
no
haha 300wpm
Avatar
@pilonpl talk to @ChillerDragon
Avatar
Anyways, Console->ExecuteLine("+right") doesn't really work
Avatar
i dont use chatgpt
Avatar
Avatar
Solay
i dont use chatgpt
bro your answers are nonsensical in the context of ddnet (edited)
Avatar
Avatar
GitHub
Click to see attachment 🖼️
bluekitty
Avatar
Avatar
Teero
bro your answers are nonsensical in the context of ddnet (edited)
sorry
Avatar
you edited this in like 1.5 seconds
banhammer 1
Avatar
but I don't use ChatGPT
Avatar
Avatar
Teero
you edited this in like 1.5 seconds
man
13:59
wtf
Avatar
Cheating in games is fun
Avatar
Avatar
pilonpl
Cheating in games is fun
you wont find answers here to cheating ingame banhammer (edited)
Avatar
Original message was deleted or could not be loaded.
gg
Avatar
Avatar
Teero
you wont find answers here to cheating ingame banhammer (edited)
Obviously for educational purposes only
14:01
I want to catch cheaters but in order to do that i need to know how to cheat
Avatar
Avatar
pilonpl
I want to catch cheaters but in order to do that i need to know how to cheat
yea yea of course
Avatar
typical loophole
Avatar
just l2p
Avatar
i misread
Avatar
yea there are some crazy KoG maps ^^
Avatar
Original message was deleted or could not be loaded.
So this is another component and i probably want to change this from my component, i guess. Idk i am a noob lol
Avatar
@Patiga nice solution. I can already see my pc on fire trying to zoom out on 2000x2000 maps xd
Avatar
thanks! I spend quite some time on that project, glad it turned out nice :)
Avatar
the interactive visualizations are good asf
heartw 1
Avatar
@marmare_314 @Ryozuki @Jupstar ✪ @Learath2 @heinrich5991 a few pings who I think will enjoy the read (would've pinged more, but it feels weird to ping more people)
Avatar
Avatar
Teero
the interactive visualizations are good asf
oh great, this is actually my first experience with javascript
brownbear 1
Avatar
nice, will read soon
poggers 1
Avatar
Original message was deleted or could not be loaded.
@Discord Mod possible bot talk
Avatar
is ilegal?
Avatar
discussing bots and its development is against rules in this discord
Avatar
Original message was deleted or could not be loaded.
lol bot
Avatar
Btw this "why are you slowmo replaying to read this" is possible to read without any slowmo
14:27
Also i did something because I can't go right now
14:27
Interesting
Avatar
@heinrich5991 is it possible for players to have a empty name
14:33
master seems to report some lol
Avatar
Well, you can report back whatever you want back to the master server. So yeah.
Avatar
I posted the blog in the KoG mapping channel, and now they are not only discussing which of the first 6 maps in the pictures is good/bad gameplay wise, but also discussing the historical relevance of the map 'Burger' and other old map series for the KoG mapping style in general justatest
Avatar
@Patiga Have you considered using indexed png? It allows max 256 colors so you could fit them all in a single tileset -1 justatest and there are tools that do a great job at converting full color images to indexed
Avatar
not yet, I'll have a look at how they work
Avatar
html { max-width: 70ch; padding: 3em 1em; margin: auto; line-height: 1.75; font-size: 1.25em; }
15:07
i like the bare html cuz its hacker, but just adding this makes it better imh oxd
15:08
on another note
15:08
i added player searching on the master
15:08
View DDNet / Teeworlds Statistics.
15:08
with fuzzy search
15:09
Avatar
Avatar
Ryozuki
i like the bare html cuz its hacker, but just adding this makes it better imh oxd
I do like the look of the text with this, though the images take up a lot of space. do you have some idea for that?
Avatar
u want the smaller?
15:10
or take consistenly the same width as the text
Avatar
the thing is, I don't know here, because they'll either be small or take more space vertically. would it be possible for the images to ignore the sidebars?
Avatar
sidebars is padding
15:13
thats hard
15:13
i think u should just make em take full width
15:13
15:14
or if u want to edit the html
15:14
u can put group of images inside a div
15:14
and use flex to put em nicely
15:14
but that wont be simple html anymore
15:14
xd
Avatar
Avatar
Ryozuki
html { max-width: 70ch; padding: 3em 1em; margin: auto; line-height: 1.75; font-size: 1.25em; }
how do you make the code colors blue, red, orange, etc?
Avatar
3 backsticks and html
15:15
\`\`\`html
Avatar
well css
Avatar
[This text will be blue]
15:17
"This text will be cyan"
15:27
math and programming is art
15:27
Avatar
Avatar
Ryozuki
math and programming is art
you make it sound like propaganda but
15:29
damn
Avatar
Avatar
Ryozuki
html { max-width: 70ch; padding: 3em 1em; margin: auto; line-height: 1.75; font-size: 1.25em; }
thanks a lot for the improvement! I updated it: https://patiga.eu/blog/ddnet-pixelart
Avatar
Avatar
Ravie
@Patiga Have you considered using indexed png? It allows max 256 colors so you could fit them all in a single tileset -1 justatest and there are tools that do a great job at converting full color images to indexed
this sounds like a good way to compress the image if you want a single tilemap. but the limit of 256 colors is the main limit I wanted to overcome
Avatar
Yeah your way looks cool if you really want full color, but a palette is more than good enough for pixelart
👍 1
16:02
it could be as simple as a script that uses color index as tile index
Avatar
I think the solution is quite fun, regardless of how much real use it will/should get :)
Avatar
Original message was deleted or could not be loaded.
?
16:23
#showroom
Avatar
I can't find the clang10 package on my debian, does anyone know the name of the package?
17:33
Avatar
@Robyt3 know anything?
Avatar
I also saw this, I can remove the tags again I guess, no idea why github adds the tags from a PR
👍 1
Avatar
For some reason I need to create a table in another mysql database from the src, but I when I do that I get an error every time someone finishes the map which says: unknown database mydb The database exists and the table gets created. but when someone finishes I get this error and it writes the finish data on a backup database then it reconnects to mysql and writes the data inside it. And the query I use to create the table is: "CREATE TABLE IF NOT EXISTS mydb.%s_members" (edited)
Avatar
Hello, whenever I try to compile DDNet I get the following error: --------------------------- Error --------------------------- Error in configuration process, project files may be invalid --------------------------- OK --------------------------- What do I do?
Avatar
Is it possible to get some settings for the new Multi spec cam?
Avatar
stop that shit please
Avatar
Konsti: I made a code in VSCode. Now I want to know how I run it by CMD.
Avatar
@moderator might warn this guy? He was insulting previously in chat and is spamming heavily
Avatar
wtf man??
18:41
i just need a help
Avatar
Avatar
HamidReza
For some reason I need to create a table in another mysql database from the src, but I when I do that I get an error every time someone finishes the map which says: unknown database mydb The database exists and the table gets created. but when someone finishes I get this error and it writes the finish data on a backup database then it reconnects to mysql and writes the data inside it. And the query I use to create the table is: "CREATE TABLE IF NOT EXISTS mydb.%s_members" (edited)
Any ideas?
Avatar
chillerdragon: hi, how to execute a code in vscode
Avatar
Deactivating spectator mode while using multi-view doesn't return to original zoom.
Avatar
Avatar
GitHub
Click to see attachment 🖼️
konsti: how to do this
Avatar
Avatar
Ryozuki
math and programming is art
Obviously
18:55
i need help
18:55
@pilonpl you can help me?
Avatar
Help with what?
Avatar
Avatar
pilonpl
Help with what?
how to execute a code in vscode?
18:57
cmd
Avatar
Idk actually
18:59
I guess you can configure it manually somehow
19:00
For me everything just works lol
19:01
I am a noob kind of
19:01
I just copy commands from the Internet
Avatar
yes i know but i made a code and now i want to know how i run it i did in vscode
Avatar
Avatar
Solay
yes i know but i made a code and now i want to know how i run it i did in vscode
ИЗВИНИ ПОЖАЛУЙСТА 2023-08-13 19:02:59Z
I think just... google it?
Avatar
9999 IQ Moment
Avatar
I think it should be automagically configured if you have all the tools and extensions installed
19:04
Idk how it works
Avatar
i have python
19:04
vscode
19:04
why
Avatar
ИЗВИНИ ПОЖАЛУЙСТА 2023-08-13 19:04:34Z
Like, seriously, 99% questions you can google. Plus it's off-topic.
Avatar
Avatar
ИЗВИНИ ПОЖАЛУЙСТА
Like, seriously, 99% questions you can google. Plus it's off-topic.
yes, konsti thinks I'm him off, but I'm just asking him for help lol (edited)
Avatar
just stop pinging random people and spam trash
Avatar
ИЗВИНИ ПОЖАЛУЙСТА 2023-08-13 19:06:08Z
Okay, if this is sarcasm or trolling, please stop it
19:06
This isnt the place for that
Avatar
but I'm just asking for help for you konsti I'm not spamming
19:09
but you're just a konsti bot how angry are you? kkkkkkk
Avatar
Avatar
Solay
@pilonpl you can help me?
dont ask to ask
Avatar
@Ryozuki
19:25
It gives you type safety kek (edited)
19:26
Very ergonomic
Avatar
@Solay have you tried turning it off and on again
Avatar
Avatar
ӎěłŏƞ
@Solay have you tried turning it off and on again
lol
Avatar
so you are using vscode, you coded something in python, and you're asking how to run it? because if thats your issue, you might want to (re)read how to setup a proper development environment for your language of choice (edited)
Avatar
"📚 Progammer python/C++"
20:03
pepeW
Avatar
When dragging a file into the editor with unsaved changes it does not show a warning before loading the new map.
20:14
an empty repo and an unchanged fork of a ddos tool
20:14
nice!
Avatar
Avatar
toneey
"📚 Progammer python/C++"
dont worry, i had the same thing written on my github 2 days before asking why my class aint classing
Avatar
someone here that can create a countryflag for client?
Avatar
catalonia?
20:31
gigachad
20:32
exists already
Avatar
Avatar
Patiga
ah, and if the gpu buffer is also stored in the cpu, then its also much more than that
Are there differences to that on different graphics backends? I have only tried with vulkan
Avatar
I don't think so
Avatar
The game title will turn to "TEEWARS" (old version game name) and every text will miss if you open a old Demo
Avatar
Avatar
GitHub
Click to see attachment 🖼️
what is blud waffling about
22:19
In biology, an atavism is a modification of a biological structure whereby an ancestral genetic trait reappears after having been lost through evolutionary change in previous generations. Atavisms can occur in several ways, one of which is when genes for previously existing phenotypic features are preserved in DNA, and these become expressed thr...
22:20
hmm okay seems like that guy is hallucinating.
Avatar
I don't think his claim is that outlandish he said it weird
22:23
old demos could contain references to teewars
22:24
but it's not a bug
Avatar
When building app, info.plist at the app bundle will have CFBundleExecutable key empty, this didnt cause major problems, but actually would cause "DDNet-Server" being run instead of "DDNet-Server-Launcher", and the app will jump on the dock forever.

Checklist

  • [ ] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to inte...
Avatar
Avatar
HamidReza
For some reason I need to create a table in another mysql database from the src, but I when I do that I get an error every time someone finishes the map which says: unknown database mydb The database exists and the table gets created. but when someone finishes I get this error and it writes the finish data on a backup database then it reconnects to mysql and writes the data inside it. And the query I use to create the table is: "CREATE TABLE IF NOT EXISTS mydb.%s_members" (edited)
.
23:24
Any1 can help?
Avatar
Avatar
Ewan
Click to see attachment 🖼️
man fuck
Avatar
Man fuck?
Avatar
Avatar
Ewan
Man fuck?
is fake
Avatar
this is fake
Avatar
what is fake
Exported 234 message(s)