Argument of type ‘(number | null)[]’ is not assignable to parameter of type ‘(err: Error, result: QueryResult) => void’

The latest “npm install @types/pg –save-dev” command changed the “@types/pg” Node.js module version in the package.json file from to “^8.11.4”. Since that, the build of my TypeScript applications fail with the error message below, if the PostgreSQL .query function contains mixed “value” types, like this: The error message is: .. : error TS2769: No overload …

Cities: Skylines II Developer Mode

WARNING: MAKING CHANGES IN DEVELOPER MODE CAN CREATE UNFORESEEN RESULTS AND CAN CORRUPT THE SAVE FILE. USE DEVELOPER MODE WITH CAUTION!!! In developer mode we can gain access to more tools than what the regular user interface provides. We can To start Cities: Skylines II in developer mode from the Steam app Using Developer Mode …

‘CSII_MANAGEDPATH’ has incorrect path(s) when building Cities: Skylines II mod

When we try to build a new Cities: Skylines II code mod, and we get the following error message: Error User environment variable ‘CSII_MANAGEDPATH’ has incorrect path(s) ‘C:\Program Files (x86)\Steam\steamapps\common\Cities Skylines II’ set. Please update the Modding toolchain in-game to reset its value or modify its value to a suitable path SmoothRoads C:\Users\lpint\AppData\LocalLow\Colossal Order\Cities Skylines …

Using Cities: Skylines II mods

Colossal Order just updated the game with the beta version of the official modding support. At this time mods usually don’t load during the first load of the game. At this moment, mods most of the tie don’t load during the first start of the game. To load the mods THIS DOES NOT WORK ANYMMORE, …

Installing and using BepInEx

BepInEx, the mod launcher for Unity games, including Cities: Skylines 2 has multiple versions. At the time of writing, version 5 is in long term support, and version 6 is already available. Only one version of BepInEx can be added to the game at a time, and unfortunately, mods target a specific version of BepInEx, …

Image overlay in Cities: Skylines 2

Image overlay enables us to display a transparent map over our layout in the game and in the Editor. In the Editor this makes is easy to place outside connections to the correct locations, so when we build our city replica, the roads start at the right place. In the game it makes it possible …

Creating an AWS Q AI application

To use an AWS Q application we need two components: AWS Q application To set up the AWS Q AI application For more information see Configuring an Amazon Q application Identity Provider AWS Q is a paid service based on the number of users. To control access to AWS Q, we need to configure it …

Using the Map Editor in Cities:Skylines 2

Import a height map Generate the height map To import a height map into the Cities: Skylines 2 Map Editor we need to create a 4096×4096 pixel 16 bit grayscale height map. To generate the height map and overlay map image of an area of the Earth, we can use the following sites: Create the …