Go to Cafe Tropico Cafe Tropico
Go to the Blue Parrot Inn
Search:     Advanced search
05/26/13 at 09:55 PM
Welcome, Guest. Please login or register.

Login with username, password and session length
207393 Posts in 10531 Topics by 2074 Members
Latest Member: cpmoneymakertutorials
   Home   Help Search Calendar Login Register  
Cafe Tropico  |  Tropico  |  Tropico Discussion/Questions/News (Moderators: CafeDave, Mr.P, Railnut)  |  Topic: HotelFix
Pages: [1]   Go Down
  Send this topic  |  Print  
Author Topic: HotelFix  (Read 558 times)
0 Members and 1 Guest are viewing this topic.
Matey
Tourist
*
Offline Offline

Posts: 22



« on: 08/15/08 at 06:12 PM »

Hi
I have Tropic Gold v1.52, with the v1.53 patch applied.
I think I need HotelFix for my treasury to be correct (in scenarios with tourist buildings).
Can someone please confirm for me.
Thanks.

Matey

Report to moderator   Logged
Coconut Kid
Tempus Fugit
Deus Ex Machina
********
Offline Offline

Gender: Male
Posts: 7087

ˇay caramba! ~~ ˇparedón!


WWW
« Reply #1 on: 08/16/08 at 05:47 AM »

If you consider the program "feature" of doubling of hotel income to be an error (a "bug") rather than a developer planned advantage, then yes - you need the "HotelFix" script.

No 'official' change has ever been made. Neither version 1.52 nor patch 1.53 changed the code that doubles hotel income.

Does that answer your question?

 Wink
Report to moderator   Logged

Matey
Tourist
*
Offline Offline

Posts: 22



« Reply #2 on: 08/16/08 at 04:45 PM »

Yes, thank you.

Matey.

PS - I'd class it as a "bug", so its "FixHotel" for me.
Report to moderator   Logged
Coconut Kid
Tempus Fugit
Deus Ex Machina
********
Offline Offline

Gender: Male
Posts: 7087

ˇay caramba! ~~ ˇparedón!


WWW
« Reply #3 on: 08/03/12 at 10:16 AM »

Put the following three script items (evt files) in a folder (FixHotel) :

FHCheck1.evt
CheckFrequencyMonthEnd
Generaleffect CallEvent SubHotel

FHCheck2.evt
CheckFrequencyYearEnd
Generaleffect CallEvent SubHotel

SubHotel.evt
CheckFrequencyOnlyWhenCalled
Generaleffect Setto EventVariable1 LTDGSRevTourismHotelRents
GeneralEffect AddTo Money (GroupVariable1 - EventVariable1)
GeneralEffect Setto GroupVariable1 Eventvariable1



I hope this is the correct script. I retrieved it from my files because the original is lost from Brf's original post.

...  I verified that "The Bug" exists for all 5 hotel types: Hotel, Cheap Hotel, Luxury Hotel, Villa, and Bungalow.

I created, tested, and re-tested, this script I attach. To use it:

Create the folder "Events" under your Tropico Folder.
Unzip this script set into that folder. If it works, it should create the folder "FixHotel" within that folder, with 3 events.

In my testing I discovered that my "endofmonth" script was running BEFORE the endofmonth revenue was added to LTDGSRevTourismHotelRents, therefore I had to repeat the event at endofyear to get it to add up right at endofyear.  ...

BTW - The amount it subtracts will show up in the almanac under "Other Special Expenses"
« Last Edit: 08/03/12 at 10:32 AM by Coconut Kid » Report to moderator   Logged

Pages: [1]   Go Up
  Send this topic  |  Print  
Cafe Tropico  |  Tropico  |  Tropico Discussion/Questions/News (Moderators: CafeDave, Mr.P, Railnut)  |  Topic: HotelFix
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.13 | SMF © 2006-2011, Simple Machines LLC Valid XHTML 1.0! Valid CSS!