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 2021-04-03 00:00:00Z and 2021-04-04 00:00:00Z
07:45
8eac8b0 Only remove windowed fullscreen and restore mouse focus loss behavior - Jupeyy 567e555 Merge pull request #3755 from Jupeyy/pr_remove_windowed_fullscreen - def-
Avatar
ah nvm its just not up-to-date
Avatar
what the difference between OnClientEnter() OnClientConnected() and OnPlayerConnect()
Avatar
@Anime.pdf OnClientConnected is when the client switch from state connecting to ready I think and Enter is when the client joins completly the game
15:53
no clue about on playerconnect, never seen it, other devs can confirm or not
Avatar
on playerconnect is in gamecontroller
Avatar
yea but seem like it's a ddnet function
15:54
wait
Avatar
its ddnet discord
15:54
lmao
Avatar
yeah but it's still teeworlds based tho, same
15:55
thx
Avatar
seems like playerconnect "spawns" the client (in the right team)
Avatar
i need event when the client enter playable team
Avatar
in OnPlayerConnect it is calling CPlayer::Respawn()
Avatar
ah yes
15:58
Avatar
ah well in respawn function nothing important lol
Avatar
thx anyway
Avatar
Avatar
Ryozuki
pepe_straight
i was looking for it yesterday
16:06
thx
Avatar
for what
Avatar
image kekw
Avatar
its easier to find out how to call class from another with it
Avatar
or use a proper editor
16:07
like vim
Avatar
veri nice
Avatar
i use notepad
Avatar
cantcodeuis
Avatar
i have same in vs
Avatar
How did you generate these images Ryozuki?
Avatar
Avatar
Chairn
How did you generate these images Ryozuki?
it named 1 hour work in graphic editor
16:12
😳
16:12
i guess
16:14
u can find more here
16:14
@Chairn with doxygen
16:14
its in the ddnet source repo, i added the doxyfile years ago
16:14
i uploaded the docs publicly on that wiki link
16:15
clink on any class and u will find images
Avatar
uh nice
16:25
https://wiki.ddnet.tw/docs/classCUIRect.html#a87294e91cb5ff13410e5e45d83b74b82 probably the only think documented properly besided system.h
16:25
aPES2_Insane
Avatar
how to get number of in-game players
16:26
that are playing rn
Avatar
client or server
Avatar
server
Avatar
check where the server sends the client count to the client
Avatar
How to hack ddnet client side troll
Avatar
Avatar
Ryozuki
check where the server sends the client count to the client
think_bot
16:28
huh? (edited)
Avatar
Avatar
Ryozuki
Click to see attachment 🖼️
which plugin is it?
Avatar
Avatar
nori
which plugin is it?
u can achieve this with any LSP but to manage my LSPs i use coc.nvim which uses the clangd LSP
18:07
if you dont want to use any plugin to handle them, neovim has builtin LSP support https://neovim.io/doc/user/lsp.html
Avatar
oh ok, i already use neovim so thanks
Avatar
@nori ah but lsp support is in nightly neovim btw
18:10
if u use arch linux its rly ez to get
18:10
i use it and dont have any issues
Avatar
no i don't :d
Avatar
if u dont want to use nightly then use coc.nvim or another lsp client
Avatar
anyway i can use same template to build from nightly i guess, should be ez
Avatar
u only need nightly if u want to use the builtin lsp
Avatar
@Ryozuki where server loads map?
19:22
i cant find
Exported 72 message(s)