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-10-26 00:00:00Z and 2017-10-27 00:00:00Z
06:42
ab2738c Allow cross-compilation from Linux to macOS - heinrich5991 77ca355 Merge pull request #930 from heinrich5991/pr_dd... - def-
Avatar
The important part is that the skins would have to be loaded dynamically in the background instead of loading all of them like right now
06:50
right now having hundreds or thousands of skins fills up your RAM
Avatar
and size/amount limit, like with demos and some way of stopping people making 9000 gigantic skins and spamming them
Avatar
the skins should be from skin db, and we have mods for that
Avatar
Ok good
Avatar
so I'd accept a PR to download them from within the client
07:10
just show the default skin until it's downloaded, don't hang the main threads waiting for download
Avatar
hmm if the client downloaded the skins from DB couldn't it also download Creator and skinpack data so instead of searching by skinname you could search by Creator and skinpack too
Avatar
Neat!
07:37
All the haxx client is way better than ddnet client
07:37
lel xD
Avatar
hell no
07:49
Too many useless thing
07:49
And too little useful stuff
Avatar
wait a minute, isn't it hack client? Ban @ezy and remove all his points banhammer (edited)
👎 2
08:03
And by minute I mean 14 of them
Avatar
@Mokumoku it's not a hack client, so no need to banhammer Ezy :) And yea, you are totally right, it has got loads and loads of useless stuff, like the exact same skindownloader that deen described earlier :D
Avatar
Skinstealer*
Avatar
if you consider downloading from ddnet's database "stealing"..
Avatar
I meant ath's skinstealer 😄
Avatar
Was mostly joke, tho it has some hacks
Avatar
@jao what's that?
11:41
@Mokumoku oh does it? didn't know about that... like what for example? o.O
Avatar
A tool that downloads skins from other players that are on your sever
Avatar
that sounds like a skin downloader
Avatar
@jao that's not possible, how would you do that?
Avatar
One hack is balance boy
Avatar
the players would have to send it over the gameserver or p2p
11:42
Bot*
Avatar
Idk how it works, but some client has it, maybe it wasn't ath 😮
Avatar
Baumalein?
Avatar
Oh and ath has this thing where you hammer someone to get his skin on your tee xd
Avatar
lol no xd now THAT was baumalein
Avatar
@jao can we get that for ddnet?
Avatar
But no download just changes it
11:46
Probably;
Avatar
its rly hard to copy colors on your own
Avatar
Ye why not, pretty useful feature
12:00
Ath is just better
🙄 1
12:00
If u dont like useless things then dont fuck around with em
12:00
But so many things that ddnet doesnt have that are cool
12:02
Even small things like when u spec someone it moves to the player smoothly makes it so much better
Avatar
dude what are you discussing about? just let people use whatever they prefer and do so yourself
Avatar
Im saying that ath is better than ddnet
12:04
Ofc they have to decide themselves
Avatar
It's just your opinion, and it's wrong
Avatar
how can an opinion be wrong or right tho? 😄
Avatar
let's keep ddnet as purely only practical features, no autohammerskinchanger
Avatar
It's so funny to read you
12:14
Use whatever you want, just don't cry if you will be banned while using hacks
Avatar
Am I wrong?
Avatar
I mean, the whole discussion
12:14
about clients
12:14
it's funny
Avatar
@Savander totally agree with you
12:14
it's rediculous
Avatar
@Mokumoku stop that
12:21
Sorry
12:23
@Savander yes about bans yes, would be better if just no-one used them
Avatar
@Mokumoku so ath doesnt have the hammer feature and we talked about this already. and why would u dislike a client that has autohammerskinchanger. Obviously if ddnet had this function any normal person would just keep their fingers from it. Also It isnt even a bot or some other script which u can cheat stuff with
Avatar
I ment please don't add 900000 useless features to dd
👍 1
Avatar
Stuff like the opengl update isn't really useful for players either
Avatar
why? 😮
12:36
it makes rendering faster
12:37
-> less resources used, runs on worse computers
Avatar
if they've got opengl 3.3 support, that is :D
Avatar
yes
12:38
I don't know the stats on that
12:39
quick googling suggests that nvidia supports it with its drivers since 2010
12:39
from the first impression it sounds likely that everyone has OGL 3.3
Avatar
Oh I thought it's for better fps while zooming out far
Avatar
that's a side effect of doing things faster ^^
Avatar
hum, I might have found something where a lot of performance is being wasted... all the stuff that mem_alloc and mem_free does in addition to what their main purpose is makes them be more then two to three times slower than a simple malloc and free. I'm not sure if it would make change fps-wise, but considering that they are called about 30 times per second when ingame, it's definitely more than just a negligible micro-optimization.
Avatar
think mem_alloc and mem_free were used to keep control over the way memory is allocated, possibru to keep it less fragmented
Avatar
as far as I can see it's just collecting stats about how much memory is being allocated from where in the code for debugging purposes. It's also performing integrity checks and asserts if something is wrong, so that you can find possible memory errors
16:17
oh and of course you can use it to find memory leaks, at least if every allocation in the code is done using mem_alloc
Avatar
I don't think we have code there to track leaks do we?
Avatar
the code from vanilla remembers what has been allocated and from where, so if you read all these information after client shutdown, there should be no allocations left (except for a few that are hard to get rid of)
16:24
the function mem_debug_dump writes everything that is currently allocated to a file 'memory.txt'
Avatar
do i have to open ports so that ddnetserver shows on internet
Avatar
usually yes, if it tell you to
18:00
I guess I don't have to tell you about setting sv_register 1, do I?
Avatar
i set it to 1
18:01
hmm i try to open port
18:01
it doesnt show
Avatar
did it say "server registered" in the console tho?
Avatar
You have to forward port, and also be sure that your ISP allows you to use that port
18:02
[2017-10-26 20:01:49][register]: chose 'master2.teeworlds.com' as master, sending heartbeats [2017-10-26 20:01:52][register]: ERROR: the master server reports that clients can not connect to this server. [2017-10-26 20:01:52][register]: ERROR: configure your firewall/nat to let through udp on port 8303.
Avatar
yep, as the message says :D
Avatar
do i have to fear hackers if i open that port?
Avatar
<Henningstone> well if you are going to host a teeworlds server you have to fear everything nowadays :D
Avatar
i think, if teeworlds server has
18:04
some weakness
18:04
which can destroy your life
18:04
then yes
18:04
no one can be sure
18:04
generate ports are used to communiate
18:04
communicate
18:06
wtf?
18:06
it's german
18:06
:OO
Avatar
it wants me to choose a port from 1 to 65k
18:08
i chose 8303
18:08
hmm
Avatar
just guessing, but have you got a port forwarding rule for that already (inactive)?
18:13
ah got it
18:13
im stupid
Avatar
i didnt choose the machine
18:13
i thought it works for all
Avatar
kind of a stupid error message then
Avatar
i bet, they sent random message
18:14
if they don't know what went wrong
18:14
😄
Exported 134 message(s)