Caribbean, Indian Ocean, Pitcairn, Alaska and Russia's Far East; more US and Australian eyeballs (#125, #152, #124, #145, #155, #154)

Caribbean: San Juan, Santo Domingo, Kingston, Havana, Nassau, Port of Spain,
Bridgetown, Fort-de-France and Willemstad on their own islands, with
ARCOS, Americas-II, ECFS, Southern Caribbean Fiber, ALBA-1, CFX-1,
Fibralink, BICS, AMX-1 and EC Link as puns. Exchanges only where one runs
(PR-IX, JIXP, TTIX, AMS-IX Caribbean).

Indian Ocean: Réunion (REUNIX as Rougail SAUCIX), Mauritius, Madagascar
and the Seychelles on SAFE, LION, METISS, EASSy, SEAS and PEACE.

Pitcairn: no cable and no provider; cables may land there and the UK pays
a monthly grant while the islanders are served.

Alaska, Prince Rupert and Russia's Arctic and Pacific: towns with no road
in are their own landmass. Real cables only (Quintillion, AU, AKORN,
AU-Aleutians, Topaz, Connected Coast, Sakhalin-Kamchatka-Magadan,
Petropavlovsk-Anadyr, RJCN, HSCS). Polar Express never got past Amderma,
so its towns have a beach for your own cable instead.

Eyeballs: AT&Tease (a Tier 1 for new games only, t1v 3), Tee-Hee Mobile,
Coax, Pessimum, Final Frontear, GFibber, Sonic Boomer; Neptoon, Lawn-tel,
Pent-Up Net, Dive-Bomb Magpie, Internope; Musklink in the US. Coax merges
into Spectre-um on day 365, Final Frontear into Very-Zone on day 730.
Coastlines refined from Natural Earth around the new places.
This commit is contained in:
Frederic Jung 2026-10-27 21:34:00 +01:00
parent 8c3ac4e9df
commit 75f343f019
No known key found for this signature in database
28 changed files with 854 additions and 24 deletions

View file

@ -21,7 +21,7 @@ function ibxLog(m,a){const I=ibx();I.log.unshift({d:S.day,m,a:a||{}});I.log.leng
function inboxDay(d){const I=ibx(),ixs=Object.keys(S.ixp);
// new peering requests: more exchange ports, more mail
if(ixs.length&&Math.random()<Math.min(0.9,0.15*ixs.length)*({open:1,selective:0.7,closed:0}[ppol()])){const c=pick(ixs),set=ixSessions(c);
const real=ixMembers(c).filter(id=>{const n=NET[id];return !set.has(id)&&n.type!=='t1'&&n.type!=='cdn'&&n.pol!=='paid'&&n.share<=0.006&&!I.items.some(x=>x.net===id&&x.ix===c);});
const real=ixMembers(c).filter(id=>{const n=NET[id];return !set.has(id)&&!merged(id)&&n.type!=='t1'&&n.type!=='cdn'&&n.pol!=='paid'&&n.share<=0.006&&!I.items.some(x=>x.net===id&&x.ix===c);});
const it={id:++I.seq,k:'req',ix:c,day:d,stale:Math.random()<0.6,yrs:1+Math.floor(Math.random()*9),say:Math.floor(Math.random()*REQ_SAY.length)};
if(real.length&&Math.random()<0.4)it.net=pick(real);else{it.nm=pick(TINY);it.asn=Math.random()<0.05?64512+Math.floor(Math.random()*1000):200000+Math.floor(Math.random()*200000);}
I.items.push(it);if(ppol()==='open')ibxAnswer(it.id,'accept',true);}

View file

@ -0,0 +1,12 @@
/* Mergers (#155): a year in, Spectre-um Cable finishes swallowing Coax; a year later Very-Zone does the same to Final
Frontear. The old brand's PNIs move to the new owner and come under its terms (Very-Zone charges for peering), its IX
sessions end, and it takes no new sessions. Its customers stay reachable through the new owner (its `up`). */
const MERGERS=[{id:'cxc',into:'spc',day:365},{id:'ftr',into:'vzn',day:730}];
const merged=id=>!!(S&&S.merged&&S.merged[id]);
function mergerDay(d){for(const m of MERGERS){if(d<m.day||merged(m.id))continue;S.merged=S.merged||{};S.merged[m.id]=d;
let moved=0,ended=0;
for(const p of S.pni.slice()){if(p.net!==m.id)continue;moved++;
if(S.pni.some(x=>x!==p&&x.net===m.into&&x.city===p.city))S.pni=S.pni.filter(x=>x!==p);else p.net=m.into;}
for(const k in S.peers)if(k.startsWith(m.id+'@')){delete S.peers[k];ended++;}
const v={net:esc(NET[m.into].name),old:esc(NET[m.id].name)};
toast(tr('mergers.net_has_swallowed_old',v)+(moved?' '+trn('mergers.n_pni_moves_to_net',moved,v):'')+(ended?' '+trn('mergers.n_ix_session_ended',ended,v):'')+(moved&&NET[m.into].pol==='paid'&&!paidFree(NET[m.into])?' '+tr('mergers.net_charges_for_peering',v):''),moved||ended?'bad':'');}}

View file

@ -10,6 +10,7 @@ function snubWhy(sn){const d=Math.max(1,sn.until-S.day);return sn.why+' '+trn('s
const paidFree=n=>!!(n&&n.freeLv&&lvl()>=n.freeLv);
function peerOk(id,via,city){
const n=NET[id],dem=R.demTo[id]||0;
if(merged(id)){const m=MERGERS.find(x=>x.id===id);return {ok:false,why:tr('mergers.now_part_of_net',{net:esc(NET[m.into].name)})};}
const sn=snub(id,city);if(sn&&(via==='ix'||sn.all))return {ok:false,snub:true,why:snubWhy(sn)};
if(msfNope(id,city))return {ok:false,why:tr(MSF_NOPE[hstr(ixCity(city)+S.day)%MSF_NOPE.length])};
if(via==='ix'&&city&&isRemote(city)&&noRemote(id))return {ok:false,remote:true,why:REMOTE_WHY[hstr(id)%REMOTE_WHY.length]};

View file

@ -11,7 +11,8 @@ function hotPorts(){const out=[];if(!R||!S)return out;
function hotByCity(){const m={};for(const h of hotPorts())(m[h.city]=m[h.city]||{})[h.k]=Math.max((m[h.city]||{})[h.k]||0,h.u);return m;}
function isTier2(){return Object.keys(S.pops).length>=5&&Object.keys(S.ixp).length>=3&&R.sessions>=15;}
// Sparkly Seabone joined the Tier 1s in 1.12. Older saves keep the five they were playing for.
const t1Need=()=>NETS.filter(n=>n.type==='t1'&&(n.id!=='skl'||(S&&S.t1v>=2)));
// Tier 1s added later only count for games started after them, so old saves keep their win (#155).
const t1Need=()=>NETS.filter(n=>n.type==='t1'&&(n.id!=='skl'||(S&&S.t1v>=2))&&(n.id!=='att'||(S&&S.t1v>=3)));
function isTier1(){return t1Need().every(n=>S.pni.some(p=>p.net===n.id&&pniOn(p)))&&S.transit.length===0&&R.reach>0.999;}
// What you are now, not what you once were (#46): buying transit again or losing reach drops the label.
function tierLabel(){return S.won&&isTier1()?'Tier 1':isTier2()?'Tier 2':'Tier 3';}