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

Login with username, password and session length
207386 Posts in 10531 Topics by 2074 Members
Latest Member: cpmoneymakertutorials
   Home   Help Search Calendar Login Register  
Cafe Tropico  |  Tropico  |  Scenario Editor / User Scenarios / Competitions (Moderator: CafeDave)  |  Topic: Bug in Historical Nicaragua Scenario
Pages: [1]   Go Down
  Send this topic  |  Print  
Author Topic: Bug in Historical Nicaragua Scenario  (Read 746 times)
0 Members and 1 Guest are viewing this topic.
Dr. Dictator
Tourist
*
Offline Offline

Gender: Male
Posts: 38


The final exam's going to be a killer!


« on: 11/13/05 at 07:52 PM »

I don't know if I should put this here or in the Bugs folder, but I encountered a bug in the Nicaragua 1937 scenario that caused a crash.

What happened was that an earthquake in the 70's destroyed the Diplomatic Ministry. Immediately after this, I got a message that the US wanted me to fly the US flag from the ministry (which had been the case before the earthquake). Right away, the game crashed, with a divide by zero error.

I don't know if this resulted from the coincidence of two events, but it seemed like Tropico didn't like the fact that the Diplomatic Ministry wasn't there when it was expected to be present...
Report to moderator   Logged
Brf
Emperor
******
Offline Offline

Posts: 1651


I must make more scenerios!! Bwahahahahah!!!!!!


WWW
« Reply #1 on: 11/14/05 at 10:01 AM »

I have seen that happen with hurricanes in the regular game.

If you pay for new employees, and a storm destroys the building they were hired for.... When the boat arrives with the new employees, the game crashes.
Report to moderator   Logged

Dr. Dictator
Tourist
*
Offline Offline

Gender: Male
Posts: 38


The final exam's going to be a killer!


« Reply #2 on: 11/14/05 at 11:04 AM »

That's interesting, I've never seen that.

BTW, I think that Tropico actually crashed not because the Diplomatic Office was destroyed, but because the US base was destroyed by the earthquake. I think it crashed because it was trying to reduce the $1000 per year from the base down to $60 per year, and the base wasn't there anymore.

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

Gender: Male
Posts: 7080

ˇay caramba! ~~ ˇparedón!


WWW
« Reply #3 on: 11/18/05 at 10:06 AM »

... If you pay for new employees, and a storm destroys the building they were hired for.... When the boat arrives with the new employees, the game crashes.

There is a way to avoid that.

http://dynamic.gamespy.com/~tropico/cafe/index.php?topic=9348.0

... I think that Tropico actually crashed not because the Diplomatic Office was destroyed, but because the US base was destroyed by the earthquake. I think it crashed because it was trying to reduce the $1000 per year from the base down to $60 per year, and the base wasn't there anymore.

Yes, the program doesn't deal well with "unexpected" changes in the "world." There is a warning about that in the commentary on the editor. If I may venture a guess, perhaps since buildings can be destroyed by an event, the script needs to check to see if they exist before it tries to modify anything about them.

 Wink
Report to moderator   Logged

Pages: [1]   Go Up
  Send this topic  |  Print  
Cafe Tropico  |  Tropico  |  Scenario Editor / User Scenarios / Competitions (Moderator: CafeDave)  |  Topic: Bug in Historical Nicaragua Scenario
 
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!