insultingpros / kfmapvotev3 Goto Github PK
View Code? Open in Web Editor NEWGreylisted, but still an upgrade over Voting Handler Fix v2.
Greylisted, but still an upgrade over Voting Handler Fix v2.
KFMapVoteV3/Classes/KFVotingHandler.uc
Line 186 in 1f61d5c
I haven't taken a deep look into the V3 changes, but I compared V2 with V3 regarding TallyVote (Also vs. Default MapVote). They're taking into consideration NumPlayers, which is counting also FakedPlayers.
Have you tackled this issue in V3? I was thinking maybe we could fix it, but since V3 has several fixes and features over V2 maybe it's better to implement directly here.
From default MapVote's TallyVote, L:681
:
// if everyone has voted go ahead and change map
if(bForceMapSwitch || (Level.Game.NumPlayers == PlayersThatVoted && Level.Game.NumPlayers > 0) )
Possible fix
Check for FakedPlus count, then subtract Level.Game.NumPlayers so we get actual Num of Players, or simply make a new ConfigVar in MapVote like iFakedCount=3 that is used only as a reference, so we can easily find the number instead of accessing config of FakedPlus.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.