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-09-26 00:00:00Z and 2017-09-27 00:00:00Z
Avatar
i think sp|someone found another bug, apparently announcements on ddnet only work in random order, in sequential order they get stuck on the last one
Avatar
https://github.com/ddnet/ddnet/blob/master/src/engine/server/server.cpp it seems like this can be fixed by just changing line 2787 from if(m_AnnouncementLastLine >= v.size()) to if(++m_AnnouncementLastLine >= v.size()) ??
Avatar
<jerry_> anyone here?
04:17
<Learath2> sure
04:18
<jerry_> Good i have a question: why does haisito! have no points?
04:19
<jerry_> he's been around for a long time & finished many maps
Avatar
<Learath2> think we gave him a rename
04:32
<Learath2> yep we did
04:33
<jerry_> oh that makes me feel a lot better
04:34
<jerry_> thanks, i think a note when you search his name would be nice
Avatar
he changed name to W'
Avatar
Anyone want to tell me how to properly cache stuff? https://gtmetrix.com/reports/ddnet.tw/tLiSQxXO Otherwise I'll take a look myself later
Fully Loaded time: 1.7s, Total Page Size: 405KB, Requests: 14
Avatar
<heinrich5991> deen: do keys like pos1 etc. work for you on the ddnet servers?
Avatar
@deen I activated caching for 1 day in nginx
11:47
you can easily modify it in /etc/nginx/site-available/ddnet
11:47
Fully Loaded time: 2.1s, Total Page Size: 406KB, Requests: 14
11:48
if you want, you can tell me how long you want it cached, or edit it yourself
11:52
you can enter "max" for "cache as long as you can", and these time suffixes: https://nginx.org/en/docs/syntax.html
Avatar
<deen> heinrich5991: what does that mean? pos1 key on keyboard?
12:20
<heinrich5991> yes
Avatar
4fe6dc5 Fix non-random announcements (thanks noby) - def-
Avatar
<heinrich5991> it messes up the command line for me
12:20
<deen> not sure what i have a bind for on that
12:20
<deen> ah
12:21
<deen> didn't test maybe
12:21
<deen> needs to be fixed then
12:21
<heinrich5991> (I mean via ssh, not on the game servers)
12:25
<deen> ah
12:25
<deen> yes, works for me
12:34
😮
Avatar
<deen> wtf @Dr. Jekyll
12:42
<deen> Crazy stuff
Avatar
looks like good stuff for tutorial
12:42
part
Avatar
<deen> We were waiting with Steam release until the Tutorial is done. I think by now Steam Greenlight doesn't even exist anymore, haha
Avatar
yeah greenlight has ended
12:54
replaced with something else tho
12:57
but i guess
12:58
you still can realese your game fom greenlight
Avatar
you already have a submission on it?
12:59
they had only to upload
12:59
files and mke product site
Avatar
<deen> but without a tutorial ddnet is impossible to get started with
Avatar
that's right
Avatar
it looks like it's still possible to release ddnet through steam through greenlight
13:50
it still shows up in the place where you can edit apps before publishing
Avatar
yes, because ddnet had good opinions, it's not like they removed greenlight and every games
13:52
You got ability to release game. Anyway, now it would be more exepnsive if ddnet wouldn't be allowed
Avatar
<heinrich5991> deen: how long should images/css/js be cached on ddnet.tw?
13:53
<heinrich5991> I used a conservative value of 1 day for now, but the site suggests longer time spans (and isn't too wrong about it, I guess)
Avatar
In my opinion, it could be longer time. since you can just add version number to js/css
13:54
it will be refreshed immediately
Avatar
Do "server settings" (map tune zones etc) get loaded clientside ever?
Avatar
they aren't, so far
Avatar
Any barriers to me adding my own data into it and loading on client?
Avatar
what kind of data? 😃
Avatar
like - will servers just ignore data they dont understand
14:00
im changing group clipping areas to show/hide quads, so i need somewhere to store clip values
Avatar
so you add clipping to layer groups?
Avatar
yeah, modifying it on tune zone change
Avatar
ah, you want to dynamically change it
14:03
I'm not entirely sure about the best place to put this
14:04
putting it into the server config is probably not the worst place
Avatar
the server will just ignore improperly foramtted data?
Avatar
it's stored as a list of console commands
14:05
console commands that are invalid aren't executed..... but they do output stuff into the console
Avatar
what about hiding it in one of the unused info tables
Avatar
you could also just add a new data item in the map
14:09
we don't have to search for space, the format was designed with extensibility in mind
Avatar
a good ddnet tutorial would be really big, but if the tutorial only explains basics to be able to play novice imho its enough.
Avatar
that was roughly what i imagined
16:14
is there a reason why this rand is not being seeded with srand?
Avatar
just installed ddnet on a new setup, and it's running really nicely except that I'm getting 1 second frame drops every few seconds
16:19
anything obvious that could cause that?
Avatar
vsync etc disabled?
16:20
also fsaa
16:24
fsaa 0?
Avatar
os? updated gpu drivers?
Avatar
fedora 26, running bspwm with x11
Avatar
<eeeee> heinrich5991: 1 day sounds fine. it's not like browsers will reload the whole image every day, just means they'll revalidate it
17:30
<eeeee> caching for more will reduce latency a bit, but i wouldn't do that unless we have a solid plan on how to e.g. hotfix the .js if we release a broken script accidentally
Avatar
eeeee, ?ver=111
17:32
etc
Avatar
<eeeee> yes, adding git revision to filenames could work
17:32
<eeeee> just saying we should probably have that in place first, and then we can increase the max-age or w/e
Avatar
<heinrich5991> deen: I guess a single timeout is nothing to worry about? ssh: connect to host rus.ddnet.tw port 6546: Connection timed out
Avatar
<deen> heinrich5991: unfortunately that's normal. we have never fully stable connections
Avatar
TIL you can fetch github pr's along with normal branches so you can easily check them out
Avatar
RUS dead?
Avatar
<Learath2> @Dr. Jekyll seems so
22:37
<Learath2> deen: ^^
Avatar
<Henningstone> I wonder is there any special reason for CRenderTools::RenderTilemapGenerateSkip being in CRenderTools? It doesn't access any of its attributes or methods, but it does access members of CLayers through a pointer passed to it. Wouldn't it make more sense to have this function in CLayers instead?
Exported 100 message(s)