tubbo / openrct2-benchwarmer

An OpenRCT2 plugin that adds alternating benches and bins to your park's footpaths with a single click.
MIT License
38 stars 9 forks source link

Queue Line error from #55 still occurring #75

Closed AuGold closed 6 months ago

AuGold commented 1 year ago

It looks like while you created v1.0.2 you never published it, so the error from #55 still occurs on the most recent version that is possible to download.

TSideScripting commented 7 months ago

I found what fixed this in the latest version of the repo, but I am not smart enough to know how to push this to releases. To fix it yourself, open benchwarmer.js with the text editor of your choice (VS Code, Notepad++, etc.) and head down to line 333. You should see the following on lines 333–337:

var _b = args, x = _b.x, y = _b.y, z = _b.z, slope = _b.slope;
var addition = settings.bin;
if (args.object == 11) {
    addition = settings.queuetv;
}

Replace lines 333–337 with the following:

var _b = args, x = _b.x, y = _b.y, z = _b.z, slope = _b.slope, constructFlags = _b.constructFlags;
var addition = settings.bin;
if (constructFlags === 1) {
    addition = settings.queuetv;
}

If you haven't already, follow the steps in issue https://github.com/tubbo/openrct2-benchwarmer/issues/76#issuecomment-1793735455 to stop lamp posts being placed instead of bins/benches.

tubbo commented 6 months ago

v1.1.0 should release properly today, some of the CI was broken so it never made it to the release stage.

tubbo commented 6 months ago

https://github.com/tubbo/openrct2-benchwarmer/releases/tag/v1.1.0