Expansion+

From Warzone Wiki
(Difference between revisions)
Jump to: navigation, search
(added details but this mod is broken)
(Potential game-breaking bugs)
 
(One intermediate revision by one user not shown)
Line 13: Line 13:
  
 
== Settings ==
 
== Settings ==
Game creators can customize
+
Game creators can customize:
 
* If only neutrals of size [[non-distribution neutrals]] or less will be given to players (defaults to disabled, any neutral will be given in this case).
 
* If only neutrals of size [[non-distribution neutrals]] or less will be given to players (defaults to disabled, any neutral will be given in this case).
 
* The maximum number neutrals a player will gain each turn (defaults to 2, min 1, max 10).
 
* The maximum number neutrals a player will gain each turn (defaults to 2, min 1, max 10).
Line 19: Line 19:
  
 
== Potential game-breaking bugs ==
 
== Potential game-breaking bugs ==
This mod will crash on [https://github.com/JackoMillar/Warzone-Lua/blob/c65b6dfdd83562dc68875f64d7903b609e151738/FreeExpansion%2B/Server_AdvanceTurn.lua#L41 lines 41, 88 of Server_AdvanceTurn.lua] (<code>if randomNeutralTerr == nill then break; end</code>), (<code>if randomNeutralTerr == nill then break; end</code>). <code>nill</code> is not a Lua keyword and not a defined variable. The keyword <code>nil</code> is likely meant.
+
This mod will crash on [https://github.com/JackoMillar/Warzone-Lua/blob/c65b6dfdd83562dc68875f64d7903b609e151738/FreeExpansion%2B/Server_AdvanceTurn.lua#L41 lines 41, 88 of Server_AdvanceTurn.lua]. <code>nill</code> is not a Lua keyword and not a defined variable. The keyword <code>nil</code> is likely meant.
  
 
The amount of armies on territories players receive is not validated. There may be negative armies on territories and this may cause the game to crash, similar for very large army numbers on territories.
 
The amount of armies on territories players receive is not validated. There may be negative armies on territories and this may cause the game to crash, similar for very large army numbers on territories.

Latest revision as of 17:24, 6 October 2024

Mod name Expansion+
Creator UnFairerOrb76
Made public on 2022-10-06
Category Experimental
Tags #Strategic
Runs on Warzone version 4.14.2+
Source code GitHub

This mod enables players to earn neutrals without needing to expand. At the end of each turn, players will be given random neutral territories that border their own. The amount of armies of the territory will be set to the number in the mod's settings.

[edit] Settings

Game creators can customize:

  • If only neutrals of size non-distribution neutrals or less will be given to players (defaults to disabled, any neutral will be given in this case).
  • The maximum number neutrals a player will gain each turn (defaults to 2, min 1, max 10).
  • The amount of armies that territories will have on them when given to players (defaults to 2, min 1, max 10).

[edit] Potential game-breaking bugs

This mod will crash on lines 41, 88 of Server_AdvanceTurn.lua. nill is not a Lua keyword and not a defined variable. The keyword nil is likely meant.

The amount of armies on territories players receive is not validated. There may be negative armies on territories and this may cause the game to crash, similar for very large army numbers on territories.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox