Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.tw/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-01-21 00:00:00Z and 2023-01-22 00:00:00Z
Avatar
@Jupstar ✪ remember the demo render flag? i tried to implement it. i would be glad if you would look into it: https://github.com/lkitsche/ddnet/tree/demo-render-flag.
Avatar
Cool will later look if I don't forget
Avatar
Avatar
cauldron
@Jupstar ✪ remember the demo render flag? i tried to implement it. i would be glad if you would look into it: https://github.com/lkitsche/ddnet/tree/demo-render-flag.
what does this do :o
Avatar
Allows to render a demo with start parameter
08:20
So that the client can be used in a script to render multiple demos in a queue
Avatar
Ooh, nice! (edited)
Avatar
ChillerDragon BOT 2023-01-21 08:51:00Z
@Learath2 sos how do computers work
08:51
mind explaining the generated protocolglue.cpp? :)
Avatar
check this chiller
Avatar
ChillerDragon BOT 2023-01-21 08:52:32Z
i somehow expected when looking up a 0.6 msg in this array gs_Msg_SixToSeven[] by using the msg id as array index i get back the 0.7 msg id but that does not seem to be the case
08:52
i never played tetris
08:52
cancle me
Avatar
its not about that
08:52
xd
Avatar
ChillerDragon BOT 2023-01-21 08:53:07Z
do i need sound? im in a cafe
Avatar
The site contains all the project materials and tools necessary for building a general-purpose computer system and a modern software hierarchy from the ground up
Avatar
ChillerDragon BOT 2023-01-21 08:53:45Z
poggers so i can go into da woods and build a gaming pc out of the mud and stones i find?
08:53
like minecraft
Avatar
ChillerDragon BOT 2023-01-21 08:55:33Z
all the nand stuff melt ma brain
Avatar
Avatar
ChillerDragon
i somehow expected when looking up a 0.6 msg in this array gs_Msg_SixToSeven[] by using the msg id as array index i get back the 0.7 msg id but that does not seem to be the case
That should be the case if a message is binary compatible
10:07
If not you get a -1
10:07
Atleast that's how I remember it
Avatar
ChillerDragon BOT 2023-01-21 11:20:01Z
Oh so its not about translating ids just to check if they have the same parameters
Avatar
It's both
11:25
If there is a positive number in the array, it means the message is binary compatible and this is the id you need to use
11:25
If there is a -1 it means the message can't be autotranslated
Avatar
39b34bf Don't count (connecting) players for voting - def- cd13871 Merge #6215 - bors[bot]
Avatar
Avatar
cauldron
@Jupstar ✪ remember the demo render flag? i tried to implement it. i would be glad if you would look into it: https://github.com/lkitsche/ddnet/tree/demo-render-flag.
does it work? looks a bit over complicated but maybe our code is also not really well done for this case
Avatar
Setting cl_refresh_rate to anything except the default value 0 makes cursors controlled by the gamecontroller move slower.
Avatar
Avatar
Jupstar ✪
does it work? looks a bit over complicated but maybe our code is also not really well done for this case
it builds and works, but doesn't quit after finish render, but rerenders xD i just put on a new condition g_config.cldemorender on all the do_buttons and so on, so it would "dig itself" into the menu and then render. i didn't know how to change the init process and know when the other stuff is ready. i tried to do it as a "deeplink"
Avatar
Avatar
cauldron
@Jupstar ✪ remember the demo render flag? i tried to implement it. i would be glad if you would look into it: https://github.com/lkitsche/ddnet/tree/demo-render-flag.
Seems a bit hacky how it uses different flags to trigger the UI code. You could add a separate command render_demo <filename> instead of adding a hard-coded command line parameter. The command would start the demo player with the given demo, render it and quit. Then you'd use an external script to launch the client with this argument multiple times to render an entire folder.
Avatar
@Jupstar ✪ tysm 😉
Avatar
epic
15:02
is it a learning AI or just a "normal" AI
Avatar
Reinforncemt Learning RL
Avatar
ah really cool
Avatar
Avatar
Robyt3
Seems a bit hacky how it uses different flags to trigger the UI code. You could add a separate command render_demo <filename> instead of adding a hard-coded command line parameter. The command would start the demo player with the given demo, render it and quit. Then you'd use an external script to launch the client with this argument multiple times to render an entire folder.
yes, it's hacky. if i could, i would do it this way. but for now it was the 'easiest' way. (edited)
Avatar
i need to learn a bit of "machine learning"
15:07
well i should say Q-Learning
15:07
to make a crafting solver for ff14
Avatar
ez
Avatar
currently the solvers use genetic algorithms, but i was told thats not efficient
Avatar
but in rust
Avatar
for this sort of problem
Avatar
Avatar
Jupstar ✪
but in rust
obvious
15:09
Q-learning is a model-free reinforcement learning algorithm to learn the value of an action in a particular state. It does not require a model of the environment (hence "model-free"), and it can handle problems with stochastic transitions and rewards without requiring adaptations. For any finite Markov decision process (FMDP), Q-learning finds a...
15:09
xd
Avatar
btw the KoGAI has a public github repo
Avatar
aimazing
15:19
lmao
15:19
watch this
15:19
(its parody) (edited)
Avatar
i have no humor sry
Avatar

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 integration test
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addres...
Avatar
on react poggers2
Avatar
on vanilla javascript poggers2
Avatar
From Rockus:
I just want to be able to see the people's reactions to ranks without needing to go to discord.
Avatar
Avatar
GitHub
Click to see attachment 🖼️
tf
Avatar

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 integration test
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-ad...
Avatar
Avatar
GitHub
Click to see attachment 🖼️
Avatar
Avatar
GitHub
Click to see attachment 🖼️
Sticker
Avatar
best idea, who's gonna implement it troll
Avatar
I bet he asked murpi to make submitting issues on ddnet website first
Avatar
Avatar
Mr.Gh0s7
Reinforncemt Learning RL
so yall making ai's to play tw fr ?
Avatar
it plays KoG not Teeworlds (subcategory of tw)
Avatar
what is KoG ? What does it mean ? Why would it play only on this mod ?
22:42
i have too much questions coming
Avatar
KoG is King of Gores search it up on ddnet server list. KoG is the easiest mod for training an ai to do it while we still have fun to do so
Avatar
Alright. Can i watch it training ? (edited)
22:49
also Why would it play only on this mod ?
Avatar
no xD I train it on my local network so for you to watch it I'd have to give you my ip which I don't want
Avatar
Avatar
Deleted User
also Why would it play only on this mod ?
What do you imagine AIs being? You train it for smt it plays everything it doesn't work like that.
Avatar
Avatar
Mr.Gh0s7
KoG is King of Gores search it up on ddnet server list. KoG is the easiest mod for training an ai to do it while we still have fun to do so
Avatar
Avatar
Alexander
Click to see attachment 🖼️
?
Avatar
Kog no fun
22:56
Also random meme
Avatar
ah xD
Avatar
No offense to you, love you
Avatar
KoG is no fun that's why make the ai do it xD
22:56
Valid
22:56
Asf (edited)
Avatar
Avatar
Mr.Gh0s7
no xD I train it on my local network so for you to watch it I'd have to give you my ip which I don't want
why would you give me your ip just stream on twitch lol
Avatar
xD hadn't thought of that maybe I'll do at a later time
Avatar
Avatar
Mr.Gh0s7
xD hadn't thought of that maybe I'll do at a later time
alr also is the ai available ? I mean can i use it and modify it ??
23:26
noice
Avatar
although it only works for UNIX like systems so no windows :P
23:26
(because it uses fifo files for communication)
Avatar
alrightt
23:28
looks cool asf
23:28
is the ai good btw xD
Avatar
it was ok. I just started reworking on it so idk if it is now (cause I haven't trained it long enough yet)
Avatar
i mean you could accelerate the game so it goes very fast and trains fast too ??
23:30
maybe you could use a server to make it train h24 on it
Avatar
already thought of both for now I train on my pc on x1 speed with 20 envs
Avatar
alr alr
23:32
fair enough
Exported 106 message(s)