Forum

> > Stranded II > Scripts > Help, BUILDING (0) Error
Forums overviewStranded II overview Scripts overviewLog in to reply

English Help, BUILDING (0) Error

2 replies
To the start Previous 1 Next To the start

old Help, BUILDING (0) Error

Mimiick
User Off Offline

Quote
Hey guys n girls,
Just have a small problem, i changed a few combi's and added a few buiildings using 224-234 i have strung the combis and items together, i have also added the edible after product to the items_edible list and there Id's to the items list.

when i tried to run the game i got an error saying

Invalid object id for BUILDING (0)

Any cures for this?

Regards MimiICk

P.s, Is it because ive missed a number in the chain for example, 24,26,-,28,29?

old Re: Help, BUILDING (0) Error

Hurri04
Super User Off Offline

Quote
go into the sys folder, open the game.inf file and change the values at the end of these definitions to a higher number:

1
2
3
limit_objects=255
limit_units=100
limit_items=255
also make sure you're not using any IDs that are already used by another combi/building/whatever.

leaving out numbers in the chain is no problem.

old Re: Help, BUILDING (0) Error

Mimiick
User Off Offline

Quote
ok, so i played with this for a few hours last night, i finally fixed it, it came down to havin a building number 324 in my "objects.buildings" file and 323 in my "buildings" file, so i think that error occurs when you dont match all your id's.

Regards MimiICk


Woops! didnt realise hurri had commented, sorry mate, i think you are right with the second idea there.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewStranded II overviewForums overview