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-12-25 00:00:00Z and 2023-12-26 00:00:00Z
Avatar
Closes #7689.

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/...
Avatar
alr does someone remember i asked about katana in 16.2.2?
00:39
i still cant find where is that was changed
Avatar
Avatar
-StormAx
alr does someone remember i asked about katana in 16.2.2?
Katana?
Avatar
in old ver (before 16.2.2 ) the frozen tee was actually ninja with katana
Avatar
Avatar
-StormAx
in old ver (before 16.2.2 ) the frozen tee was actually ninja with katana
Here, I guess https://github.com/ddnet/ddnet/pull/5420/commits/51133dee2ee5c7b10ad77df80032a6b13ca426ad. But if you wanted to get the original behaviour back, you would have to send an old client version like 16019 (which I don't recommend doing) and also removing this line in src/game/client/components/players.cpp if(m_pClient->m_aClients[i].m_FreezeEnd != 0) aRenderInfo[i].m_TeeRenderFlags |= TEE_EFFECT_FROZEN | TEE_NO_WEAPON;
Avatar
is it possible to log something to some console in the code?
05:44
if so, how
05:44
like say i just want to see the value of some variable, play the game, stuff happens and that triggers a console log
05:44
then i can see if afterwards or even in-game or smth
Avatar
You can do it with magic of coding 🪄
Avatar
yes but how :c
05:59
i have it compiled and everything
05:59
and can run
05:59
just dont know where to go (edited)
Avatar
you can run it with a debugger and set a breakpoint at the line of code you want to observe
06:17
or you can log it with CConsole::Print
Avatar
how would i run it with debugger?
Avatar
what’s your setup
Avatar
right now i just build and go to ddnet/build/pack_DDNet-17.4.2-win64_zip and run ddnet.exe in there
Avatar
Avatar
Ewan
what’s your setup
ok but what’s your setup tho
Avatar
visual studio 2022?
06:22
what do you mean
06:22
windows
06:25
10
Avatar
press the long button
06:33
with the green arrow
06:34
i did that before and it didnt work
06:34
but now it does
06:34
thanks
06:46
company's having christmas party
06:46
its quite boring
06:46
HUH
Avatar
question
07:11
what if i joined a server with my build
07:11
i dont want to try it in case i get banned ^^
07:11
would it work? or would i not be able to connect... or would no one know
Avatar
it would work
Avatar
so i could make some hacks basically
08:08
is there some anticheat? how would i get caught
Avatar
There is server sided anticheat. Don't mess with it, it'll ban you
Avatar
ok. so i shouldnt join with a custom client then, regardless of whether theres hacks or not
Avatar
just don’t cheat tbh
08:15
join with whatever client you want that isn’t a cheat client
Avatar
so how does the anticheat decide whether something is a cheat or not
Avatar
irrational player movement patterns and stuff, you should not have to care about it though since hopefully you won’t even come close to triggering it
08:17
don’t automate or tamper with inputs in anyway that you can’t already do in ddnet
08:18
that would be a cheat
Avatar
tamper with inputs
ah ok
(edited)
Avatar
Avatar
baby frog
so how does the anticheat decide whether something is a cheat or not
theres also some checksum thing i believe
08:55
although idk how it works
Avatar
hm ok
09:43
i have another question 🙂 does the client store the last g_Config.m_ClDummyJump or g_Config.m_ClDummyHook or g_Config.m_ClDummyFire?
09:43
as in, if last tick it was set to 1, but now it is set to 0 kind of thing
09:44
is there any way to access the value it was set to the last tick
Avatar
probably not but im sure it wouldnt be hard to implement
Avatar
No, past values aren't stored
Avatar
76fa62d Revert removal of "Detail" from sound layers. - furo321 c9b2872 Merge pull request #7707 from furo321/revert-highdetail - Robyt3
Avatar
chillerdragon BOT 2023-12-25 10:16:47Z
Hehe the weekly new bot client dev joined the conversation
Avatar
3e6ff62 Update frontpage video - def-
Avatar
Avatar
Learath2
pepeW
🫂
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-addresss...
justatest 1
Avatar
chillerdragon BOT 2023-12-25 13:59:29Z
I don’t get the meme
13:59
Ryo explain
14:05
@SpeedTime
14:05
Did the ping work?
Avatar
they leaked today
14:17
gta 5 source
14:17
code
Avatar
chillerdragon BOT 2023-12-25 14:20:44Z
They also leaked gta6 trailer right
14:20
Leak company
14:21
Who leaked the code? I assume it wasn’t official. And is it easy to actually self compile and setup now?
14:21
That’s huge isn’t it
Avatar
1. Fix sv_auto_demo_record 1 not starting recording of auto demo. Closes #7573 2. Don't use the same demo recorder for manual and auto demos. 3. Change path of server auto demos from demos/auto to demos/auto/server. Also match the filenames to be the same as the client auto demos. autorecord_(date) -> (current map)_(date)

Checklist

  • [x] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configu...
Avatar
რილია 2023-12-25 15:49:09Z
are you guys using TakeDamage() to fly with jetpack ?
15:50
in tune zones ? (edited)
15:55
15:57
and if the player was not in the tone zone , Tune() function will take care of jetpack handling ? am i right ?
Avatar
რილია 2023-12-25 16:05:41Z
i think I'm wrong
Avatar
რილია 2023-12-25 16:21:31Z
i found my new favorite function brownbear TakeDamage()
16:25
never mind
16:27
how can i trigger something here every 3 seconds ? (edited)
Avatar
hello guyz, how can i make a tee hook another tee through a blocks placed on diagonal, its not a cheat client, just asking for a friend
think_bot 5
Avatar
Avatar
რილია
how can i trigger something here every 3 seconds ? (edited)
if(Server()->Tick() % Server()->TickSpeed() * 3 == 0)
❤️ 1
Avatar
Avatar
MilkeeyCat
hello guyz, how can i make a tee hook another tee through a blocks placed on diagonal, its not a cheat client, just asking for a friend
რილია 2023-12-25 16:29:17Z
what is the point, you are not able to use it on any server
Avatar
:clueless:
Avatar
Avatar
Mʎɹ シ
if(Server()->Tick() % Server()->TickSpeed() * 3 == 0)
რილია 2023-12-25 16:31:09Z
what is the different between Server() and GameServer() ?
Avatar
Server() - engine GameServer() - all game logic
❤️ 1
Avatar
Avatar
MilkeeyCat
hello guyz, how can i make a tee hook another tee through a blocks placed on diagonal, its not a cheat client, just asking for a friend
aim -> hook -> success
17:48
duh
Avatar
Fixes #7700. Was also the case for local console.

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 memch...
Avatar
Avatar
Teero
aim -> hook -> success
can u gimme code which does it?
Avatar
Avatar
MilkeeyCat
can u gimme code which does it?
#include "game/client/superbotlogic.h" void SUPERBOTLOGICCLASS::GO() { Aim(); Hook(); Success(); } (edited)
Avatar
Avatar
Teero
#include "game/client/superbotlogic.h" void SUPERBOTLOGICCLASS::GO() { Aim(); Hook(); Success(); } (edited)
thanks, works like a charm 👍
Avatar
its that easy
17:57
np
Avatar
chillerdragon BOT 2023-12-25 18:07:35Z
Yikes
Avatar
chillerdragon BOT 2023-12-25 18:16:42Z
Xd
Avatar
george michael
Avatar
Consider line spacing to belong to the previous line when calculating and rendering text selection. Instead of handling spacing between entries separately in the console, also include line spacing for the last line in the height calculation. Pixel align the line spacing in addition to the font size, as previously some gaps between the entries were larger than others due to missing pixel alignment. This allows rendering the text selection in the console smoothly without any gaps between the co...
Avatar
is there a way to make the console follow again
19:01
after being locked
19:01
5f6cec2 Fix infinite console scroll - archimede67 d583b6d Merge pull request #7710 from archimede67/fix-infinite-console-scroll - Robyt3
Avatar
Avatar
baby frog
is there a way to make the console follow again
scroll to the bottom.
Avatar
but what if many lines are being created too fast for my scroll xd
19:02
i guess clear_local_console works, but wondering if theres a hotkey or something
Avatar
Avatar
baby frog
but what if many lines are being created too fast for my scroll xd
Use End key and it will go to the bottom or you can use PageDown to go down a page.
Avatar
awesome thanks
Avatar
Avatar
Ryozuki
Click to see attachment 🖼️
BlaiZephyr | meloƞ 2023-12-25 19:58:53Z
Gesundheit!
Avatar
რილია 2023-12-25 20:45:15Z
i found the easiest way to make a mod 🙂 (switches)
21:02
but i cant get into settings
21:02
the rocker thing isn't going up for some reason
21:03
i want to adjust it so the profile is similar to my other monitor
Exported 128 message(s)