Author Topic: Error Message Help!  (Read 1089 times)

0 Members and 1 Guest are viewing this topic.

Offline angainor88

  • Modders
  • Trader
  • *****
  • Posts: 479
Error Message Help!
« on: June 03, 2022, 05:21:27 PM »
I am working on a mod, and am having problems. When the bannies are building the "Elfreth Corner House", it crashes as soon as the final stage is built. It's not consistent about it, and everything worked perfectly before I added the F variants. I'm hoping someone has seen this error before, and can tell me what I'm missing.

Error message is: Assert IslandA >= 0 && islandB >= 0 islands not valid

I'm linking the mod and the model below, and have attached an image of the error message.

Thank you for any help!

http://worldofbanished.com/gallery/8302_03_06_22_5_20_18.png
Error Message Help!
« Last Edit: June 04, 2022, 05:08:05 PM by angainor88 »

Offline kid1293

  • Modders
  • Banished Expert
  • *****
  • Posts: 4239
  • Never confuse movement with progress
Re: Error Message Help!
« Reply #1 on: June 04, 2022, 02:53:54 AM »
As you can see in the picture, I could not find any error.
I had to edit the Package-file, though. Some Moroccan leftovers.

https://i.imgur.com/BwiT800.png
Error Message Help!


The mod is fine! (I tested 3 times)

(don't forget to remove links) :)

Offline angainor88

  • Modders
  • Trader
  • *****
  • Posts: 479
Re: Error Message Help!
« Reply #2 on: June 04, 2022, 07:51:17 AM »
Thank you for testing for me! It must just be something with my computer then, because I have no idea why it was crashing.

I'll do some more tests tonight, and hopefully it will work ok.

Offline kid1293

  • Modders
  • Banished Expert
  • *****
  • Posts: 4239
  • Never confuse movement with progress
Re: Error Message Help!
« Reply #3 on: June 04, 2022, 01:29:43 PM »
I tested again, just to be sure. No problems here :)

Offline angainor88

  • Modders
  • Trader
  • *****
  • Posts: 479
Re: Error Message Help!
« Reply #4 on: June 05, 2022, 07:59:29 AM »
Well, damn, I am still getting this problem. I am hoping that it will work when I've finished it but bleh, it makes it hard to test.

Thank you for bug hunting with me!

Offline Tom Sawyer

  • Modders
  • Banished Expert
  • *****
  • Posts: 1095
Re: Error Message Help!
« Reply #5 on: June 05, 2022, 11:50:14 AM »
I think I've seen this island error message back then. Wanted to look at your mod but no link. :)

Offline angainor88

  • Modders
  • Trader
  • *****
  • Posts: 479
Re: Error Message Help!
« Reply #6 on: June 05, 2022, 04:42:35 PM »
Sorry @Tom Sawyer !

I'm re-adding them below. I have an updated (but still buggy version).

[edited to remove links]
« Last Edit: June 06, 2022, 06:03:51 PM by angainor88 »

Offline angainor88

  • Modders
  • Trader
  • *****
  • Posts: 479
Re: Error Message Help!
« Reply #7 on: June 05, 2022, 05:37:13 PM »
I'll also add that I can place the buildings with debug and it works fine. It's only when the bannies build them that it crashes.

Offline Tom Sawyer

  • Modders
  • Banished Expert
  • *****
  • Posts: 1095
Re: Error Message Help!
« Reply #8 on: June 06, 2022, 04:28:15 AM »
Thanks for the download. I also get crashes with this message while building the house and switching to final stage, but only sometimes. Looks like a pathing issue happening in certain cases when pathbits are applied / the building gets done.

After cleaning up points in your fbx, it did not crash anymore building all 32 variants in a row. I removed use_002 and moved use_001 to an accessible position on the road in front of the house at (0,-3), build points also moved to the road at (-2,-3) and (2,-3). In general, the game can handle bad points and people just go there through forbidden tiles but it might make problems. So I always put use-, create- and build-points on accessible tiles defined in map section. Hopefully that solves it not only in my test. :)

Offline kid1293

  • Modders
  • Banished Expert
  • *****
  • Posts: 4239
  • Never confuse movement with progress
Re: Error Message Help!
« Reply #9 on: June 06, 2022, 05:54:03 AM »
Thanks @Tom Sawyer
I have stumbled on similar problems. I also put the points on free tiles.
It is a very annoying bug.

Offline angainor88

  • Modders
  • Trader
  • *****
  • Posts: 479
Re: Error Message Help!
« Reply #10 on: June 06, 2022, 06:03:24 PM »
Thank you @Tom Sawyer! That was the fix I was missing.

It feels weird to have never encountered this bug before, especially early in modding, when I had no idea what I was doing lol.