CityBuilder script
Moderator: OpenTTD Developers
-
- Engineer
- Posts: 6
- Joined: 19 Oct 2015 10:30
CityBuilder script
Hello
i want to start a game with the CityBuilder script. but the script always crashes. I attatched the error in a screen cap
i want to start a game with the CityBuilder script. but the script always crashes. I attatched the error in a screen cap
- Attachments
-
- Capture.PNG (6.35 KiB) Viewed 3870 times
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: CityBuilder script
Moved to the AI and game script sub-forum as it's an issue with that particular script. In the topic dedicated to this script it seems to be already reported and some solution or workaround proposed: http://www.tt-forums.net/viewtopic.php? ... 6#p1152936 albeit there seems to be no easy-to-download update yet available. I suggest to keep the discussion there (to make it easier for the script author).
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
-
- Engineer
- Posts: 6
- Joined: 19 Oct 2015 10:30
Re: CityBuilder script
thanks for the awnsers, i'll look at it when i'm home.
sorry for the misplace of the topic but i'm new here
sorry for the misplace of the topic but i'm new here

-
- Engineer
- Posts: 6
- Joined: 19 Oct 2015 10:30
Re: CityBuilder script
is it normal the citybuilder-113 is a rar file?
Re: CityBuilder script
More likely, rar attaches its icon to every archive file it recognizes.
Did you really check the file extension?
To use, it should be a .tar file, or you can unpack it to a directory with files.
(and yes, afaik rar also claims to know tar)
Did you really check the file extension?
To use, it should be a .tar file, or you can unpack it to a directory with files.
(and yes, afaik rar also claims to know tar)
Being a retired OpenTTD developer does not mean I know what I am doing.
-
- Engineer
- Posts: 6
- Joined: 19 Oct 2015 10:30
Re: CityBuilder script
it was a tar file. my bad 
but how do i change the file i have to change? do i extract it first? because if i change it and save it it jumps back to what it was before.

but how do i change the file i have to change? do i extract it first? because if i change it and save it it jumps back to what it was before.
Re: CityBuilder script
That question didn't make much sense, but after some decoding, I guess you're talking about changing the script with suggested change.
Indeed, the usual approach is to unpack the tar to a directory with files (although technically, it's hardly unpacking, as tar doesn't compress anything), and change the file you want.
You can put everything back into a tar file if you like, but you can also just move the directory into the game script directory of your openttd (and make any tar with the same version unavailable for openttd, to be on the safe side), then start openttd, and it should pick up the modified version.
Indeed, the usual approach is to unpack the tar to a directory with files (although technically, it's hardly unpacking, as tar doesn't compress anything), and change the file you want.
You can put everything back into a tar file if you like, but you can also just move the directory into the game script directory of your openttd (and make any tar with the same version unavailable for openttd, to be on the safe side), then start openttd, and it should pick up the modified version.
Being a retired OpenTTD developer does not mean I know what I am doing.
-
- Engineer
- Posts: 6
- Joined: 19 Oct 2015 10:30
Re: CityBuilder script
with my question i was refering to the solutions given earlier in this topic.
but thanks for the help, i'll try it
but thanks for the help, i'll try it
-
- Engineer
- Posts: 6
- Joined: 19 Oct 2015 10:30
Re: CityBuilder script
ok thank you guys your help solved my problem
so for other people having this problem:
so for other people having this problem:
- extract the "CityBuilder-113.tar" file
- open the file comp.nut with notepad(or something alike)
- search for "MoveHQ(hq, towns);"
- and change it in MoveHQ(hq);
- save the file
- get everything into a tar file again
Who is online
Users browsing this forum: No registered users and 14 guests