Planetary Annihilation Guide

Planetary Annihilation Host dedicated/costum Server on Windows for Planetary Annihilation

Planetary Annihilation Host dedicated/costum Server on Windows

Overview

This is a Text Tutorial for a Planetary Annihilation Server. Host tutorial MorePlayer’s How To Join Server Test from Cola Colin

Planetary Annihilation Host dedicated/costum Server on Windows

1. Download the Game on Steam.

2. Download [link]

(And Install it)

3. Download NodePAMaster [nanodesu.info]
4. Unpack NodePAMaster

(With WinRAR or other unpack Programm)

5. Change this in Conf

(NodePAMaster/src/conf.json)

  • server: “G:/ServerTest/Planetary Annihilation/bin_x64/server.exe”
  • serverversion: “G:/ServerTest/Planetary Annihilation/version.txt”
  • serverip: YOUR IP
  • serverport: 20545

Like this:

!!! (DONT FORGET TO OPEN THE PORT) !!!

6. Add the Code block to lobby.js

(./Planetary Annihilation/media/server-script/states/lobby.js) (Add the Code at line 12)

setInterval(function() { if (server.beacon) { console.log(“<BACON>”+JSON.stringify(server.beacon)+”</BACON>”); } }, 5000);

Like this:

7. Start control.js with Node.js

Like this:

8. Finish

More Player’s

1. More Player’s


Set the Max_Player number higher in lobby.js
(Planetary Annihilationmediaserver-scriptstateslobby.js) lobby.js

2. More Color’s


!!! THE COLOR CODE IS FROM COLA COLIN !!!
(https://forums.uberent.com/threads/wip-dedicated-servers.65077/#post-1017671)
Replace the Code in color_table.js
(Planetary Annihilationmediaserver-scriptlobbycolor_table.js)

exports.data = (function() { var MAX_COLORS = 100; function hsvToRgb(h, s, v) { var r, g, b; var i; var f, p, q, t; h = Math.max(0, Math.min(360, h)); s = Math.max(0, Math.min(100, s)); v = Math.max(0, Math.min(100, v)); s /= 100; v /= 100; if(s == 0) { r = g = b = v; return [Math.round(r * 255), Math.round(g * 255), Math.round(b * 255)]; } h /= 60; // sector 0 to 5 i = Math.floor(h); f = h – i; // factorial part of h p = v * (1 – s); q = v * (1 – s * f); t = v * (1 – s * (1 – f)); switch(i) { case 0: r = v; g = t; b = p; break; case 1: r = q; g = v; b = p; break; case 2: r = p; g = v; b = t; break; case 3: r = p; g = q; b = v; break; case 4: r = t; g = p; b = v; break; default: // case 5: r = v; g = p; b = q; } return [Math.round(r * 255), Math.round(g * 255), Math.round(b * 255)]; } function randomColors(total) { var i = 360 / (total – 1); // distribute the colors evenly on the hue range var r = []; // hold the generated colors for (var x=0; x<total; x++) { r.push(hsvToRgb(i * x, 100, 100)); // you can also alternate the saturation and value for even more contrast between the colors } return r; } var p = randomColors(MAX_COLORS); var result = []; for (var i = 0; i < MAX_COLORS; i++) { result.push({ primary: p,
secondary: [p[p.length-1-i]]
});
}

return result;

}());

How to join costum Server

1. Install PAMM (ModManagerForPA)[github.com]


2. After installed pamm Copy the Links in your Browser:

  • Link: pamm://info.nanodesu.pastats
  • Link: pamm://com.pa.mikeyh.gFasterServerBrowser

3. Finish

Other Tutorials for Planetary Annihilation Host dedicated/costum Server

Other Tutorials for Planetary Annihilation Host dedicated/costum Server

Server Test’s from ColaColin

Server Test’s from ColaColin

AWS 16 core Intel Xeon E5-2680v2
30GB Ram
[link]

SteamSolo.com