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 2022-12-19 00:00:00Z and 2022-12-20 00:00:00Z
Avatar
why 23 letters alphabet?
01:15
which 3 letters are missing?
Avatar
7004829 M Arctic Festivity, A xyzyx - ddnet-maps
Avatar
seems like some ppl registered with qqq email provider and they return my mails (wiki) for dmarc check fails lol
07:57
will have to check later..
07:57
zzz
08:50
2681fec Fix windows protocol handler instructions (thanks murpi) - def-
Avatar
Should work automatically on first time running client. See https://hublog.hubmed.org/archives/001154

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 map...
Avatar
3780c74 Add tooltips for the buttons that open directories and files - Robyt3 648b025 Merge #6163 - bors[bot]
Avatar
i got this
14:47
from my company
14:47
M1 2021
14:47
kek
14:47
im being filthied!
Avatar
Avatar
Ryozuki
i got this
lol
14:49
so another macos dev now
14:49
pls test molten-vk
14:49
and also pls make it work, disable all vsync etc
14:49
i want to finally know m1 fps
14:49
i gotta unpack first xd
Avatar
plug in and go
Avatar
Avatar
Ryozuki
i got this
Woah
Avatar
ddnet must be first game to install
14:50
xd
14:52
it weights quite a lot
Avatar
Same as mine I guess
Avatar
Avatar
Ryozuki
it weights quite a lot
they put stones inside, so it doesnt fly away in the wind
15:07
but dont tell anyone
Avatar
I think they put enough cooling mass inside that I haven't heard the fan yet in 1 year of usage
Avatar
the laptop itself is cold
15:08
xD
Avatar
@Jupstar ✪ I'll try with vulkan again
15:09
Since the FPS bug was fixed, can probably ship with moltenvk support now
Avatar
if its really fixed ^^
Avatar
519ff9c fix client-only -> server too - def-
Avatar
Avatar
deen
I think they put enough cooling mass inside that I haven't heard the fan yet in 1 year of usage
It’s like a solid block of metal too, so much headroom
Avatar
@Jupstar ✪ About 1700 fps at 1920x1080
Avatar
Avatar
deen
@Jupstar ✪ About 1700 fps at 1920x1080
nice on which map, is it more than opengl at least? 😄
Avatar
But with graphics bug in main menu
15:42
Multeasymap with entities
Avatar
it peaks to 6k
15:42
there still smth wrong probably xD
Avatar
also peaks to 10k inbetween
Avatar
Avatar
deen
But with graphics bug in main menu
neat clipping bug on the last pic
Avatar
The image is also blurry
Avatar
Current state: ``` 2022-12-19 16:42:20 I gfx: Created Vulkan 1.1 context. [mvk-info] MoltenVK version 1.2.1, supporting Vulkan version 1.2.236. The following 84 Vulkan extensions are supported: VK_KHR_16bit_storage v1 VK_KHR_8bit_storage v1 VK_KHR_bind_memory2 v1 VK_KHR_buffer_device_address v1 VK_KHR_copy_commands2 v1 VK_KHR_create_renderpass2 v1 VK_KHR_dedicated_allocation v3 VK_KHR_depth_stencil_resolve v1 VK_KHR_descriptor_update_template v1 VK_KHR_devic...
Avatar
mh too bad smth makes it not use full power i think it can still beat my CPU (CPU is main bottle neck in entities)
Avatar
OpenGL3 is at 2200 fps
Avatar
Avatar
deen
But with graphics bug in main menu
The clipping bug looks like the one that has been there for half a decade now 😛
Avatar
it should™️ be fixed, since we respect the ratio between window size and canvas size
15:59
tsfreddie even tested it back then
Avatar
It was macOS not reporting the correct viewport size on first launch with highdpi iirc
Avatar
mh ok
16:00
but i guess its an SDL bug then?
Avatar
Yeah, I remember tsfreddie working on it, it was supposed to be fixed I guess
Avatar
Avatar
Jupstar ✪
but i guess its an SDL bug then?
Iii think sdl generates a resize event after a while, even tho your early call returns the wrong size
Avatar
We could just ping SDL to get correct size after initializing everything from our side maybe
Avatar
void CGraphics_Threaded::ClipEnable(int x, int y, int w, int h) { if(x < 0) w += x; if(y < 0) h += y; x = clamp(x, 0, ScreenWidth()); y = clamp(y, 0, ScreenHeight()); w = clamp(w, 0, ScreenWidth() - x); h = clamp(h, 0, ScreenHeight() - y); m_State.m_ClipEnable = true; m_State.m_ClipX = x; m_State.m_ClipY = ScreenHeight() - (y + h); m_State.m_ClipW = w; m_State.m_ClipH = h; } it directly uses the window width apparently @deen do u also have this bug in opengl?
Avatar
Avatar
deen
We could just ping SDL to get correct size after initializing everything from our side maybe
Iirc just reacting to all sdl resize events properly just fixed it. Though I thought we do that now, idk. Atleast that’s how I fixed it when making teeworlds resize properly
Avatar
no, not seen with opengl
Avatar
Maybe a moltenvk issue?
Avatar
I think this causes it:
[mvk-info] Created 3 swapchain images with initial size (3840, 2160) and contents scale 2.0 for screen LG HDR WQHD.
16:03
which is wrong, 2.0 scale is on my other screen
16:03
on this screen 1.0 scale
Avatar
ah
16:04
rip
16:04
but maybe we also fetch it incorrectly
16:04
is it screen index 1? 😄
Avatar
I don't know
Avatar
on the other hand, i dont even have control over it over the SDL Vulkan interface
Avatar
screen 0 is the LG one where I want to display it
16:05
screen 1 is internal scaled screen
Avatar
Idk how we get it in vk, but in gl it used to be a mismatch between the size you could query thru sdl and the size you got by a direct gl call. Only one of them were correct
Avatar
And everything looking blurry on Vulkan, so it probably renders at half resolution and then scales
Avatar
If I ever get my macbook fixed I can investigate it again, but for now it’s prohibitively expensive
16:07
700€ for a keyboard change… insanity
Avatar
Seems like atm it's not that important since OpenGL has higher performance than MoltenVK still
Avatar
Which is actually kinda surprising given how much better vk maps onto metal, which I guess is the only thing the m1 gpu actually supports
Avatar
Avatar
Learath2
Idk how we get it in vk, but in gl it used to be a mismatch between the size you could query thru sdl and the size you got by a direct gl call. Only one of them were correct
in vulkan its basically like this ask SDL for a surface query surface capabilities: c++ uint32_t minImageCount; uint32_t maxImageCount; VkExtent2D currentExtent; VkExtent2D minImageExtent; VkExtent2D maxImageExtent; uint32_t maxImageArrayLayers; VkSurfaceTransformFlagsKHR supportedTransforms; VkSurfaceTransformFlagBitsKHR currentTransform; VkCompositeAlphaFlagsKHR supportedCompositeAlpha; VkImageUsageFlags supportedUsageFlags; create images with that info
Avatar
The FPS jumping between 6k and 0 sounds like another bad bug in the MoltenVK implemetnation
Avatar
Avatar
Jupstar ✪
in vulkan its basically like this ask SDL for a surface query surface capabilities: c++ uint32_t minImageCount; uint32_t maxImageCount; VkExtent2D currentExtent; VkExtent2D minImageExtent; VkExtent2D maxImageExtent; uint32_t maxImageArrayLayers; VkSurfaceTransformFlagsKHR supportedTransforms; VkSurfaceTransformFlagBitsKHR currentTransform; VkCompositeAlphaFlagsKHR supportedCompositeAlpha; VkImageUsageFlags supportedUsageFlags; create images with that info
If you want to change something there, you can ping me to test it, easy enough to run vulkan
Avatar
i mean if molten vk itself already says something about wrong scale, i guess its falsely aware of what happens under the hood 😄
Avatar
Does the vk backend also recheck the extents after sdl resize events?
Avatar
My guess is that it somehow uses the scaling info from wrong screen
Avatar
Avatar
Learath2
Does the vk backend also recheck the extents after sdl resize events?
vulkan doesnt need this
16:12
it can basically run without SDL for surface related stuff
16:12
thats also one of the pros vs opengl
16:12
bcs it can run on any thread unrelated to SDL
16:13
but yes, you know when the surface propertys changed
16:18
@deen do we still wait after submitting one frame?
16:18
on m1
16:18
was it opengl only?
16:19
c++ #ifdef CONF_PLATFORM_MACOS if(str_find(GetVersionString(), "Metal")) WaitForIdle(); #endif
16:19
well no idea if this affects the vk backend too
16:19
but normally™️ this limitation should not affect vulkan
16:20
maybe they even fixed it for opengl already, tho on OpenGL other than Vulkan its indeed a SDL call to swap images
Avatar
no difference
Avatar
@Jupstar ✪
17:34
the breakthrough from not long ago
Avatar
Avatar
Ryozuki
@Jupstar ✪
But as far as i heard it's not really a breakthrough
17:35
iit confirms the theory it is not just a engineering problem
Avatar
The total energy is still minutes 298 mj
Avatar
that u can make this energy without an immense gravitational well
17:35
like the sun
Avatar
Minus
Avatar
its a breakthrough vs what we had before xd
17:36
thats a breakthrough
Avatar
Avatar
Ryozuki
that u can make this energy without an immense gravitational well
But magnetic fusion is probably still better. Like iter
Avatar
This is a different concept
17:37
The technique used at the National Ignition Facility involved shooting 192 lasers at a 0.04 inch (1 mm) pellet of fuel made of deuterium and tritium – two versions of the element hydrogen with extra neutrons – placed in a gold canister. When the lasers hit the canister, they produce X-rays that heat and compress the fuel pellet to about 20 times the density of lead and to more than 5 million degrees Fahrenheit (3 million Celsius) – about 100 times hotter than the surface of the Sun. If you can maintain these conditions for a long enough time, the fuel will fuse and release energy.
17:38
The fuel and canister get vaporized within a few billionths of a second during the experiment. Researchers then hope their equipment survived the heat and accurately measured the energy released by the fusion reaction.
17:38
xd
17:39
@Jupstar ✪ also about the fuel
17:39
Finally, while one part of the fuel, deuterium, is naturally abundant in sea water, tritium is much rarer. Fusion itself actually produces tritium, so researchers are hoping to develop ways of harvesting this tritium directly. In the meantime, there are other methods available to produce the needed fuel.
Avatar
Avatar
Ryozuki
@Jupstar ✪ also about the fuel
A friend works at cern and he says it's nice to have but not really a game changer yet
Avatar
Follow-up to commit a4867d29c65e76072ea74887d86b07fa0f162ef9
  • TILEFLAG_FLIP_HORIZONTAL -> TILEFLAG_XFLIP
  • TILEFLAG_FLIP_VERTICAL -> TILEFLAG_YFLIP
In the previous commit, I pretty much just switched V and H and changed the naming a little more to break further uses. The reason was that the two flags were called counter-intuitively. Since then, I realized that the auto mapper syntax also already faced this issue and is already using XFLIP and YFLIP. For more consi...
Avatar
Fusion will probably not play a role for climate change
Avatar
why not
17:41
if it works
17:41
its seen as the holy grail
17:41
XD
Avatar
Bcs commerical use is still around 20 years away
Avatar
EAStdC is a package which implements basic library facilities that are similar to those in the standard C library. - EAStdC/EABitTricks.h at master · electronicarts/EAStdC
17:44
bit tricks
17:44
froom ea
17:44
c++
17:44
17:47
inline uint32_t ReverseBits(uint32_t x){ x = ((x & 0x55555555) << 1) | ((x >> 1) & 0x55555555); x = ((x & 0x33333333) << 2) | ((x >> 2) & 0x33333333); x = ((x & 0x0F0F0F0F) << 4) | ((x >> 4) & 0x0F0F0F0F); x = (x << 24) | ((x & 0xFF00) << 8) | ((x >> 8) & 0xFF00) | (x >> 24); return x; }
17:47
xD
17:47
branchless
Avatar
what is that xD why are they doin this
Avatar
@Jupstar ✪ its their oown
17:51
c++ std
17:52
EAStdC is a package which implements basic library facilities that are similar to those in the standard C library. - GitHub - electronicarts/EAStdC: EAStdC is a package which implements basic libra...
Avatar
nice, are these bit tricks for performance?
17:52
obv
17:52
i think
Avatar
bro, noby is also merican, just like these ppl probs are
17:53
nobyc
17:53
eac
17:53
17:55
wtf 1
Avatar
pros
Avatar
c++ unsigned char b; // byte value to compute the parity of bool parity = (((b * 0x0101010101010101ULL) & 0x8040201008040201ULL) % 0x1FF) & 1; unsigned int v; // word value to compute the parity of v ^= v >> 16; v ^= v >> 8; v ^= v >> 4; v &= 0xf; return (0x6996 >> v) & 1; unsigned long long v; // 64-bit word v ^= v >> 1; v ^= v >> 2; v = (v & 0x1111111111111111UL) * 0x1111111111111111UL; return (v >> 60) & 1;
18:07
they could at least give the source...
Avatar
'拏 MAhdiyar 2022-12-19 18:26:28Z
@heinrich5991
Avatar
Is this even the original source for it?
Avatar
Avatar
'拏 MAhdiyar
@heinrich5991
'拏 MAhdiyar 2022-12-19 18:28:27Z
Hello, I am a member of the DDPER team and I encountered a problem while working with the Master Server (edited)
18:29
When we put the Master Server in the VPS, it gives us complete and correct server information
18:30
But when we remove it and put it on a new client, we run into a problem and it gives us this error.
18:31
2022-12-19 21:51:49 E register/7/ipv4: ERROR: the master server reports that clients can not connect to this server. 2022-12-19 21:51:49 E register/7/ipv4: ERROR: configure your firewall/nat to let through udp on port 8303.
Avatar
Avatar
Learath2
Is this even the original source for it?
lets be honest many code was already invented by someone else just as many knowledge that is shared doesnt have the true source in it but some newspaper or similar xD now with AIs, what source do u even want to give? XD
Avatar
Avatar
'拏 MAhdiyar
2022-12-19 21:51:49 E register/7/ipv4: ERROR: the master server reports that clients can not connect to this server. 2022-12-19 21:51:49 E register/7/ipv4: ERROR: configure your firewall/nat to let through udp on port 8303.
it works when the masterserver is on the same machine, but it does not work when it's on a different machine?
Avatar
'拏 MAhdiyar 2022-12-19 18:55:56Z
But my master server has no problem
Avatar
I'm trying to understand the situation you're explaining to me
18:56
I'm not yet trying to give a solution
18:59
can you explain again when it does work and when it doesn't?
Avatar
Avatar
'拏 MAhdiyar
But when we remove it and put it on a new client, we run into a problem and it gives us this error.
I don't understand this: do you mean you put the master server on a new vps?
Avatar
Avatar
heinrich5991
I don't understand this: do you mean you put the master server on a new vps?
'拏 MAhdiyar 2022-12-19 19:01:05Z
yes, When we try to add the MasterServer, we get the same error that we sent
Avatar
what's the situation in which it works?
Avatar
'拏 MAhdiyar 2022-12-19 19:03:42Z
2022-12-19 21:51:49 E register/7/ipv4: ERROR: the master server reports that clients can not connect to this server. 2022-12-19 21:51:49 E register/7/ipv4: ERROR: configure your firewall/nat to let through udp on port 8303. ERROR
Avatar
[quakenet] ChillerDragon BOT 2022-12-19 19:10:41Z
what do you need a own masterserver for?
Avatar
'拏 MAhdiyar 2022-12-19 19:11:40Z
DDPER
Avatar
[quakenet] ChillerDragon BOT 2022-12-19 19:11:46Z
yea i figured
19:12
but why not use the existing master servers? is it because the persian internet is cut off or something like that?
19:12
and can i also register on your masterserver? o.O what is your master servers ip?
Avatar
'拏 MAhdiyar 2022-12-19 19:14:12Z
Anti Bot Client - Privet Client
19:14
my master server ddper.ir
Avatar
[quakenet] ChillerDragon BOT 2022-12-19 19:15:15Z
hue how is a anti bot client related to the master server?
19:15
you are missing SSL o.O
Avatar
'拏 MAhdiyar 2022-12-19 19:15:46Z
master server
Avatar
[quakenet] ChillerDragon BOT 2022-12-19 19:16:03Z
yes master server but why do you need a master server for anti bot client?
Avatar
'拏 MAhdiyar 2022-12-19 19:16:07Z
Are you familiar with DDPER?
Avatar
[quakenet] ChillerDragon BOT 2022-12-19 19:16:16Z
not really thats why i am curious
19:16
its not my ping zone
19:16
i heard once that its a bit cut off from the internet we use with like own subnets and stuff
19:17
Iranian Server/Client
Avatar
[quakenet] ChillerDragon BOT 2022-12-19 19:17:09Z
yes that much i know
19:17
but what motivated you to go through the effort of hosting own master servers?
19:17
network speed?
Avatar
'拏 MAhdiyar 2022-12-19 19:17:46Z
i created new master server i used rust/cargo
Avatar
Avatar
[quakenet] ChillerDragon
network speed?
'拏 MAhdiyar 2022-12-19 19:17:53Z
iranian Linux
Avatar
[quakenet] ChillerDragon BOT 2022-12-19 19:17:55Z
yes
19:17
but why
19:18
xd
19:18
yea its still loading...
Avatar
'拏 MAhdiyar 2022-12-19 19:18:34Z
WTF 😐
19:18
The internet is weak
Avatar
[quakenet] ChillerDragon BOT 2022-12-19 19:18:40Z
yes
19:18
so you added your own master server for speed?
Avatar
'拏 MAhdiyar 2022-12-19 19:19:19Z
The internet is weak
Avatar
[quakenet] ChillerDragon BOT 2022-12-19 19:19:27Z
yes okay i think i got it
19:21
im not sure if the ssl is an error @heinrich5991 do the servers expect ssl from the master server?
Avatar
1. The players' team is always reset to team 0 when restarting, as described in https://github.com/ddnet/ddnet/pull/6150#issuecomment-1357635584
  • Could probably use the sv_rejoin_team_0 variable so team 0 is only joined after restarting with sv_rejoin_team_0 1.
2. The client isn't informed about a team changed when restarting and will still show the old team in the scoreboard. 3. The client doesn't stop the race demo when the race is aborted by restarting.
Avatar
yes, they do, ChillerDragon
Avatar
[quakenet] ChillerDragon BOT 2022-12-19 19:23:29Z
well thats the issue then isnt it?
19:24
no https
Avatar
'拏 MAhdiyar 2022-12-19 19:25:33Z
Chiller This Address
Avatar
[quakenet] ChillerDragon BOT 2022-12-19 19:26:10Z
a
19:26
nvm then
19:26
i assume you use a closed source modified ddnet server to talk with the master right?
Avatar
'拏 MAhdiyar 2022-12-19 19:27:53Z
Ow yess
Avatar
[quakenet] ChillerDragon BOT 2022-12-19 19:29:13Z
and you changed the sv_register_url config variable?
19:29
did you try if your master works with an unmodified ddnet server just to make sure that this is not the issue?
Avatar
Avatar
[quakenet] ChillerDragon
and you changed the sv_register_url config variable?
'拏 MAhdiyar 2022-12-19 19:33:58Z
i checked
Avatar
[quakenet] ChillerDragon BOT 2022-12-19 19:34:42Z
and did it work? or not?
Avatar
'拏 MAhdiyar 2022-12-19 19:41:07Z
No
19:41
w8
Avatar
Avatar
[quakenet] ChillerDragon
and did it work? or not?
'拏 MAhdiyar 2022-12-19 19:56:47Z
yes i changed it src
20:01
I have no problem with rust and I turn it on on your client. It is completely fixed. When I turn on my master server, I have a problem and it gives a udp error.
20:01
‍‍‍‍‍2022-12-19 21:51:49 E register/7/ipv4: ERROR: configure your firewall/nat to let through udp on port 8303.
20:01
i changed sv_register_url and in src code
Avatar
that means the game server did not receive the packet from the master server
Avatar
'拏 MAhdiyar 2022-12-19 20:02:23Z
My master server does not send the information to the client
Avatar
have you watched it in wireshark?
20:03
wait, why the client?
Avatar
[quakenet] pample BOT 2022-12-19 20:10:21Z
Hey, points shown on https://ddnet.org/maps/Divinum-32-V2 doesn't seem to reflect points shows in game, not too sure if that's normal or already reported somewhere, maybe it just changed today and the website wasn't updated yet idk only the static part seem to be on github
Avatar
[quakenet] ChillerDragon BOT 2022-12-19 20:11:27Z
yo heinrich in case u want a wireshark oneliner wget -O /tmp/per.pcap curl https://zillyhuhn.com/tmp/per.pcap;wireshark /tmp/per.pcap
Avatar
what pcap is that?
Avatar
[quakenet] ChillerDragon BOT 2022-12-19 20:12:40Z
my vps running ./DDNet-Server "dbg_curl 1; debug 1;sv_register ipv4;sv_register_url https://master.ddper.ir/register;sv_name chiler"
20:13
latest ddnet + some debug info i added to print out what the http stuff is doing seems to be stuck in need_challenge
Avatar
seems like you don't receive the challenge then
20:13
playing stardew valley right now, won't open wireshark
Avatar
[quakenet] ChillerDragon BOT 2022-12-19 20:14:13Z
looks nice
20:14
i like the artwork
Avatar
Avatar
[quakenet] ChillerDragon
my vps running ./DDNet-Server "dbg_curl 1; debug 1;sv_register ipv4;sv_register_url https://master.ddper.ir/register;sv_name chiler"
'拏 MAhdiyar 2022-12-19 20:14:23Z
can i see server's ?
Avatar
[quakenet] ChillerDragon BOT 2022-12-19 20:15:11Z
what even is the repo for the master server is it in ddnet/ddnet ?
Avatar
ddnet/ddnet
20:16
src/mastersrv
Avatar
'拏 MAhdiyar 2022-12-19 20:16:06Z
Yes
20:16
yes
Avatar
Avatar
[quakenet] ChillerDragon
what even is the repo for the master server is it in ddnet/ddnet ?
'拏 MAhdiyar 2022-12-19 20:16:21Z
Yes
Avatar
[quakenet] ChillerDragon BOT 2022-12-19 20:16:32Z
oh wow all the cpp stuff gone? o.O
Avatar
'拏 MAhdiyar 2022-12-19 20:16:50Z
DDraceNetwork, a free cooperative platformer game. Contribute to ddnet/ddnet development by creating an account on GitHub.
Avatar
[quakenet] ChillerDragon BOT 2022-12-19 20:17:04Z
dropping the old master server was kinda smooth from my side as a user
20:17
gj
20:17
@palmer221 come to irc ill send you 10BTC if you make 20 out of it
Avatar
ChillerDraon: don't react to spam
Avatar
[quakenet] ChillerDragon BOT 2022-12-19 20:18:11Z
sori :D
20:18
why tho?
Avatar
'拏 MAhdiyar 2022-12-19 20:18:25Z
Chiller Can i see Server ?
Avatar
[quakenet] ChillerDragon BOT 2022-12-19 20:18:34Z
which?
Avatar
[quakenet] ChillerDragon BOT 2022-12-19 20:18:41Z
i could reproduce your issue i guess
20:18
but i dont have a fix
Avatar
'拏 MAhdiyar 2022-12-19 20:18:57Z
You turned it on
Avatar
[quakenet] ChillerDragon BOT 2022-12-19 20:19:07Z
wot
20:19
i tried to connect to your master yes
20:19
did not work
Avatar
'拏 MAhdiyar 2022-12-19 20:20:39Z
Look, when we connect the master server to our client, we face a problem
Avatar
no, it seems the problem is between game server and masterserver
Avatar
'拏 MAhdiyar 2022-12-19 20:21:07Z
And the servers do not appear on the main page of our client
Avatar
Avatar
heinrich5991
no, it seems the problem is between game server and masterserver
'拏 MAhdiyar 2022-12-19 20:21:19Z
No
Avatar
because the masterserver doesn't list them, I guess
Avatar
'拏 MAhdiyar 2022-12-19 20:21:23Z
Server And Client fixed
Avatar
you see the server in the https://master.ddper.ir/servers.json list in the browser?
Avatar
[quakenet] ChillerDragon BOT 2022-12-19 20:21:43Z
no
20:21
so far it seems like a master issue
Avatar
then it doesn't seem like it's a problem with the client
Avatar
[quakenet] ChillerDragon BOT 2022-12-19 20:22:12Z
yea
Avatar
'拏 MAhdiyar 2022-12-19 20:22:19Z
because the masterserver doesn't list them, I guess @heinrich5991
Avatar
[quakenet] ChillerDragon BOT 2022-12-19 20:22:21Z
might be language barrier tho
Avatar
yes
20:22
but then it's not a client issue
Avatar
'拏 MAhdiyar 2022-12-19 20:24:54Z
How does teeworlds master server work?
20:24
@heinrich5991
Avatar
[quakenet] ChillerDragon BOT 2022-12-19 20:25:12Z
he playn da game chil
Avatar
Avatar
[quakenet] ChillerDragon
he playn da game chil
'拏 MAhdiyar 2022-12-19 20:26:01Z
How does teeworlds master server work?
Avatar
[quakenet] ChillerDragon BOT 2022-12-19 20:27:00Z
how do you mean "how does it work"? Do you want the technical details? Or how to run it?
20:27
i think u did pretty fine job running it since the web endpoint looks good
20:27
and you probably wanna know how the ddnet master works not the teeworlds one
Avatar
'拏 MAhdiyar 2022-12-19 20:27:50Z
I just want to know how you turned on the master server and it is active
Avatar
[quakenet] ChillerDragon BOT 2022-12-19 20:28:02Z
the teeworlds one uses udp as far as i know and the ddnet one is a rust rewrite by heinrich which introduced some http stuff
20:28
yes thats what i thought
20:28
you did turn it on correctly
20:28
just something is broken :D
Avatar
'拏 MAhdiyar 2022-12-19 20:30:09Z
What is the problem that does not turn on? And the list is not shown on the server?
Avatar
Avatar
Learath2
Is this even the original source for it?
at least, they give the source for the material there
Avatar
[quakenet] ChillerDragon BOT 2022-12-19 20:33:09Z
hm heinrich what does "Not found" mean? could you extend the error message to say what was not found? https://master.zillyhuhn.com/servers.json
Avatar
the masterserver doesn't serve servers.json
Avatar
[quakenet] ChillerDragon BOT 2022-12-19 20:33:37Z
DDraceNetwork, a free cooperative platformer game. Contribute to ddnet/ddnet development by creating an account on GitHub.
Avatar
you need to serve it using your own webserver
Avatar
[quakenet] ChillerDragon BOT 2022-12-19 20:33:45Z
oh wot
20:33
interesting
20:33
is there docs on setting up a master server?
Avatar
no, sorry
Avatar
[quakenet] ChillerDragon BOT 2022-12-19 20:34:26Z
ah no i guess thatll do thanks
20:34
putting that sentence of yours in a readme.md at src/mastersrv would probably be sufficent
20:36
okay that might be an error source tho
20:45
pog got server registered
Avatar
nice 🙂
Avatar
[quakenet] ChillerDragon BOT 2022-12-19 20:46:36Z
do you use the latest master server? @'拏 MAhdiyar could you leak a bit of your setup how do you serve the servers.json why is your endpoint https://master.ddper.ir/register and not https://master.ddper.ir/ddnet/15/register ?
Avatar
'拏 MAhdiyar 2022-12-19 20:52:31Z
It is not necessary to put the version in the link we generally use 1 version of the client, when we update, we update the master server as well
Avatar
[quakenet] ChillerDragon BOT 2022-12-19 20:52:48Z
so you edited the master server code too?
20:53
did you try running an unedited master server already?
Avatar
Avatar
[quakenet] ChillerDragon
so you edited the master server code too?
'拏 MAhdiyar 2022-12-19 20:53:42Z
Yes
Avatar
Avatar
[quakenet] ChillerDragon
did you try running an unedited master server already?
'拏 MAhdiyar 2022-12-19 20:54:33Z
yes
Avatar
[quakenet] ChillerDragon BOT 2022-12-19 20:54:35Z
did it work?
Avatar
Avatar
[quakenet] ChillerDragon
did it work?
'拏 MAhdiyar 2022-12-19 20:56:48Z
No, It worked when the master server was on a VPS
Avatar
[quakenet] ChillerDragon BOT 2022-12-19 20:57:05Z
where is it now if not on a VPS?
Avatar
Avatar
[quakenet] ChillerDragon
where is it now if not on a VPS?
'拏 MAhdiyar 2022-12-19 20:58:47Z
It is located in another VPS
20:59
Now the master is separate in another VPS
Avatar
[quakenet] ChillerDragon BOT 2022-12-19 21:00:07Z
maybe some firewall things? if its the exact setup
Avatar
Avatar
[quakenet] ChillerDragon
maybe some firewall things? if its the exact setup
'拏 MAhdiyar 2022-12-19 21:02:11Z
ufw and iptable disabled
21:06
.
21:09
amm
Avatar
'拏 MAhdiyar 2022-12-19 21:17:25Z
chiller?
Avatar
[quakenet] ChillerDragon BOT 2022-12-19 21:18:57Z
ye?
Avatar
Avatar
[quakenet] ChillerDragon
maybe some firewall things? if its the exact setup
'拏 MAhdiyar 2022-12-19 21:19:22Z
ufw and iptable disabled
Avatar
[quakenet] ChillerDragon BOT 2022-12-19 21:19:33Z
yea i meant more your hoster maybe
Avatar
'拏 MAhdiyar 2022-12-19 21:21:01Z
What should I do now?
Avatar
[quakenet] ChillerDragon BOT 2022-12-19 21:21:56Z
make sure the setup is the same on the vps that works and one the one that does not
21:22
if it is really the same then contact your hoster maybe
Avatar
hm, I'd try it with a differnet server first
21:22
localhost is kind of a special case
Avatar
[quakenet] ChillerDragon BOT 2022-12-19 21:23:15Z
oh yea it was client and server on the same host true
21:23
is the master on the other vps that was working still up?
Avatar
Avatar
[quakenet] ChillerDragon
is the master on the other vps that was working still up?
'拏 MAhdiyar 2022-12-19 21:24:15Z
Yes ths (edited)
Avatar
[quakenet] ChillerDragon BOT 2022-12-19 21:24:25Z
whats the url?
21:24
this?
Avatar
[quakenet] ChillerDragon BOT 2022-12-19 21:24:53Z
no this doesnt work
21:25
you said on the other vps it did work
21:25
do you have the url of the other vps?
Avatar
'拏 MAhdiyar 2022-12-19 21:25:23Z
no this doesnt work
21:25
yes my vps
21:26
I only use this client master server
Avatar
[quakenet] ChillerDragon BOT 2022-12-19 21:33:18Z
i do not know what you mean by "client"
Avatar
'拏 MAhdiyar 2022-12-19 21:35:22Z
im used master server for client
Avatar
be8f621 Make tileflag names consistent with automappers - Patiga e9ba785 Merge #6167 - bors[bot]
Avatar
[quakenet] ChillerDragon BOT 2022-12-19 21:47:21Z
you mean teeworlds/ddnet client as in the game client it self? There is no need to introduce that for testing until servers.json shows entries. Its much easier/faster to test with the browser
21:49
the language barrier is a bit annoying sorry i go to bed now. Hilarious that we already have ai that perfectly understands english and code. And yet there is no way to communicate with people that do not share a common language.
Avatar
have you actually tried using a translator? ^^
Exported 352 message(s)