ModernColdWar / RedStormRising

Red Storm Rising
2 stars 0 forks source link

Add limit to number of JTACs per player #151

Open madrabbit711 opened 4 years ago

madrabbit711 commented 4 years ago

Add limit to number of JTACs per player to allow for gaps in defences and less convoy vulnerability enroute to attack.

JTAC searches also possibly performance intensive.

Pseudo JTAC functionality will also be added to bases i.e. detection of attacking units based on presence of building X e.g. comms tower.

Start with limit of 1 per player.

madrabbit711 commented 4 years ago

Requires database and UCIDs. Should be able to easily get the latter from the slot blocker. Can't rely on player nicknames.

Winston2108 commented 4 years ago

I just wrote up some notes at https://github.com/ModernColdWar/RedStormRising/wiki/LuaExtensions for me to try on my home machine to build the code to let us talk to SQLite. I'll try to get that built on the RSR server itself as well later this week and then when I'm changing the slot blocker I'll get it to side-effect out a database row per login per unique per playername/ucid combination.

That way we can track playername:ucid relationships over time have some getUcid(playerName) function we call in the main RSR codebase.