PCC2 Web works by streaming game data between the server and the browser. Scripting does not change that: all logic, including scripts, is executed by your browser. Accessing an object's property might cause that object to be loaded from the server. Giving some orders will have these orders executed on the server.

Differences between Desktop and Browser versions

PCC2 Web does not distinguish between integer and floating-point values. 3.5*2 will be accepted as integer by PCC2 Web.

PCC2 Web does not expose the physical file formats. In particular, everything related to game selection, loading and character sets is resolved between server/website and browser and not exposed to scripts.

Although the goal is to have both PCC2 Web and Desktop behave identical, unintentional gaps will remain for the foreseeable future.

Other differences, where known, are documented on the respective pages.