This community is full of edgy teenagers that are completely against ANY sort of improvement to the game. How can implementing the code into already-existent code be any difficult if you already have the logic done? The system is literally already done and functional, you just need to adapt it a little.
And Togepi, if you can't even figure out the syntax, then you shouldn't comment on it.
deletedalmost 10 years
ok I won't change the code
deletedalmost 10 years
But no that's not the issue, no one ever asked you to change the code. I'm well aware it won't be changed. Make it a violation.
in this case it's far easier to append to existing code
simply add a condition before prompting for kick where if votes are tied and it's must lynch, don't prompt to kick. not just simple to say, but simple to do as well.
deletedalmost 10 years
c++
deletedalmost 10 years
It seems like all of the mods support this, so can someone explain to me what the problem is in re implementing it? Just throw it under copied mechanics. As it stand must lynch is literally nothing.
It's really easy to code something out of context. I work on a horribly designed application everyday where the simplest things require a ton of reworking.
Figuring out the logic for something like this is trivial, as you pointed out, putting it into an existing code base isn't.
The easiest way to fix the code is that, if the votes are kicked while in a draw and the timer reaches zero, just make a random person between the draw get lynched. For example, if the lynch is stuck between player A and player B, there's a 50% chance of A getting lynched and a 50% chance of B getting lynched. If the lynch is between No Lynch and Player A, then the lynch goes 100% to Player A.
It would take less than one day to add that functionality to the code. Problem is, this community for some reason hates to see the game being improved and want it to go stale, so most people will opposite to this with reasons like "N-No, you expect the admins to work on this game? Have you lost your mind?? OMFG!" or "No I like the way it is because I can cheat".
The code would be basically:
int playerAVotes = 3; // this changes with the game obviously int playerBVotes = 3; int playerCVotes = 2; int playerCount = 3; int noLynchVotes = 0; int timer = 0; boolean isKicked = true;
if (timer == 0 && isKicked == true) { if (playerAVotes > playerBVotes) { if (playerAVotes > playerCVotes) { lynch(playerA); } } else if (playerBVotes > playerCVotes) { lynch(playerB); } else if (playerCVotes > playerAVotes) { lynch(playerC); } else if (playerAVotes == playerBVotes) { if (playerAVotes == playerCVotes) { var randomPlayer = math.Random() * playerCount; randomPlayer = randomPlayer.mathFloor(); if (randomPlayer == 1) {lynch(playerA)} else if 2, lynch playerB, and so on... } else if (playerAVotes > playerCVotes) { (random thing, except for only with A and B) } (repeat random stuff with B and C, and A and C) } }
There is obviously a way easier way to do this, but this code is adapted to work with anything. If even I can figure out the code, surely this website's programmers can too?
But its not a rule. And just because you are against it doesnt mean you can report people for it. Just as i had my own meteor strategy that you also dont agree with. Just because you dont agree with it doesnt make it illega . So repeal the violation you gave me. It was uncalled for and only done so you could fulfil your own agenda.
deletedalmost 10 years
Easy fix: if options are tied at hammer in a must-lynch setup, choose the one with the most town members voting for it as winner
Forcing no-lynch is a scum and 3p tactic to eek wins, not a town tactic. Remove the reward to attempt the tactic and people won't try it.
uhh, even if its only for must act games, it still prevents mafia from blitzing a nl on lylo if the opportunity arises since the votes would unlock if the nl gets forced.
very stupid and takes away from the excitement u get out of the game when you have to make a quick decision. would also stall a lot of 3ways unnecessarily