Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.org/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 2024-08-15 00:00 and 2024-08-16 00:00
Avatar
oh lol it's a rust project (the server) (edited)
Avatar
GitHub BOT 2024-08-15 00:38
a single sound asset pack would be a folder containing each sound thoughts?
Avatar
Hello its normal i can’t play on 1080x1080 résolutions pls
Avatar
I didn’t realise 1080x1080 was a valid resolution
Avatar
I think 5:4 is the narrowest supported aspect ratio
Avatar
chillerdragon BOT 2024-08-15 03:40
Yea 1:1 is not supported
Avatar
chillerdragon BOT 2024-08-15 03:43
@Enchanted: 4:3 should work with a bit of border on the side. Does it?
03:44
I did it twice and k2d222 is also on it
Replying to @.A how did nobody do this yet
03:46
But it’s not polished yet. I am also not actively working on it
Avatar
ws-client BOT 2024-08-15 03:53
<ChillerDragon> @.A also git is faster than discord because it skips the step of moving the file into the right place. Unless you set your discord download folder to the the maps folder and let it overwrite existing files somehow.
Avatar
1:1 feels like it should be supported
05:09
the hook is a 1:1 ellipse after all 😅
Avatar
yo. I compiled DDNet yesterday. It's work well. but today, it's broken with about UTF-8, i delete everything in build folder and make it again. but it's broken with it.
Avatar
chillerdragon BOT 2024-08-15 05:29
What is in your buildninja directory?
05:29
Is there a release folder? What’s in it?
05:30
Try deleting the entire build folder and then share all commands you run to compile from scratch and their output. Otherwise we have to guess what you did
05:31
Is it a modified ddnet source code?
05:31
Do you use git?
05:32
Do you use the same rust toolchain as yesterday?
Avatar
Avatar
chillerdragon
What is in your buildninja directory?
i get some problem when I configuration path, so i put a ninja on my directory
Avatar
MilkeeyCat 2024-08-15 05:38
Morning neovim enjoyers and others
Avatar
Avatar
chillerdragon
Is it a modified ddnet source code?
yes, is a line of note by chinese, i guess problem from it
05:40
but i delete it after, its still get problem (edited)
Avatar
chillerdragon BOT 2024-08-15 05:48
So what’s in it
05:48
I did not ask why you named it ninja but what the contents of it is
05:49
I can only help you when you respond to my messages
Avatar
Avatar
chillerdragon
I did not ask why you named it ninja but what the contents of it is
i mean... ddnet\buildninja\ninja.exe here
05:58
may its choosed wrong compiler?
Avatar
chillerdragon BOT 2024-08-15 06:07
So the only file in the buildninja directory is ninja.exe?
06:08
Interesting. I am still waiting for a response to my other questions by the way.
Avatar
back after my week timeout
06:37
kek
Avatar
chillerdragon BOT 2024-08-15 06:38
CensorshipNetwork
Avatar
yep, heino overreactin
Avatar
chillerdragon BOT 2024-08-15 06:39
Pst
Avatar
ups
Avatar
chillerdragon BOT 2024-08-15 06:39
You gonna get banned again
Avatar
then ima have to join irc
06:40
not gonna wait a week again, LOL
Avatar
chillerdragon BOT 2024-08-15 06:40
Yes it’s very anarchy over here
Avatar
heino doesnt like talking things out sadly
Avatar
chillerdragon BOT 2024-08-15 06:42
Hows 0.7 dommy going?
06:42
I really want the nullptr fix on master
Avatar
i can now start working on it, since my ban expired
Avatar
chillerdragon BOT 2024-08-15 06:42
Pog
Avatar
now = later/tomorrow
Avatar
chillerdragon BOT 2024-08-15 06:42
Still good
Avatar
i think i need some help from you tho
Avatar
chillerdragon BOT 2024-08-15 06:43
How can I help
Avatar
tbh, i'm not sure, dunno your translation system too well yet. I thought the translation context for main/dummy should work already
06:44
and it does, but it's not getting updated correctly
06:44
so, probably the translation functions where it stores the stuff is not called on the dummy correctly or smth
06:44
idk
06:44
maybe also Conn != g_Config.m_ClDummy
06:44
that might be breaking aswell, didn't check if i used it correctly in all places
06:45
maybe you can check it out
Avatar
chillerdragon BOT 2024-08-15 06:45
The translation context is only red from if needed
Avatar
the dummy's translation context should always be updated, but not processed
Avatar
Avatar
chillerdragon
Interesting. I am still waiting for a response to my other questions by the way.
hey, i try to reclone and do it again. its broken again.
Avatar
i think names etc. seemed to work
Avatar
chillerdragon BOT 2024-08-15 06:46
So if you write new skin data into the translation context but there is no skin change message it won’t be used
Avatar
but the skin application is still wrong, it has to re-set all skins when switching to dummy/main
Avatar
chillerdragon BOT 2024-08-15 06:46
Then you have to read the translation data on dummy swap
Avatar
тут есть русский чат ?
Avatar
chillerdragon BOT 2024-08-15 06:46
Da
Avatar
Avatar
chillerdragon
Then you have to read the translation data on dummy swap
mind doing that based on my pr?
Avatar
chillerdragon BOT 2024-08-15 06:47
But ruski only in off topic channel
Avatar
i think it's just the skins rn
Avatar
chillerdragon BOT 2024-08-15 06:47
Ja ruski
Avatar
but idk
06:47
че
Avatar
afk chiller, lemme know on wire if we can work on it somehow
Avatar
chillerdragon BOT 2024-08-15 06:47
If you keep withholding information this is not going anywhere.
Replying to @棉裤 hey, i try to reclone and do it again. its broken again.
Avatar
I want it compile with MSVC, its choose the mingw.
Avatar
chillerdragon BOT 2024-08-15 06:48
Remove mingw from path maybe
Avatar
ok, lets me try some.
Avatar
Avatar
MilkeeyCat
@Learath2 function moves all its arguments on da local stack, ye? Even parameters which were passed on stack(for example 7th integer class argument)
Well you don't have to
Avatar
Avatar
MilkeeyCat
@Learath2 function moves all its arguments on da local stack, ye? Even parameters which were passed on stack(for example 7th integer class argument)
You actually don't have to move any of them tbf. Just use from there
Avatar
Avatar
Learath2
You actually don't have to move any of them tbf. Just use from there
MilkeeyCat 2024-08-15 07:03
btw, when call instruction is used, it pushes only return address on a stack(8 bytes on x86_64) or smth else?
Avatar
Avatar
chillerdragon
Remove mingw from path maybe
thx. I check mingw path before. but I missed a path.
Avatar
ws-client BOT 2024-08-15 07:05
<ChillerDragon> @fokkonaut why did you wrap applying skin info in a if statement? https://github.com/ddnet/ddnet/pull/8707/files#diff-0fa773edeac2d5ed37ad1d91ad2229553d2642c45b443ec86ab7350c4ade947cR469
This is WIP, don&#39;t have the time right now to fully test &amp; finish this. It doesn&#39;t work correctly yet, some skin information for example is still not applied correctly and p...
Avatar
Because an update to the main tee shouldn't update the skin on client id x when on dummy
Avatar
ws-client BOT 2024-08-15 07:07
<ChillerDragon> but the name should update on client id x?
07:10
<ChillerDragon> Maybe it would be easier to work with differnent skins per dummy connection if this was an array https://github.com/ddnet/ddnet/blob/6754b5ff457ef0e196c38a377bba0d688479e501/src/game/client/gameclient.h#L452
DDraceNetwork, a free cooperative platformer game. Contribute to ddnet/ddnet development by creating an account on GitHub.
07:10
<ChillerDragon> @fokkonaut what do you think?
Avatar
idk
Avatar
ws-client BOT 2024-08-15 07:10
<ChillerDragon> then it can use the [g_Config.m_ClDummy] in the OnRender
07:11
<ChillerDragon> always store everything that comes from the network and render depending on which tee is active sounds like what you want to achieve
Avatar
Could you do that?
07:12
I'll test it later
07:12
i have no idea what is correct in that pr yet
Avatar
ws-client BOT 2024-08-15 07:12
<ChillerDragon> xd
07:12
<ChillerDragon> ill start from scratch
Avatar
There are not many changes thi
07:17
tho*
Avatar
ws-client BOT 2024-08-15 07:17
<ChillerDragon> yes i had a look
Avatar
localclient id is no array anymore because the whole translation context is an array now
Avatar
ws-client BOT 2024-08-15 07:18
<ChillerDragon> i will give only the skins thing a try and see what happens
Avatar
Avatar
MilkeeyCat
btw, when call instruction is used, it pushes only return address on a stack(8 bytes on x86_64) or smth else?
Just the return adress. Sometimes you may have to align rsp before your call though if it ended up unaligned. You undo that after the call
Avatar
Avatar
Learath2
Just the return adress. Sometimes you may have to align rsp before your call though if it ended up unaligned. You undo that after the call
MilkeeyCat 2024-08-15 07:28
I don't really understand when it can end up unaligned but I'll deal with it when it breaks something xd
Avatar
Avatar
MilkeeyCat
I don't really understand when it can end up unaligned but I'll deal with it when it breaks something xd
It should never happen if you keep your rsp increments to multiples of 16
07:31
(and your first one 8 + a multiple of 16 to get it aligned at the start)
Avatar
heinrich5991 2024-08-15 07:31
he decided to ignore the ABI on that one, wanting obscure errors in the future ^^
Avatar
MilkeeyCat 2024-08-15 07:32
i didn't ignore anything, it pushes and pops stuff as C program -.- (edited)
Avatar
Avatar
heinrich5991
he decided to ignore the ABI on that one, wanting obscure errors in the future ^^
As long as he doesn't call into anything that isn't his language it should(tm) work 😄
Avatar
Avatar
MilkeeyCat
i didn't ignore anything, it pushes and pops stuff as C program -.- (edited)
heinrich5991 2024-08-15 07:33
C programs make sure to keep the stack aligned to 16 bytes
07:33
do you?
Avatar
Avatar
MilkeeyCat
it works for now, if it breaks one day because of alignment ill fix it
heinrich5991 2024-08-15 07:34
here ^
07:34
ah nice
07:35
what's this alignment vs the STACK_ALIGNMENT in the top?
Avatar
MilkeeyCat 2024-08-15 07:35
i was using it before in codegen.rs but then i moved in amd64.rs so i don't need that function
07:38
(even if the offset is 0)
Avatar
MilkeeyCat 2024-08-15 07:39
nop, my maffs is wrong xd
Avatar
heinrich5991 2024-08-15 07:40
The 32-bit unsigned integer type.
Avatar
MilkeeyCat 2024-08-15 07:41
i didn't know such a function existed monkaS
Avatar
@Learath2 if u compile nodejs dont use mold
07:42
it keeps linking infinitely
Avatar
heinrich5991 2024-08-15 07:42
why is that? is there a bug report?
Avatar
Avatar
Ryozuki
@Learath2 if u compile nodejs dont use mold
I use boring old ld
Avatar
GitHub BOT 2024-08-15 07:49
As of right now when connected to a 0.7 server there is no separation between dummy and main tee for skins states of all the clients. So if the server tells your main tee all players have the skin pinky while at the same time telling your dummy all players have the skin saddo there is information loss. This pr fixes it by storing all skins information sent by the server and rendering the correct one depending which tee is currently active (dummy or main). Should help with https://github.co...
Avatar
ws-client BOT 2024-08-15 07:53
<ChillerDragon> @heinrich5991 i feel stupid xd
07:53
<ChillerDragon> why wouldnt there be a dummy in demos?
07:54
<ChillerDragon> the demo format scares me tbh im more a network dude but you can record demos where you switch from main to dummy so there is a dummy? or what do you mean?
07:56
<ChillerDragon> @fokkonaut my pr should(tm), pls test for me thank, fix skin support. If you confirm it works it could be merged as is and then you can check what is still missing. Maybe we need both prs.
Avatar
It definitely needs my pr aswell, yes
07:56
But thanks this will probably solve my issue
07:56
We'll see later
Avatar
ws-client BOT 2024-08-15 07:56
<ChillerDragon> poggers
07:57
<ChillerDragon> im too lazy to code a server that sends fake skins so its easy to test
Avatar
heinrich5991 2024-08-15 07:59
ChillerDragon: AFAIK you can't switch between dummy and main tee in demos
07:59
the demo only contains one view of everything
Avatar
did both chn test servers get knocked offline? i tried voting a map and got connection issues, now they're gone from the browser
Avatar
heinrich5991 2024-08-15 07:59
you can switch during dummy recording
Avatar
ws-client BOT 2024-08-15 07:59
<ChillerDragon> oh hm
Avatar
Avatar
louis
did both chn test servers get knocked offline? i tried voting a map and got connection issues, now they're gone from the browser
heinrich5991 2024-08-15 07:59
got IP+port for me?
Avatar
42.194.148.241:8307
Avatar
42.194.148.241:8307 is an official DDraceNetwork (Test, Region: 🇨🇳) server. Quick join: https://ddnet.org/connect-to/?addr=42.194.148.241:8307/
Avatar
ws-client BOT 2024-08-15 08:00
<ChillerDragon> @heinrich5991 then yeah it might be useless. Shouldn't break anything but is probably not needed.
Avatar
heinrich5991 2024-08-15 08:01
shouldn't be part of the API if it's dead code
Avatar
ws-client BOT 2024-08-15 08:01
<ChillerDragon> yes
08:01
<ChillerDragon> i guess ill code a server then -.-
Avatar
Avatar
louis
42.194.148.241:8307
heinrich5991 2024-08-15 08:05
server seems to still run, but mastersrv registration seems stuck
08:05
2024-08-15 10:02:26 E http: https://master1.ddnet.org/ddnet/15/register failed. libcurl error (28): Operation too slow. Less than 500 bytes/sec transferred the last 5 seconds 2024-08-15 10:02:26 E register/6/ipv4: error sending request to master
Avatar
ws-client BOT 2024-08-15 08:06
<ChillerDragon> whats the password?
08:06
<ChillerDragon> lol
Avatar
heinrich5991 2024-08-15 08:06
idk
Avatar
ws-client BOT 2024-08-15 08:06
<ChillerDragon> still nimrocks
Avatar
heinrich5991 2024-08-15 08:06
I tried that, but didn't work for me 😮
Avatar
ws-client BOT 2024-08-15 08:06
<ChillerDragon> yes its nimrocks
08:06
<ChillerDragon> sucks to be u
08:06
<ChillerDragon> worked for me xd
Avatar
MilkeeyCat 2024-08-15 08:06
xd
Avatar
heinrich5991 2024-08-15 08:06
nvm, mistyped apparently
Avatar
shouldnt i still be able to join even if its not registered?
Avatar
ws-client BOT 2024-08-15 08:07
<ChillerDragon> yes @louis
08:08
<ChillerDragon> get china firewalled axaxax
Avatar
Avatar
louis
shouldnt i still be able to join even if its not registered?
heinrich5991 2024-08-15 08:08
I was able to join, ChillerDragon, too
Avatar
ws-client BOT 2024-08-15 08:08
<ChillerDragon> could you just for kicks try updating the server?
Avatar
heinrich5991 2024-08-15 08:09
you see the error above
08:09
it doesn't look related to anything like that. looks like chinese firewall doing chinese firewall things
Avatar
ws-client BOT 2024-08-15 08:09
<ChillerDragon> classic
Avatar
heinrich5991 2024-08-15 08:09
maybe a restart would fix it because it'll get a different http client port assigned?
Avatar
ws-client BOT 2024-08-15 08:10
<ChillerDragon> turning it off and on again always works
Avatar
what map is active @heinrich5991 ?
08:13
on the chn test server
Avatar
ws-client BOT 2024-08-15 08:13
<ChillerDragon> some loading screen
Avatar
also can you read #deleted-channel when you have time
Avatar
Avatar
ws-client
<ChillerDragon> some loading screen
can u vote some map in vote menu and see if it works
Avatar
ws-client BOT 2024-08-15 08:13
<ChillerDragon> whats admin mail 590 xd
08:13
<ChillerDragon> why is there a 590 in the channel name
08:14
<ChillerDragon> i cant connect anymore i guess heinrich shut it down
08:14
<ChillerDragon> ah nvm im bak
08:14
<ChillerDragon> /map is disabled
08:14
<ChillerDragon> bruv
Avatar
Avatar
ws-client
<ChillerDragon> whats admin mail 590 xd
use vote menu
Avatar
ws-client BOT 2024-08-15 08:15
<ChillerDragon> i tried i got cp now
Avatar
ws-client BOT 2024-08-15 08:15
<ChillerDragon> connection problems?
08:16
<ChillerDragon> ye same
08:16
<ChillerDragon> map vote gives me cp
Avatar
Avatar
ws-client
<ChillerDragon> connection problems?
u can't abbreviate stuff to cp when it's not obvious 😹
Avatar
Avatar
ws-client
<ChillerDragon> map vote gives me cp
ok, i wonder if that's an error then
Avatar
ws-client BOT 2024-08-15 08:19
<ChillerDragon> its been obvious to everyone else in the last 10yrs
Avatar
never heard it used for connection problems
08:21
only checkpoint in ddnet terms
Avatar
ws-client BOT 2024-08-15 08:21
<ChillerDragon> weird
08:25
<ChillerDragon> the ddnet server chosing a free port instead of crashing if 8303 is blocked caused me way more headache than it helped me -.-
Avatar
MilkeeyCat 2024-08-15 08:27
yey, I tried to call C function from my code and it resulted in segfault pepeW
Avatar
ws-client BOT 2024-08-15 08:28
<ChillerDragon> classic C moment
08:29
<ChillerDragon> that means its working @MilkeeyCat
Avatar
heinrich5991 2024-08-15 08:31
ChillerDragon: if you configure the port explicitly, it'll not search for an open port
Avatar
ws-client BOT 2024-08-15 08:32
<ChillerDragon> ye "if"
08:32
<ChillerDragon> but good idea i will do that now at least on my laptop
08:32
<ChillerDragon> the the surprise will be even bigger when its not happening on my desktop xd
Avatar
morning
Avatar
Avatar
heinrich5991
why is that? is there a bug report?
i didnt find any but for me it kept linking for 40 mins
08:46
for the record these are my compile times Fri Apr 26 09:29:20 2024 >>> net-libs/nodejs-20.12.1 merge time: 5 minutes and 46 seconds. Fri Jul 5 13:51:37 2024 >>> net-libs/nodejs-22.3.0 merge time: 9 minutes and 28 seconds. Thu Aug 15 09:41:23 2024 >>> net-libs/nodejs-22.4.1-r1 merge time: 10 minutes and 40 seconds.
08:46
last is without mold, i think it uses ldd
Avatar
heinrich5991 2024-08-15 08:47
ldd isn't a linker, is it?
Avatar
lld
08:47
sorry xd
08:48
Avatar
MilkeeyCat 2024-08-15 08:50
Let's goooo
Avatar
Avatar
MilkeeyCat
Let's goooo
You already have ffi? 💪
Avatar
Avatar
Learath2
You already have ffi? 💪
MilkeeyCat 2024-08-15 09:27
it should work with any amount of integer class params (edited)
09:27
i will try to pass a pointer to a struct and hope to not see segfault xd
Avatar
Are your structs laid out in the c way?
Avatar
MilkeeyCat 2024-08-15 09:28
they should be
Avatar
Do you respect padding?
Avatar
MilkeeyCat 2024-08-15 09:28
ye
09:28
idk about nested structs tho
09:29
but im 50% sure it should work
Avatar
now pass a float
Avatar
MilkeeyCat 2024-08-15 09:30
naaah, i don't fuck with floats
09:30
they're hard
Avatar
MilkeeyCat 2024-08-15 09:42
@Learath2 i tried dis and it returns 178 xd
09:42
at least not a segfault xdddd
Avatar
Avatar
MilkeeyCat
@Learath2 i tried dis and it returns 178 xd
Well that's correct
09:43
y disappointed tone? (edited)
Avatar
Avatar
Learath2
Well that's correct
MilkeeyCat 2024-08-15 09:44
wot, shouldn't it be 690? -.-
Avatar
Avatar
MilkeeyCat
wot, shouldn't it be 690? -.-
How do you want it to fit 690 into an uint8?
Avatar
MilkeeyCat 2024-08-15 09:45
ok, fair kek
Avatar
It just got truncated 690 mod 256 = 178
Avatar
MilkeeyCat 2024-08-15 09:45
ok, it actually works poggers2 holly shit
Avatar
Try weird stuff with alignment
Avatar
MilkeeyCat 2024-08-15 09:46
add u64?
Avatar
u8, u64, u8
09:47
should cause padding
09:48
or u16 if you don't have u64 still
Avatar
MilkeeyCat 2024-08-15 09:48
i added 32/64 bit integers
Avatar
and you didn't let me know? wtf
Avatar
Avatar
Learath2
and you didn't let me know? wtf
MilkeeyCat 2024-08-15 09:49
i added 32/64 bit integers btw justatest
Avatar
MilkeeyCat 2024-08-15 09:50
returns 84 😏
Avatar
Nicely done
Avatar
MilkeeyCat 2024-08-15 09:56
i have a cursed idea how to call printf xd
09:56
lemme try
Avatar
Avatar
MilkeeyCat
i have a cursed idea how to call printf xd
Careful, varargs are passed differently
Avatar
MilkeeyCat 2024-08-15 09:57
ok, i don't have an idea anymore
09:58
is format passed like a regular argument?
Avatar
GitHub BOT 2024-08-15 10:01
Currently, attributions are given either appended to the name (which is awkward when you want to see a specific author's profile), or added in the image (which is also awkward for obvious reasons) I suggest making a list of attributions. So if whis makes greyfox.png, the attribution list starts empty. Bob edits greyfox and uploads bob_greyfox.png, and Bob is required to add "whis" to an attributes list. Joe edits bob_greyfox.png, and the attributes list becomes ["whis", "Bob"]. I'm also o...
Avatar
Avatar
MilkeeyCat
is format passed like a regular argument?
Actually, with your limitation of just integer arguments you might be fine
Avatar
heinrich5991 2024-08-15 10:01
thanks @louis
Avatar
ws-client BOT 2024-08-15 10:07
<ChillerDragon> @MilkeeyCat dont call printf start with puts
10:08
<ChillerDragon> Imo every C hello world tutorial out there is wrong. They all do printf("hello world\n"); when it should be puts("hello world");
Avatar
MilkeeyCat 2024-08-15 10:08
void printf(u8 *format); u8 main() { u8 end; end = 0; u8 d; d = 100; u8 l; l = 108; u8 r; r = 114; u8 o; o = 111; u8 w; w = 119; u8 space; space = 32; u8 comma; comma = 44; u8 o2; o2 = o; u8 l2; l2 = l; u8 l3; l3 = 108; u8 e; e = 101; u8 H; H = 72; printf(&H); }
10:08
xd
Avatar
ws-client BOT 2024-08-15 10:09
<ChillerDragon> LGTM
10:09
<ChillerDragon> why backwards tho
Avatar
heinrich5991 2024-08-15 10:10
ChillerDragon: gcc optimizes printf("hello world\n") to puts("hello world")
Avatar
Avatar
ws-client
<ChillerDragon> why backwards tho
MilkeeyCat 2024-08-15 10:11
because it doesn't work other way around xd
Avatar
ws-client BOT 2024-08-15 10:11
<ChillerDragon> @heinrich5991 yes so? they are still wrong
10:12
<ChillerDragon> if you want a newline and no format arguments the way to go is puts and gcc knows that but the ppl doing C tutorials apparently dont
10:13
<ChillerDragon> @MilkeeyCat lol
Avatar
heinrich5991 2024-08-15 10:14
hmm I can understand it
Avatar
Avatar
GitHub
Click to see attachment 🖼️
@Jupstar ✪ maybe you are interested in this since you do the skindb bot
Avatar
heinrich5991 2024-08-15 10:14
I'd probably also reach for printf instead of puts in the general case
10:15
even if I have a newline
10:15
since it's more general
10:15
and I guess the C tutorials think the same. no need to teach two functions when people will need printf anyway
Avatar
Avatar
louis
@Jupstar ✪ maybe you are interested in this since you do the skindb bot
Jupstar ✪ 2024-08-15 10:16
sounds interesting, but also not trivial enough to do it in an hour
10:16
@heinrich5991 what is author list?
Avatar
i think he means author becomes a list of string instead of a string
Avatar
Jupstar ✪ 2024-08-15 10:16
and what is the diff to what you want? 😄
10:16
simply that it is alawys a list?
Avatar
mine separates the last editor by making it the author, and all previous editors who need attribution as a list of string
Avatar
heinrich5991 2024-08-15 10:17
either have author=Jupstar contributors=[whis], or authors=[Jupstar, whis]
Avatar
Jupstar ✪ 2024-08-15 10:17
ah
Avatar
Avatar
Learath2
Actually, with your limitation of just integer arguments you might be fine
MilkeeyCat 2024-08-15 10:17
it's 200 justatest (edited)
Avatar
Jupstar ✪ 2024-08-15 10:17
yeah i guess just a list is easier
10:17
we can alawys but the main author of the change in front
Avatar
from my github reply:
Then you have to solve unwanted edits showing up in the author profiles of original creators A way of making that work is to assume the first author is always the most recent creator, easier for skin creators but a bit jank otherwise
Avatar
Jupstar ✪ 2024-08-15 10:17
if that matters
Avatar
Avatar
MilkeeyCat
it's 200 justatest (edited)
What's with the extra mess at the end?
Avatar
Jupstar ✪ 2024-08-15 10:18
yeah but tbh, i dont think i do that any time soon. bcs i have to touch php & python
Avatar
Jupstar ✪ 2024-08-15 10:18
that is a downer
10:18
lol
Avatar
Avatar
Learath2
What's with the extra mess at the end?
MilkeeyCat 2024-08-15 10:18
it's %d part
10:19
xd
10:19
and i passed 200
Avatar
You obviously didn't, duh
Avatar
Avatar
Learath2
You obviously didn't, duh
MilkeeyCat 2024-08-15 10:19
printf(&H, 200);
Avatar
Pass 200 a couple times I'm curious what happens
Avatar
MilkeeyCat 2024-08-15 10:19
different values xd
Avatar
No like printf(&H, 200, 200, 200)
Avatar
MilkeeyCat 2024-08-15 10:21
im passing it 5 times and still garbage value
10:21
it's a feature
10:21
random number generator
Avatar
Now I'm curious where the garbage value is coming from, is it random garbage?
10:22
Is your rsp aligned properly before your call instruction?
Avatar
MilkeeyCat 2024-08-15 10:22
who knows justatest
Avatar
check them rn
Avatar
MilkeeyCat 2024-08-15 10:24
.section .text .global main main: push rbp mov rbp, rsp sub rsp, 16 mov byte ptr [rbp - 1], 0 mov byte ptr [rbp - 2], 100 mov byte ptr [rbp - 3], 37 mov byte ptr [rbp - 4], 32 lea r15, [rbp - 2] mov r14b, byte ptr [r15] mov byte ptr [rbp - 5], r14b mov byte ptr [rbp - 6], 108 mov byte ptr [rbp - 7], 114 mov byte ptr [rbp - 8], 111 mov byte ptr [rbp - 9], 119 lea r15, [rbp - 4] mov r14b, byte ptr [r15] mov byte ptr [rbp - 10], r14b mov byte ptr [rbp - 11], 44 lea r15, [rbp - 8] mov r14b, byte ptr [r15] mov byte ptr [rbp - 12], r14b lea r15, [rbp - 6] mov r14b, byte ptr [r15] mov byte ptr [rbp - 13], r14b mov byte ptr [rbp - 14], 108 mov byte ptr [rbp - 15], 101 mov byte ptr [rbp - 16], 72 lea r14, [rbp - 16] mov r15, r14 mov rdi, r15 mov r15b, 200 mov rsi, r15 call printf main_ret: add rsp, 16 leave ret pepeH
Avatar
heinrich5991 2024-08-15 10:25
need mov r15, 200
10:25
otherwise you'll get some garbage from the upper bytes of r15
Avatar
Avatar
MilkeeyCat
it's 200 justatest (edited)
heinrich5991 2024-08-15 10:26
>>> -361604408 & 0xff 200
Avatar
MilkeeyCat 2024-08-15 10:27
whoopsie daisy
Avatar
bug found in codegen
Avatar
MilkeeyCat 2024-08-15 10:28
it's a random number generator feature*
10:28
but sadly i have to disable it
10:29
ok, fixed xd
Avatar
ws-client BOT 2024-08-15 10:30
<ChillerDragon> @heinrich5991 you are just tutorial brainwashed. puts is goated.
Avatar
Actually is it a codegen issue?
10:32
I think you are just printing it with the wrong specifier, no?
Avatar
MilkeeyCat 2024-08-15 10:32
ye, it had harcoded register size xd
Avatar
Shouldn't it be %hhd to print an 8bit integer?
Avatar
MilkeeyCat 2024-08-15 10:32
mov r15b, 200 movzx rsi, r15b now it generates this and it works 😄 (edited)
Avatar
ws-client BOT 2024-08-15 10:32
<ChillerDragon> %hhu
Avatar
Why is it in two steps anyway?
Avatar
MilkeeyCat 2024-08-15 10:33
because it always loads literals in a register xd
Avatar
That sounds like a bit of a waste 😄
Avatar
MilkeeyCat 2024-08-15 10:38
my main goal it to make it work
10:38
and it does poggers2
10:39
(passing structs by value for noobs)
Avatar
When adding strings?
Avatar
MilkeeyCat 2024-08-15 10:39
are null terminated strings good? (edited)
Avatar
If you want your strings to work with C, yes
Avatar
MilkeeyCat 2024-08-15 10:40
i think it wont be that hard xd
10:41
i already have u8 type, should I just make a char type an alias for u8? :\
Avatar
-char +byte
10:42
>:D
10:43
native utf8 support, when?
Avatar
MilkeeyCat 2024-08-15 10:43
ascii is all you need
Avatar
Avatar
MilkeeyCat
ascii is all you need
Jupstar ✪ 2024-08-15 10:43
😏
Avatar
MilkeeyCat 2024-08-15 10:45
i think ill add typedefs first
Avatar
Jupstar ✪ 2024-08-15 10:45
make a feature that allows typedefs but the new type is handled as different type
Avatar
MilkeeyCat 2024-08-15 10:45
like in golang?
Avatar
Jupstar ✪ 2024-08-15 10:45
then you could e.g. make width and height both u32 but handled as new type
Avatar
Avatar
MilkeeyCat
like in golang?
Jupstar ✪ 2024-08-15 10:46
is it like this there?
10:46
i never really used go
Avatar
Avatar
chillerdragon
@Enchanted: 4:3 should work with a bit of border on the side. Does it?
the 4:3 works perfectly without the borders but in 1080x1080 I have a gray bar at the bottom of the screen
Avatar
Avatar
Enchanted
the 4:3 works perfectly without the borders but in 1080x1080 I have a gray bar at the bottom of the screen
Jupstar ✪ 2024-08-15 10:46
1:1 is not supported
Avatar
Avatar
Jupstar ✪
is it like this there?
MilkeeyCat 2024-08-15 10:48
Avatar
Avatar
MilkeeyCat
Click to see attachment 🖼️
Jupstar ✪ 2024-08-15 10:48
ah cool
Avatar
MilkeeyCat 2024-08-15 10:49
and I wont make type word a keyword
10:49
i have so many variables called type_ and it's ugly pepeW
Avatar
Jupstar ✪ 2024-08-15 10:52
call them ty
10:52
is shorter
10:52
and if u always do it it's consistent
Avatar
MilkeeyCat 2024-08-15 10:53
i just don't like _ at the end of the name xd
Avatar
Jupstar ✪ 2024-08-15 10:53
yes xd
Avatar
Avatar
Jupstar ✪
1:1 is not supported
Why
Avatar
MilkeeyCat 2024-08-15 10:54
if i add strings and arrays, it will be possible to make something cool in da lang
Avatar
Avatar
Enchanted
Why
Jupstar ✪ 2024-08-15 10:55
bcs the ui breaks in 1:1, so it was decided to not do it
Avatar
MilkeeyCat 2024-08-15 10:55
im sure it's possible even now but it will be not fun to work with arrays
Avatar
Jupstar ✪ 2024-08-15 10:55
there are no 1:1 monitors
Avatar
Avatar
MilkeeyCat
im sure it's possible even now but it will be not fun to work with arrays
Jupstar ✪ 2024-08-15 10:55
arrays can be hard, true xd
Avatar
MilkeeyCat 2024-08-15 10:56
hm, i don't really know what will be hard about them but if it is i will find out justatest
10:56
i wanna connect a tee to ddnet server xd
10:59
oh, i still don't have control flow statements...
Avatar
Avatar
MilkeeyCat
and I wont make type word a keyword
make it a keyword, but allow keywords as labels shadowing the actual keyword, total chaos
11:28
It'll also make your language not context-free, even more mess
Avatar
Avatar
Learath2
make it a keyword, but allow keywords as labels shadowing the actual keyword, total chaos
MilkeeyCat 2024-08-15 11:28
monkaStop
11:29
ill probably use typedef keyword xd
Avatar
GitHub BOT 2024-08-15 12:19
I'm using Nightly-build version on my Arch Linux x64. I found the sixup support on client cause a bug: First to join a 0.7 server to received some messages from 0.7 players. This step will keep a 0.7 skin on your chat line. Next, join a 0.6 server. And you will found that 0.7 skins in last server was displayed wrongly on chat line. That means, you will see the chat from a 0.6 player who has skin that from 0.7. Maybe he even was displayed with your 0.7 skin on chat line.
Avatar
I have sixup enabled, but looks like server won't even try to register on 0.7 master, what setting should I twist?
Avatar
heinrich5991 2024-08-15 12:20
you need to have a 0.7 map, I think
12:20
in maps7/
12:20
have you checked the logs?
Avatar
yep, logs have only register/6/ipv4 lines, there should be register/7 right?
Avatar
heinrich5991 2024-08-15 12:22
do the log say anything about disabling 0.7 support?
12:22
could you paste the logs somewhere?
Avatar
Avatar
MilkeeyCat
i have so many variables called type_ and it's ugly pepeW
kind
12:22
justatest
Avatar
MilkeeyCat 2024-08-15 12:22
kind is not the same for me xd
Avatar
Avatar
zhn
kind
heinrich5991 2024-08-15 12:23
usually works, but in this case it's about actual programming language types
12:23
would be weird to call those "kinds"
Avatar
id use more context for name then, like variable_type
12:23
ye kind misused there xd
Avatar
Avatar
heinrich5991
could you paste the logs somewhere?
maps are probably the issue, i have like 0 0.7 maps for my current ones. here are the logs: https://pastebin.com/wKuj6m38
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Avatar
Avatar
Anime.pdf
maps are probably the issue, i have like 0 0.7 maps for my current ones. here are the logs: https://pastebin.com/wKuj6m38
heinrich5991 2024-08-15 12:28
hmmm, can you try running with stdout_output_level 1?
12:28
I think we have a log with bad severity…
Avatar
Avatar
heinrich5991
hmmm, can you try running with stdout_output_level 1?
looks identical
Avatar
heinrich5991 2024-08-15 12:31
hmmmmmmmmmm
12:32
no "disabling 0.7 compatibility" log message?
Avatar
Nope
12:33
I mean, if I was missing maps, it would probably log it, but it says nothing at all
Avatar
heinrich5991 2024-08-15 12:35
can you check the value of sv_sixup on the running server?
Avatar
hm, its 0
Avatar
heinrich5991 2024-08-15 12:37
but you set it to 1, right?
Avatar
yes
12:38
I don't get why you don't see the log message though
Avatar
Even if I enable sv_sixup while server is up, it doesn't show any errors, but fails to register for sure ... sv_sixup 1 > fifo ... 2024-08-15 12:45:55 I register/7/ipv4: registering... 2024-08-15 12:45:55 I console: executing 'types/anime/flexreset.cfg' 2024-08-15 12:45:55 I console: executing 'reset.cfg' 2024-08-15 12:45:55 I tuning: laser_bounce_num changed to 1000.00 2024-08-15 12:45:55 I tuning: grenade_lifetime changed to 2.00 2024-08-15 12:45:55 I tuning: laser_reach changed to 800.00 2024-08-15 12:45:55 I console: executing 'types/anime/flexname.cfg' 2024-08-15 12:45:55 I console: executing 'types/anime/flexvotes.cfg' 2024-08-15 12:45:55 I server: option ' ' already exists 2024-08-15 12:45:55 I console: executing 'types/anime/votes.cfg' 2024-08-15 12:45:55 I teehistorian: recording to 'teehistorian/474246fd-7af9-4cd3-be81-28c2fb042fc2.teehistorian' 2024-08-15 12:45:55 I sql: failed to open wordlist, using fallback 2024-08-15 12:45:55 I sql: [4] load best time done on read database 0 (edited)
12:41
weird thingie, but thanks!
Avatar
Jupstar ✪ 2024-08-15 12:41
hav u verified u on latest master
Avatar
heinrich5991 2024-08-15 12:41
why is there a - at the end of the registering… log line?
12:42
I think this is a different problem. the problem from yesterday affected 0.6 registering, not 0.7 registering
Avatar
Avatar
heinrich5991
why is there a - at the end of the registering… log line?
sorry, probably missclick, does not present in logs
Avatar
Avatar
Anime.pdf
Even if I enable sv_sixup while server is up, it doesn't show any errors, but fails to register for sure ... sv_sixup 1 > fifo ... 2024-08-15 12:45:55 I register/7/ipv4: registering... 2024-08-15 12:45:55 I console: executing 'types/anime/flexreset.cfg' 2024-08-15 12:45:55 I console: executing 'reset.cfg' 2024-08-15 12:45:55 I tuning: laser_bounce_num changed to 1000.00 2024-08-15 12:45:55 I tuning: grenade_lifetime changed to 2.00 2024-08-15 12:45:55 I tuning: laser_reach changed to 800.00 2024-08-15 12:45:55 I console: executing 'types/anime/flexname.cfg' 2024-08-15 12:45:55 I console: executing 'types/anime/flexvotes.cfg' 2024-08-15 12:45:55 I server: option ' ' already exists 2024-08-15 12:45:55 I console: executing 'types/anime/votes.cfg' 2024-08-15 12:45:55 I teehistorian: recording to 'teehistorian/474246fd-7af9-4cd3-be81-28c2fb042fc2.teehistorian' 2024-08-15 12:45:55 I sql: failed to open wordlist, using fallback 2024-08-15 12:45:55 I sql: [4] load best time done on read database 0 (edited)
Jupstar ✪ 2024-08-15 12:43
it must be before starting the server or not xd
Avatar
Avatar
Jupstar ✪
it must be before starting the server or not xd
I think it doesn't matter, you can enable it on-fly
Avatar
Jupstar ✪ 2024-08-15 12:45
mh k. few years ago it was pretty picky
Avatar
Avatar
Jupstar ✪
hav u verified u on latest master
just updated to lastest commit, message does not present
Avatar
Jupstar ✪ 2024-08-15 12:48
tja
Avatar
GitHub BOT 2024-08-15 12:48
Not sure why it was on debug level before.

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 (especially base/) or added coverage to integration test
  • [ ] 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](ht...
Avatar
heinrich5991 2024-08-15 12:49
but have you tried on tomorrow's master yet? :p
Avatar
what's that justatest
Avatar
heinrich5991 2024-08-15 12:50
with the PR I just opened 😄
Avatar
Yes! It works perfectly
Avatar
heinrich5991 2024-08-15 12:55
it tells you that it disables 0.7 support?
Avatar
Exactly
Avatar
Jupstar ✪ 2024-08-15 12:58
mh when standing still, cpp version is really almost unbeatable in network traffic. (21 tees comparision) when all tees are active, then it can be beaten. I guess that is mostly related to the fact that compression algos like zstd are better the bigger the packets get (edited)
Avatar
heinrich5991 2024-08-15 13:07
do you have a dictionary for the zstd compression?
Avatar
Jupstar ✪ 2024-08-15 13:07
nope
13:07
but i do snapshot diffing
Avatar
heinrich5991 2024-08-15 13:07
the dictionary might make a difference, you could try that
Avatar
Jupstar ✪ 2024-08-15 13:07
there is use a older snapshot as dict
Avatar
Avatar
heinrich5991
the dictionary might make a difference, you could try that
Jupstar ✪ 2024-08-15 13:08
yeah, some day. in development it's too much effort, since it will break anyway
Avatar
heinrich5991 2024-08-15 13:08
ah, you compress the new snapshot using the old?
Avatar
Jupstar ✪ 2024-08-15 13:08
but i am generally open for it
Avatar
Avatar
heinrich5991
ah, you compress the new snapshot using the old?
Jupstar ✪ 2024-08-15 13:08
yes
Avatar
heinrich5991 2024-08-15 13:08
in some sense, the C++ implementation has such a custom dictionary
13:08
since it has a huffman coding trained on teeworlds traffic
Avatar
Avatar
heinrich5991
since it has a huffman coding trained on teeworlds traffic
Jupstar ✪ 2024-08-15 13:09
ah, that is defs cool
13:10
with 64 active tees, the rust version beats the cpp version by around 16%
13:10
with only 1 active tee however it looses by like 60% xD
Avatar
heinrich5991 2024-08-15 13:11
dictionaries are especially important on short data
Avatar
Jupstar ✪ 2024-08-15 13:11
and standing still also still performs better in cpp version. but maybe i could also improve the snapshots i create.. maybe i create too much useless increasing ticks
Avatar
heinrich5991 2024-08-15 13:11
so I guess you might win everywhere with a dict
13:11
ah yea, the c++ version tries to avoid ticks, I think(?)
Avatar
Avatar
heinrich5991
so I guess you might win everywhere with a dict
Jupstar ✪ 2024-08-15 13:12
yeah, would be cool 😄 i am thinking about having some kind of dict downloader. so it's not bound to one. But not sure yet
13:12
I am happy that it's at least not too bad considering the snapshots are binary data for the server and not a known format
Avatar
Avatar
heinrich5991
ah yea, the c++ version tries to avoid ticks, I think(?)
Jupstar ✪ 2024-08-15 13:12
it has many tricks
Avatar
Avatar
Jupstar ✪
I am happy that it's at least not too bad considering the snapshots are binary data for the server and not a known format
heinrich5991 2024-08-15 13:13
uh nice
13:13
that's amazing
Avatar
Jupstar ✪ 2024-08-15 13:14
one thing i hope that scales, is not having any tricks with ticks etc. but have a game state similar to a json object, which really defines the full game, without any knowledge of previous ticks
13:14
all the custom formats like demo and here snapshot sending can ofc still create snap diffs to save space
13:15
early tests show that the demo format is around 300% more efficient well or other way around 3x smaller in size
13:15
but ofc i also don't code ddnet rn, so it's not entirely fair
13:15
vanilla doesnt keep so much state.. i dunno the change of states in ddnet related code
Avatar
Avatar
Jupstar ✪
early tests show that the demo format is around 300% more efficient well or other way around 3x smaller in size
heinrich5991 2024-08-15 13:18
your demo format or ddnet's is smaller? (edited)
Avatar
Avatar
heinrich5991
your demo format or ddnet's is smaller? (edited)
Jupstar ✪ 2024-08-15 13:19
yeah the new format is smaller.. but let's be honest, ddnet uses zlib or smth that alone is already bad xD
13:19
if i locally compress using lzma2 the file size decreases insanely too
13:19
for ddnet ones
Avatar
heinrich5991 2024-08-15 13:22
ddnet doesn't even use deflate/zlib for demos
13:22
does your format support seeking?
Avatar
Jupstar ✪ 2024-08-15 13:23
it saves a index that allows to seek a group of snapshots basically
13:23
ah wait
13:24
ah ok nvm
13:24
xD
13:24
u mean like going to the mid of the demo right?
13:24
if that's what u mean then yes it supports it
Avatar
heinrich5991 2024-08-15 13:24
yes
13:24
(preferably without having to read and decompress everything that came before that)
Avatar
Jupstar ✪ 2024-08-15 13:25
yes it basically saves chunks of snapshots
13:25
so it does decompress a few snapshots it doesnt need
13:25
in terms of time, it happens in under 1ms
13:25
(on my pc)
Avatar
Jupstar ✪ 2024-08-15 13:34
well anyway, maybe i'd need some kind of tick trick for standing tees, e.g. idle tees that bounce create annoying diff. on the other hand side, my snapshots currently are so simple. just collect stuff and serialize it to binary.. rest happens automatically. It's really the question how much traffic pressure we realistically have. bcs you can also simply send snapshots less often. sending it every forth tick ofc decreases the rate significantly already. Only component that suffers from this is demos 😄 (edited)
13:36
tsfreddie already did tests once: https://github.com/ddnet/ddnet/pull/3562
Avatar
GitHub BOT 2024-08-15 13:37
438e04f Complain on higher log level that 0.7 support was disabled - heinrich5991 2748cf5 Merge pull request #8732 from heinrich5991/pr_ddnet_louder_sixup_disabling - def-
Avatar
GitHub BOT 2024-08-15 14:40
This would cut down masterserver traffic a little if game servers register with multiple protocols. Still needs a different request for IPv4 and IPv6 though.
Avatar
I wonder if I'm the first person to compile a new kernel in the middle of the sea 🙃
Avatar
Above or under water?
Avatar
hi im new in the server can any one do a speed run with me
Avatar
is it possible to add a timer to the hook?
Avatar
Jupstar ✪ 2024-08-15 17:10
possible yes. but wont happen
Avatar
I have a problem, why is the png 188 and yesterday it was 70 or 80 and also the game gets interrupted even though my device is powerful? What are the reasons?
Avatar
Avatar
Zero
I have a problem, why is the png 188 and yesterday it was 70 or 80 and also the game gets interrupted even though my device is powerful? What are the reasons?
Jupstar ✪ 2024-08-15 17:11
maybe your internet or the internet from server is laggy today
17:11
$ddos
Avatar
This command was not found.
Avatar
Jupstar ✪ 2024-08-15 17:11
./ddos shows current ddos of servers
Avatar
/ddos shows current ddos of servers
17:12
So when is the solution?
Avatar
Jupstar ✪ 2024-08-15 17:13
hope that the ddos stops
17:13
try a different server
Avatar
This ping only in kog
Avatar
Jupstar ✪ 2024-08-15 17:13
$kog
Avatar
Avatar
Jupstar ✪
$kog
KoG affiliation, registration and login
First and foremost: DDNet and KoG aren't affiliated. If you need help on a server related to KoG, join their Discord server by clicking on the link below.
Avatar
Avatar
Jupstar ✪
try a different server
There are no two servers in Kog, which has a great number and the last ping is very bad
Avatar
Avatar
Zero
There are no two servers in Kog, which has a great number and the last ping is very bad
Jupstar ✪ 2024-08-15 17:15
$kog
Avatar
Avatar
Jupstar ✪
$kog
KoG affiliation, registration and login
First and foremost: DDNet and KoG aren't affiliated. If you need help on a server related to KoG, join their Discord server by clicking on the link below.
Avatar
Jupstar ✪ 2024-08-15 17:15
ask on kog discord
17:15
nothing we can do
17:15
but if their servers lag and there is no other location that sounds bad
Avatar
ok thx
17:17
ouch
Avatar
Jupstar ✪ 2024-08-15 17:18
@K4_6U this is dev chat. ask in #general for other players to play with you 😄
17:18
ok
Avatar
Jupstar ✪ 2024-08-15 17:18
or simply join a ingame server and ask ppl 😄
17:18
i have a skin in ddnet
17:19
i will show it to you
17:19
17:19
is it good or no
Avatar
Jupstar ✪ 2024-08-15 17:20
looks like a 3 years old discovered paint
Avatar
Jupstar ✪ 2024-08-15 17:20
soz
17:20
i am no artist
Avatar
is it good
Avatar
Jupstar ✪ 2024-08-15 17:20
maybe i don't understand what masterful things are in there
17:21
maybe you tried to create the akatsuki logo
Avatar
are you a ronot
17:21
robot
Avatar
Jupstar ✪ 2024-08-15 17:21
think_bot
Avatar
or a real person
Avatar
Jupstar ✪ 2024-08-15 17:21
you are talking to ChatGPT 8
17:21
Welcome
Avatar
hahahahahaha
17:22
ok
17:22
can i add my skin in ddnet
17:22
Avatar
Jupstar ✪ 2024-08-15 17:22
#📬submit-skins #📍info
17:22
thanks
Avatar
Jupstar ✪ 2024-08-15 17:22
but dont expect others like it xd
Avatar
why are relative paths not allowed when importing go modules
17:59
i feel scammed
Avatar
use a workspace
18:00
tho, I don't like them personally
18:01
might wanna tell what you want to do
18:01
or rather why
Avatar
i just wanted to clean up my main.go a bit kekw
18:03
it's just too long of an import?
18:03
you can name your module wurst in the go.mod
Avatar
how can i import a single file, golang confusing
Avatar
let me explain
18:04
open your go.mod
Avatar
yes m'lord
Avatar
at the top you have a module name
Avatar
yes m'lord
Avatar
Avatar
meloƞ
i just wanted to clean up my main.go a bit kekw
MilkeeyCat 2024-08-15 18:05
why is your main.go not in cmd D:
Avatar
for libraries it's better to be called whatever the url is for importing it and for an actual application that is not supposed to be used as a library, you can call it whatever you want, e.g. wurst
18:05
so you wurst is the root path of your import
18:06
wurst/logfile
18:06
would import logfile
18:06
if the module in go.mod is called github.com/melon/wurst
18:06
the the import path would be github.com/melon/wurst/logfile
18:07
then
18:07
main packages cannot be imported
Avatar
given whatever my module is called i can import and use anything under it's structure huh
18:08
neat
18:09
a little bit like python, I guess
Avatar
hello guys do you know how to setup a gctf server with the bridge???
18:12
cause I just did one but with 0.7 :/
Avatar
you mean chiller's mod?
Avatar
i'd like the server could be accessible by ddnet and 0.7
Avatar
called ddnet-insta
18:13
found on github
18:13
does exactly that
18:13
I also host them
18:13
chiller as well
18:15
A teeworlds instagib (grenade/laser capture the flag) mod based on DDRaceNetwork (gctf/ictf) - ddnet-insta/ddnet-insta
Avatar
i need to compile it?
Avatar
I would suggest you compile it
18:16
the latest release is somewhat outdated
18:16
are you on ubuntu or debian?
Avatar
idk I can change anyway
18:17
i just setup a ubuntu 20.04
Avatar
there are dependency installation instructions seemingly for most in the official ddnet repo
18:18
sudo apt install build-essential cargo cmake git glslang-tools google-mock libavcodec-extra libavdevice-dev libavfilter-dev libavformat-dev libavutil-dev libcurl4-openssl-dev libfreetype6-dev libglew-dev libnotify-dev libogg-dev libopus-dev libopusfile-dev libpng-dev libsdl2-dev libsqlite3-dev libssl-dev libvulkan-dev libwavpack-dev libx264-dev python3 rustc spirv-tools`
18:18
will take a while
18:19
theoretically you don't need to install client dependencies but it's easier to build everything, so just install all dependencies
18:20
after the installation finished
Avatar
so I need to install ddnet then ddnet-insta?
Avatar
git clone --recursive https://github.com/ddnet-insta/ddnet-insta cd ddnet-insta mkdir build cd build cmake .. make -j$(nproc)
18:21
no
18:21
use these commands
Avatar
you just use the ddnet build instructions to build ddnet-insta
18:21
chiller is referencing these in his README.md
18:22
so in ddnet-insta there are no build instructions
Avatar
ah yes ok i see: Building on Linux and macOS To compile DDNet yourself, execute the following commands in the source root: mkdir build cd build cmake .. make -j$(nproc)
Avatar
still upgrading everything currently ^^
Avatar
that's a big download
Avatar
for configuring gctf
Avatar
i just do a normal cfg file?
18:23
there are multiple repos there
18:24
one of the repos is maps, one of them is cfg
18:24
you can basically use the cfg repo for configuration (edited)
18:24
I'm personally using the cfg repo with a few small modifications
18:25
anyway ty @jxsl13
18:26
it's sad we have 2 different tw now 😢
saddo 1
Avatar
crazy cfg xd
Avatar
just 01 and 02 are running
18:30
t0x is for tournament
18:30
that's roughly the layout if you want to somewhat easily use the cfg repo (edited)
Avatar
im building rn
👍 1
Avatar
@jxsl13 why in the insert slur here do i have to make global variables start with a Capital letter kekw
18:31
my lsp didnt say anything and i was so confused
Avatar
before everything was easier for servers 😒
Avatar
you don't
18:32
Go's public/private field modifiers(?) are bases on name capitalization
18:33
if you want to access the global variable from outside of a package, you'd have to make the first letter uppercased
18:33
same with struct fields
18:33
and function names, method names, types, etc
Avatar
Avatar
jxsl13
if you want to access the global variable from outside of a package, you'd have to make the first letter uppercased
yeah that's what i meant, sorry, but why kekw
Avatar
dunno
18:34
maybe compilation speed? who knows
Avatar
Avatar
Puch
before everything was easier for servers 😒
nah, it was pain in ass back then
18:34
its a lot easier now (edited)
Avatar
bam for the win
18:34
._: not
Avatar
i mean you just dl an exe and 1 cfg or more
18:34
what was complicated xd
Avatar
you can download an outdated version
18:35
it's precompiled
18:35
would not recommend
18:35
@ChillerDragon, release a new ddnet-insta version
Avatar
kekw - go wtf (edited)
Avatar
Avatar
Puch
i mean you just dl an exe and 1 cfg or more
i rarely saw linux builds of mods on teeworlds.com
18:35
.mkv moment
Avatar
video is gone
Avatar
check irc
Avatar
link pls D:
18:36
gimme web client
Avatar
just a video where i blame go with that
18:37
wdym path isnt available?!?!? OOhh it needs to be Path
Avatar
you will like the lsp
18:37
when you start questioning your life
Avatar
because there is a syntax error 300 lines below
Avatar
Jupstar ✪ 2024-08-15 18:38
go to python
Avatar
and your auto completion and everything else is broken
Avatar
due to that syntax error
Avatar
Avatar
Jupstar ✪
go to python
sux
Avatar
tbf, gopls as my neovim LSP is pretty decent
Avatar
might wanna invest some bucks into Goland
18:38
if you want to fight that problem with money xD
18:38
or learn to live with it
18:39
._: <-- see the third eye
Avatar
Jupstar ✪ 2024-08-15 18:39
alias gopls='sudo shutdown'
Avatar
vscode's auto import is shit
18:40
sometimes it's guessing imports from your local module cache
18:40
modules that are not even defined as dependencie sin your go.mod
Avatar
Jupstar ✪ 2024-08-15 18:40
what are imports?
18:40
never heard of that
Avatar
main.go master race
18:41
me neither 😛
Avatar
Jupstar ✪ 2024-08-15 18:41
car.go
Avatar
this is to complicated, will just write a 5K LoC main.go file
18:42
the first and last one
Avatar
build done
Avatar
there is not a DDNet-Server
18:44
now
Avatar
chillerdragon BOT 2024-08-15 18:44
you mean create a git tag with release and stuff or what? I will do a release after the gctf tournament probably. That became some kind of tradition
Replying to @jxsl13 ChillerDragon, release a new ddnet-insta version
Avatar
that's the server
Avatar
Avatar
chillerdragon
you mean create a git tag with release and stuff or what? I will do a release after the gctf tournament probably. That became some kind of tradition
poor puch needs to compile from scratch
Avatar
Avatar
Puch
?
there is now a DDNet-Server executable in your build folder
Avatar
chillerdragon BOT 2024-08-15 18:45
Oh you need binaries
Avatar
yes I see it
Avatar
chillerdragon BOT 2024-08-15 18:45
GitHub actions have binaries
Avatar
that's the server
Avatar
Avatar
chillerdragon
GitHub actions have binaries
indeed but those ar enot cached indefinitly
18:46
:'/
18:46
poor Puch
Avatar
especially now im shit with linux building things and stuff like that
feelsbadman 1
18:47
xd
Avatar
chillerdragon BOT 2024-08-15 18:48
This reminds me of my infrastructure xd. The name cfg-secrets and Watafak even server.cnf
Replying to @jxsl13 Bildschirmfoto_2024-08-15_um_20.28.13.png
Avatar
that is your infrastructure
18:48
:hackerman:
Avatar
chillerdragon BOT 2024-08-15 18:49
oh no I got haxxxed by jiggsel
Avatar
I'm using your git repo and changing as little as possible in order to stay up to date with a simple git stash, git pull, git stash pop
🤣 1
Avatar
chillerdragon BOT 2024-08-15 18:50
Git conflict driven development as deen would call it
18:50
Big fan
Avatar
works 9/10
18:50
would recommend
Avatar
chillerdragon BOT 2024-08-15 18:53
Bit nasty to use a dirty work tree and stack tho xd. You can just commit and merge or rebase
18:54
too lazy
Avatar
chillerdragon BOT 2024-08-15 18:55
@Puch: are you the OG vanilla player btw?
Avatar
chillerdragon BOT 2024-08-15 18:56
pog
Avatar
how are you? 🙂
Avatar
chillerdragon BOT 2024-08-15 18:56
Remember me?
Avatar
ofc bro
Avatar
chillerdragon BOT 2024-08-15 18:56
Good good
18:56
I didn’t expect you to still play
Avatar
we did vanille cup together
Avatar
chillerdragon BOT 2024-08-15 18:56
Nice to see you alive
Avatar
ty you too
18:59
I got a son few days ago
🚀 1
18:59
❤️
Avatar
you now gctf main?
Avatar
i will participate to the gctf tourni
19:00
🙂
19:00
with 0.7 maybe who knows haha
Avatar
I see you in the pic community discord 🙂
Avatar
yes ^^
Avatar
anyone wants to play instashield? now that 0.7 connections are possible
feelsbadman 1
Avatar
chillerdragon BOT 2024-08-15 19:03
Woah congrats
Replying to @Puch I got a son few days ago
Avatar
Avatar
Souly
anyone wants to play instashield? now that 0.7 connections are possible
good luck 😮
Avatar
im gonna force people to play it i swear
Avatar
I don't play anymore
19:04
so sadly a no from me
Avatar
@jxsl13 hop on instashield
Avatar
access denied
Avatar
hop on instashield
Avatar
wrong password, please try again
Avatar
why do you not play anyone
Avatar
sitting 8 hours a day in front of a pc
19:06
guess that's why
Avatar
you can now sit 9th hour and spend it on instashield
19:06
its a fair deal
Avatar
fair for you
Avatar
2024-08-15 19:06:12 I assert: /home/ubuntu/ddnet-insta/src/engine/server/register.cpp(539): curl version < 7.77.0 does not support registering via both IPv4 and IPv6, set sv_register ipv6 or sv_register ipv4
Avatar
not for me
Avatar
wow wow wow
19:07
almost done
Avatar
use ipv4
Avatar
ok it's working
19:10
server is on 😄
19:10
ty guys
banhammer 2
Avatar
chillerdragon BOT 2024-08-15 19:10
Wtf
Replying to @jxsl13 I don't play anymore
Avatar
chillerdragon: hop on instashield
Avatar
chillerdragon BOT 2024-08-15 19:12
Dude I’m in 300 ping Indonesian island and it’s 3 am
Avatar
who asked
19:12
hop on instashield
Avatar
chillerdragon BOT 2024-08-15 19:12
._.
Avatar
im waiting
Avatar
Avatar
chillerdragon
Wtf
haven't played in the last like 3-4 years
19:14
nothing new
Avatar
@meloƞ hop on instashield
Avatar
and to get discord results is there anything to do?
19:14
i think it's more complicated
Avatar
Avatar
Souly
@meloƞ hop on instashield
no, i'm learning golang atm
Avatar
chillerdragon BOT 2024-08-15 19:14
Woah didn’t we play zCatch in 2020
Replying to @jxsl13 haven't played in the last like 3-4 years
Avatar
might be the case
Avatar
chillerdragon BOT 2024-08-15 19:14
Oh wait 2020 is ages ago
Avatar
that's why 3-4 years
Avatar
Avatar
meloƞ
no, i'm learning golang atm
you make me really sad right now
Avatar
and not 4 years
Avatar
Avatar
meloƞ
no, i'm learning golang atm
we got him
Avatar
MilkeeyCat 2024-08-15 19:15
cool email template
Avatar
chillerdragon BOT 2024-08-15 19:15
It’s in the readme
Replying to @Puch and to get discord results is there anything to do?
Avatar
create discord webhook
19:16
set webhook in server config
Avatar
ok i'll do that later
19:18
i gonna eat something
19:18
cu later guys 😉
Avatar
bye Puch!
Avatar
# 0=csv 1=psv 2=ascii table 3=markdown table 4=json sv_round_stats_format 1 sv_round_stats_discord_webhook "https://discord.com/api/webhooks/123456789/...."
Avatar
Jupstar ✪ 2024-08-15 19:23
grand master, game master, ewan, good morning
Avatar
I'm trolling
19:23
I actually just got out of a meeting
19:23
but how are u fellas today
Avatar
Jupstar ✪ 2024-08-15 19:24
why r u ewan green and @MilkeeyCat is alex white
19:24
r u like cousins
19:24
xd
Avatar
chillerdragon BOT 2024-08-15 19:24
Xd
Avatar
Jupstar ✪ 2024-08-15 19:24
is that some auto generated name thing xddd
Avatar
Avatar
Jupstar ✪
why r u ewan green and @MilkeeyCat is alex white
MilkeeyCat 2024-08-15 19:25
color surnames rocks
Avatar
chillerdragon BOT 2024-08-15 19:25
Yes white masterrace
19:25
Eh wops
Avatar
23andme will tell you (edited)
19:27
milk is also white
Avatar
so alex white is pretty fitting
Avatar
chillerdragon BOT 2024-08-15 19:27
lol
Avatar
for MilkeeyCat (edited)
19:27
😁
19:28
I want my :steamhappy:
Avatar
Avatar
Jupstar ✪
is that some auto generated name thing xddd
is just my name
19:28
irl name
Avatar
Jupstar ✪ 2024-08-15 19:29
my irl name is john brown
Avatar
mine is also john
Avatar
chillerdragon BOT 2024-08-15 19:29
Ewan and catto dox
Avatar
but not generated
Avatar
chillerdragon BOT 2024-08-15 19:29
Mine is Jonathan blow
Avatar
Jupstar ✪ 2024-08-15 19:29
chillers is mint yellow
Avatar
chillers name is Jonathan Frakes
Avatar
Jupstar ✪ 2024-08-15 19:30
but robyte is also fake. his name is like the most german name ever
Avatar
chillerdragon BOT 2024-08-15 19:30
So German it’s probably fake
Avatar
Jupstar ✪ 2024-08-15 19:30
yeah
Avatar
nobody believes me when I say it's my real name
Avatar
Jupstar ✪ 2024-08-15 19:31
i believe you
Avatar
chillerdragon BOT 2024-08-15 19:31
I think oy‘s name was similar cliche
Avatar
Jupstar ✪ 2024-08-15 19:31
do you know oy irl?
Avatar
chillerdragon BOT 2024-08-15 19:31
We go bowling’s on Tuesdays
Avatar
stalkerdragon in action
Avatar
Jupstar ✪ 2024-08-15 19:32
in indonesia? XD
Avatar
chillerdragon BOT 2024-08-15 19:32
-.-
19:32
I saw his git commit author …
Avatar
what did it say
Avatar
chillerdragon BOT 2024-08-15 19:32
I forgot
19:32
Sorry oy
19:33
I fan I swear
Avatar
I'd guess: Peter Pettigrew
Avatar
chillerdragon BOT 2024-08-15 19:33
It was something super German like robsit I think
Avatar
Jupstar ✪ 2024-08-15 19:34
Kamehameha I., der Große (* 1758 (?); † 1819) war der erste König von Hawaiʻi (1795–1819). Das genaue Geburtsjahr ist unbekannt, Schätzungen zufolge liegt es zwischen 1736 und 1761. Als eine der frühesten Quellen gilt Francisco de Paula Marín, der 1819 beim Tod Kamehamehas anwesend war und dessen Alter mit 60½ Jahren angab. Legenden behaupteten ...
19:34
in german ofc
Avatar
Oy Mittelberg
19:34
german town
Avatar
chillerdragon BOT 2024-08-15 19:34
Kamehamhehsva what
Avatar
Jupstar ✪ 2024-08-15 19:34
kamehameha
Avatar
dbz is based on real ppl
19:35
impossible
Avatar
GitHub BOT 2024-08-15 19:51

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 (especially base/) or added coverage to integration test
  • [ ] 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-addres...
Avatar
Avatar
Jupstar ✪
kamehameha
Avatar
GitHub BOT 2024-08-15 22:41
595f537 Fix asset images not being freed if they fail ratio/format check - Robyt3 6a5a043 Merge pull request #8734 from Robyt3/Client-Asset-Leak - def-
Exported 827 message(s)
Timezone: UTC+0