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-08-27 00:00:00Z and 2017-08-28 00:00:00Z
Avatar
I know, updating database right now
Avatar
ah
Avatar
not sure why it takes so long though
09:47
might be stuck somewhere
09:48
or just because our database is kind of big now
14:03
Curl not found (using bundled version)
  • Freetype not found (using bundled version)
  • Ogg not found (using bundled version)
  • Opus not found (using bundled version)
  • Opusfile not found (using bundled version)
  • PythonInterp found
  • SDL2 not found (using bundled version)
  • Zlib not found (using bundled version)
Configuring done
14:03
is that bad?
14:03
in cmake gui
Avatar
nope, fine
15:13
that's why we have the bundles
Avatar
<heinrich5991> sctt_: ask here :)
Avatar
<sctt_> hello @heinrich5991 !
20:52
<sctt_> i've written to you cause i've managed to write a new map_resave to solve the issue i posted on github
20:52
<sctt_> i changed the logic completely, i'm parsing single elements now as io.cpp does
20:53
<sctt_> but the result map makes the client crash.... i hope maybe you could give a look to my source :(
Avatar
<heinrich5991> sctt_: why did you change the logic? ^^
21:10
<sctt_> cause GetSize didnt work, so i thought i'd just load everything with GetType, check the actual size, and compare them
21:10
<heinrich5991> you can fix GetSize if you want
21:10
<sctt_> for example, i noticed that Items GetSize is always 8 bytes less
21:11
<heinrich5991> yup
21:11
<sctt_> yeah but i can't fix it if i don't know what are the differences between the correct one and the wrong one :(
21:12
<heinrich5991> you already realized that one :)
21:12
<heinrich5991> you have to subtract sizeof(CDatafileItem) from GetItemSize
21:12
<heinrich5991> maybe rename that function in CDataFileReader
21:13
<sctt_> oh
21:13
<heinrich5991> GetItemSize -> GetItemSizeRaw
21:13
<sctt_> i was whinking about doing just a minus 8 xD
21:14
<heinrich5991> and then make a new function GetItemSize that takes the result of GetItemSizeRaw and subtracts 8
21:14
<heinrich5991> not 8
21:14
<heinrich5991> I mean sizeof(CDatafileItem)
21:14
<sctt_> oh yes i could try it
21:14
<sctt_> but sure also getDataSize is wrong
21:14
<heinrich5991> yep
21:15
<heinrich5991> but I can also tell you why :)
21:15
<sctt_> cause my maps were messy even when i fixed item size
21:15
<sctt_> oh :O
21:15
<heinrich5991> oh, it seems it was already fixed
21:15
<heinrich5991> use GetUncompressedDataSize
21:15
<heinrich5991> but since GetDataSize is completely useless
21:16
<heinrich5991> maybe just remove that function and rename GetUncompressedDataSize to GetDataSize
21:16
<sctt_> mmmmmm
21:16
<sctt_> ok i will try that :DDD
21:16
<sctt_> that seems great
21:19
<sctt_> meanwhile i'll try, would you like to see the other code i made?
21:19
<heinrich5991> sure
21:19
<sctt_> it's about 100 lines... only if you have time for that ofc
21:19
<sctt_> ok :D
21:19
<sctt_> do you have an email?
21:20
<heinrich5991> it's just one file, right?
21:20
<sctt_> yes
21:20
<sctt_> a small one
21:21
<heinrich5991> then you could put it into a pastebin
21:21
<heinrich5991> do you have a github account?
21:21
<heinrich5991> otherwise: https://pastebin.mozilla.org/
21:21
<sctt_> oki
21:21
<heinrich5991> if you have one, go here: https://gist.github.com/
GitHub is where people build software. More than 23 million people use GitHub to discover, fork, and contribute to over 65 million projects.
Avatar
<sctt_> hey i modified the size methods as you told me
21:35
<sctt_> and it works!!!!
21:35
<sctt_> :DDDDD
21:35
<sctt_> thank you very much!!
Exported 64 message(s)