Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.tw/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories — IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2020-08-16 00:00:00Z and 2020-08-17 00:00:00Z
Avatar
7d8421e A Behemoth, M Cerulean - ddnet-maps
06:11
8abf00b move checkpoint to debug - plsplsplslol 3252261 Merge #2578 - bors[bot]
feelsamazingman 4
Avatar
d7af15c Add dates to birthday pages to clarify - def-
Avatar
[quakenet] ChillerDragon BOT 2020-08-16 08:29:20Z
@Soreu yea it was a ride and there is still room left for improvement on finding dupes and correct names for the mapres
08:33
@fearxito i also do not know what libs you refer to but i started a small yt series explaining teeworlds coding for beginners https://www.youtube.com/watch?v=HB_aSIOmdu4
Avatar
chillernobo still 0.7
Avatar
@ChillerDragon when will you update to 0.6?
kek 4
Avatar
I've been looking at a very interesting programming language the last couple days https://ziglang.org
Zig is a general-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
10:57
The cross compilation abilities are amazing
10:58
Nothing extra needed I can code up something on my mac and compile it to windows and it just works
Avatar
boo bad language C++ is faster better stronger and more battle-tested boo
11:13
greenthing
11:13
why does it look so much like rust lol
11:14
also rust toolchain is rly gud
Avatar
Cross compiling C++ quickly devolves into wanting to stab your own eye out
Avatar
i was just being ironic
11:21
lol
Avatar
Yeah looks oddly like Rust
Avatar
i dont like the import tho
Avatar
I like the fact that it's being quite safe, yet still allows you to be unsafe without having to pepper your code with unsafe {}
Avatar
imports in rust are somethingg else use std::io{self, somethingelse:{lol}, xd:Wtf }
11:23
u dont want to pepper ur code in unsafei n rust also
11:23
the point is to wrap unsafe code with a safe api
11:23
@import reminds me of css (edited)
Avatar
nice hilite
Avatar
stupid discord
Avatar
defer and errdefer are things I like quite a lot
Avatar
The Rust toolchain installer. Contribute to rust-lang/rustup development by creating an account on GitHub.
11:24
doesnt look hard in rust to crosscompile either
11:25
golang has defer too
11:26
defer rly good to close stuff
Avatar
You need to add the target and whatever. The 30M package of zig comes with libc headers for all their tier3+ targets
Avatar
@Learath2 but defer is slow apparently https://github.com/golang/go/issues/14939
package p import "testing" //go:noinline func defers() (r int) { defer func() { r = 42 }() return 0 } func BenchmarkDefer(b *testing.B) { for i := 0; i < b.N; i++ { defers(...
11:26
idk the case about ur lang
11:27
maybe they made it faster
11:28
@Learath2 do u have a codewars acc
Avatar
I think they don't use heap allocations as it's supposed to be available on the freestanding target aswell
11:29
@Ryozuki let me check
Avatar
Codewars is where developers achieve code mastery through challenge. Train on kata in the dojo and reach your highest potential.
11:29
add me
Avatar
I seem to but never played
Avatar
is it fun?
Avatar
some yes
11:31
i would say its the best website for this kind of thing
Avatar
@Ryozuki do you know how to get output out of the code?
Avatar
@Learath2 hmm maybe doing a print? or wiritng to stderr, idk, i test locally always
11:53
I'd have played a couple hours if there was a way to get output there, just cba to copy paste code around
Avatar
well idk how u do it but in rust u copy the test code
11:56
and its smooth
11:56
i would never use the web editor anyway
11:56
i like my editor
Avatar
5c76538 Livestream by maggi323 on frontpage - def-
Avatar
Hi, anyone can help me with server creating? 🙂
20:00
I've created my server with my own map, and i have one small problem. I want to use Solo-part function, but it isnt working for me. And the second problem: I want to run DDRace server in normally Teeworlds client, but i dont know, how can i do it. Anyone can help me please? 🙂
Avatar
you mean making the entire map solo?
20:03
try sv_solo_server 1; sv_team 3
Avatar
I mean this "item" in editor
20:04
Its not working for me
Avatar
looks correct, in game or front layer, right?
20:05
but I'm not a mapper, any mappers here?
Avatar
Yes. I try with GAME and with FRONT layer, but isnt working in-game
Avatar
Did you save and actually use the correct map in server?
Avatar
check with entities ingame I guess
Avatar
okey, thanks
20:07
And i have one more question. Can i ask it
20:07
?
Avatar
sure, no need to ask to ask
Avatar
d965215 Revert "Livestream by maggi323 on frontpage" - def-
Avatar
ᶰ°Konͧsti 2020-08-16 20:10:06Z
it doesnt matter if its mapped with front or game layer. Must be a ddrace server of course
Avatar
@ᶰ°Konͧsti i want to run DDRace server with the steam cliend
20:12
I have one MKRace.exe server file
20:14
if i connect to one server, then i see this in chat. I want to create server, with same mod. But i cant. I need help with this.
Avatar
download ddnet from ddnet.tw and launch DDNet-Server
Avatar
oh yeah, running the wrong server would explain the problem 😄
Avatar
But if i run DDNet-Server then i dont see my server in steam Teeworlds
Avatar
ᶰ°Konͧsti 2020-08-16 20:34:53Z
i dont know about steam
Avatar
Steam Teeworlds is 0.7. DDNet-Server supports 0.7, but you need to take some actions to make it work
20:40
You need sv_sixup 1 in your config and a maps7 directory next to the maps directory where you put the Teeworlds 0.7 compatible map version
20:40
The 0.7 map version you can create with map_convert_07, which you can build from DDNet source (https://github.com/ddnet/ddnet)
20:41
@Learath2 should the server maybe do the 0.7 conversion itself automatically? Would be much easier
20:41
The DDNet maps7 versions are in https://maps.ddnet.tw/compilations/maps7.zip
Avatar
Thanks, i try it <3
Avatar
I'll introduce the map_convert_07 in the next DDNet release
Avatar
sv_sixup 1 is the default I think
Avatar
So you only need to get the map converted and in the maps7 folder
20:51
94d0954 Allow PaladiN skin to use custom colors - d3fault d04dc8a Merge #2574 - bors[bot]
Avatar
What is this "maps7"?
Avatar
it's a directory, next to maps/ directory
20:55
you need to put the same maps as in maps in there, but compatible for Teeworlds 0.7
20:56
if you're on Windows you can download https://github.com/ddnet/ddnet/suites/1057462598/artifacts/14290324 and it should contain map_convert_07
Avatar
this link isnt working
Avatar
weird, works for me
20:57
Click on artifacts top right here and then on Windows: https://github.com/ddnet/ddnet/pull/2579/checks?check_run_id=991207371
Avatar
works to me too lol
20:58
check up your downloads, bud
Avatar
it should open up a download popup
Avatar
i logged in and its works for me now
Avatar
@Fuyooo oh, maybe you need a github account, meh. Try https://ddnet.tw/downloads/DDNet-nightly-win64.zip then to get the map_convert_07.exe
Avatar
i must to convert?
Avatar
Yeah, but actually it's not so comfortable to use
21:01
you need to run it from the command line, like this: map_convert_07.exe maps/Kobra.map maps7/Kobra.map
21:01
Usage: map_convert_07 <source map filepath> <dest map filepath>
Avatar
do this script allow to convert whole folder?
Avatar
if i open map_convert_07.exe then it closes automatically
Avatar
yeah, you have to run it from cmd.exe
21:04
i will make it more comfortable, so that you can run it by dragging the map into it, give me 5-10 min
Avatar
i converted it
21:08
Oh goood
21:08
Thank you all guys ❤️
Avatar
great that it works!
21:08
will try to make the process easier for others in the future
Avatar
"sv_sixup 1" is good, i see it in steam teeworlds
21:09
And its now TestDDR not MKRace
21:09
How can i make it DDRace?
Avatar
sv_test_cmds 0 in the config
21:11
then you can't use cheats
Avatar
what do you mean?
Avatar
it disables cheats, but sets gametype to DDRace
Avatar
you can make your own config
21:12
21:14
I need Port Forwarding to host my server, right?
Avatar
can i add custom commands?
Avatar
what do you mean?
Avatar
I mean: In chat: /creator, and tells me who created the map, or who helped
21:17
sry if my english is so bad
Avatar
my english is bad too 😆
21:18
if you want to add custom commands, you need to code it
Avatar
i cant code 😦
Avatar
and about creators, you can write credits in vote options
Avatar
@Fuyooo I would use sv_motd "Map created by Foo\nHelp by Bar"
Avatar
Can i move the text to the mid on this gray-screen?
Avatar
You can manually add spaces in each line, no other way
21:30
and thanks for the credit 🙂
Avatar
Me thanks for helping me 🙂
Avatar
@deen do you know, are motd box's sizes static?
Avatar
oh, its good af
Avatar
I want to create one big server. My map is ready, now i only need to host it :/
Avatar
buy vps 😆
Avatar
i can host it from my second computer. We dont know the routers admin password
21:32
We buy this router 3 months ago, and we search, but we dont found the password
21:32
We try all combos, but nothing
21:33
And i cant forward a port now
21:33
:c
Avatar
that's unfortunate. Sometimes you can reset the router with some button, but then you might need to set it up again, so make sure you have the ISP's data to enter ready
Avatar
most user routers can setup automatically, i think they have one (edited)
Avatar
we have Cisco EPS3928S
21:36
deen is right
Avatar
also, hosting on your home connection might not be such a great experience for players, higher ping, lags when your internet is used, goes off at random times
Avatar
So, can i buy server hosting?
Avatar
before this decision, ask yourself why do you need hosting
21:50
and how much does hosting cost in Hungary
Avatar
i want one big community in my own server
21:50
And i dont know where can i visit hosting costs
Avatar
google it
Exported 172 message(s)