[FIXED] Retrieving something from an Array crash on Linux

Found a bug? Post information about it here so we can fix it!

Moderator: Moderators

User avatar
Ats
Posts: 445
Joined: Fri Sep 28, 2012 10:05 am
Contact:

Re: Retrieving something from an Array crash on Linux

Post by Ats » Fri Apr 30, 2021 7:51 am

This is working. I found the array[string] bug because Omeganaut crashes when it needs to retrieve the Model cannons of a big spaceship in an array, or when it calls arrayNames[spaceship_number] to retrieve it's name. Otherwise, everything works. This is very specific...

User avatar
VilleK
Site Admin
Posts: 2174
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Re: Retrieving something from an Array crash on Linux

Post by VilleK » Fri Apr 30, 2021 8:55 am

Ok I have an idea what the problem could be. It is related to 64-bit builds.

Please update sources and rebuild ZDesigner (player does not need rebuilding) and check if it helps.

User avatar
Ats
Posts: 445
Joined: Fri Sep 28, 2012 10:05 am
Contact:

Re: Retrieving something from an Array crash on Linux

Post by Ats » Fri Apr 30, 2021 9:11 am

Nicely done. It's now working perfectly on Linux. Thanks :D

User avatar
VilleK
Site Admin
Posts: 2174
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Re: [FIXED] Retrieving something from an Array crash on Linux

Post by VilleK » Fri Apr 30, 2021 10:37 am

Good :). That was a tricky one. Thanks for the detailed examples.

Post Reply