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 2017-04-22 00:00:00Z and 2017-04-23 00:00:00Z
Avatar
<Learath2> o/
Avatar
bot fixed? /o/
10:10
\o\
Avatar
<Learath2> yep
10:10
<Learath2> should get a patch send it upstream :P
Avatar
great ๐Ÿ˜„
Avatar
<Ryozuki> nice
Avatar
@irclink
10:23
ha! I can mention you!
10:23
yea
Avatar
does it support images? ๐Ÿ˜ƒ
Avatar
<Ryozuki> it gives a link on irc
12:38
<EastByte> oh, I thought it would create an ascii art
12:38
<Ryozuki> xD
Avatar
<Ryozuki> that would be cool
12:42
<Learath2> that would be horrid :D
Avatar
I gonna do it!
12:44
Hold my beer
Avatar
<Nimda> nullptr by Shishigami just released on Brutal at 2017-04-22 16:29
Avatar
bot ception! irclink bot forwarding messages from nimda
Avatar
Fix a small indentation mistake and some useless spaces.
17:10
c091eb6 Fix indentation - Learath2 104a6ee Merge pull request #745 from Learath2/dd_pr_indent - def-
Avatar
that's more changes than just indentation lol
Avatar
i actually have no idea where that getchar came from
17:14
wasn't even working on that file
Avatar
<Learath2> i'm pretty sure that's just indentation fix, the diff viewer seems to be confused
Avatar
how to fix whitespaces tutorial: 1) Open Visual Studio 2) Open the file you want to edit 3) CTRL + K, CTRL + D 4) ??? 5) profit
Avatar
<Ryozuki> love the ??? part
17:16
<Learath2> i'd like to run everything through clang-format maybe
17:17
<Ryozuki> allman style
17:17
<Learath2> :(
17:17
<Ryozuki> :)
Avatar
discord > irc
Avatar
@Ryozuki can't decide ๐Ÿค”
Avatar
<Ryozuki> irc > discord
17:18
<Learath2> irc > discord
Avatar
what if I edit message
17:18
u cant see it nubs (edited)
Avatar
<Learath2> discord can take it's proprieprietary shitware and leave
17:19
<Ryozuki> freedom o/
17:19
<Learath2> i'll go work on my spelling now
17:19
<Ryozuki> hf then
17:20
<Learath2> proprietary*
Avatar
slack > discord ¯\_(ใƒ„)_/¯
Avatar
<Learath2> is slack also proprietary garbageware?
17:20
<Learath2> yep even worse
Avatar
don't want to insult you, so i won't answer
Avatar
<Learath2> feel free to lay some insults
17:22
<Learath2> ##C teaches one how to not care
Avatar
@xPapla i prefer discord over slack
Avatar
<Ryozuki> you mean #C
17:23
<Ryozuki> ?
17:23
<Learath2> slack literally looks like an overengineered ircd
17:23
<Ryozuki> it is
17:23
<Learath2> unofficial channels in freenode get another #
17:24
<Learath2> the searching features look cute tho
17:24
<Ryozuki> slack is for business
17:24
<Ryozuki> companies
17:24
<Ryozuki> idk
17:25
<Learath2> i did want to work on a chat protocol of my own, but im no good with marketing wank so i'd end up the only person using it
17:26
ever heard of telegram?
Avatar
<Learath2> some whatsapp kind of thing iirc
17:26
<Ryozuki> Signal has encryption
Avatar
make better UI for group talks and u r done
17:26
everything for u is irc XD
Avatar
<Ryozuki> iirc != irc
17:27
<Learath2> i also use whatsapp and teamspeak
17:27
<Learath2> iirc = if i recall correctly
Avatar
¯\_(ใƒ„)_/¯
Avatar
<Learath2> teamspeak and whatsapp b/c friends refuse to migrate to mumble and xmpp
17:28
<Learath2> apparently open source is gay and for communists
Avatar
because they are not stupid
17:28
maybe they prefer user friendly interfaces? ๐Ÿ‘€
Avatar
<deen> to resolve this conflict I propose that we switch to good old BBS
17:29
<Learath2> user friendly? you mean granny friendly?
17:29
<deen> since ddnet is already using a taiwanese domain, I'll ask the popular PTT BBS if we can have a channel
Avatar
<Learath2> so b/c i enjoy a simple interface i'd enjoy a unusable bbs?
17:30
<Learath2> thats some slippery slope
17:30
<deen> telnet ptt.cc
Avatar
<deen> big5 encoding, no modern unicode shit
17:31
<Learath2> not even surprised that you are using windows 10 :D
Avatar
ay right
17:31
wait I will change to windows 95 like u
17:31
it's working
17:31
it must be good
Avatar
<deen> luit -encoding big5 telnet ptt.cc
Avatar
irc is so much spam lol
Avatar
<Learath2> irc is generally calmer then discord
Avatar
irc is so cool that u have to be online 24/7 to know what ppl were talking about
Avatar
<Learath2> i have a bouncer that takes care of being online
17:33
<Learath2> so does many other people
Avatar
so I need to spend money on 24/7 vps that will do it for me
17:34
even better
Avatar
<Learath2> i'll host it for you, i'm pretty sure anyone else here would be happy to provide aswell
17:34
<deen> maybe this irc - discord bridge can't bridge the cultural divide
Avatar
<deen> instead of telnet you can also "ssh bbsu@ptt.cc"
Avatar
help me with encoding thing deen :v
17:35
Avatar
<Learath2> and if you want i believe there are some newfound wanksites that act as your bouncer for free and give you a cutting edge web8.0 interface
17:35
<deen> CookieMichal: Use ssh instead, it's a utf8 server
Avatar
@xPapla looks like Dwarf Fortress ^^
Avatar
<deen> ah, you might not have the correct font
Avatar
that screenshot was taken on ssh connection :v
Avatar
<Learath2> if only i knew that language
Avatar
deen, who is in charge of the ddnet backend?
Avatar
<deen> yeah, font missing, use a different terminal app or find out how to get chinese fonts
17:36
<deen> what's a ddnet backend?
17:37
the backend of ddnet?
Avatar
I think he means website
Avatar
<Learath2> the new website stuff looks really nice
17:37
<deen> how is the website our backend? that's a frontend
17:37
<deen> which new stuff?
Avatar
THE BACKEND OF THE WEBSITE
Avatar
<deen> it's a bunch of html files
Avatar
I see chinese ๐Ÿ‘
Avatar
<deen> nginx?
Avatar
<Learath2> i saw some screenshots somewhere on discord
17:38
ddnet-web - Static part of DDNet's website: https://ddnet.tw/
ddnet-scripts - The magic scripts that make DDNet run
Contribute to ddnet-django development by creating an account on GitHub.
Avatar
he means: Who is responsible for the server running website? :v
Avatar
<deen> i am
17:39
<deen> i mean, i pay for it
17:39
<deen> and the admins and I have root access
17:39
<Learath2> i think it was SPECTRUM in #general who posted the screenshots
Avatar
does anyone knows where can i found a default autoexec_server.cfg?
Avatar
<Learath2> Should be in the repo
17:42
<deen> I should have made the ptt channel on april 1 and posted a tutorial, while shutting down ddnet forum
17:42
<Learath2> Great idea deen
17:42
<deen> too late, damn
Avatar
next year
17:42
just 11 months and few days
Avatar
<Ryozuki> hi HMH
18:14
<HMH> Hi Ryozuki
Avatar
HI both
Avatar
<Ryozuki> what would you think about having lua as scripting language for ddnet, so maybe some things can be done more easily
18:19
<Ryozuki> and you can modify lua scripts without recompiling
18:19
<deen> hell no
18:20
<Ryozuki> :(
18:20
<Ryozuki> why not
18:20
<Ryozuki> most of games do that
18:20
<deen> why would you want to change stuff without recompiling?
18:20
<Ryozuki> why wouldn't you want?
Avatar
it would give botters new ways
18:20
๐Ÿ˜„
Avatar
<deen> to ensure that every server runs the same code
Avatar
all the haxx client
18:21
but, it would be great
18:21
to have some kind of core server
18:21
and plug-ins
18:21
๐Ÿ˜ฎ
Avatar
<deen> also, performance
Avatar
then, you could have always up-to-date your server
18:21
with security fixes
Avatar
<Ryozuki> plug-ins allow easily customization
Avatar
and your own plugins
18:21
๐Ÿ˜ฎ
Avatar
<Ryozuki> plugins*
Avatar
woaht, it would be awesome
Avatar
<Ryozuki> i mean only server sided
18:21
<deen> not a good idea imo
Avatar
very bad
18:22
very unsecure
Avatar
<Ryozuki> it's not that bad
18:22
<Ryozuki> wut?
Avatar
what?
18:22
why not?
18:22
Core server -> security first
18:22
and plugins for administrators
18:22
it how it works everywhere ๐Ÿ˜„
Avatar
<Ryozuki> yes
Avatar
Bukkit (minecraft)
18:22
AMXX
Avatar
<Ryozuki> gmod for example
Avatar
CS1.6
Avatar
<Ryozuki> uses lua
Avatar
Gmod yes
Avatar
gmod โค
Avatar
<Ryozuki> u dont โค cuz it uses lua so by ur logic its insecure
18:23
<Ryozuki> xD
18:23
<Ryozuki> and no, its the other cookie
18:24
<Ryozuki> well, big changes in ddnet are always hard
Avatar
tbh. Lua or another script language support would be great. But it would be hard to implement
18:24
as well
Avatar
<Ryozuki> so i guess this will be forgotten into the abism
Avatar
funcitons which you can use etc
Avatar
<Ryozuki> c++ + lua is the best combination imho
Avatar
but then you have to add support, a lot of code?
Avatar
<Ryozuki> i think thats not a problem
Avatar
you want client scripting or server scripting?
18:25
or both
Avatar
server scripting
Avatar
<Ryozuki> server scripting
Avatar
like plugins for server in other games
18:25
but it should be as a standard teeworlds server core
18:25
not like a ddnet
18:25
imo
Avatar
<Ryozuki> yeah
18:25
<Ryozuki> well idk
Avatar
then if you want to build and ddrace, you can
18:26
download plugin (haha)
18:26
for score system
18:26
and freezes, and here you go!!
18:26
๐Ÿ˜„
Avatar
<Ryozuki> well maybe ddnet wouldn't use it, but other people maybe would
18:27
definitely, they would.
18:27
maybe more people would write plugisn. It's easier to use documentation with built-in funcitons, than
18:28
learn how to teeworlds-code works :V
Avatar
<Ryozuki> yeah
18:28
<Ryozuki> would be easier to documentate also
Avatar
<HMH> well but i guess if hacking into ddnet becomes that easy we get even more spaghetticode
Avatar
Maybe another branch
18:30
or even repo.
Avatar
<Ryozuki> why would it be easier to hack into ddnet
18:30
<Ryozuki> me no understand
18:30
<HMH> using some documented lua api vs c++
Avatar
make a rest api first
Avatar
<HMH> no need for compiling
18:31
<Ryozuki> you mean ddnet as the server software or ddnet as the whole servers
Avatar
Rest API first? for what?
Avatar
Skin Database and Finished Maps
Avatar
or, .dll as a plugins
Avatar
<HMH> dll is windows only
Avatar
<Ryozuki> lua
18:48
<Ryozuki> python
18:48
<Ryozuki> .a is for linux
18:50
<HMH> do you also know the one for macOS :P ?
18:50
<Ryozuki> idk never had one
Avatar
python sounds
18:50
the best
Avatar
<Ryozuki> lua is better with c++
Avatar
they lua :V
Avatar
<EastByte> .a is a static lib though, you probably mean .so
18:51
<Ryozuki> h yea
Avatar
Teespring makes it easier than ever to sell custom printed apparel. Leverage the power of your network to earn money with absolutely no cost.
20:14
tee-ish shop
20:14
really cheap :V
20:15
THere is even Premium tee!
Avatar
really cheap :V >10โ‚ฌ for a shirt (edited)
20:21
gtfo with ur ads
Avatar
yes, expensive ๐Ÿค‘ (edited)
Avatar
depends on how much is printed
Avatar
Teeeeee
20:23
don't be mean
20:23
sfw^
Avatar
<Ryozuki> offtopic?
20:24
<Ryozuki> xD
Avatar
no i talked about
Avatar
shirts (edited)
Avatar
Tee-Shirts
20:24
which deen sells :<
20:24
and have no profit :<
20:25
his shirts are sold here: https://shop.spreadshirt.de/ddnet/
T-Shirts for DDracenetwork: http:ddnet.tw
Avatar
plz #join-leave
20:26
20โ‚ฌ vs 10$
20:26
:<
20:26
with tee-ish shop
20:26
I win
Avatar
<Learath2> the only acceptable use of lua in tw code would be gamecore imho
20:28
<Learath2> i've really thought about whether lua scripting would be of any use, but its just useful for botters
20:29
<Ryozuki> server sided?
Avatar
for botters
20:29
server sided?
20:29
;O
Avatar
<Ryozuki> i mean lua only for server
20:29
<Ryozuki> bots cant use that then
20:29
<Learath2> yeah but what plugin would you make?
20:29
<Learath2> i tried to think of some
20:29
<Ryozuki> and they already can use ath client to bot with lua
Avatar
none, it's useless
Avatar
<Ryozuki> you could basically make all ddnet gamemode in lua
20:30
<Ryozuki> maybe would be more maintainable
20:30
<Ryozuki> idk
Avatar
<Learath2> well we are maintaining it just fine :P
Avatar
I guess
Avatar
<Learath2> without the performance overhead aswell
Avatar
People has ideas
Avatar
<Ryozuki> and would also allow new programmers
20:30
<Ryozuki> easier doc
20:30
<Ryozuki> xD
Avatar
omg the spam
Avatar
<Learath2> tbh i don't want new coders if they are going to half ass it
20:30
<Ryozuki> you can write some core parts in c++
Avatar
but don't have knowledge about teecode
Avatar
<Ryozuki> teelang
Avatar
and, it should be (in my opinion)
Avatar
<Learath2> as i said the only thing that would be nice would be gamecore
Avatar
used in clear teeworlds(as a core), rather than ddnet one.
Avatar
give real idea, because so far there is nothing
Avatar
<Learath2> so you can upload a gamecore to the client
Avatar
If you wanna make add-ons, make a merge request, no need for an extra scripting lang
20:32
imo
Avatar
<Learath2> could have really nice gamemodes if one can modify the gamecore without completely breaking prediction
20:33
<Ryozuki> "In games, game logic and configuration are typically contained in script files. These scripts can easily be updated by non-programmers (like the designer) to tweak the gameplay. Script languages are easy and act in a forgiving manner for that purpose."
20:33
<Learath2> well our gameplay is mostly in maps and they are easily edited by non programmers
20:33
<Learath2> game logic as said would be cute
20:33
<Ryozuki> cute xD
Avatar
Idea ? New programmers, new posibilities. Someone would make a plugin to i.e. store scores/times whatever. Then another plugin could add another features
Avatar
<Learath2> do you remember Nodes?
Avatar
the gamemod?
20:34
yea
Avatar
<Learath2> was really fun but it died off cause people needed a new client
Avatar
<Learath2> we could do things like that if we had a way to send gamecore to clients
20:35
<Ryozuki> mods that require new client are usually going to die
Avatar
i don't understand?
Avatar
<Ryozuki> why you would need that?
20:35
<Learath2> need what?
20:35
<Ryozuki> send gamecore
20:36
<Learath2> that way you can modify/add new physics and mechanics all the while keeping perfect prediction
20:36
<Ryozuki> yeah
20:36
<Ryozuki> then
20:37
<Ryozuki> break vanilla compat
20:37
<Learath2> wouldn't even need to break vanilla compat if you don't really want to with lua gamecore
20:37
<Ryozuki> :o
20:37
<Learath2> new servers could send NETMSG_PLXGETCORE and we could have the default gamecore ported over
Avatar
<Learath2> that way you can modify/add new physics and mechanics all the while keeping perfect prediction like.... tune zones?
Avatar
<Learath2> tune zones modify physics that is already there
Avatar
you can modify much more
Avatar
<Ryozuki> i think tunes had a limitation because pred
20:39
<Learath2> a more accurate example of what i was thinking is adding a dash
20:39
<Learath2> adding a proper wall jump
Avatar
I tangled up.
Avatar
<Learath2> anyways even that is not a good enough reason to invest manpower in lua stuff :P
20:40
<Ryozuki> sad
Avatar
<Learath2> the amount of work required to do something like what you propose is ridiculous
Avatar
It would be great, if teeworlds would be that big as a minecraft is
20:41
haha
Avatar
<Learath2> first you'd need to modify teeworlds core to have lua plugins, and then you'd need to port over ddnet to lua
20:41
<Learath2> and lua is a pretty meh language
Avatar
you don't need to port ddnet to lua
20:42
What else then? Than lua?
Avatar
<Learath2> well lua is the best choice in this case
Avatar
Or just convert from another language to lua
20:44
after writing the plugin :
20:44
TeeLang
20:44
hahah
Avatar
<heinrich5991> "whitespace fix"
20:44
<heinrich5991> literally the third line is already wrong
20:45
<heinrich5991> extra space between if and (
20:45
<Learath2> well i really don't know what i'd make in a plugin if we are keeping ddnet itself C
20:46
<Learath2> heinrich5991: that file is full of stuff that is off in style
Avatar
maybe you nothing, but it gives possibilities to others, if it would be good interface between plugins and teeworlds-code
Avatar
<Learath2> wasn't sure if i'd touch it
Avatar
"<heinrich5991> extra space between if and (" u treat if like a function? :v
Avatar
<heinrich5991> tw does that
20:47
<heinrich5991> the missing space
20:48
<Learath2> there shouldn't be a space there imho
Avatar
u crazy
Avatar
<heinrich5991> it doesn't matter
20:48
<heinrich5991> :D
20:48
<Learath2> and there shouldn't be paranthesis in a sizeof
Avatar
CookieAlex slaps Learath2 around a bit with a large trout
Avatar
<Learath2> ikr not a popular stance on style :P
20:50
<Ryozuki> me mesage
20:51
<Ryozuki> it works on discord too :o
Avatar
<Ryozuki> lol
20:51
<Ryozuki> its black
Avatar
/slap Ryozuki
20:51
does it work?
Avatar
<Ryozuki> !slap Ryozuki
20:51
<Learath2> ofc not
Avatar
unlucky
Avatar
<Learath2> !decide sleep or code
20:52
<Nimda> Learath2: sleep
20:52
<heinrich5991> duh
20:52
<Ryozuki> !decide sleep or code
20:52
<Nimda> Ryozuki: sleep
Avatar
how does it look on irc?
Avatar
<Ryozuki> mmm
20:52
<Ryozuki> this isn't linked
20:52
<Learath2> well i also have a flight tomorrow
20:52
<Learath2> gn8 :)
20:52
<heinrich5991> ah
Avatar
<?php $test = 'lol'; if(iDie) echo "You died"; (edited)
Avatar
!decide php or food
Avatar
<heinrich5991> where to?
20:52
<Nimda> ddnet-discord: php
20:52
<Learath2> back to italy
20:53
<heinrich5991> you voted in that erdogan thing? :)
20:53
<Ryozuki> dictator?
20:53
<Learath2> well i knew it wouldn't matter much but i did
20:53
<heinrich5991> +1
20:54
<Learath2> the guy spent 15y coming here why would he miss his chance just to respect public opinion
20:54
<Ryozuki> <y>?
Avatar
<Learath2> years
20:54
<Learath2> i should get a font with monospace emojis
20:54
<heinrich5991> i have one
20:55
<Ryozuki> consolas 10
20:55
<heinrich5991> dunno which it is though
20:55
<Ryozuki> show them
20:55
<Learath2> or modify the bot to convert the emoji's to their olden versions
20:55
<Ryozuki> nah
Avatar
good luck
20:56
there are over 2000 emojis
Avatar
<heinrich5991> Learath2: I bet someone already does that
20:59
<Learath2> i don't want to see the stupid oness
20:59
<Learath2> like don't need to see the smiling shit
20:59
<Learath2> i really love dejavu sans mono
21:00
<heinrich5991> list of ascii emoticons
21:00
<heinrich5991> ( อก° อœส– อก°)
21:00
<heinrich5991> really
21:00
<Learath2> :D
21:01
<Learath2> really should get to sleep :/ gn8
21:01
<heinrich5991> nite
21:01
<Ryozuki> gn
Avatar
<Paralix> slaps deen around a bit with a large fishbot
Avatar
thanks Paralix
Avatar
<Ryozuki> is it good to use goto keyword on c++?
Avatar
It's never good wtf
Avatar
<Ryozuki> another person giving some proper arguments please? xD
21:34
<heinrich5991> in c++ it's not really needed
21:34
<heinrich5991> do the cleanup in destructors
Avatar
I would say in very few cases but rather never
Avatar
i always use it
Avatar
I rememer seeing it in ddnet code
Avatar
<heinrich5991> for tw code, it's a no
Exported 447 message(s)