> For the complete documentation index, see [llms.txt](https://code-after-sex.gitbook.io/script-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://code-after-sex.gitbook.io/script-documentation/cas-housing/troubleshooting.md).

# Troubleshooting

CAS Housing troubleshooting. Pieces refused as outside the property, leftover Rockstar furniture, missing hitching posts, the wardrobe, storage, pack homes and prompts.

## The console line

On start the server prints the framework it found and what it loaded:

```
[cas-housing] framework: vorp
[cas-housing] ready: 52 properties, 0 placed pieces, 592 catalogue items, 1707 doors known, storage vorp
```

`framework: standalone` on a VORP or RSG server means cas-housing started before your framework: put `ensure cas-housing` after it in `server.cfg`.

## "That is outside your property" when placing furniture

The piece is outside the home's inside zone. Open `/housingadmin`, edit the home and add corners so the zone covers every room (and the porch, if the owner should furnish it). Outdoor pieces belong in the yard: give the home a yard in the creator.

## Rockstar furniture is still in a home

* Make sure the home has **Empty inside** chosen, stand inside and press **Find the pieces**, then **Save**.
* Pieces that are part of the house model itself (a cloth on the floor, a picture painted on a wall) cannot be hidden.
* A home with very many pieces is limited by `Config.Limits.MaxHidden` (1000).

## No hitching posts or wagon spots in build mode

They need CAS Stables. Make sure `cas-stables` is started and keep `Config.Stables.Enabled = true`. If CAS Stables runs under another name, set `Config.Stables.Resource`.

## The wardrobe does nothing

Wardrobe furniture fires the first event of `Config.Wardrobe` whose resource is running. Put your clothing script's event at the top of the list.

## Storage is missing

Storage needs an inventory: vorp\_inventory (or CAS Advanced Inventory) on VORP, rsg-inventory on RSG. On a standalone server storage is off.

## A pack home was not installed

A pack house whose door already belongs to a property (a home you made by hand) is left alone on purpose. Delete your own version first, then press **Install the missing ones** on the creator's **Export or import** page.

## A prompt does not show

Never put U (`0xD8F73058`) and G in the same prompt group: the game hides one of them. Keep the default `Config.PromptKeys` unless you need others.

## Furniture far away is not drawn

Furniture loads within `Config.LoadDistance` (70 m) of a home's edge and unloads at `Config.UnloadDistance` (90 m). `Config.MaxLoadedPieces` (700) caps how many pieces one game keeps at once, nearest homes first.
