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-16 00:00:00Z and 2020-10-17 00:00:00Z
Avatar
client randomly crashing a lot in newer ddnet versions :/
Avatar
stop using speedhax
Avatar
lol its not that
Avatar
Люди = быдло. Discord = провал 2020-10-16 05:16:08Z
Hello!
05:16
Guys, who can explain: What doing sv_vanilla_antispoof command?
05:16
In DDnet server
Avatar
Люди = быдло. Discord = провал 2020-10-16 06:16:46Z
Hey, what is sv_map_window >?
Avatar
How many packets of the map the server sends you when downloading maps before your client has to respond
Avatar
Люди = быдло. Discord = провал 2020-10-16 06:21:37Z
oh... Thanks for explain!
06:25
sv_input_fifo Fifo file to use as input for server console - its how works?
06:26
like .cfg file?
Avatar
only works on linux btw
06:34
it creates a fifo file and you can write commands into it to control the server
06:34
like in F2 ingame
Avatar
Люди = быдло. Discord = провал 2020-10-16 06:36:10Z
oookay, understood
Avatar
Люди = быдло. Discord = провал 2020-10-16 07:03:12Z
sv_mapupdaterate What doing? I has read descrip. but nothing understood
Avatar
That's only relevant for 0.6 Teeworlds clients, and no one really uses those anymore
08:14
because old clients only supported 16 players and we have to calculate which 16 players to send you
08:15
And I guess that calculation is expensive so we only update it occsionally instead of all the time
Avatar
old clients had only 16 player support?
08:33
that mustve been terrible
Avatar
e1dc8d9 Halloween announcement - def-
10:24
514be62 Skins: Focus search - def-
15:34
laser bounce star thingie doesnt render in beta for some reason
Avatar
@Deleted User did you change something? ^
Avatar
no
17:13
for me it works
17:13
@louis custom particle asset?
Avatar
what laser bounce star thingie
Avatar
client randomly crashing a lot in newer ddnet versions :/
@louis update driver.
17:14
when the laser bounces it shows a particle
Avatar
just wanted to thank you for finally adding the asset feature. DDNET Client has now everything i need
Avatar
the laser particle isnt in particles.png
Avatar
wtf wait it is
17:17
but yeaah i have it
Avatar
oh that thing
Avatar
i never knew that
Avatar
send particles skin
Avatar
nobo im using default
Avatar
then its ur driver xdddd
17:18
cannot reproduce
17:18
anyone else has this bug?
Avatar
how is my driver not rendering a laser particle
Avatar
how is ur driver crashing in a 2d game
17:19
ok lets not do this
17:19
@louis can u pls gfx_opengl_major 1 and try again
17:19
i'd like to know if its consistent, bcs cannot reproduce with software or hardware rendering
Avatar
wait now it renders but its not because of gfx_opengl_major 1
17:20
w/e if i get it again ill see the steps i did
Avatar
Pls check if u like the new cusor and if it works now fixes #3110
18:28
this must be a joke
18:29
@Deleted User @deen @heinrich5991 so this is how yall look eh
18:29
monkalaugh
Avatar
me no programmer
Avatar
@Deleted User progamer
Avatar
but i like the matrix shorts the tee has, very creative xd
Avatar
Дядя Женя 2020-10-16 18:57:48Z
18:57
was that deprecated or smth?
Avatar
Дядя Женя 2020-10-16 19:07:22Z
I can't understand how I can make new + command
Avatar
Does ddnet or tw provides any means on enabling/disabling the map layer serverside? I am aware that in infClass ages people were embedding convertor (sic!) into a server to manipulate and push the map. But that workaround is overengineered. Maybe something have changed since then?
19:07
I am currently doing this
19:07
Avatar
Дядя Женя 2020-10-16 19:07:44Z
where is the code for handling such commands like +fire +hook +toggle
Avatar
and want players to be able to disable minimap in game (edited)
19:08
@Deleted User use 2 designs, and do it by server time again
19:08
with envelopes
Avatar
add switchable envelopes to ddnet
👍 2
19:08
then i will love u
heartw 1
Avatar
Дядя Женя 2020-10-16 19:09:00Z
should it be server-sided?
Avatar
I cannot fake servertime as the game has a countdown timer.
Avatar
Дядя Женя 2020-10-16 19:09:40Z
@heinrich5991 @Deleted User where is a handler for + commands
Avatar
in the source code
19:10
2 designs? No, I mean I want players to be able to disable that layer individually. One player likes the minimap a lot and the other finds it distracting
19:10
yyeah
19:10
make it transparent with envelop
19:10
and fake the server time for one (edited)
19:10
Would be so nice if a simple command like SV_MAPLAYER_VISIBILITY_UPDATE(int layer_no, bool visible) existed (edited)
19:12
i don't think the server should get so much control
19:13
It would be so useful for UIs. And simpler than making a real netgui.
19:13
you can btw also create 2 maps, one with minimap, one without
19:13
and fake the maps and connecting
19:13
infClass has 2000 lines of code converting (sic!) map on the fly just to be able to do exactly that
Avatar
oh true, that would be simpler
Avatar
nowadays nobody understands the trick
Avatar
just provide two maps? ^^
Avatar
including me and yavl
19:14
@heinrich5991 two maps. Ok, how to send a different map to the player mid-game?
19:14
just send a mapchange
Avatar
is it just for player settings?
19:14
is it just for player preferences that rarely change? you can send a map change
Avatar
hm...
19:15
maybe I can implement that, yes
19:15
thanks for suggestions
19:16
though I still think that hot-disabling layers feature without sending mapchange would be nice for other things
19:16
but ok, I will use this workaround this time
19:17
btw what will happen if I will send mapchange to the client mid-game? will it reconnect?
19:18
its like changing a map on any server
19:19
the server time faker is the cleaner solution if server time doesnt matter in infclass
19:19
it is crucial in infClass
19:20
If I will implement such a message and client feature, will you accept it?
19:21
2 maps are fine for 1 feature. For 2 features it will be 4 maps, for 3 features 8 maps and so on (edited)
19:21
yes, but its the same for customization
19:21
u want more and more features.. at the end you have a new client xD
19:22
I want to extend ddnet codebase. Is that bad? Maplayer disable feature doesn't seems to be a noticeable maintenance burden. (edited)
Avatar
does infclass support any sort of vanilla client?
19:23
0.7 or 0.6
Avatar
it supports both
19:23
I mean infNext supports it
19:23
infClass is 0.6 only
Avatar
but you'd have to drop support if you add such features in ddnet client, I guess
Avatar
I will detect vanilla 0.6 and 0.7 and older ddnet clients and will give them map variant with all layer features off
19:24
and will not send them related server data
19:25
@Дядя Женя will you stop working on the chat bcs of the bugs, or bcs of loosing interest?
19:29
@Дядя Женя if its bcs of bugs, i can also fix them if you want
Avatar
hey I have a problem with the game could you help me?
Avatar
Дядя Женя 2020-10-16 19:32:06Z
@Deleted User I will make another PR right now from another branch. And yeah, I need your help with bug fixing, 'cause I have no motivation to work on chat anymore, because it's already usable enough for me and I'm playing with it
19:32
But yeah, it has a few bugs to fix
Avatar
Devs could you add cursor to assets?
Avatar
@Aykaa just descripe the problem 😄
19:33
@Deathman what cursor? XD
Avatar
the problem is that my game is very lagged and I cannot enter the servers without going to settings
Avatar
just replace the cursor.png
Avatar
why did u close that pr to open the same pr
Avatar
and another thing is that some blocks appear to me with numbers and are more transparent
Avatar
learn git already omg
Avatar
Дядя Женя 2020-10-16 19:35:10Z
@Ryozuki it was much easier then figuring out how to fix my mess in git
Avatar
@Aykaa i don't really understand what u mean by "without going to settings"
Avatar
Дядя Женя 2020-10-16 19:35:34Z
learn git already omg
no thx xD xD but only if you'll help me
Avatar
sorry for using translator
Avatar
@Aykaa just post in ur language xd
Avatar
eh spanish
Avatar
yeah just do it, then i can use a different translator xD
Avatar
vale gracias
19:37
el problema es
19:37
mi juego me va muy lageado y no me deja entrar a ningun servidor
19:37
Ni ir a los ajustes ni nada
19:37
solo puedo estar en el menu
19:38
pero antes me iba perfecto el juego
Avatar
ok
Avatar
ahora va todo lageado y no puedo hacer nada
Avatar
@Aykaa try F1 -> gfx_opengl_major 1 then restart client
Avatar
Ok voy a intentar
Avatar
@Дядя Женя you don't have to close PR. PR is not a snapshot of difference. PR is just a web page that shows differences between two branches. You don't typically close PR to update the branch.
Avatar
Дядя Женя 2020-10-16 19:39:49Z
So how could I change branch to merge with
Avatar
Just update it and PR contents will update its "contents" accordingly.
Avatar
Дядя Женя 2020-10-16 19:40:03Z
pfff, it's not about that at all
Avatar
@Дядя Женя you want to update branch contents right? Why would you use another branch for the same feature?
Avatar
@Deleted User gui_cursor.png xd. I have many xd
Avatar
Дядя Женя 2020-10-16 19:41:10Z
I wanted to not use master branch for PR
19:41
but now I'm in total mess with repo
Avatar
ah, @Deathman has no high priority, sry 😄
19:41
@Дядя Женя using master branch for forks I think is fine.
Avatar
@Deleted User ok sad
Avatar
at least while you describe changes in PR title and in commits
Avatar
Дядя Женя 2020-10-16 19:42:30Z
fine, but the main question is:
  • How can I work on 2 features at the same time while having 2 different PR's on them
Avatar
nobody cares about originating branch I think. It will not be in commit history after mering (edited)
Avatar
create a new branch for the second feature
f3 1
Avatar
git checkout -b pr_new git fetch --all git reset --hard upstream/master
Avatar
i think you normally dont do pull request from master but if you only do it once its fine
👆 1
Avatar
I am not sure he has added upstream yet
Avatar
Дядя Женя 2020-10-16 19:43:36Z
I did
Avatar
I haven't got that you're working on 2 features. It's ok to have another branch for it ofc..
Avatar
Дядя Женя 2020-10-16 19:45:13Z
What if I want to merge two my features while I have 2 branches and 2 PRs for them
19:45
that would be shown as update in PR I guess
Avatar
@Deleted User No funciono, hay alguna manera de resetear los ajustes de ddnet?
Avatar
git checkout -b my_compile_branch git reset --hard upstream/master git merge origin/pr1 git merge origin/pr2
19:46
It is correct/ correct way to have 2 branches, and 2 PRs for 2 independent features (edited)
19:46
@Aykaa windows key + r -> %APPDATA%/Teeworlds or config_directory.bat
Avatar
Дядя Женя 2020-10-16 19:47:14Z
why is it so boring and confusing...
Avatar
@Deleted User Gracias! me sirvio
Avatar
you want to compile the master branch right
Avatar
@Дядя Женя about the white tee bug: just save the skin name and color don't rely on snapshots, bcs the tees might leave when recreating the chat
19:50
why is it so boring and confusing...
Cause you're not thinking that learning this will be useful in your life. But it most certainly will. At least if you will choose to be a programmer.
19:51
Also getting good with git is hard first. It has a steep learning curve though after you've learned it you will just breath it.
Avatar
Дядя Женя 2020-10-16 19:51:49Z
I think it is useful, I just don't want to be that much confused right now with this, cuz I'm not in the mood
Avatar
I am using git for just everything. It's the most concise way of tracking changes: maps, wikis, styles etc.
19:52
@Дядя Женя take your time. You don't have to rush it.
19:52
I know it's frustrating to get obstacles when you were considering work already done.
Avatar
Дядя Женя 2020-10-16 19:52:33Z
I'm using git and pretty much ok with that all the time, but fork and pr are too hard rn
Avatar
It was hard for me too. I've learned to use forks 2 weeks ago 😄
19:53
Usually you need forks only for opensource.
19:53
if you know what the idea behind the commands is
19:54
its much easier
Avatar
Дядя Женя 2020-10-16 19:54:12Z
I've just fucked up all this
19:54
but color_picker branch is ok
Avatar
You can fork a fresh branch from master and git cherry-pick only needed commits to it
Avatar
Дядя Женя 2020-10-16 19:55:12Z
what?
Avatar
you can start fresh and use git cherry-pick to take commits from any branch to a new one
Avatar
Дядя Женя 2020-10-16 19:55:43Z
2 problems right now are: 1. the mess above upstream/master
19:56
2. color_picker branch have no chat features in it
Avatar
Nobody ever reads those colorful lines.
19:56
They're just for a person who will ever track a git disaster of some kind trying to recover. Most time this tree representation is confusing and not usefull at all.
19:57
It doesn't have to look neat.
19:57
Well... you can learn git rebase, but honestly it will not worth it for this situation.
19:58
2. color_picker branch have no chat features in it
Are they lost?
19:58
or have you stashed it prior to making any checkouts/resets?
19:59
you can try git reflog to find "lost" commits if you have commited changes before
19:59
or I don't understand the problem
Avatar
Дядя Женя 2020-10-16 19:59:53Z
its in a chat_visual
Avatar
working with 2 branches at the same time is confusing
Avatar
Дядя Женя 2020-10-16 20:00:24Z
it shouldn
20:00
't be
Avatar
not in case with git unless you're really mastered it
20:01
git introduces complexity and with every branch you're working on simultaneously it grows nonlinear
20:01
unless you have a clear history of commits in your head and skills to solve it
Avatar
Дядя Женя 2020-10-16 20:01:45Z
Just fix my chat and merge it already
20:02
So I can even make a new repo (lol) and start working normally (edited)
Avatar
you dont want to try fixing it yourself anymore?
Avatar
Дядя Женя 2020-10-16 20:02:50Z
I don't
20:02
I'm fine with version I have rn
Avatar
ok, then i'll write into you branch if you ok with it
Avatar
[quakenet] ChillerDragonTL BOT 2020-10-16 20:03:07Z
git gud
Avatar
Дядя Женя 2020-10-16 20:03:17Z
But for public release it should be fixed a little
20:03
ok, then i'll write into you branch if you ok with it
@Deleted User of course
20:04
Where is code for map editor
Avatar
src/game/editor
Avatar
Дядя Женя 2020-10-16 20:05:04Z
I need the part with right click on red square which is corner of a quad on map
Avatar
Дядя Женя 2020-10-16 20:16:12Z
20:16
Nice highlighting
Avatar
Annoying sound, annoying flickering on the screen. When player dies give him his last weapon on respawn already, without switching it for 3 times. (If there is no his weapon - give default obviously. Or how is it working already. Just immediately) Reproduce: 1. Take hammer 2. Die
Exported 234 message(s)