1. Hey Guest, is it this your first time on the forums?

    Visit the Beginner's Box

    Introduce yourself, read some of the ins and outs of the community, access to useful links and information.

    Dismiss Notice

Build 980 Hotfix

Discussion in 'Announcements' started by DevBlogger, Dec 24, 2013.

  1. DevBlogger

    DevBlogger KAG DevBlog Feed Bot

    Messages:
    136
    Hey guys

    There was a small mixup with the ban flags (people with any history of griefing found themselves permanently banned, a few users found themselves unbanned and promptly continued attacking the game) so that’s been sorted out.

    Sorry for the hassle to people who’s expired bans were causing them grief. I guess it’s potentially penance for griefing others :^)

    There’s still an issue with people getting disconnected “randomly” and with some servers crashing, we’ll be looking into this tonight, and if it’s not fixed tonight then resuming after christmas.

    If you want to help out with the crashes, please run your server through gdb like so:

    $ gdb ./KAGdedi
    run
    (server runs)
    (server crashes)
    bt full
    (post log of the backtrace to us)

    That would be a big help, thanks.

    Have Fun,

    Max/Geti

    Original DevBlog post.
     
    FuzzyBlueBaron and BlueLuigi like this.
  2. Leo

    Leo Haxor

    Messages:
    503
    Make a local database of the nicks that's need to be banned and update it whenever you have to. Now the server must connect to the main database every time someone connects and check if it's ok to proceed.. I have LAG message EVERY TIME that someone connects to my server. Then a few seconds of slow connection to main server and everyone gets disconnected.

    Code:
    [09:58:32] slever4369 connected
    [09:58:34] CHANGING PLAYER TEAM FROM 255 to 0
    [09:58:34] slever4369 has joined Blue Team
    [09:58:38] * archer312 connected (admin: 0 guard 0 gold 1 tester 0)
    LAG 3
    [09:58:39] archer312 connected
    [09:58:40] CHANGING PLAYER TEAM FROM 255 to 1
    [09:58:40] archer312 has joined Red Team
    [09:59:25] * Spider_x connected (admin: 0 guard 0 gold 1 tester 0)
    LAG 3
    [09:59:26] Neath connected as Spider_x
    [09:59:26] CHANGING PLAYER TEAM FROM 255 to 0
    [09:59:26] Neath (Spider_x) has joined Blue Team
    [10:00:25] * Snowkong connected (admin: 0 guard 0 gold 1 tester 0)
    LAG 4
    [10:00:25] Snowkong connected
    [10:00:26] CHANGING PLAYER TEAM FROM 255 to 1
    [10:00:26] Snowkong has joined Red Team
    [10:01:23] * Wilk119 connected (admin: 0 guard 0 gold 1 tester 0)
    LAG 4
    [10:01:23] Kagar connected as Wilk119
    [10:01:24] CHANGING PLAYER TEAM FROM 255 to 0
    [10:01:24] Kagar (Wilk119) has joined Blue Team
    [10:01:47] Unbanned player Lord_Aren
    [10:02:18] <archer312> * come on *
    [10:02:21] Player koujaku left the game (players left 13)
    [10:02:29] <MentoManto> * O_O *
    [10:02:47] * angrybear12 connected (admin: 0 guard 0 gold 1 tester 0)
    LAG 4
    [10:02:47] [JABS] BoneWarrior connected as angrybear12
    [10:02:48] CHANGING PLAYER TEAM FROM 255 to 0
    [10:02:48] [JABS] BoneWarrior (angrybear12) has joined Blue Team
    [10:03:04] <slever4369> haha
    [10:03:32] <archer312> * make anothern travel tunnel *
    [10:04:16] * Dart_Frog connected (admin: 0 guard 0 gold 1 tester 0)
    LAG 4
     
    Last edited: Dec 24, 2013
    RadioActive and Klokinator like this.
  3. Geti

    Geti Please avoid PMing me (poke a mod instead) THD Team Administrator Global Moderator

    Messages:
    3,730
    We're aware of the issue (the post actually mentions it) but cloning the database to every server via the API is not the solution (would involve a download of tens of MB from every server each time they started up and periodically thereafter rather than <100 bytes each time someone connects), it just needs to get the ban flag info in a separate thread when it gets the other API stuff. I've told Tom (Shadlington, the one who implemented the current functionality), and if he hasn't made progress on it in a few hours then that's what I'll be spending my christmas eve doing. You're welcome.
     
  4. Leo

    Leo Haxor

    Messages:
    503
    You could make it so that a server owner download this with a command and if database is same then no download. But as a developer you know better and I am glad you are working on a solution. ::):

    *Christmas is overrated
     
  5. Geti

    Geti Please avoid PMing me (poke a mod instead) THD Team Administrator Global Moderator

    Messages:
    3,730
    Considering exposing new stuff (like the last time something changed) via the API will take weeks to get turnaround on and this can be done at least by the end of the week, I know which solution I'll be going with ;^) Thanks for putting in the time to suggest solutions and confirming that the issue is affecting users though.
     
  6. Knighthart

    Knighthart is love Donator

    Messages:
    151
    I thought something was wrong when I disconnected every 20 minutes no matter what server I joined.
     
  7. emasame

    emasame Bison Rider

    Messages:
    122
    i was thinking it was my roomate torrenting a bunch of shit but im glad this issue is known. its really sucking a lot of enjoyment out of the game right now.
     
  8. Leo

    Leo Haxor

    Messages:
    503
    Indeed and running a server is not possible really, I am keeping my servers down until this is fixed.
     
  9. emasame

    emasame Bison Rider

    Messages:
    122
    hallelujah its fixed