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 2018-03-16 00:00:00Z and 2018-03-17 00:00:00Z
Avatar
without modifying which functions?
Avatar
[quakenet] <jxsl13> any, but mostly not possible
Avatar
[quakenet] <jxsl13> aw, man, sqlite dbs will be so big xD
03:56
[quakenet] <jxsl13> 1min -> 1mb :D
Avatar
[quakenet] <jxsl13_m> Test
Avatar
exactly jxsl13
06:26
that's why I suggested to keep using files and compress them, like we do for ddnet
Avatar
[quakenet] <jxsl13_m> I got both options implemented :D
Avatar
[quakenet] <Creepah> .
11:31
[quakenet] <Creepah> tr
11:31
[quakenet] <Creepah> dt
11:31
[quakenet] <Creepah> dr
11:31
[quakenet] <Creepah> tsd
11:31
[quakenet] <Creepah> rg
11:31
[quakenet] <Creepah> sdr
11:31
[quakenet] <Creepah> gs
11:31
[quakenet] <Creepah> df#gs
11:31
[quakenet] <Creepah> dfgs
11:31
[quakenet] <Creepah> dfga
11:32
[quakenet] <Creepah> dfg
11:32
[quakenet] <Creepah> dfg
11:32
[quakenet] <Creepah> df
11:32
[quakenet] <Creepah> d
11:32
[quakenet] <Creepah> ?
11:32
[quakenet] <Creepah> ?help
11:32
[quakenet] <Creepah> sd
11:32
[quakenet] <Creepah> sd
11:32
[quakenet] <Creepah> fd
11:32
[quakenet] <Creepah> d
11:32
[quakenet] <Creepah> d
11:32
[quakenet] <Creepah> d
11:32
[quakenet] <Creepah> dd
11:32
[quakenet] <Creepah> d
11:32
[quakenet] <Creepah> d
11:32
[quakenet] <Creepah> d
11:32
[quakenet] <Creepah> d
11:32
[quakenet] <Creepah> d
11:32
[quakenet] <heinrich5991> Creepah: stop spamming
11:32
[quakenet] <Creepah> d
11:32
[quakenet] <Creepah> d
11:32
[quakenet] <Creepah> d
11:32
[quakenet] <Creepah> d
11:32
[quakenet] <Creepah> d
11:32
[quakenet] <Creepah> d
11:32
[quakenet] <Creepah> d
11:32
[quakenet] <Creepah> d
11:32
[quakenet] <Creepah> dddd
11:32
[quakenet] <Creepah> d
11:33
[quakenet] <Creepah> d
11:33
[quakenet] <Creepah> d
11:33
[quakenet] <Creepah> d
11:33
[quakenet] <Creepah> d
11:33
[quakenet] <Creepah> d
11:33
[quakenet] <Creepah> d
11:33
[quakenet] <Creepah> d
11:33
[quakenet] <Creepah> d
11:33
[quakenet] <system> rejoin
11:33
[quakenet] <Creepah> d
11:33
[quakenet] <Creepah> *s***
11:33
[quakenet] <Creepah> S
Avatar
missclick
Avatar
lolol spam
Avatar
lolol so funny, spam lol
12:05
misshook
Avatar
[freenode] <nemo> cat on keyboard?
14:53
[freenode] <nemo>🐱
Avatar
[quakenet] <jxsl13> heinrich5991 online :O?
15:20
[quakenet] <jxsl13> or anyone :D?
15:20
[quakenet] <jxsl13> get a segfault 11 .. don't know how to fix it :c
Avatar
you moved it into the teehistorian.cpp file ._. ^^
Avatar
[quakenet] <heinrich5991> you could point a debugger at it
15:26
[quakenet] <heinrich5991> and check whether some of the variables have odd values
15:26
[quakenet] <heinrich5991> e.g. 'this'
15:26
[quakenet] <jxsl13> don't know how the heck to debug c++ :O
15:26
[quakenet] <heinrich5991> on which platform are you?
15:27
[quakenet] <heinrich5991> windows linux macos?
15:27
[quakenet] <jxsl13> mac
15:27
[quakenet] <heinrich5991> use gdb ./zcatch_srv
15:27
[quakenet] <heinrich5991> then r
15:27
[quakenet] <heinrich5991> then you can use bt to get a backtrace
15:27
[quakenet] <jxsl13> hm.. kk will try
15:27
[quakenet] <heinrich5991> post it
15:28
[quakenet] <heinrich5991> (when you're done, the backtrace)
15:30
[quakenet] <jxsl13> do I need to rebuild the binary with some debugging stuff :O?
15:30
[quakenet] <jxsl13> Reading symbols from ./zcatch_srv_x86...(no debugging symbols found)...done.
15:30
[quakenet] <jxsl13> q
15:31
[quakenet] <heinrich5991> bam server_debug
15:31
[quakenet] <jxsl13> hm, doing :D
15:31
[quakenet] <heinrich5991> bam server_debug_x86?
15:31
[quakenet] <heinrich5991> maybe
15:31
[quakenet] <jxsl13> server_debug is the default for every debugging version
Avatar
ok
Avatar
[quakenet] <jxsl13> still te same error, nothing to debug :O
15:32
[quakenet] <heinrich5991> you need to use a different executable
15:32
[quakenet] <heinrich5991> like
15:32
[quakenet] <heinrich5991> zcatch_srv_x86_d
15:32
[quakenet] <heinrich5991> or so
Avatar
editor bug: open any map. open the server settings menu down below. go into any layer and hold down spacebar. wtf is it
Avatar
[quakenet] <jxsl13> ls
15:32
[quakenet] <jxsl13> xD
15:32
[quakenet] <jxsl13> thx
15:33
[quakenet] <jxsl13> ..../zcatch_srv_x86_d" is not a core dump: File format not recognized
15:33
[quakenet] <heinrich5991> hmmmm
15:33
[quakenet] <heinrich5991> can you execute it?
15:33
[quakenet] <jxsl13> there are two executables built
15:34
[quakenet] <jxsl13> Reading symbols from ./zcatch_srv_x86_64_d...done.
Avatar
ok
15:34
@Im 'corneum can't reproduce. what should happen?
Avatar
[quakenet] <jxsl13> but s that it with the debugger :O? has no more output
15:34
[quakenet] <heinrich5991> yes it is
15:34
[quakenet] <heinrich5991> does it crash?
15:35
[quakenet] <jxsl13> that's all the output
Avatar
@heinrich5991 there is a grey square comming from the upper left corner. but only for like half a second and it doesnt pop up but grows.... so weird
Avatar
[quakenet] <jxsl13> https://pastebin.com/PmdfkB5X. that's what the debug executable says
15:36
[quakenet] <heinrich5991> you should enter 'r'
15:36
[quakenet] <heinrich5991> to execute the program
15:36
[quakenet] <jxsl13> ah
15:36
[quakenet] <heinrich5991> or 'run'
15:36
[quakenet] <jxsl13> Starting program: /Users/john/Desktop/zCatch/zcatch_srv_x86_64_d
15:36
[quakenet] <jxsl13> Unable to find Mach task port for process-id 2715: (os/kern) failure (0x5).
15:36
[quakenet] <jxsl13> (please check gdb is codesigned - see taskgated(8))
15:36
[quakenet] <jxsl13> hm, need to look up how to configure gdb ._. could be a mac issue
15:36
[quakenet] <heinrich5991> google that error? ^^
15:55
[quakenet] <jxsl13> wha now :O?
15:58
[quakenet] <heinrich5991> type "bt"
15:58
[quakenet] <heinrich5991> or "backtrace"
15:59
[quakenet] <jxsl13> no stacktrace
Avatar
[quakenet] <heinrich5991> mhh
16:12
[quakenet] <jxsl13> finally thank stackoverflow xD
16:13
[quakenet] <jxsl13> the latest version of gdb (8.1) does not work on mac os x high sierra -> download earlier version 8.0.1 -> codesign -> run ._.
16:14
I have installed gdb 8.1 with brew. I have codesign gdb also and .gdbinit as below: set startup-with-shell off. I have disabled SIP feature: $ csrutil status System Integrity Protection status:
16:14
It is a problem that appeared when I first updated to macOS Sierra yesterday. GDB itself is running OK. However, somehow, it cannot run my program. When I type 'run' and 'enter', it immediately cr...
16:44
[quakenet] <heinrich5991> jxsl13: well, aio is 0x0
16:44
[quakenet] <heinrich5991> aka the null pointer
16:45
[quakenet] <jxsl13> hm k
16:47
[quakenet] <heinrich5991> the stack trace confuses me though
16:48
[quakenet] <heinrich5991> do you call CGameContext::CreateExplosion from CTeeHistorian::Write?
16:48
[quakenet] <jxsl13> not that I know
16:49
[quakenet] <jxsl13> code is online tho, if you want to know
16:49
[quakenet] <jxsl13> most likely something in heehistorian::oninit
16:54
[quakenet] <jxsl13> [2018-03-16 17:54:10][TEEHISTORIAN]: pSelft==1, pSelf->m_pTeeHistorianFile=0, DataSize=16
16:58
[quakenet] <jxsl13> I'm wondering, is the ASYNCIO handle being passed incorrectly?
Avatar
[quakenet] <jxsl13> :D fixed
18:13
[quakenet] <jxsl13> whoosh and gone
Avatar
[quakenet] <heinrich5991> oh :D
18:58
[quakenet] <heinrich5991> jxsl13: you just passed a NULL file? ^^
Avatar
[quakenet] <jxsl13> accessed the historian file before it was actuall initialized
Avatar
@heinrich5991 can you guys please update the sdl lib to the latest version? it apparently fixes the "mouse warp"(inp_mouseold 1 not working) issue on latest win10 version
Avatar
Were any of you people certified web engineers? I'm having some trouble with getting css to apply to jquery appended elements
Avatar
[freenode] <nemo> heh "certified web engineers"
Avatar
eh, turns out it was my bad, angular doesn't appreciate direct manipulation of the DOM
Avatar
[quakenet] <jxsl13> heinrich5991 , you got a woring teehistorian file for me :D?
21:37
[quakenet] <jxsl13> or anyone :O
21:37
[quakenet] <heinrich5991> woring?
21:37
[quakenet] <jxsl13> working
21:38
[quakenet] <heinrich5991> haven't you produced some already? ^^
21:38
[quakenet] <jxsl13> ehm, deleted :c
21:38
[quakenet] <jxsl13> and always breaking your teehistorian, not my sqlite stuff, tho x), when trying to refactor
21:39
[quakenet] <heinrich5991> why do you hook into my working teehistorian? ^^
21:39
[quakenet] <jxsl13> I'm trying to put as much as possible into that teehistorian class because it's the logging class
21:40
[quakenet] <heinrich5991> you could also just copy that class and put everything you want into your SqliteLogging class
21:40
[quakenet] <heinrich5991> that way, you wouldn't break teehistorian
21:40
[quakenet] <jxsl13> :c but I don't know where to hook in the tw source
21:40
[quakenet] <jxsl13> or how
21:40
[quakenet] <heinrich5991> revert to the working teehistorian
21:40
[quakenet] <heinrich5991> copy the class
21:41
[quakenet] <heinrich5991> also copy the hooks everywhere I set them
21:41
[quakenet] <heinrich5991> done :)
21:41
[quakenet] <jxsl13> a big mess :c
21:41
[quakenet] <heinrich5991> why's that?
21:41
[quakenet] <heinrich5991> less of a mess
21:41
[quakenet] <heinrich5991> because you don't have teehistorian and sqlite intermingled
21:41
[quakenet] <jxsl13> many hooks
21:46
[quakenet] <heinrich5991> can I help you with splitting that up if you don't mess up my precious teehistorian? :P
21:46
[quakenet] <jxsl13> never xD
21:46
[quakenet] <heinrich5991> :(
21:46
[quakenet] <jxsl13> :()
21:50
[quakenet] <jxsl13> wtf ._.
21:51
[quakenet] <jxsl13> didnt do anything, your tool didnt throw wrong magic error
21:51
[quakenet] <jxsl13> before it did throw the magic error :'c
21:58
[quakenet] <heinrich5991> problem is that it now displays the "wrong magic" error?
22:02
[quakenet] <jxsl13> no, it works again ._. maybe I did a mistake somewhere
22:02
[quakenet] <jxsl13> or maybe most likely :D
Avatar
also if you modify th you can't get updates 😛
Avatar
[quakenet] <jxsl13> already done :O
22:54
[quakenet] <jxsl13> updates should be ok to add ._.
22:54
[quakenet] <jxsl13> hopefully
Exported 200 message(s)