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 2020-10-25 00:00:00Z and 2020-10-26 00:00:00Z
Avatar
Provide a way to quick save / quick load of whole team state when practice is on. Like you already have /save /load, but quick realtime variant for practice. Without any server-side checks and so on. You don't really care about any cheating here. This will make practice for dummy maps with a lot of switches possible, because you wouls just bind save/load to any keys you like and then just load team state after fail. /r won't work here ever, since dummy is in freeze and it doesn't work well...
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 08:26:46Z
omg nvidia sok anyone on arch w w nvidia here? Did you downgrade to lts or do you know how long CUDA and shit will be broken
Avatar
Taken from https://en.wikipedia.org/wiki/Whitespace_character#Non-space_blanks Had to Hangul Jungseong Filler to that Wiki article as it was missing.

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 p...
Avatar
In new edition of ddnet (15.1.3), after I typed in Chinese character with IME(fcitx), I can't do anything except appending characters, I even can't send the message or type ESC to quit text editing interface, so I have to kill the ddnet process and restart it. After downgrade to 15.0.5 (with the old text editing method), the problem was solved. This seems won't cause same problem on Windows. Environment: Arch Linux with kernel 5.8.14-arch1-1 IME: fcitx 4.2.9.8
Avatar
Trafalgar Law 2020-10-25 12:59:27Z
https://i.imgur.com/U6CMP9y.png I thought if I added someone as friend its shows only if name + clan is the same? Now its shows me all who have the same name but not the same clan? Is that a bug? @Deleted User stop bot troll (edited)
Avatar
cl_friends_ignore_clan
Avatar
Trafalgar Law 2020-10-25 13:00:23Z
lol
13:00
fixed, thx
Avatar
3 of them are me, myself and i, dunno about the other 6
Avatar
Дядя Женя 2020-10-25 13:28:01Z
why there is no "render" button anymore (edited)
Avatar
self compiled?
13:28
didnt turn on videorenderer?
Avatar
Дядя Женя 2020-10-25 13:28:44Z
oh shit
Avatar
Дядя Женя 2020-10-25 13:37:03Z
13:37
kinda lack of these libs
Avatar
As reported by Pipou on discord, the weapon muzzle is cut off, bcs of wrong values in content.py, !this changing them would result in a scale(it would look different), so i hardcoded a few values to let it look the same new: !screenshot_2020-10-25_14-15-08 old: ![screenshot_2020-10-24_2...
Avatar
e96aba6 Reset quadsubset for muzzles - Jupeyy d0b64ad Merge #3187 - bors[bot]
14:19
I think they create to much issues with the cursor !screenshot_2020-10-25_15-16-37 changed the thing in menus and editor, dunno if there are more editbox impl somewhere
Avatar
Дядя Женя 2020-10-25 14:21:05Z
@deen how it works with server-side code updates?
14:21
You merge it and reload servers?
14:21
Apparently I need to implement server-side messages
Avatar
merge, build on server, copy to all other servers, they auto-restart once empty once a day
Avatar
Дядя Женя 2020-10-25 14:22:42Z
And how do I fix my commit history? XD
14:23
It has a lot of trash now, about 20 commits which leads to 2 lines changes from ddnet-master
Avatar
squash it all?
Avatar
Дядя Женя 2020-10-25 14:24:21Z
Im noob
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:24:35Z
git reset --soft HEAD^^^^^^^^^^^^^^^^^
14:24
xd
Avatar
Дядя Женя 2020-10-25 14:25:07Z
Is there any way to revert whole repo?
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:25:09Z
or better git reset --soft <first commit>
14:25
and then git add . git commit
14:25
what do you mean by revert a repo?
Avatar
Дядя Женя 2020-10-25 14:25:53Z
Reset it completely like it was just forked (edited)
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:26:07Z
show me the result of git remote -v
14:26
u want to reset to how it is on ddnet github?
14:27
git remote add ddnet https://github.com/ddnet/ddnet && git fetch ddnet && git checkout master && git reset --hard ddnet/master && git push -f
Avatar
Дядя Женя 2020-10-25 14:27:24Z
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:27:33Z
ah then
14:27
git fetch upstream && git reset --hard upstream/master && git push -f
14:27
deletes all your changes
14:28
and updates to latest ddnet version
Avatar
Дядя Женя 2020-10-25 14:28:39Z
cool
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:28:42Z
:)
14:28
did it werk?
Avatar
Дядя Женя 2020-10-25 14:28:49Z
seems so
Avatar
I reported an ip issue to google that the location they have for my very german ip was wrong, they thought it was an ip in the UAE
Avatar
Дядя Женя 2020-10-25 14:29:00Z
now I probably broke my PR's on ddnet
Avatar
They have now "fixed" it, now I appear to be in the ukraine...
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:29:19Z
did u use branches for the prs?
Avatar
privet @Learath2
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:29:28Z
this only messed with your master branch
Avatar
@Дядя Женя if you want to clean up a branch, switch to it then do a git rebase upstream/master
Avatar
Дядя Женя 2020-10-25 14:30:09Z
too late
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:30:11Z
fixed: @Jupeyy People complain about new chat style for a reason. What did you do!? Fix it. Now.
Avatar
never use master
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:30:33Z
always git checkout -b pr_name before working on pr
14:30
never push to master on forks :)
Avatar
Дядя Женя 2020-10-25 14:31:05Z
my master should always be ddnet-master I guess?
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:31:09Z
yes
14:31
Avatar
Дядя Женя 2020-10-25 14:31:33Z
now show me the way to actually build my version of ddnet with all my branches?
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:31:35Z
should always say just behind here or ideally even
14:31
uhm seems like ur pr is still in tact
Avatar
Дядя Женя 2020-10-25 14:32:03Z
yes it is for now
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:32:04Z
i would wait for the pr before resetting ur master
Avatar
Дядя Женя 2020-10-25 14:32:09Z
untill I push something
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:32:22Z
are you working on a new pr now?
Avatar
Дядя Женя 2020-10-25 14:32:24Z
i would wait for the pr before resetting ur master
@[quakenet] ChillerDragon#0000 I would close the pr xD
14:32
maybe make another one with just 1 commit for those changes, 'cause it's 2 lines only
14:32
but there are 20+ commits or smth
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:32:55Z
ok
Avatar
Дядя Женя 2020-10-25 14:33:07Z
the main problem is
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:33:07Z
is ur master reset locally now?
14:33
show me git log
Avatar
Дядя Женя 2020-10-25 14:33:37Z
I don't want to wait for you to play with all my changes, but I want to keep it all good, so I need few branches for every change I make
Avatar
chiller git wizard
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:33:47Z
git gud
Avatar
Дядя Женя 2020-10-25 14:34:00Z
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:34:12Z
ok nice
14:34
so
14:34
what are ur changes about?
14:34
the ones u want to make
Avatar
Дядя Женя 2020-10-25 14:34:37Z
So how do I make several PR using different branches, but compile it locally with all merged?
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:34:47Z
oh ok
14:34
do u have branches already locally?
Avatar
Дядя Женя 2020-10-25 14:35:11Z
I guess I should have another branch that I merge everyrthing into 🤔
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:35:16Z
yes
Avatar
Дядя Женя 2020-10-25 14:35:31Z
wouldn't it track updates for other branches?
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:35:35Z
git checkout -b testing && git merge feature_a && git merge feature_b
Avatar
Дядя Женя 2020-10-25 14:35:38Z
and update PRs
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:35:42Z
what do u mean?
14:35
branches do not sync
14:36
u have to manually merge them
Avatar
@Дядя Женя https://github.com/ddnet/ddnet/issues/3183 hope someone actually implements this i wanted to ask for this too 😛
Provide a way to quick save / quick load of whole team state when practice is on. Like you already have /save /load, but quick realtime variant for practice. Without any server-side checks and so o...
Avatar
Дядя Женя 2020-10-25 14:36:42Z
14:36
any way to fix this mess?
14:36
+19 - 21 = 2
14:36
QUICK MATH (edited)
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:37:05Z
yes
14:37
but dont
14:37
ur pr will die if u fix it
Avatar
Дядя Женя 2020-10-25 14:37:28Z
I will close it now, fix it and make fresh one without mess?
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:37:39Z
sounds like work
14:37
but a fine idea
14:37
do you have ur changes safe somewhere now?
Avatar
Дядя Женя 2020-10-25 14:38:12Z
no xD, I'll just make them now 'cause it 2 line offsets tweaks
14:38
I did not start on anything new until I fix my mess in git, thx for that
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:38:42Z
so ur pr with 19 commits and 2 files changed bolis down to 2 liness?
Avatar
Дядя Женя 2020-10-25 14:38:56Z
yes, as I mentioned before
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:38:59Z
ah wow it actually does
14:39
i did not believe u
14:39
ok cool
Avatar
Дядя Женя 2020-10-25 14:39:06Z
lol
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:39:11Z
git push -f
14:39
and ur done
14:39
-f for --force
14:39
will take ur local branche and overwrite githubs branch
Avatar
Дядя Женя 2020-10-25 14:39:48Z
how do I set the remote to push into
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:39:48Z
and u hard resettet ur local master branch to ddnet
Avatar
Дядя Женя 2020-10-25 14:39:52Z
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:39:57Z
git push -u origin master -f
Avatar
Дядя Женя 2020-10-25 14:39:58Z
cuz it's trying to push into upstream
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:40:10Z
ye
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:40:16Z
u can specify with -u
Avatar
Why are you doing this? 😄
Avatar
Дядя Женя 2020-10-25 14:40:19Z
cool
14:40
now PR is broken
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:40:33Z
and ur even
14:40
14:40
so good
14:40
now
Avatar
Дядя Женя 2020-10-25 14:40:54Z
I did not close it yet, but it closed
14:41
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:41:01Z
git checkout -b pr_fix_chat
Avatar
You didn't even need to close the PR, all that was needed was to add ddnet as a remote, checkout to a new branch, rebase onto ddnet/master and change the PR to reference that branch instead
Avatar
Дядя Женя 2020-10-25 14:41:32Z
can you be at least somewhat worse in git
14:41
why are u so god
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:42:19Z
the pr was on master tho
14:42
i thought he wanted to open a new pr in parralel
Avatar
You can change the head branch of a PR
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:42:32Z
was communication issue
14:42
oh wow
Avatar
Дядя Женя 2020-10-25 14:42:41Z
i thought he wanted to open a new pr in parralel
@[quakenet] ChillerDragon#0000 yes I will
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:42:42Z
did not know that
14:42
make sure to use a branch this time
Avatar
Дядя Женя 2020-10-25 14:42:59Z
wow chiller did not know something in git
Avatar
Actually I stand corrected, they only let you change the base branch now, not the head
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:43:53Z
so banana u know what to do?
Avatar
Дядя Женя 2020-10-25 14:47:29Z
I made the 2-line-code changes, planning to open new PR on that (third one already) with only 1 clear commit
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:47:42Z
did u create a branch?
14:47
yes looks like
14:48
very nice
14:49
the new chat looks nice btw :) using it since a few days but still not used to the big ass padding
14:49
especially server messages like /top5 etc look a bit spready
Avatar
tbh even a padding of only 1 looks bad already
14:49
./top5 best example
Avatar
Дядя Женя 2020-10-25 14:49:50Z
server messages are my next task
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:49:53Z
ye squeez it in
Avatar
Дядя Женя 2020-10-25 14:50:00Z
this should not be in the chat anymore
14:50
at least not every message
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:50:05Z
oof?
14:50
wat
14:50
go pr btw
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:50:30Z
or do u miss more commits?
Avatar
this is small margin
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:50:40Z
much nicer
Avatar
Just the same as https://github.com/ddnet/ddnet/pull/3165 but from new branch and with one clear commit. I will not make any new messy PRs and close it anymore, sorry for that. Thanks for ChillerDragon for helping a noob like me with git.
Avatar
i know chillerdragon
14:51
but mr banana gets toxic
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:51:37Z
@Дядя Женя ur on a good path to becoming a git wizard
Avatar
when we dont use the ugly 4.0f rounding
Avatar
@Deleted User agreed, looks much nicer
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:51:57Z
go fix @Дядя Женя
14:52
ah is that whats the pr about
Avatar
Дядя Женя 2020-10-25 14:52:16Z
yes, the rule №1 to become git wizard: When you want to do something - ask chiller and do what he says
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:52:17Z
is from 3 to 2 enought tho?
Avatar
Дядя Женя 2020-10-25 14:52:17Z
ez
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:52:47Z
maybe provide a screen of the change in the pr
14:52
would help a lot
Avatar
Дядя Женя 2020-10-25 14:52:56Z
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:53:10Z
hm
Avatar
Дядя Женя 2020-10-25 14:53:27Z
As I said, server messages is the next thing Im working with
Avatar
this is a endless debate xD
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:53:56Z
well "debate"
14:53
isnt it all vs Дядя Женя
Avatar
Дядя Женя 2020-10-25 14:54:04Z
I'm planning to design it and place in some suitable place on the screen (can be different, depending on message)
Avatar
tee icons by their names noath noath
Avatar
Дядя Женя 2020-10-25 14:54:30Z
so it will remove most of server messages from chat
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:54:35Z
hm
Avatar
tje background behind the text seems like it could be useful
14:54
should be a way to only enable the bg and not the wierd spacing or icons
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:54:55Z
update to 0.7
14:54
there u have that
14:54
:D
Avatar
fact is we have #3171 and now #3190 which collide
Avatar
Very round: bit round: No rounding left: No rounding at all: old chat: Just gave some examples so its easier to see what is nice
Just the same as #3165 but from new branch and with one clear commit. I will not make any new messy PRs and close it anymore, sorry for that. Thanks for ChillerDragon for helping a noob like me wit...
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:55:29Z
ah nice
14:55
ill vote for juppy
Avatar
Дядя Женя 2020-10-25 14:55:42Z
For example if someone finishes a map there will be something like "message boxes" appear on the right side of the screen, nicely designed and showing who finished with what time
14:55
without any spam in chat and distracting. Should work on design for that
14:56
But it requires me to implement server-sided messages
14:56
like NETMSGTYPE_SV_FINISH
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:56:26Z
i have rather my chat spammed than my whole screen
14:56
also something that is done in 0.7 already
14:56
the finish messages
Avatar
0.7 chat is the worst
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:57:03Z
i like it
Avatar
even worse than this new chat
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:57:11Z
oof rip Дядя Женя
Avatar
Дядя Женя 2020-10-25 14:57:14Z
this new chat is da best
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 14:57:16Z
side roast
Avatar
95824b2 Fix weapon muzzle texture cutoff - Jupeyy 7ff0534 Merge #3188 - bors[bot]
Avatar
ok updated my pr with the smaller padding if u want to test
Avatar
Дядя Женя 2020-10-25 14:59:56Z
Is there any client side check for finish?
15:00
I hope there is not
Avatar
i really dont like that the vanilla code is so random often, e.g. rendertee is just random hardcoded values so skins look good for normal gameplay, but e.g. in the scoreboard, tees are too high
Avatar
Дядя Женя 2020-10-25 15:00:35Z
It's fucked, yes
15:00
The pivot is moved
15:00
And the size acting weird
15:02
thats the grid skin
Avatar
Дядя Женя 2020-10-25 15:03:05Z
Lol
15:03
Its so wrong (edited)
Avatar
its purely randomx D
15:03
they could have scaled everything more and set proper offset values to feet and body to be more reliable (edited)
Avatar
can u send that
alienouis 1
Avatar
its in teeskins.de
15:04
Download & Share: Teeworlds Grids (0.7) ▷ 2000+ Teeworlds Graphics ✓ Biggest Teeworlds Skins Collection ✓ Join Now ✓
Avatar
Дядя Женя 2020-10-25 15:04:38Z
2000 grids
15:04
Haha
Avatar
xDDDDD
Avatar
Дядя Женя 2020-10-25 15:07:44Z
what's NET_CHUNKFLAG_VITAL
Avatar
its basically garantuees that the package will be sent to target, even if its lost
15:11
if i remember correctly
Avatar
it has some kindof re-transmission system i think
15:11
and requires the client to acknowledge the msg
Avatar
Дядя Женя 2020-10-25 15:13:07Z
where is the code of sending finishing time for example
15:13
do you know
15:19
I see it now
15:20
How do you check for client version?
15:20
I know you have that param on server
Avatar
NETMSGTYPE_CL_ISDDNET
Avatar
Дядя Женя 2020-10-25 15:20:31Z
I need a check for client understanding new message type
Avatar
newer versions of ddnet send version sometime earlier in the connect sequence
15:21
but older versions (and newer ones too i think?) send it as an extra packet with that header
Avatar
Дядя Женя 2020-10-25 15:21:14Z
and where is it stored
Avatar
in protocol.h
15:21
it is also equivalent to NETMSGTYPE_CL_CALLVOTE + 1
Avatar
Дядя Женя 2020-10-25 15:23:52Z
Can you look at DDNet-Server -> score.cpp : line:836
15:24
It's calling for thread proceed ShowTeamTop5Thread method, which builds message for player, but I can't find where is it sent finally (edited)
Avatar
NETMSGTYPE_SV_DDRACETIME, NETMSGTYPE_SV_RECORD, NETMSGTYPE_SV_PLAYERTIME, isit any of those? lol
15:26
or do u mean the text output that shows top5
Avatar
Дядя Женя 2020-10-25 15:27:07Z
yes, for now
Avatar
Дядя Женя 2020-10-25 15:47:37Z
any help?
15:50
@deen help pls?
15:50
I'm trying to find a line where answer for /top5team is finally sent to player as package
15:51
So I can understand how it works now and Implement server-sided event messages (edited)
Avatar
CPlayer::ProcessScoreResult
Avatar
Дядя Женя 2020-10-25 15:52:57Z
Multithreading stuff...
Avatar
We used to do directly in the SQL thread, but that is madness
Avatar
Дядя Женя 2020-10-25 15:53:42Z
thats nearly impossible to find a link to the final stage of this logic
Avatar
Really? I didn't know where it was and found it in < 1 min
Avatar
Дядя Женя 2020-10-25 15:54:18Z
How exactly? Maybe I'll know something new xD
Avatar
I grepped for top5team, saw it writes into m_aaMessages, searched for m_aaMessages, found player.cpp
Avatar
Дядя Женя 2020-10-25 15:54:39Z
Oh ok...
15:55
I've searched for pData, pData->m_pResult, ExecPlayerThread(), m_pPool and deeper
15:56
anything except m_aaMessages directly
15:58
-9999 stands for no time and isn't displayed in scoreboard, so shift the time by a second if the player actually took 9999 seconds to finish the map. ddnet speedrunning hacks for @everyone (edited)
Avatar
why is it closed. was going to have 3 issues closed with one PR, now i can only have two.lol
Avatar
Don’t worry. I reopen for you
Avatar
thonk but i love the fact my code break every system but windows
16:38
EeveeShy
16:39
no need to reopen it tho, it is kind of a duplicate anyway.
16:41
thx
Avatar
Its not foxed until your pr cums tho
Avatar
Дядя Женя 2020-10-25 17:21:35Z
@deen what CGameContext:Version CGameContext:NetVersion and CGameContext:GetClientVersion stands for
17:22
NetVersion sounds like network protocol version
Avatar
Дядя Женя 2020-10-25 17:22:07Z
in other words, how could I check if client's version is mine or newer so it supports new package format
Avatar
client version sounds like the version of client
17:22
ClientVersion >= X?
Avatar
Дядя Женя 2020-10-25 17:22:41Z
how it works for vanilla
Avatar
See VERSION_DDNET_WHISPER for example
Avatar
isnt there a capabilities struct now?
17:23
or is that only from server
Avatar
yes, that's cleaner
Avatar
is Pikachu_1 skin deleted cuz copyright?
17:23
or wat
Avatar
maybe bcs it was too ugly
17:24
the skin crew removes some ugly skins xd
Avatar
ugly?wtff was so nice skin
Avatar
xd
Avatar
IME state fix closes #3185 and #3150 DoEditBox update closes #3186, now cursor behave the same as chat where only one cursor (either the real one or the editing one) will be shown.

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 in...
Avatar
ghosty @Learath2 should test this again just to be sure. also iirc he can type japanese.
Avatar
Дядя Женя 2020-10-25 18:21:36Z
@deen
18:21
How do I add new CNetMsg_...
Avatar
Дядя Женя 2020-10-25 18:22:05Z
?
Avatar
in datasrc dir there are some python files, check network.py maybr
Avatar
Дядя Женя 2020-10-25 18:23:02Z
where is that dir
18:23
@deen
18:24
I see...
Avatar
Дядя Женя 2020-10-25 18:54:43Z
18:54
syntax error: "CScorePlayerResult"
18:56
@deen
18:56
@Deleted User
Avatar
i dont give tutorials for ddrace code sry
Avatar
Дядя Женя 2020-10-25 19:00:46Z
Its about cpp
Avatar
its russian and i dont know the ddrace code
Avatar
Can't move it via mouse click when it is at the most upward position.
Avatar
[quakenet] Ryozuki BOT 2020-10-25 19:31:29Z
haha russian go brrr
Avatar
Can't use the character ^ on macOS, it's making the input text source crashing I think it's for every input text coz f1, f2 consoles and chat just crash, I can't press enter anymore, I can see what's happening around me but the only thing I can do is typing more text. So I just quit the game if I mistype the character, but it's often used in french so I often do that mistake
Avatar
#3191 ?
Avatar
IME state fix closes #3185 and closes #3150 DoEditBox update closes #3186, now cursor behave the same as chat where only one cursor (either the real one or the editing one) will be shown. Checklist...
Avatar
When it says 2 cursor he means the chat ?
Avatar
the 2 cursor is smth else
20:11
he fixes multiple issues
Avatar
No I actually think it might be it if it's for the chat
20:11
Coz it's like the virtual cursor for the code
20:11
Isn't at the right place anymore
20:11
Or smth like that
Avatar
best is u try the autobuild if u got a github account
Avatar
Coz I can type more text but never release the text
Avatar
DDraceNetwork, a cooperative racing mod of Teeworlds - ddnet/ddnet
Avatar
Depends on how much Mb do I need to download to build it
20:13
Coz my connexion really sux
Avatar
its already built
20:13
its an automatic build by github
20:19
20:19
🙁
Avatar
wow, that connection must really suck xdd
Avatar
ok got it
Avatar
good 😄
Avatar
I think github failed on building it, file is corrupted
Avatar
thats strange, bcs it said all tests passed
20:31
but i've no plan from macos
Avatar
Hm may be my connexion again then
20:32
gonna try again
Avatar
Дядя Женя 2020-10-25 20:33:27Z
k, I drop it
20:33
waiting until u implement server-sided messages for events
Avatar
what u did ?
Avatar
Дядя Женя 2020-10-25 20:34:24Z
too stupidly made things here
20:34
and I fucked up also, sending package crashes my server. No idea why (edited)
Avatar
@Deleted User nah still corrupted
20:38
could you try to download the .zip and open it? just to see if its a problem from github or me
Avatar
yes
20:49
@Neben it shows some osx.dmg
20:49
@louis i am under windows now, and asan works fine after muting this one memset error, i made an obious buffer overflow and asan detected it
20:50
so if you test that map with asan, it should either show smth or its not a bug in the ddnet code
Avatar
Дядя Женя 2020-10-25 20:54:55Z
20:55
20:55
k, somehow I managed to make it work, but it's total mess now
20:55
and should not be ever implemented that way
Avatar
@louis dunno if that bug is still reproducable, but with trashmap i can upload the old multeasymap
Avatar
Дядя Женя 2020-10-25 20:58:30Z
But looking at existing code.....
Avatar
and i dont get any warning from asan, so you might need to try
Avatar
9157c6f Add donation by Asdragone - def-
Avatar
ok i might jelp debug more later idk
Avatar
you just need todo that one crash with the asan build, if its an overflow it will stop debugging and show you where it crashed automatically
21:11
@Neben can only tell ya the zip is around 40mb 😄
21:11
and has no progress bar
21:11
probs zipped on fly
21:12
f7ac41a Fix IME stuck when 0-len TEXTEDITING event is missing. - TsFreddie cc8fe17 Update DoEditBox logic to be the same as chat - TsFreddie e75cc41 Merge #3191 - bors[bot]
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 21:14:45Z
any idea on how to "slug" utf8 strings? When I print names and clan in console it messes up spacing. Can i check if the chracter is utf8 and replace it with ' ' or something?
21:16
utf8 seems to be spreaded over multiple bytes meh can i check str_utf8_isstart on every char and then skin 3 bytes?
Avatar
you mean non-ascii characters?
Avatar
Дядя Женя 2020-10-25 21:18:24Z
any idea on how to SEND ARRAYS
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 21:18:49Z
i mean the ones that mess things up i dont know which xd
Avatar
Дядя Женя 2020-10-25 21:18:58Z
I can't understand the problem of generating packages with arrays
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 21:19:04Z
maybe non ascii
Avatar
sounds like a bad idea ChillerDragon, there are names entirely composed out of non-ascii characters
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 21:19:40Z
well then i dont see them anyways i think
21:19
hm maybe i should do some testing xd
Avatar
but to strip all non-ascii characters, you could erplace all bytes < 0 with your replacement character
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 21:21:15Z
ok seems like they are displayed but mess up the padding
21:21
ok interesting
21:21
ill try quickly if it werks
Avatar
or >= 128 if you're using unsigned char
Avatar
[quakenet] ChillerDragon BOT 2020-10-25 21:25:32Z
ok nice it fixes the padding
21:25
but characters that were displayed disappear :/
21:26
i use padding in format string like "%-20s"
21:26
meh
Avatar
@Deleted User yea 44mb, will try to unzip it on windows and transfer it
Avatar
@Neben your issue is #3150 . Freddie fixed it earlier today
Avatar
On Mac, when typing one of those characters ^ or ~ I get stuck in ingame chat and there is no way to legitimately close it or Teeworlds. The only way for me is to unplug my router so I get timeout ...
Exported 401 message(s)