Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Insane's working list of main LS Issues/Bugs

  1. #1

    Insane's working list of main LS Issues/Bugs [+Fixes]

    -LS Ping Kicker never worked outside of testing
    -Once Extend limit is reached the Extend option doesn't work until server reset. (Limit doesn't reset on map change)
    -Move Player to Spec is no longer in admin menu since the menu re-design (Action still works through chat commands)
    -Admin messages and Ads are not colored in DoD chat box. (Any color)
    -No "Map will change in 10 seconds" delay when map is changed via a single map vote.
    -No Single Nextmap Vote
    -Bug in "say Nextmap" system not always being correct
    -Slay crashes server
    -Mute does not include Voiceover commands
    -Server sometimes stops displaying vote status. (Middle/bottom of screen)

    Imisnew2 and I are going to work on troubleshooting all of these bugs
    Last edited by insanegammer109; 09-10-10 at 04:55 PM.

  2. #2

    Re: Insane's working list of main LS Issues/Bugs

    BUG FIXED

    The Bug:
    Once Extend limit is reached, the Extend option doesn't work until server reset.

    The Fix:
    The variable "_extendCounter" is never reset to 0.
    you only have to add one line of code:

    map_voting.py
    Code:
     def _mapStarted(self, mapName):
            if modinfo.modName != "left4dead" and modinfo.modName != "left4dead2":
                sdk.task_schedule(self._registerNextMapTimer, 30.0)
            self._totalRounds = 0
            self._extendCounter = 0
            for team in teamManager.getTeams():
                team.data[_KEY_ROUND_WINS] = 0
            self._watchRoundLimits = True
            self.rtvState = RTV_STATE_DELAY
            sdk.task_schedule(self._handleRtvAllowed, rtv_minimumMapTime.floatValue * 60.0)
            self.rtvVoters = set()
            self.nominations = []

    Credits to: Imisnew2, Insanegamer109.
    Last edited by Imisnew2; 07-30-10 at 11:39 PM.

  3. #3

    Re: Insane's working list of main LS Issues/Bugs

    BUG FIXED

    The Bug:
    LS Ping Kicker never worked outside of testing

    The Fix:
    The variable "latency" is 1/1000 of the real ping. You must multiply the variable by 1000 to get the real ping of the player.
    you only have to add 6 characters to the end of one line of code:

    ping_kicker.py
    Code:
    def checkPings():
        if not cvar_enabled.boolValue:
            return
        maxPing = cvar_max_ping.intValue
        violationLimit = cvar_violation_limit.intValue
        gameTime = sdk.getCurrentTime()
        for player in playerManager.filterPlayers(inGamePersonFilter):
            if player.data[PDATA_PING_KICKER_GRACE] >= gameTime:
                continue
            latency = sum(sdk.getPlayerAverageLatency(player.eindex)) * 1000
            if latency > maxPing:
                violations = player.data[PDATA_PING_KICKER_VIOLATIONS] + 1
                if violations >= violationLimit:
                    server.kick(player, "Ping too high")
                    continue
                player.data[PDATA_PING_KICKER_VIOLATIONS] = violations
        return cvar_frequency.floatValue

    Credits to: Imisnew2, Insanegamer109.

  4. #4

    Re: Insane's working list of main LS Issues/Bugs

    Good work tonight imisnew2, We make a good troubleshooting team.

  5. #5

    Re: Insane's working list of main LS Issues/Bugs

    Quote Originally Posted by insanegammer109 View Post
    -Server sometimes stops displaying vote status. (Middle/bottom of screen)
    It stopped (Nextmap vote didn't show progress status) today 8/1 at 12:47am Central, Ewok you can check the logs and see if you can find any clues.

  6. #6

    Re: Insane's working list of main LS Issues/Bugs

    Both of the above fixes are now checked in

  7. #7

    Re: Insane's working list of main LS Issues/Bugs

    if slay is crashing the server, the scanners probably faulted, sig scanning time!

    edit, what function were you calling? Player Suicide?
    -Admin messages and Ads are not colored in DoD chat box. (Any color)
    Could be different text/color channels for dod than the others.

  8. #8

    Re: Insane's working list of main LS Issues/Bugs

    Hooking player suicide is actually vtable offset based, but there's something odd about dod. It works for all mods but dod, even though I have both the same vtable offset and function signature that sourcemod is using for dod.

    Regarding text colors, mods have to implement that via the game message "SayText2". DoD didn't implement while tf2 did.

  9. #9

    Re: Insane's working list of main LS Issues/Bugs

    I want to get back to working on these (most notably the move to player spec thingy) when I can.
    I've just been so busy lately... with quake-con and all.

  10. #10

    Re: Insane's working list of main LS Issues/Bugs

    no problem. I've been finding more time again to work on this stuff, and I want to start committing to regular releases (say every Monday) so I'd welcome to help to make stuff better on a regular basis

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98