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 2019-12-08 00:00:00Z and 2019-12-09 00:00:00Z
Avatar
[freenode] ChillerDragon BOT 2019-12-08 00:32:58Z
That is good news. So what is the plan? Connect it directly to main database and spin up normal servers with all maps?
00:33
oh and btw bors timed out :/ on #10
Avatar
Fix by @heinrich5991 from the documentation of objc_msgSend in ``` /* Basic Messaging Primitives
    • On some architectures, use objc_msgSend_stret for some struct return types.
    • On some architectures, use objc_msgSend_fpret for some float return types.
    • On some architectures, use objc_msgSend_fp2ret for some float return types.
      • These functions must be cast to an appropriate function pointer type
      • before being called.
      / OBJC_EXPORT void objc_msgSend(void / id sel...
      08:21
      0bc5504 Update homebrew before installing dependencys - ChillerDragon aab5986 Merge pull request #10 from ChillerDragon/pr_update_brew - def-
      08:23
      4ce0bd1 Fix objc_msgSend() xcode11 error (closed #2245) - ChillerDragon e4cbe5a Merge pull request #11 from ChillerDragon/pr_fix_mac_api - def-
      08:23
      b0eabcb teeworlds -> ddnet on cmake - Ryozuki 2e2681b Merge pull request #3 from Ryozuki/pr_cmake_stuff - def-
      Avatar
      Hi! Can you provide LICENSE file for this repo? I'm packaging DDNet{,-maps} for Fedora and for right package these files are required.
      Avatar
      can we? ^
      Avatar
      @ChillerDragon we dont have Random map in ddnet7 yet
      Avatar
      @ChillerDragon assuming the physics is fine, I guess connecting it to the official db makes sense
      Avatar
      physics are fine
      11:17
      6bedd74 Add mysql to cmake - ChillerDragon 9f34608 Use ddnet-libs and add MYSQL to cmake - ChillerDragon 25b78ce Add sql server code and fix linking mysql - ChillerDragon cfca0bc Add sql support without (/save) - ChillerDragon 2749774 Merge pull request #8 from ChillerDragon/pr_add_mysql - def-
      Avatar
      ChillerDragon 2019-12-08 11:17:48Z
      @deen will it he traceable which version the ranks came from in case something went wrong?
      Avatar
      I guess we should add a field
      Avatar
      ChillerDragon 2019-12-08 11:18:09Z
      Yes
      Avatar
      with a version number
      11:18
      i guess some kind of short int would work?
      11:18
      probably with 6 as the default version
      Avatar
      ChillerDragon 2019-12-08 11:21:06Z
      Or it saves the ddnet version
      Avatar
      i thought a string might take too much space
      11:21
      but as long as it's an int ok
      Avatar
      ChillerDragon 2019-12-08 11:21:45Z
      Hm aren’t ddnet versions ints
      Avatar
      CLIENT_VERSIONNR is a string
      11:22
      int
      11:22
      rest is string
      Avatar
      @ChillerDragon are you working on the version or should I?
      11:43
      I guess the field will be required in race, teamrace, save tables
      11:43
      and you also have to prevent loading from 0.7 when saved from 0.6 and vice versa
      11:43
      (at least for now)
      Avatar
      Please dont let 0.7 ranks into the db
      11:44
      If you really dont want to bother, atleast mark them somrhow so they are easy to delete when something goes wrong
      Avatar
      If we don't add them to DB then the server is useless
      11:45
      and yes, we'd definitely mark them
      Avatar
      Pretty untested stuff, so yeah let's tread with caution
      Avatar
      @ChillerDragon.* nice, mysql connection seems to work fine
      Avatar
      in race, teamrace, saves tables. Also don't allow loading save from other server kind. I propose versions 6 and 7, with all existing entries getting 6.
      Avatar
      ChillerDragon 2019-12-08 14:42:05Z
      @deen Oh i thought you do the version thing I guess you have more knowledge about ddnet versions and what you want in the database. I just recommend going with ddnet versions if we already use a database field let’s put as much information in there as possible.
      Avatar
      [quakenet] deen BOT 2019-12-08 14:42:20Z
      ok
      Avatar
      ChillerDragon 2019-12-08 14:42:21Z
      Nice to hear that the connection works 🙂
      Avatar
      [quakenet] deen BOT 2019-12-08 14:42:43Z
      then we still need the reset file support
      Avatar
      ChillerDragon 2019-12-08 14:42:53Z
      If it’s 0.6 or 0.7 it can also be a bool
      Avatar
      [quakenet] deen BOT 2019-12-08 14:43:06Z
      yeah, probably
      Avatar
      ChillerDragon 2019-12-08 14:43:06Z
      Idk if there are Bools in MySQL
      Avatar
      [quakenet] deen BOT 2019-12-08 14:44:36Z
      yes, there are
      14:44
      same as a tinyint(1)
      Avatar
      Saves should not be loadable from one to the other. Requires: ALTER TABLE record_race ADD COLUMN DDNet7 BOOL DEFAULT FALSE AFTER GameID; ALTER TABLE record_teamrace ADD COLUMN DDNet7 BOOL DEFAULT FALSE AFTER GameID; ALTER TABLE record_saves ADD COLUMN DDNet7 BOOL DEFAULT FALSE AFTER Server;
      Avatar
      Saves should not be loadable from one to the other. Requires: ALTER TABLE record_race ADD COLUMN DDNet7 BOOL DEFAULT FALSE AFTER GameID; ALTER TABLE record_teamrace ADD COLUMN DDNet7 BOOL DEFAULT FALSE AFTER GameID; ALTER TABLE record_saves ADD COLUMN DDNet7 BOOL DEFAULT FALSE AFTER Server; Corresponding DDNet change: https://github.com/ddnet/ddnet/pull/1985
      Avatar
      [quakenet] deen BOT 2019-12-08 15:17:04Z
      anyone know how the serverbrowse_info packets look in 0.7? https://github.com/ddnet/ddnet7/issues/14
      15:32
      6eff067 Implement sv_reset_file (fixes #12) - def- 3729758 Merge pull request #16 from def-/pr-sv_reset_file - def-
      Avatar
      Discord really needs seen command
      Avatar
      Given @HMH seems to have vanished again, I guess someone else will have to do the sql rewrite 😛
      15:40
      Having it in the client won't work while we're keeping 0.6 and 0.7 servers running: https://github.com/ddnet/ddnet/issues/1906
      Avatar
      [quakenet] deen BOT 2019-12-08 15:40:40Z
      other than the issues I just opened on ddnet7 it looks good
      15:40
      we're missing quite a few other options, but maybe let's only readd them once we need them again
      Avatar
      yes, i have just added the ones that were really required
      Avatar
      ChillerDragon 2019-12-08 17:10:44Z
      @Trafalgar Law is running a few ddnet7 servers for a while now and multimap has tons of players i think so far the basic ddrace features are stable
      Avatar
      i am also running a server with ddnet7 but modified even more
      21:59
      28aabc5 Add map_convert_07 tool - def- e8f7c55 Merge pull request #1986 from def-/pr-map_converter - def-
      22:01
      18e2232 Add support to tell DDNet7 ranks apart from DDNet ones - def- b88ebbc Merge pull request #1985 from def-/pr-db-ddnet7 - def-
      22:01
      b421025 Increase MAX_VOTE_OPTIONS to 8192 (fixes #18) - def- 1dbfd04 Merge pull request #21 from def-/pr-max-vote - def-
      22:01
      d5ab6af Add support to tell DDNet7 ranks apart from DDNet ones (fixes #13) - def- b9ff227 Merge pull request #15 from def-/pr-db-ddnet7 - def-
      Avatar
      8639c90 map_convert_07: use regular paths - def-
      Avatar
      baf2e19 serverstatus-client: round now returns an int instead of float, frontend can't handle int values - def-
      23:09
      b1fe07a Remove ChillerDragon - ChillerDragon 91bab75 Merge pull request #81 from ChillerDragon/pr_remove_chillerdragon - 12pm
      Avatar
      Nullpointer access: ``` (gdb) bt #0 __strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:120 #1 0x0000556e5ee1ba5d in str_length (str=str@entry=0x0) at /home/teeworlds/src7/master/src/base/system.c:1833 #2 0x0000556e5edca5c0 in CGameContext::LoadMapSettings (this=this@entry=0x7fd802d31010) at /home/teeworlds/src7/master/src/game/server/gamecontext.cpp:2355 #3 0x0000556e5edcac8d in CGameContext::OnInit (this=0x7fd802d31010) at /home/teeworlds/src7/master/src/game/s...
      Avatar
      ChillerDragon 2019-12-08 23:23:05Z
      How to reproduce #22 deen?
      Avatar
      [quakenet] deen BOT 2019-12-08 23:26:53Z
      only with my broken maps :/
      23:27
      map_convert_07 isn't working perfectly after all
      23:28
      Does every item need a corresponding data?
      23:28
      if so, I'm doing that wrong
      Avatar
      ChillerDragon 2019-12-08 23:32:30Z
      oh breaking maps :/
      Exported 96 message(s)