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 2022-09-27 00:00:00Z and 2022-09-28 00:00:00Z
Avatar
I am using DDraceNetwork to narrow down a Mesa bug 👀 https://gitlab.freedesktop.org/mesa/mesa/-/issues/7352#note_1568950 (edited)
i upgraded mesa to 22.0.0 on arch just minutes ago and got a lot of graphical artifacts. i had to downgrade to 21.1.7 again because it was completely...
Avatar
Nice xd
Avatar
remove this button, it causes more confusion than function
10:26
and put the quit game button to the most right again
10:28
and also remove the "close menu" button since everyone knows to exit with ESC, since they have to press ESC to get to the menu in the first place
kek 1
Avatar
nice updates 🥹 (edited)
Avatar
idk whats up with these many unnecessary changes lately
Avatar
This isn't intended but the close button is and will stay. Who doesn't use alt f4 to rq lmao
ww 2
Avatar
in my experience any changes which i made to like my skin etc arent saved when i alt f4
Avatar
How to respawn/kill a server side dbg_dummy? This doesn't work because m_pPlayer is null (the dbg_dummies aren't players) m_pPlayer->m_LastKill = Server()->Tick(); m_pPlayer->KillCharacter(WEAPON_SELF); m_pPlayer->Respawn();
Avatar
Call the Die() function probably
Avatar
Die() has issues with what I am trying to do
Avatar
What are you trying to do
Avatar
Create an ai that will play tw (kog for testing for now but also ctf, dm and dead gamemodes so ppl will play them again)
Avatar
You should introduce your own bots then, and not use dbg_dummies
10:55
Make your own bot being handled as a player+
Avatar
How do I do so?
10:56
Any hints?
Avatar
In order for your bot to be "a player", you would need to introduce them in the engine level already
Avatar
I see will look into it :D
Avatar
See how players connect, in engine/server/server.cpp
10:58
And how they are being forwarded to the GameServer from there, via hooks like OnClientEnter
10:59
Just simulate these things for a serverside bot, and make sure to set everything correctly, aswell as marking a client as bot in the code, either on engine level or on game level
Avatar
Avatar
Iza
remove this button, it causes more confusion than function
oh, that should not be there ingame, my bad
Avatar
Oh, and: You are not allowed to broadcast a serverside bot to the server list in 0.6/DDNet. In 0.7 you can, but you have to mark them as a bot (which is not possible with DDNet HTTP Registering I think? @heinrich5991)
11:00
Ah, wait, it is
Avatar
Yeah I am aware of that but how to not broadcast it as a bot? edit: as a player* (edited)
Avatar
When manually sending the serverinfo to a 0.7 (sixup) client
Avatar
Avatar
Mr.Gh0s7
Yeah I am aware of that but how to not broadcast it as a bot? edit: as a player* (edited)
Hm?
Avatar
How to not register it as a player
Avatar
Broken in #5882 Old: !Screenshot 2022-09-27 at 13 01 39 New: !Screenshot 2022-09-27 at 13 02 59

Checklist

  • [x] Tested the change ingame
  • [x] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Writte...
11:07
player=0, spectator=1, bot=2
11:08
Thats for 0.7
11:08
For 0.6/DDNet: Just dont send this player AT ALL
11:08
and decrease maxclients in the serverinfo by the amount of bots you have
Avatar
Ok thanks a lot!
Avatar
no problem!
Avatar
Avatar
fokkonaut
and decrease maxclients in the serverinfo by the amount of bots you have
(thats why you see 123 max clients on my server, i have 5 bots on it)
11:37
!Screenshot 2022-09-27 at 13 33 27 !Screenshot 2022-09-27 at 13 36 11

Checklist

  • [x] Tested the change ingame
  • [x] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially b...
👍 1
11:40
Required for std::min

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/ddne...
Avatar
@deen You might wanna enable this again:
12:14
For the webhook
Avatar
I liked it, is there a reason its gone?
Avatar
Don't know, but PR opened and closed seems good enough to me
Avatar
Pushes did also include pushes from other repositories, like ddnet-web
12:16
Where there is not always a PR
Avatar
Fixed I think
Avatar
And since "Pull request closed" doesnt tell whether it's being merged or just closed, it was nice to have the commit message :D
Avatar
Was disabled by ddnet.tw -> ddnet.org domain change
Avatar
Oh, alright
Avatar
Avatar
Iza
in my experience any changes which i made to like my skin etc arent saved when i alt f4
Crash log?
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-addresssan...
Avatar

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 change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-ad...
Avatar
c5d96eb Rename variable p to pStorage - Robyt3 6fbcfb6 Move variable declarations - Robyt3 e21f9c6 Remove unnecessary virtual of GetPath method - Robyt3 2db4112 Use for-each loop for array apDirs - Robyt3 481fb33 Show log message when a storage path cannot be added - Robyt3 4fd983d Add missing error handling for RenameBinaryFile - Robyt3 a3f5d1b Use TYPE_SAVE instead of 0 - Robyt3 5482571 Add assertions for invalid storage arguments - Robyt3 f970677 Use CreateFolder instead of fs_makedir + GetPath - Robyt3 6104246 Merge #5891 - bors[bot]
Avatar
@fokkonaut
15:35
The game
15:35
Isn't working
15:35
@Jupstar ✪
15:36
Please help
Avatar
Can you open ddnet?
Avatar
Does it crash when you try to join a server?
Avatar
But no servers
15:37
I don't see any server
Avatar
Do you have the latest version?
15:37
When i press F3
15:38
Its says NOT CONNECTED
Avatar
have u tried to turn it off and on again
Avatar
that mean you haven't connect to a server so there's no rcon
Avatar
press f1
Avatar
Avatar
Jupstar ✪
have u tried to turn it off and on again
So manyyy
Avatar
and show the logs
15:41
@Jupstar ✪
15:41
Bro how to get screen shot in Windows 10
Avatar
Win + PrtScreen
Avatar
@Jupstar ✪
15:45
15:46
@Jupstar ✪ im the same guy with Arabic name but i have 2 Acc anyway what now ?
Avatar
The tabs for the browser appear in two menus: ingame and in the "menu". The layout of the browser tabs could be put into a helper function. The code for the ingame tabs and the menu are not exactly the same, but it's maybe possible to simplify it. (Right now the function CMenus::DoButton_MenuTab conflicts.) I started working on it as a draft: https://github.com/luk51/ddnet/tree/refactor-serverbrowser-ingameserverbrowser
Avatar
@Jupstar ✪ man????
Avatar
Avatar
iISAF7
@Jupstar ✪ man????
dude
16:04
just read
16:04
it says timeout
Avatar
Avatar
iISAF7
@Jupstar ✪ man????
16:05
does it show lot of text?
Avatar
@Jupstar ✪man
16:14
do u have anydesk?
Avatar
just answer my questions
Avatar
man im not Developer + idk what to do
Avatar
read
Avatar
i swear i dont Undrestand
Avatar
Avatar
Jupstar ✪
does it show lot of text?
read
Avatar
should i downlod it ?
Avatar
no
Avatar
and what after >
16:18
what ???
Avatar
u should answer my questions
16:18
does
16:18
it
16:18
show
16:18
a
16:18
lot
16:18
of
16:18
text
16:18
so many
Avatar
good
16:19
then try to add an exception to windows defender for ddnet just google how to do it
16:19
why are u posting ddnet github
Avatar
Avatar
Jupstar ✪
then try to add an exception to windows defender for ddnet just google how to do it
my problem with English bruh
16:20
thats why i told u come anydesk please
16:20
and do what u are say
Avatar
i dont log into other computers
Avatar
OMG ok let me open share screen so?
Avatar
just ask someone who speaks your language
16:21
is there nothing like google for you?
Avatar
Avatar
Jupstar ✪
just ask someone who speaks your language
bruh please
Avatar
Avatar
Jupstar ✪
is there nothing like google for you?
ok wait i open Translate
16:22
bro my ddrace in Steam
Avatar
For all those people that find it more convenient to bother you with their question than to google it for themselves.
Avatar
ohhhhh u mean firewall
16:24
its already turn on
Avatar
anyway it says timeout, it either is really slow or it cannot reach its destination
  • add an exception for ddnet in the firewall
  • disable anti virus or some other shit
i cannot do more for you
Avatar
ok i get it wait
Avatar
The path looks kinda weird on the last line
16:30
\Appdata"\"Roaming"/"Teeworlds/ddnet-info.json (edited)
16:31
god discord please
Avatar
use `backticks` ^-^ (edited)
Avatar
@Jupstar ✪
16:34
@murpi
16:34
u can help or just who have Devlp?
Avatar
Avatar
iISAF7
@murpi
Are you familiar with ddnet persian?
Avatar
Avatar
murpi
Are you familiar with ddnet persian?
arabic not Persian
Avatar
Perhaps people can help you there
Avatar
u can go on my pc or I open share screen
16:37
and tells me what to do
Avatar
Call me and share your screen
Avatar
any arab people?
18:22
does anybody know why someone would ask this
18:22
just contribute lol
Avatar
How is he supposed to contribute without knowing how to do that?
Avatar
you do contribute by forking and doing ur changes then a pull request
18:24
this is common knowledge
18:24
How to contribute to a project on Github. GitHub Gist: instantly share code, notes, and snippets.
Avatar
Avatar
Jupstar ✪
xd u r fame
bro look at his website
18:25
the portfolio on his website, is his own website!
18:25
i laughed hard
Avatar
ez
19:57
tf is dat
Avatar
dunno but he's slow af bcs he doesnt use mouse
20:04
kinda feels like he has 0 plan what he wants to do xD
Avatar
he is just explaining
Avatar
yeah u missed the coding part xD
Avatar
"more responsability on the coder"
20:08
just use rust bruh
Avatar
rust doesnt prevent logic errors write AIs that are better than stupid humans
Avatar
@Jupstar ✪ it doesnt
20:09
but it prevents data races
20:09
which is what he is trying to achieve
20:09
xd
Avatar
i bet he's dutch xd
20:14
sounds like it
Avatar
What is the output of this Rust program?
22:32
cursed rust quiz
Avatar
I think I tried that one once, for me it was too much guessing and I gave up ^^
Avatar
Never seen that before, I don't remember physics changes
Avatar
its possible if tyrone guy held A right before the 'bug'
22:59
well would be easier to tell if it was a blockstuck if it has entities
Avatar
something like this happened to me on gores today
Avatar
@Chairn that is in kog, no?
23:33
I also had a weird physics moment on kog today
Avatar
( @Avolicious )
Avatar
oh nevermind i guess kog is broken xd
Exported 193 message(s)