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 2017-05-22 00:00:00Z and 2017-05-23 00:00:00Z
Avatar
Updating slow times still doesn't work. But setting bad times works well without hacks.
Avatar
teeworlds.com down
Avatar
Anyone know how to calculate X for this god damn emoji? Tried already so many combinations using previous character's info, advancing, offsets, cursor.m_X :/ I am running out of ideas :/
16:17
disabled outline on screenshot
Avatar
have u tried adding a space before the emote? .-.
Avatar
looks like it has correct margin on right but not on left
Avatar
I am rendering text on left, then taking Cursor.m_X, can't use it directly as it seems to be somewhere between last 2 letters wtf so i am adding some magic numbers to it, rendering emoji quad with calculated X, and then using old Cursor.m_X += emoji width and rendering rest of text
Avatar
bad programmer.
16:37
get better one.
Avatar
@Elfi troll role for this guy pls
Avatar
where are you putting your code? can you give a sample?
Avatar
yeah, so funny.
😹 1
Avatar
@kchaber i'm scared you'll fix it before me
Avatar
i think i found a "bug" somebody wrote to me "Welfilein Welf [...]" chatmessage was NOT highlighted because fo the Welfilein but he literally mentioned my name (okay i hope he didnt use an i instead of the L in Welf) (edited)
Avatar
nah when your name is part of a longer word you wont get highlighted
Avatar
ᶰ°Konͧsti 2017-05-22 20:57:38Z
Why you can get through finishtiles with Speed but not through starttiles? Not fair
Avatar
verified players can
Avatar
@Ravie yeah but he used "Welf" in the same message
Avatar
ᶰ°Konͧsti 2017-05-22 21:00:14Z
@kchaber What?
Avatar
probably some troll letter in therre
Avatar
i and L is same on ddnet
Avatar
So it is a bug?
21:06
he wrote my name and it didnt get highlighted, because he also used "Welfilein"
Avatar
No, he just wrote WEIF instead of WELF
Avatar
try reproduce it
Avatar
visually it looked like Welf
21:07
but ascii codes were different
Avatar
Welf and WeIf have no visual difference
21:07
in tw
21:07
good trol tbh
Avatar
you are genius in interpretation
Avatar
@kchaber how can you be sure?
21:08
okay if somebody is cool he can join me ingame
21:08
and test it wiht me
Avatar
maybe Maddin is trolling me (i dont think so) it was buggy 2 secs ago
Avatar
on DDNet big i and small L is same
Avatar
well not really
21:11
not if it is about highlighting
21:13
another bug xD (fake F)
Avatar
whats a fake f
Avatar
not a real F xD he somehow wrote it, idk about letter "hacks" xD
Avatar
but then it's not really a bug
Avatar
wow thanks
Avatar
when I change name from Welf to WеІf and back several times it goes (1)Welf changed name to (1) Welf every time
Avatar
its obviously not a bug, character are being compared using their acii codes. If someone is trolling you using similarily looking characters then It will be hard to get rid of this
Avatar
its weird cause if I change name from Welf to Welf with other character that looks the same my name goes to (1)Welf but when I massage Welf with the weird character he gets no notification
Avatar
thats why I thought it's same
Avatar
Ravie what characters did u use? Did you use capital "i" and l for learath?
Avatar
when I change my name to the same name as my friend, but with a "fake" "a" it still changes my name to (1)
21:36
but if I write a message with his name but the same fake "a"he gets no notification
21:38
it was change from Pulsar to Pulsаr
21:38
the different a looks the same
21:39
аа
Avatar
quite interesting thing
21:46
ok, so it looks like the player names are compared using str_utf8_comp_confusable, which is using the confusable tables to find the homoglyphs.
Avatar
makes sense
Avatar
can't we just parse those nickname server-side
21:46
to be the same
Avatar
For chat highlighting only simple str_find is being executed
Avatar
at all?
21:47
i meant, convert
Avatar
its not really a problem just a weird thing 😄
Avatar
but should be solved
Avatar
its not really annoying, you dont get notification
Avatar
To make it working correctly you will need to take each word from the chat message, convert it using confusables and then check string after conversion matches some player name
21:49
so it will be quite slow I think
21:50
find_str is much faster in that way and I think that was the main reason to make it working now
Avatar
it can't be used to troll in any useful way anyway xd
Avatar
if you cant use fake name no notification is not a problem
Avatar
Trying to understand trolls: "I will change the some letter in the Welf name so that it visually looks like Welf. I'm laughing when message to Welf was not highlighted"
21:52
Avatar
its even better when trolls use this version cause it won't bother the person xd
Avatar
we can display character codes in the chat instead 😄
Avatar
or disable those letter that look the same except for i-l
Avatar
yes now u programmers go repair ddnet
Avatar
hehe devs will understand... http://imgur.com/lunecj3
Avatar
oh didn't know that im a dev
Avatar
more like replace the l in Welf with a capital "i" and watch the chaos unfold
21:59
thats true, im not sleeping because Im comparing fucking characters 😄
21:59
fuck that
Avatar
if it were up to me i'd disable utf-8
21:59
limit people to a very specific subset atleast
21:59
poor russians 😄
22:01
but still the capital "i" versus l will be breaking ddnet world 😄
Avatar
replaced it
22:02
22:02
i see error immediatly
Avatar
omg zime is programmer wizard
Avatar
ur IDE is?
Avatar
should i try clang compiler?
Avatar
use texteditor for programming
Avatar
they tought me in uni to use texteditor!
Avatar
it was old joke i think
22:03
It looks like he pasted it to word
22:03
and he is trolling us now
22:03
😉
Avatar
zime is not programmer wizard? ;-;u troll
Avatar
stealing ZimE's code
Avatar
Zime use IntelliJ for Java 😉
Avatar
i grew up with eclipse 😦
feelsbadman 1
Avatar
Eclipse <3
🍆 1
feelsbadman 3
jao 2
heartw 2
Avatar
with IntelliJ you understand what does the smart IDE really mean 😃
22:21
btw if you are having JDk 1.8 why are u using that ugly while+for+if combinations instead of stream? 😦
feelsbadman 1
Clippy 1
Avatar
i dont understand
22:22
teach me
Avatar
just read about streams and start to use them 😃
22:23
but idk if im allowed to use them
22:23
but thanks!
Avatar
haha yes, your teacher might not understand if this is what you mean 😛
Avatar
nah its for competition
22:24
idk if they use 1.8
Avatar
ah ok, gotcha
22:25
but on the other hand 1.8 is more than 3 years old, 9 is coming and if someone not supports 8, he really sux (edited)
Avatar
streams are parallel?
Avatar
can be
Avatar
im not allowed to use parallel
Avatar
by default they are not
Avatar
i think ill stay oldschool xD
Avatar
ᶰ°Konͧsti 2017-05-22 22:44:16Z
Oldschool nice konsti
Avatar
oldschool is mice konsti konsti konsti
Avatar
postpone functional programming as long as i can
Avatar
ᶰ°Konͧsti 2017-05-22 22:45:35Z
Nice joke happy konsti
22:46
Or no, i wanted to say it was a Mice joke konsti
Avatar
mice to meet you
Exported 147 message(s)