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-08-15 00:00:00Z and 2021-08-16 00:00:00Z
Avatar
good morning ddnet
06:52
time to upgrade your servers to debian 11
06:52
greenthing
06:53
monkalaugh
06:53
Debian is a free operating system (OS) for your computer. An operating system is the set of basic programs and utilities that make your computer run.
06:54
There are 1,152,960,944 lines of code in Debian bullseye.
06:54
monkaS
Avatar
Avatar
nori
what is ur dm/wm?
sway (not related to the issue though)
Avatar
Avatar
lynn
3 of my GitHub issues were closed by ryotroll without any comment why
ah yes ryotroll
Avatar
u know them?
Avatar

Discussed in https://github.com/ddnet/ddnet/discussions/4078

Originally posted by gerdoe-jr November 18, 2020 bezier.h and bezier.cpp are part of client only. Why should it stay in shared directory?
Was moved to discussions by mistake
07:32

Discussed in https://github.com/ddnet/ddnet/discussions/4066

Originally posted by d3fault November 12, 2019 Players are considered afk immediately after map change as of 547f751 (which admittedly was my idea). SP|Someone leverages this to votekick people immediately after map change since everybody is afk (and their votes aren't counted).
Was converted to discussion by mistake
Avatar
Avatar
Index
sway (not related to the issue though)
Well, if you see "xdg_surface@29: error -1: Tried to set invalid xdg-surface geometry" you need to apply this patch https://github.com/libsdl-org/SDL/commit/ae7ee2a59c8d41d67c6bc80f25b6e52670dddbbf
Avatar
rly useufl
08:01
useful
08:04
i have clang-format 12 rip
08:04
i dont wanna install old stuff
08:05
❯ ./scripts/fix_style.py Found no clang-format 10
08:05
monkaS
Avatar
aur has clang-format versions
08:07
get them, our script uses them automatically
Avatar
which one?
08:08
i guess 2?
Avatar
static bin
08:08
2 yep
Avatar
im always a little hesitant with bin packages
08:08
u never know whats in there
08:08
monkalaugh
Avatar
now that bullseye is released we can also move to clang 11 xd
08:09
i would still have the issue
Avatar
make a new package in aur that builds them from source into static bins
Avatar
yeah someday
08:10
it wanted one more space
Avatar
can't the CI script tell this?
Avatar
most clang format differences i get with clang 14 are also happening in clang 11 xd except space after comment
Avatar
maybe newer versions are more verbose, did you test?
Avatar
Avatar
Ryozuki
it wanted one more space
this looks more like trailing whitespace
08:10
maybe i had some tab there
08:11
@Deleted User i fixed what u said
08:11
if u can check it out
08:11
ah
08:11
u commented
08:11
xd
08:11
@Deleted User basically the CID argument is the asker
08:11
so for team mask if it knows the asker it shows it everything
Avatar
ah yeah thats what i assumed
08:15
but let learath review anyway
Avatar
so many years playing and i never noticed in solo weapon pickups dont make sound
08:15
xd
08:15
even the shield
08:16
i guess i play to much music
08:17
Tees standing in a disabled ninja switch appear to be carrying the katana, spawn particles, and trigger the ninja animation when firing
08:17
i thought about packing the info in bits
08:17
but it sounded hacky to me and not rly future proof xd
Avatar
Why not? if we raise the amount of switches we just add one more integer
Avatar
chillerdragon BOT 2021-08-15 08:18:03Z
oh wow deb11 @Ryozuki thanks for the info
Avatar
Avatar
Learath2
Why not? if we raise the amount of switches we just add one more integer
i guess
08:19
chillerdragon already updated the 2 servers i maintain greenthing
Avatar
chillerdragon BOT 2021-08-15 08:19:50Z
wowo any problems?
Avatar
not for now
08:21
the most work i had to do is pg_upgradecluster or smth
08:21
remember to reboot ur server
08:21
to get new kernel
08:22
08:23
has anyone tried java spring? does it use lot of ram? i want to use it for a project to learn it, lots of jobs want it
Avatar
f8153a4 removed the operator int() from IGraphics::CTextureHandle and ISound::CSampleHandle in order to catch more bugs - Magnus Auvinen bfe8fac Merge #4008 - bors[bot]
Avatar
i would actually use the project, and the vps has 4gb of ram xd
Avatar
is it real java?
08:34
then you have to assume so xD
Avatar
ye its java
08:34
xd
08:34
the other alternative is laravel or smth php
08:34
i gotta learn one of those
Avatar
20f0078 Make the country/type selection more intuitive - def- 140d361 Merge #3996 - bors[bot]
Avatar
is cmake pre 3.0 still in use?
08:44
we could do some cmake cleanup
Avatar
Better discuss that with heinrich
08:47
but probably not really
08:47
ppl should update their system else xD
Avatar
bad9093 [ci skip][skip ci][skip netlify] - bors[bot]
08:56
daf53e8 Bump GTest version to latest master as of 2021-04-07 - heinrich5991 501504c Revert "Manually patch gtest to allow CMake version 2.8.12...3.19.1" - heinrich5991 c5dd5c4 [ci skip][skip ci][skip netlify] -bors-staging-tmp-3761 - bors[bot]
08:56
[ddnet/ddnet] New branch created: trying.tmp
08:56
daf53e8 Bump GTest version to latest master as of 2021-04-07 - heinrich5991 501504c Revert "Manually patch gtest to allow CMake version 2.8.12...3.19.1" - heinrich5991 61a8870 Try #3761: - bors[bot]
08:56
[ddnet/ddnet] New branch created: trying
Avatar
@Learath2
09:17
macos failed
09:17
i think non related to the issue
09:17
Fail to upload '/Users/runner/work/ddnet/ddnet/release/artifacts/DDNet-15.5.4-osx.dmg' due to 'nodename nor servname provided, or not known'.
Avatar
can also be a temporary issue
09:18
i saw alot of macos failing bcs it couldnt resolve hosts
Avatar
Fixes #3591

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-addresss...
Avatar
hi is there a way to alias team to just t for example instead of writing team 17 you would write t 17 (edited)
Avatar
command aliases could be an entire github issue
10:20
but i think they're unnecessary since binds exist
Avatar
its pretty useful in csgo for example
10:21
u just write d in console, instead of disconnect
Avatar
anyone knows why Count() (to count players in a team) used on team 0 is 64 instead of the number of players?
10:39
i guess its a bug
10:41
well its prob designed this way but meh
Avatar
Hm maybe team 0 has an all 1 mask?
Avatar
its becasuse
10:45
team core
10:45
hm
10:45
the default value for
10:45
10:45
m_Team[i]
10:45
is FLOCK
10:46
which is team 0
10:46
the default should have been -1
10:51
i made it
10:51
idk if what i made is a mess or not
10:51
ill make a draft pr before doing more work xd
Avatar
This PR is related to #3990

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
  • [x] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/d...
Avatar
is switch number 0 used?
Avatar
you can have valid tiles with number 0 switch but it has no bearing on switch state then
11:15
only delay
11:15
so not needed for pred
11:16
well I guess you could trigger it with a sv command :/
11:16
not sure if that works for switch 0 though. would need to be tested
Avatar
well it will be predicted anyway
11:16
cuz its sent with this too
Avatar
so 0 works with ur pr?
Avatar
it has a state
11:17
11:17
switch 0 exists always
11:17
on my map i only added switch 1 and 2
11:21
wtf is this emoji
11:21
the smile is weird
Avatar
line ending?
11:27
tabs to spaces?
11:28
FAKE SEMICOLON?
Avatar
a whitespace
11:28
idk why my git diff doesnt show it
11:32
according to my git
11:32
im balanced
11:32
perfection
11:32
chillerdragon i beat u im a better github celebrity look dis
Avatar
this is satisfying
Avatar
Avatar
Ryozuki
according to my git
What the actual fuck
11:56
Avatar
if someone fixes the ui_scale bugs I'll give you a hug
Avatar
why do u even need ui_scale
11:58
ddnet already way to fat xD
11:59
11:59
more than enough(exclude the bugs)
Avatar
chillerdragon BOT 2021-08-15 12:00:06Z
wowow
12:00
that looks really cool!
12:00
I will use ui_scale!! makes my screen look bigger :D
12:01
image.png
12:02
hrmpf @Ryozuki
Avatar
chillerdragon BOT 2021-08-15 12:02:08Z
@Learath2: plis teach me protocol7 UwU
Avatar
Avatar
Deleted User
why do u even need ui_scale
i normally use slightly larger font on everything. also consider people who have even worse vision than I do xd
Avatar
dont they use glasses?
Avatar
Avatar
Ryozuki
😷
im vaccinated tho 😳
12:03
even if you use glasses it's still like a small cognitive load to focus on a smaller font
12:03
idk how to describe it
12:03
maybe this is the same for people without glasses too
Avatar
Avatar
chillerdragon
@Learath2: plis teach me protocol7 UwU
Someone teach me teeworlds netcode 😵💫
12:04
plis
Avatar
chillerdragon BOT 2021-08-15 12:04:40Z
yas im in
12:04
@Learath2: when netcode seminar for @Anime.pdf and me
12:05
i pay u 100k F-DDrace coins axaxax
12:05
I will pay u 100k mrpg-tee gold
Avatar
@Ryozuki switch 0 is unused I think
Avatar
wait chillerdragon: would you teach me too
Avatar
chillerdragon BOT 2021-08-15 12:07:05Z
i teach u?
12:07
nah learath is teacher
12:07
nooo
12:07
do you have xmpp
Avatar
chillerdragon BOT 2021-08-15 12:07:21Z
u teach me?
12:07
nah
Avatar
but ur on matrix
12:07
y
Avatar
xmpp? more like xxl pp
Avatar
chillerdragon BOT 2021-08-15 12:07:38Z
im not cool enough for xmpp
12:07
lull
12:07
i have to try it
Avatar
best chat protocol
Avatar
chillerdragon BOT 2021-08-15 12:07:54Z
ye same
Avatar
lynn@pew.im (edited)
Avatar
secure encrypted self hosted
Avatar
what client u recommend
Avatar
there's only two good clients
12:08
dino for Linux and conversations for Android
Avatar
chillerdragon BOT 2021-08-15 12:08:24Z
the one from microsoft
Avatar
gajim for windows is terrible
Avatar
oh weechat may work
Avatar
same for mac and ios
Avatar
ill use dino
Avatar
if you want a terminal one there is one
Avatar
chillerdragon BOT 2021-08-15 12:09:04Z
raaawwrr
Avatar
I can't remember the name of it
12:09
uses ncurses I think
Avatar
time to host a xmpp sv
Avatar
use prosody
12:11
the rest are weird
Avatar
chillerdragon BOT 2021-08-15 12:11:31Z
yas we need more bridges for this channel
Avatar
chillerdragon BOT 2021-08-15 12:11:40Z
please also bridge xmpp and tw chat to #developer
Avatar
ye im using it
Avatar
can we please make an XMPP MUC
12:11
for ddnet
Avatar
wats that
Avatar
multi user chat
12:12
sungl
Avatar
chillerdragon BOT 2021-08-15 12:12:17Z
group?
Avatar
chillerdragon BOT 2021-08-15 12:12:25Z
who says MUC lol
12:12
ppl
Avatar
chillerdragon BOT 2021-08-15 12:12:37Z
cringe
12:12
also read the MIX spec
12:12
it's supposed to replace MUC
Avatar
chillerdragon BOT 2021-08-15 12:13:24Z
yo ryo how good is ur protocol skill?
12:13
i wanna add flags to sixup but idk how
Avatar
i just made a pr adding a packet to the protocol
12:14
tbh its rly ez u need python skills
Avatar
chillerdragon BOT 2021-08-15 12:14:31Z
?xd
Avatar
cuz the protocol is generated with it
Avatar
chillerdragon BOT 2021-08-15 12:14:38Z
isnt it there already
Avatar
network.py
Avatar
chillerdragon BOT 2021-08-15 12:14:44Z
loox
12:14
DDraceNetwork, a cooperative racing mod of Teeworlds - ddnet-gctf/DDRace.cpp at 171701068643fbe2826d8742d9b8d0ffd6133e5d · ZillyNade/ddnet-gctf
12:14
this works for 0.6 clients
12:15
And i also found that I can do this protocol7::CNetObj_GameDataFlag *pGameDataObj = static_cast<protocol7::CNetObj_GameDataFlag *>(Server()->SnapNewItem(protocol7::NETOBJTYPE_GAMEDATAFLAG, 0, sizeof(protocol7::CNetObj_GameDataFlag)));
12:15
but it does not seem to change a lot
12:15
if i call SnapNewItem with some protocl7:: things will it just add things to the snap and send them to 0.7 clients?
12:17
DDraceNetwork, a cooperative racing mod of Teeworlds - ddnet/gamecontroller.cpp at 171701068643fbe2826d8742d9b8d0ffd6133e5d · ddnet/ddnet
12:18
watafak
12:18
● is actually key
12:18
wtf matrix format
Avatar
idk bro
12:19
im setting up prosody
12:19
with postgres
Avatar
chillerdragon BOT 2021-08-15 12:19:22Z
watafak is prosody
12:19
and sqlite masterrace
Avatar
prosody is a xmpp server
Avatar
chillerdragon BOT 2021-08-15 12:20:18Z
oh pro
12:20
see no difference :D
12:20
image.png
12:20
just use the normal filesystem db prosody comes with
12:20
it will never be a performance bottleneck for a single user server
12:21
also my server won't federate with yours unless you install a cert, so do that :P
Avatar
good question chillerdragon
Avatar
i want to use psql
Avatar
chillerdragon BOT 2021-08-15 12:21:35Z
wat
Avatar
already setup
Avatar
chillerdragon BOT 2021-08-15 12:21:39Z
the minus?
Avatar
minus NETOBJTYPE_GAMEDATA
Avatar
i already have cert
Avatar
chillerdragon BOT 2021-08-15 12:21:45Z
ah ye
12:21
minus is magic trick
12:21
now i know
Avatar
im using 2 domains ryozuki.xyz and edgarluque.com xd
Avatar
chillerdragon BOT 2021-08-15 12:21:56Z
i am official protocl7 hacker now
Avatar
insane
12:22
learath big hacker
Avatar
chillerdragon BOT 2021-08-15 12:22:00Z
ikr
12:22
you can sign up for my netcode seminars this summer but they might be full already
12:22
yo @Deleted User how to write nice code?
Avatar
write bad code and let it format by clang format
Avatar
chillerdragon BOT 2021-08-15 12:22:50Z
can i refactor out the code dupe ?
Avatar
Avatar
lynn
also my server won't federate with yours unless you install a cert, so do that :P
is this a config?
12:22
how to do that
12:23
federating only with certs
12:23
*
Avatar
chillerdragon use templates
Avatar
force https?
Avatar
if you want to minimize code
Avatar
chillerdragon BOT 2021-08-15 12:23:25Z
omagawd
12:23
rly
12:23
r u trolling rn
Avatar
no
Avatar
I think it's in config.lua or whatever it's called
Avatar
?
12:23
templates best
Avatar
chillerdragon BOT 2021-08-15 12:23:42Z
i have same in if and in else only the snapobj is different type
Avatar
yes
12:23
thats why u should use templates xd
Avatar
chillerdragon BOT 2021-08-15 12:23:57Z
cant i do some casting magic?
12:23
hau
Avatar
u can also use lambda
12:24
with auto
Avatar
chillerdrugon
Avatar
but dunno if c++11 works
Avatar
chillerdragon BOT 2021-08-15 12:24:11Z
fak off c++
12:24
u troll
Avatar
i am not trolling xd
Avatar
chillerdragon BOT 2021-08-15 12:24:27Z
c++ is such a meme
12:24
go send some C casting tricks
Avatar
u'd do the same in rust probably
Avatar
chillerdragon BOT 2021-08-15 12:24:52Z
ok i rewrite flag code in rust
Avatar
can someone help import stuff to another client? justatest
Avatar
chillerdragon BOT 2021-08-15 12:25:03Z
gimme sec
12:25
"aim assistant"
12:25
axaxaxxa
Avatar
Avatar
Boti.
can someone help import stuff to another client? justatest
ctrl c -> ctrl paste
12:25
im stupid af
Avatar
chillerdragon BOT 2021-08-15 12:25:48Z
pay me 100k fddr moni ill help
12:26
FUCK MEN
12:26
im out of moni
12:26
i forgot
12:26
needed lvl 4 taser for dummy account feelsbadman
12:26
i guess i keep searching and trying
Avatar
chillerdragon BOT 2021-08-15 12:27:05Z
you can also me my slave for 1month
12:27
haha
12:27
not gud
12:27
doesnt worth it
Avatar
chillerdragon BOT 2021-08-15 12:27:24Z
wat u even want to copy from where to where
Avatar
i want the gotoswitch from your client
12:27
and import to newer ddnet version
Avatar
chillerdragon BOT 2021-08-15 12:27:48Z
oh thats ez
Avatar
im just stupid af
Avatar
chillerdragon BOT 2021-08-15 12:28:00Z
i can also update chillerbot-ux to newer ddnet if u want
Avatar
yeah that could be good
Avatar
chillerdragon BOT 2021-08-15 12:28:24Z
or is the newer ddnet some bot client u use axaxaxax
12:28
oki ill do it for free cuz i love u
Avatar
import to chrisx
Avatar
chillerdragon BOT 2021-08-15 12:28:43Z
badzegmeg
Avatar
Avatar
chillerdragon
oki ill do it for free cuz i love u
+ add virus pls
Avatar
chillerdragon BOT 2021-08-15 12:29:05Z
waht is chrisx?
12:29
krx
Avatar
chillerdragon BOT 2021-08-15 12:29:14Z
ah
Avatar
new SoundCloud rapper
Avatar
chillerdragon BOT 2021-08-15 12:29:23Z
jesus krx
Avatar
he's kinda low-key tho you wouldn't know him
12:29
his intro to every song
12:29
hey bro
12:29
check out this new beat
Avatar
chillerdragon BOT 2021-08-15 12:29:55Z
wat new ddnet features are u missing @Boti. ?
Avatar
i just want new version
12:30
and remove that many stuff in chillerbot
12:30
cuz i dont need those and only got lower fps sometimes
12:30
only some usefull stuff
12:31
like gotoswitch gototele auto reply and pw manager
Avatar
chillerdragon BOT 2021-08-15 12:31:33Z
thats almost all the client has :D
Avatar
yeah true
12:31
justatest
Avatar
chillerdragon BOT 2021-08-15 12:31:56Z
i just wonder which new ddnet feature came out that u miss
Avatar
good question
Avatar
chillerdragon BOT 2021-08-15 12:32:59Z
so u wanted to go through the effort to manually patch some features and u dont even know why? :D
12:33
exactly
Avatar
chillerdragon BOT 2021-08-15 12:33:34Z
lul
Avatar
ryo is stuck inside a Lua file
justatest 2
12:34
we have to dig him out
Avatar
chillerdragon BOT 2021-08-15 12:34:28Z
haha
Avatar
if we install luajit it might be faster
Avatar
chillerdragon BOT 2021-08-15 12:35:10Z
do you have an github account @Boti. ?
Avatar
chillerdragon BOT 2021-08-15 12:35:36Z
you can always download latest development version of ux in github artifacts
12:37
sleep
12:37
gnn
Avatar
chillerdragon BOT 2021-08-15 12:38:03Z
watafak timezone u in
Avatar
all of america
Avatar
Avatar
chillerdragon
watafak timezone u in
amerika
12:38
yes
Avatar
every timezone existing
Avatar
chillerdragon BOT 2021-08-15 12:38:34Z
gn
transheart 1
Avatar
Imagine sleeping at 15:38 pm
Avatar
Avatar
Anime.pdf
Imagine sleeping at 15:38 pm
Imagine sleeping at 14:38 pm
12:39
troll timezones
Avatar
Avatar
Boti.
Imagine sleeping at 14:38 pm
Wait a minute, everything after 12:00 is already pm
12:39
monkalaugh
12:43
did you know in africa every 60 second 1 minutes passes?
Avatar
@lynn ok im setup
12:43
what was ur user
12:45
ok i found u
12:45
anyone chat with me in xmpp: ryo@ryozuki.xyz
12:45
@lynn lol u are a nobo
12:46
setup gpg
12:46
chilledragon look, another use for gpg
Avatar
ah u can use OMEMO
Avatar
chillerdragon BOT 2021-08-15 12:46:40Z
so good
Avatar
chilledragon when xmpp
Avatar
chillerdragon BOT 2021-08-15 12:47:18Z
off do not file like rn
12:47
but some day sure
Avatar
@lynn whenever u can, try to join ddnet@conference.ryozuki.xyz
Avatar
chillerdragon BOT 2021-08-15 13:14:45Z
MUC
Avatar
chillerdragon BOT 2021-08-15 13:25:58Z
omg i cant handle that much longer everything is so bugged now and still no fix update
13:26
so many graphic glitches
13:26
image.png
13:26
and it randomly clicks out of the window
Avatar
chillerdragon BOT 2021-08-15 13:29:01Z
i have to click around and toggle shit in gfx menu every time to get it somehwat running https://zillyhuhn.com/cs/.1629034065.png
13:29
am i really the only one having this issue? Or is nobody on gnome + arch here?
Avatar
chillerdragon BOT 2021-08-15 13:36:24Z
what is the most used / famous SDL application? curious if all SDL projects are affected
Avatar
downgrade SDL
13:36
csgo uses SDL, but probs old version xd
Avatar
chillerdragon BOT 2021-08-15 13:36:54Z
csgo is bugged always
13:36
cant get any worse
Avatar
yeah xdd
Avatar
chillerdragon BOT 2021-08-15 13:39:27Z
you think its the SDL version not my nvidia driver?
13:39
SDL version 2.0.16 (compiled = 2.0.16) Version string: 4.6.0 NVIDIA 470.63.01
Avatar
yes
13:39
mouse going out of window sounds like sdl
Avatar
chillerdragon BOT 2021-08-15 13:40:48Z
nah mouse going out of window sounds like an issue of changing gfx settings every 2 sec
13:41
the real issue is that i can not just boot into fullscreen anymore without blackscreen
13:43
14sec blackscreen when starting csgo :D
Avatar
but you are on x11 arent u
13:43
yeah
13:43
i have that too
Avatar
chillerdragon BOT 2021-08-15 13:43:11Z
yas
Avatar
very annoying, but even with mesa
Avatar
chillerdragon BOT 2021-08-15 13:43:29Z
wow but i can tab out of csgo instantly in fullscreen
13:43
oh no i dont like that csgo is not affected
13:44
i slowly feel like nobody is going to fix it
13:44
any other SDL apps ?
13:44
its only used for games hm?
Avatar
supertuxcart
13:46
maybe
Avatar
chillerdragon BOT 2021-08-15 13:47:46Z
ye ok lemme try
Avatar
chillerdragon BOT 2021-08-15 13:48:29Z
tha protocol hacker is here
13:48
you didnt even do magic
13:48
just reorder
13:49
but cool thanks :)
Avatar
chillerdragon BOT 2021-08-15 13:51:12Z
oh no...
13:51
my tuxkart is cut off
13:51
now i can access the gfx settings anymore :D how does one fix that without teeworlds console :D
13:54
yaaaaas
13:54
supertuxkart has the same issue
13:54
i will just make an issue for stk and they have to fix the nvidia driver then!
13:54
🚎
Avatar
kekw* (edited)
Avatar
@Learath2 i love the examples
Avatar
chillerdragon BOT 2021-08-15 14:22:10Z
xd
14:22
go scrape for leaked usernames
14:22
fstds instance didnt even reach 3 chars yet i think
Avatar
fstd is the one to credit 😛
Avatar
@Learath2 can u add ?cpp to the url next time
14:23
monkalaugh
Avatar
chillerdragon BOT 2021-08-15 14:23:34Z
@Ryozuki: you should add some nice examples to paypal-rs how to send moni to ur acc
Avatar
@Ryozuki no cpp yet
14:23
it knows c, lua, nim and rust
Avatar
rust before cpp
14:24
monkalaugh
14:24
but u dont add it for rust
14:24
i seen ur pastes
14:24
feelsbadman
Avatar
it's a recent addition
Avatar
chilledragon thats ez
14:25
look the readme
14:25
thats how its done
14:25
xd
Avatar
chillerdragon BOT 2021-08-15 14:25:59Z
no example like etc shadow i mean
Avatar
btw the wrapper is as verbose as it can get
14:26
since i wanted to support everyting
14:26
xd
14:26
everything*
Avatar
chillerdragon BOT 2021-08-15 14:26:10Z
so when ppl test u get rich
14:26
xd
14:26
that would be fun
Avatar
chillerdragon BOT 2021-08-15 14:26:25Z
yas
Avatar
@Learath2 if u want u can take a look at what i did for the switches
14:27
monkaS
14:27
justatest
14:29
imagine looking at this code
14:29
ah yes
14:29
looks pretty
14:29
poggers
14:34
which file is it?
Avatar
chillerdragon BOT 2021-08-15 14:36:03Z
character.cpp
Avatar
character.cpp:1775
14:36
hm ok
14:36
i bet we can add another feature to that github bot xd
Avatar
A game jam from 2021-08-20 to 2021-09-04 hosted by Inojelis, AngelOnfira & ElhamAryanpur. Welcome to the first unofficial Rust programming language game jam! Rust allows developers to build safe, efficient, and reliable software, especially...
14:39
any artist
14:39
monkalaugh
Avatar
oh inojelis
14:40
did you see worda bout using unsafe code in game source? xD
Avatar
Keeping it safe - Don't use any unsafe Rust (it's OK if subcrates do though)
14:43
as modifier
Avatar
well its ok for subcrates
14:45
at some point windowing will have to interact with some api
14:45
native
Avatar
hm wow mun's syntax is 1:1 rust
15:20
i have mun in my watch
Avatar
@Ryozuki will you participate in this jam?\
Avatar
i got a team already
17:39
lets see what works out xd
Avatar
ye good luck
17:44
next week i suppose?
Avatar
deen: can u verify its u texting me in dm
18:07
@deen
Avatar
huh lol
18:09
can anyone say does ddnet really need 3-4 lasttargets in CPlayer (edited)
18:13
OnDirectInput(...) does same thing Afk(Vote)Timer(...) do
Avatar
wait, does extendible netobjects already work?
18:35
I tried something for projectiles with "validate_size=False" and it still seemed to work when adding new fields to the object (with old client / new version and the opposite)
18:36
old client/new server*
Avatar
hm on server-side i saw many checks for "extended" player
18:38
so, maybe it does xd
Avatar
yeah, there was a new player object added for ddnet, but I dont remember anyone extending them backwards compatibally. or maybe that is what GameInfoEx already does?
Avatar
server checks client version before giving any extended data afair
18:44
or maybe just "eats" invalid packets, who knows xd
Avatar
This is mostly finished, adds the scripts and the minimal code changes needed. It does NOT add any functionalty. What is missing: [ ] Can't get opusfile to compile for 32bit (arm and x86), probably because I set the paths wrong [ ] libcurl probably requires openssl for https, or I forgot to enable it, LAN servers should work tho [ ] I didn't shell check the scripts, would be really pleased if someone wants todo it [ ] README doesn't mention it (could also be done after the pr is merge...
Avatar
yes, it checks it before sending the extended data/object, but it seems like it can still work if the extended data is of a different version (if you modified the data in network.py). but not sure if it always works
Avatar
@Deleted User poggers
19:05
poggers
19:06
if u want the checkboxes u need to add a space between
Avatar
[ ] Can't get opus
19:10
isnt there a space
19:10
probably need a minus sign
Avatar
@trml eeeeh, it only sort of works as backwards compat
Avatar
chillerdragon BOT 2021-08-15 19:13:37Z
Cool you working on getting android again Jupstar!!!!
Avatar
issue #477 😮
Avatar
Right now can't build Android anymore because SDL2 has a lot of changes in regards to Android.
Avatar
its under 1000
19:14
thats rare xd
Avatar
we should focus the android to spectating and chatting
19:14
and not playing
Avatar
yeah
Avatar
@Learath2 from new servers to old clients? for some reason it worked both ways when I tried it
Avatar
we already somehow always open the android keyboard when the client starts and when it gets kicked xD
Avatar
New server to old clients should work for verify_size=false as long as you only add fields
Avatar
for projectiles that might be ok?
Avatar
(with something like m_Version as for GameInfoEx)
Avatar
does anyone know why m_pSwitchers have m_NumSwitchers + 1 element?
20:35
it's really nice to work with undocumented parts of tw code
20:35
especially if its server-side
Avatar
Just because of the way numswitchers is set up
20:45
it stores the highest switch number that is being used
20:45
And not that +1, so thats why u have to use + 1 everywhere
20:46
annoying af, i know, especially for me because I work with this part too, a lot
Avatar
Avatar
fokkonaut
it stores the highest switch number that is being used
oh really
20:59
thanks fokko
20:59
i believe i'll send a little refactor to upstream tomorrow
Avatar
nice^^
Avatar
When joining my local server. Maybe even just the first time you start the client with a clean config Had this on arm32 and arm64 once This is the automatic crashlog by the system: ``` #00 pc 0025f304 /data/app/PVFkvZvFDwwN7N0zxGQQsQ==/tw.ddnet-XCT0CsAzPtEC0qNAsYjcng==/lib/arm/libDDNet.so (BuildId: db32789a9f7c269ad5706e80a3a5227cfe70b10d) 08-16 00:52:14.883 27115 27115 F DEBUG : #01 pc 0018aa87 /data/app/PVFkvZvFDwwN7N0zxGQQsQ==/tw.ddnet-XCT0CsAzPtEC0qNAsYjcng==/lib/arm...
Avatar
Whats the point of set_src(GAME_SERVER GLOB_RECURSE src/game/server and a long list of files if we can make like file(GLOB_RECURSE GAME_SERVER "src/game/server/*.cpp" "src/game/server/*.h") or smth that kind (edited)
Exported 584 message(s)