Results 1 to 10 of 13
Thread: Insane's working list of main LS Issues/Bugs
- 07-30-10, 06:37 PM #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 bugsLast edited by insanegammer109; 09-10-10 at 04:55 PM.
- 07-30-10, 10:23 PM #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.
- 07-30-10, 11:39 PM #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.
- 07-31-10, 12:16 AM #4
Re: Insane's working list of main LS Issues/Bugs
Good work tonight imisnew2, We make a good troubleshooting team.
- 08-01-10, 01:36 AM #5
- 08-10-10, 08:23 PM #6
Re: Insane's working list of main LS Issues/Bugs
Both of the above fixes are now checked in
- 08-10-10, 08:44 PM #7
Re: Insane's working list of main LS Issues/Bugs
if slay is crashing the server, the scanners probably faulted, sig scanning time!
.png)
edit, what function were you calling? Player Suicide?
Could be different text/color channels for dod than the others.-Admin messages and Ads are not colored in DoD chat box. (Any color)
- 08-10-10, 10:35 PM #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.
- 08-17-10, 01:37 AM #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.
- 08-17-10, 06:57 PM #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
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)


LinkBack URL
About LinkBacks








Reply With Quote


















Bookmarks