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-09-23 00:00:00Z and 2021-09-24 00:00:00Z
Avatar
I wanted to report a SteamDB bug but to get to their Discord I need a paid Steam account...
09:42
If someone wants to join https://discord.com/invite/steamdb and report that the Players Trend on graph is broken since they switched to hourly player statistics (compared to the old 10 min interval)
09:48
Example is the top chart in https://steamdb.info/app/412220/graphs/
Avatar
Avatar
deen
I wanted to report a SteamDB bug but to get to their Discord I need a paid Steam account...
12:05
maybe you can get in touch with people there
12:11
or this email: defectiveturret@steamdb.info ^^
Avatar
Fair enough, opened a bug
Avatar
[quakenet] randombit BOT 2021-09-23 13:05:11Z
yay!
13:05
heyho
13:05
can someone enlighten me how could i make a moving platform? (hookable - collision on that is a moving ground)
13:05
or not hookable
13:06
so, a moving collision-on platform. which moves. and u can stand on it. and moves u with it.
Avatar
by coding or by mapping?
Avatar
[quakenet] randombit BOT 2021-09-23 13:06:51Z
is it possible? i remember a map where there were moving freeze
Avatar
yeah its gores mod
Avatar
[quakenet] randombit BOT 2021-09-23 13:07:18Z
well, i want to make a map in which there are moving platforms.
Avatar
ask qshar then :p
Avatar
[quakenet] randombit BOT 2021-09-23 13:08:00Z
so, no possibility on standard DDNet map?
Avatar
[quakenet] randombit BOT 2021-09-23 13:08:11Z
so no
13:08
:D
13:08
too bad. it would be so awesome
13:09
wanted to make a moving boat which moves accross the ocean :D
Avatar
if you will not do any gameplay related things with this platform you can animate it kekw
Avatar
[quakenet] randombit BOT 2021-09-23 13:13:24Z
oyea, i know.
13:13
but the tees then wouldnt be able to sit in it :D
13:13
they will drown :(
13:14
into the dephts of the ocean :D
Avatar
why not?
13:18
teeworlds supports parallax scrolling
Avatar
[quakenet] randombit BOT 2021-09-23 13:19:57Z
but... i dont understand what you mean. i am literally talking about a moving platform in water, from which u can jum out or in. and water outside.
Avatar
u could animate the water moving around a still boat
Avatar
you can create the illusion of driving a boat by making the boat static and adding a animated background and if you want to involve gameplay then you'd need to force the player to move into one direction using speeders
Avatar
Q: what the point of CCharacterCore m_ReckoningCore in CCharacter if it just keeps updated
Avatar
[quakenet] randombit BOT 2021-09-23 13:36:49Z
yea. but then there is no ocean. i was talking about an actual moving platform, while what u say is a fake one. it could be nice for an "Intro" though.
Avatar
Moving real platforms are only possible on kog servers
Avatar
Anyone used https://github.com/dtolnay/cxx so far?
Safe interop between Rust and C++. Contribute to dtolnay/cxx development by creating an account on GitHub.
Avatar
@Avolicious i know ppl in rust community like it a lot
17:20
and dtolnay is the rust magician
17:20
anything he does is bound to be good
17:21
see this? 4 of these are from him xd
Avatar
Ah I see 🙂
Avatar
@Deleted User do you happen to know a profiler with which I can figure out where my occasional 1 sec game freezes come from?
Avatar
watch gpu/cpu/ram/motherboard temperatures, cpu/gpu frequences and internet ping jitter and make sure your PSU is good enough
20:47
1 sec delay is pretty long, could possibly be HDD or smth, maybe disable all demo features unplug usb stuff
Avatar
in the realm of profiling you can try perf on linux, it can collect data to a ring buffer which you can send a signal to save right after the freeze happens
Avatar
can perf regonize lags outside of the program? e.g. if the instance is suspended for whatever reason?
Avatar
I'd start it with strace, would tell if it's some syscall blocking, like reading from disk or usb access
21:33
@Patiga
Avatar
strace has quite some performance overhead
Avatar
But a 1 second delay should be recognizable
21:36
Heh, the strace man page even lists under BUGS: A traced process runs slowly (but check out the --seccomp-bpf option).
Avatar
mhh good to know i tested it, from perf looks similar to the sanitizers, so ok
21:37
getpid() = 108924 only suspicious for me
Avatar
why is that suspicious?
21:45
too high? I think most distros enable high PIDs
Avatar
ah its the value?
21:45
thought its the number of calls
Avatar
no, it's the returned PID
21:47
hm, in strace at least
Avatar
i used -n now, i hope thats the real count
21:50
or maybe -T is useful guess i need to search the internet xd
Avatar
-n is to print the number instead of the name of the syscall?
Avatar
the help isnt really exact
Avatar
that's the typical feature of -n
Avatar
print syscall number
Avatar
also exists for iptables etc.
Avatar
mhh, well thats not intuitive to me, but yeah
Avatar
-c soudns like what you want
Avatar
but with -T?
21:53
without time spent it sounds rather useless
Avatar
-T is for individual calls, I think
Avatar
oh yeah that looks nice xd
21:53
% time seconds usecs/call calls errors syscall ------ ----------- ----------- --------- --------- ------------------- 66,49 1,519152 2 681823 681564 recvmmsg 16,04 0,366424 2 152108 129395 recvmsg 11,44 0,261435 2 121517 poll 3,89 0,088898 2 36188 5014 futex 0,38 0,008668 5 1481 9 read 0,29 0,006645 1 5836 getpid 0,27 0,006073 2 2839 19 newfstatat
21:55
@Patiga maybe try that
Avatar
this only gives a summary of the whole process, no?
21:57
I think Patiga is looking for something like "the last 3 seconds"
Avatar
i dunno how often it happens but usecs/call must shoot up eventually
22:04
but anyway, i've read stuff, that makes no sense to me anyway e.g. the computer case causing laggs xD
Avatar
@heinrich5991 do you think a pure rust safe(except some needed code, but mostly userspace) OS + rust user space programs could disable virtual memory translation and the system-user space CPU rings?
22:28
like a proof that memory is used safely (edited)
Avatar
what do you intend to do? I think there are some research OS that do what you mean with webassembly
22:32
but they run into hardware vulnerability problems
Avatar
mhh ok, i was just thinking about potentials of higher level languages, that have good performance like rust
22:33
and maybe in a long run also redesigning CPUs again
Avatar
what is the point of getting rid of the rings? less context switching?
Avatar
yes, all in for performance
Avatar
smells risky 😛
Avatar
yeah true, i just always liked to find a way to remove such stuff without destroying the whole world xD
Avatar
maybe with a subset of rust that could allow formally proving safety?
22:39
idk if such a subset exists/can exist, but if you could formally prove that the user can't do the things the user isn't supposed to do you could get rid of the rings
Avatar
yeah
Avatar
the rings add defense-in-depth at least, I wouldn't like to drop them tbh
23:09
I havne't had enough proven software yet, I think
Exported 96 message(s)