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-03-09 00:00:00Z and 2020-03-10 00:00:00Z
Avatar
@annoying name you should create file or sql to store data otherwise you lose your vip members everytime you close your server or restart it, so after that you can add tiles for your vip or moder room to check that player have authed rank then they can cross of tile or get Die(). I think you can learn about how do this with examples in DDNet++'s ChillerDragon.
10:29
ddnet peepee
10:29
aw
Avatar
annoying name 2020-03-09 11:30:52Z
@Vexar i m 50% 50% understand
11:30
what shoud i do
Avatar
are you from iran ?
Avatar
annoying name 2020-03-09 11:31:08Z
whith that files in ddnet++;s
11:31
y
11:31
are you iranian too ?
Avatar
annoying name 2020-03-09 11:31:42Z
pv
Avatar
@fokkonaut you don't have the new config patches from 0.7 yet on ddnet7
14:49
?
Avatar
i dont think so
14:49
why?
Avatar
Just wondering, maybe we should get it in before we drift too far from vanilla
Avatar
feel free to do it :)
15:06
731cfe8 Fix sv_team (fixes #79) - fokkonaut
Avatar
official ddnet7 servers run an ancient version because of crashes btw
Avatar
@deen any backtraces?
Avatar
Core was generated by `./DDNet7-Server -f servers/9304.cfg'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x000055d5377fd8f2 in CProjectile::CProjectile (this=0x55d538fb29...
Avatar
does anyone know what this is used for in maplayers.cpp, its a check before rendering the map (ddnet only) if(Size >= pTMap->m_Width*pTMap->m_Height*sizeof(CTile))
15:34
(also for the other layers, like speedup, tune etc)
15:35
but for them ofc with CSpeedup or something instead of CTile
Avatar
I don't know
15:35
the check is that the layer is as large as it is specified, perhaps because there are broken maps out there?
Avatar
it causes issues on some maps not rendering tiles in my 0.7 client
Avatar
if the layer is too small, that sounds like the maps is broken(?)
Avatar
no idea
Avatar
can you maybe output the width, height and size and compare it to what you see in the editor?
Avatar
i can try
15:39
same
15:39
weird
Avatar
what is size, width and height as seen in debug output?
15:40
and what is the editor's opinion on this?
Avatar
width and height are the same as in the editor
Avatar
and size?
Avatar
what would i need to compare it to
Avatar
what is the value of it? width*height*sizeof(tile) according to the source (edited)
16:43
what is its value, what are the values of width, height?
Avatar
?????????????
16:44
big questionmark
16:44
no idea what you mean (edited)
Avatar
can you tell me the values of size, width and height?
16:44
you said you debug-printed them
Avatar
width and height are 300, 150
16:45
size i dont know right now
Avatar
300 * 150 * sizeof(tile) is checked against Size, so that variable is also interesting
Avatar
I can continue debugging this tomorrow, or if youd like you can do it. my clients code is available
21:43
you would need to revert this commut
Avatar
join chillerdragons ctf Server, he uses vanilla ctf map and it doesnt render tiles
Avatar
@fokkonaut there are 2 (possible) reasons for your map problem: 1) in ddnet GetDataSize returns the actual size of the data, while in vanilla it's the (compressed) data size in the file 2) 0.7 has tile-skip for better map compression. when the map is loaded, the tile layers are unpacked and the data in the datafile is replaced, but the size is not updated
23:22
just remove the check. if the the map is broken, the client will probably already crash when unpacking the layer
Avatar
don't remove the check
23:28
this can lead to a crash on a malformed entities layer, e.g. from another mod, when you switch to entities
Exported 61 message(s)