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-05-17 00:00:00Z and 2021-05-18 00:00:00Z
Avatar
Avatar
Patiga
@Unknown about the tee drawing thing: the values 0.125 and 0.1 seem to be the values which define the circle around which the eyes rotate. But I'm not able to figure out the position around which the circle is going (0.125 looks okayish, is guessed tho). The other thing I can't figure out right now is how the feet move. (do they move in a circle?, how do they rotate?, etc.) They seem to be somehow stored in m_aAnimations, though I'm not finding where its defined
DDraceNetwork, a cooperative racing mod of Teeworlds - ddnet/ddnet
05:52
DDraceNetwork, a cooperative racing mod of Teeworlds - ddnet/ddnet
Avatar
Found more than i thought, would probs worth it to check for editor ui too

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 if it works standalone, system.c especially
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valg...
Avatar
18fa5bd Remove stack pointer for pID in UIs - Jupeyy a6c1139 Merge #3831 - bors[bot]
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 if it works standalone, system.c especially
  • [ ] 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-addresssanitizer--u...
Avatar
yea i wans't able to figure out what BodyPos is assigned to, it also seems to end at m_aAnimations, just like with the feet
Avatar
what do you mean?
Avatar
I want to find the value that BodyPos is assigned to, however I struggle to find exactly that
11:27
ah, i suppose i could print it and see if i can make sense of that
12:25
SeemsGood
Avatar
Well you need a ===
12:29
== in php is for people who reeaaaaallly know what they are asking for :P
Avatar
Stumbled across this and was very confused, but this is fixed in php 8 luckily
12:29
Yeah sure, but its still wrong
Avatar
Well it is completely according to spec actually
Avatar
Works as implemented
Avatar
Php8 just changed the spec so it's what more people expect
12:31
The php8 one also suffers from something I despise about newer languages. Contextful operators
12:32
The new == will depending on the contents of the string behave differently
Avatar
Hm okay thats weird, but I'll stick to triple comparision anyway
12:33
I like some of the new features
12:34
12:34
e.g
Avatar
Yeah that's the safe bet. But the new == atleast works closer to how humans expect it to work so there will be less bugs
👍 1
Avatar
And we almost have full type declaration support! kek
Avatar
Tbf php8 is bringing a lot of great changes and I love most too
12:44
JIT is probably the one thing I really am looking forward to
12:45
And maybe the nullsafe operator
Avatar
I am currently rewriting a little project of mine from php 7.4 to 8 and it has already better performance it feels like (edited)
12:46
Code just looks so much cleaner
12:46
There are doc updates aswell
Avatar
Oh they also took rusts match stmt, pretty nice to have guarantees about handling all possible options
12:49
Actually I wonder if they took rusts match semantics or just the keyword :P
12:53
Apparently just the keyword. So it's just switch with strict comparison
Avatar
What does == on php 7? By ref? I do t think how the example u sent makes sense
15:15
Maybe php 8 is good enough to try to learn it really, when i started i got rly off by the random nomenclature they use on standsrd functions, they arent predictable, it feels like a language carrying the awful of past times, imagine having to write $ for vars, 2 key presses wasted everytime
15:15
Enough rant greenthing pepeH
Avatar
Avatar
Ryozuki
What does == on php 7? By ref? I do t think how the example u sent makes sense
== in php7 does type conversion based on some rule table that I dont have memorized
15:31
Numeric is higher than string, so the string is converted to a number. It contains no leading digits so it's a 0. After type conversion a strict comparison is done 0 === 0 which is true
15:51
1a5fe06 Update for new api (#16) - Learath2
Avatar
kill tiles works in practice mode and it doesnt really make sense to try practicing on maps with full of kill tiles instead of kill tiles killing in practice mode it could use the /r function
Avatar
@heinrich5991 does the client use an old serverlist after opening? the usa person said, that the server list was the one from 2h ago, when the client was last closed
Avatar
no, likely a problem from my side
17:16
hmmm @Unknown list looks up to date
17:16
I don't know what might cause this effect
Avatar
the person said it happened a few times, not always
17:16
i can also just say what that person tells me, so dunno 😄
Avatar
Also uses template strings consistently, just so it looks cleaner.
Avatar
ah, it might be some cloudflare caching inconsistency
17:17
@Unknown can they enable dbg_curl 1 and send back the log once it happens?
Avatar
i guess dbg_curl has to be enabled every time the client is started?
17:19
also is the log inside the logfile then, or f1 or smth? 😄
Avatar
ah yes, it has to be enabled every time or in the autoexec.cfg
Avatar
ok
17:20
does it need a "real" logfile?
Avatar
it's in the console or in the log file
17:21
not in f1
Avatar
ok
Avatar
ah no, only in the console :<
17:22
looks like this:
17:22
[2021-05-17 19:17:32][http]: http https://info2.ddnet.tw/info?name=heinrich5991 * Trying 2606:4700:3033::ac43:8982:443... * Connected to info2.ddnet.tw (2606:4700:3033::ac43:8982) port 443 (#0) * ALPN, offering h2 * ALPN, offering http/1.1 * successfully set certificate verify locations:
Avatar
oh ok
Avatar
(output is done by libcurl itself)
Avatar
veryjank :d
Avatar
DuckDuckGo. Privacy, Simplified.
17:25
one from twpro.jp
Avatar
conspiracy
Avatar
what is the name of start timer and stop timer in mapitems.h?? (edited)
19:07
there is too many end and start (edited)
Avatar
@deen so what did u think about adding pvp tab with vanilla modes ctf tdm dm... And others (edited)
23:13
Bcd new ddnet steam comers dont know that they exist
Exported 78 message(s)