Posts: 1,797
Threads: 339
Joined: Sep 2012
Hello NI community,
This patch adds another new weapon and fixes some small errors.
Item Changes:- Heavy Halberd +11c, +7p
- New House Crafted Marauder polearm (with secondary mode)
Other Changes:- Z no longer votes to skip prep time when typed in a chat box
Posts: 95
Threads: 47
Joined: Feb 2012
First
Loots - Cherry:1 Sir_Cherry:3 Walls_In_Windows:1 Aceventurier:5
Posts: 211
Threads: 73
Joined: Feb 2012
so now the marketplace polearm is way better than snake halberd?
Posts: 134
Threads: 57
Joined: Dec 2015
I start to build but team press Z
nice update for builders(
èėé
Ł̶Í̶Ť̶Ț̶Ł̶Ĕ̶_̶Đ̶Ē̶V̶Ì̶Ĺ̶*̶ DB_Wormhole* ●Support 27 lvl
DB_Xamka* (MP, Siege Eng.) ●Blacksmith 26lvl
DB_Dancing_Shielder* (RG, MasterSurgeon)
●Armorsmith 29 lvl
DB_Angry_Swadian_Nurse* (Repeater, MS)
DB_Dancing_Pumpkin_Cub* (Warden, MS) ●Alchemist 35
Posts: 1,177
Threads: 239
Joined: Oct 2014
17-03-2018, 10:05 AM
(This post was last modified: 17-03-2018, 10:06 AM by Kaasovic.)
(17-03-2018, 08:22 AM)Łíťțłĕ_ĐēvìĹ* Wrote: I start to build but team press Z
nice update for builders(
Well I am sure if someone sees you build barricades he would wait voting to skip prep time till you are done, after all you need ~80% to pass the vote.
Allow me to write the pseudo code that is responsible for calculating the amount of votes needed(afk people are excluded):
Code:
players_alive * 10
players_alive_threshold = players_alive * 8
players_alive_threshold_mod = players_alive_threshold mod 100
players_alive_threshold /= 100
if players_alive_threshold_mod => 50
players_alive_threshold += 1
By running some test data through the pseudo code you will end up with
Players alive: | Votes needed: |
1 | 1 |
2 | 2 |
3 | 2 |
4 | 3 |
5 | 4 |
6 | 5 |
7 | 6 |
8 | 6 |
9 | 7 |
10 | 8 |
11 | 9 |
12 | 10 |
13 | 10 |
14 | 11 |
15 | 12 |
16 | 13 |
17 | 14 |
18 | 14 |
Posts: 626
Threads: 186
Joined: Dec 2017
17-03-2018, 10:40 AM
(This post was last modified: 17-03-2018, 10:46 AM by Julia..)
When you own a Non-English (not to say german) keyboard, its Y to skip the preptime.
Posts: 1,177
Threads: 239
Joined: Oct 2014
If you have a azerty or qwertz keyboard and want to redefine keys, let me know in a PM.
Posts: 2,022
Threads: 283
Joined: Jan 2012
(17-03-2018, 10:05 AM)Kaasovic Wrote: Code:
players_alive * 10
players_alive_threshold = players_alive * 8
players_alive_threshold_mod = players_alive_threshold mod 100
players_alive_threshold /= 100
if players_alive_threshold_mod => 50
players_alive_threshold += 1
You should use a ternary conditional operator to simplify this in processing time, memory, and code readability.
Code:
players_alive_threshold = players_alive * 4 / 5
players_alive_threshold = ((players_alive_threshold mod 100) / 100) >= 50 ? players_alive_threshold + 1 : players_alive_threshold;
Voted Friendliest NordInvasion Player
Quote Board is on Discord (last updated 2025.02.02)
"When I feel bad, I read your quote board." - Corndog
Nka: You’re playing it smart, always [using] logic, and they get pissed.
Kaasovic: God, this guy is unbeatable. I feel defeated in every verbal argument we end up in. Good job, Sir.
Odi: Hasn’t [PCK beaten] the game at this point?
Posts: 347
Threads: 42
Joined: Aug 2014
(17-03-2018, 10:48 AM)Kaasovic Wrote: If you have a azerty or qwertz keyboard and want to redefine keys, let me know in a PM.
using MALTRON plis halp
Posts: 2,728
Threads: 802
Joined: Aug 2013
(17-03-2018, 03:44 PM)bluzark Wrote: (17-03-2018, 10:48 AM)Kaasovic Wrote: If you have a azerty or qwertz keyboard and want to redefine keys, let me know in a PM.
using MALTRON plis halp
ps2 controller