Crash with custom product
Crash with custom product
I was trying to test custom product feature, and added a lot of new images, I notice there are some of them can not be shown in the game, and sometimes this crash "MethodRes::operator[]" happens when setting up a new factory with a new custom product
- Attachments
-
- MethodRes operator crash.jpg (507.65 KiB) Viewed 1694 times
E is for Endear, all cute and cuddly
L is for Luxury, longing for splendid
E is for Elate, making others happy
A is for Amenable, a serene nature
Z is for Zeal, zest for wonderful life
A is for Admirers, all of you love me

L is for Luxury, longing for splendid
E is for Elate, making others happy
A is for Amenable, a serene nature
Z is for Zeal, zest for wonderful life
A is for Admirers, all of you love me
- David
- Community and Marketing Manager at Enlight
- Posts: 10424
- Joined: Sat Jul 03, 2010 1:42 pm
- Has thanked: 78 times
- Been thanked: 224 times
Re: Crash with custom product
1) The display problem is probably due to the PNG's color format.
2) For the crash, can it be replicated? If so, could you provide the save game as well as the custom product folder (you may ZIP the entire folder of the custom products and send it to me).
2) For the crash, can it be replicated? If so, could you provide the save game as well as the custom product folder (you may ZIP the entire folder of the custom products and send it to me).
Re: Crash with custom product
I change the color to 256 colors, and the images do show. And the crash doesn't happen. Maybe these 2 problems are linked.David wrote:1) The display problem is probably due to the PNG's color format.
2) For the crash, can it be replicated? If so, could you provide the save game as well as the custom product folder (you may ZIP the entire folder of the custom products and send it to me).
E is for Endear, all cute and cuddly
L is for Luxury, longing for splendid
E is for Elate, making others happy
A is for Amenable, a serene nature
Z is for Zeal, zest for wonderful life
A is for Admirers, all of you love me

L is for Luxury, longing for splendid
E is for Elate, making others happy
A is for Amenable, a serene nature
Z is for Zeal, zest for wonderful life
A is for Admirers, all of you love me
Re: Crash with custom product
I somehow recreate the crash. And it's actually not related to the images, but how the factory layout is set. In factory 21, there are 3 manufacturing unit already set to perfume, but the top left manufacturing unit is still blank. At this point if click any of the 3 established manufacturing unit, and choose customize and apply any existing custom level, this crash will be triggered.David wrote:1) The display problem is probably due to the PNG's color format.
2) For the crash, can it be replicated? If so, could you provide the save game as well as the custom product folder (you may ZIP the entire folder of the custom products and send it to me).
- Attachments
-
- SAVE.zip
- (1.87 MiB) Downloaded 104 times
E is for Endear, all cute and cuddly
L is for Luxury, longing for splendid
E is for Elate, making others happy
A is for Amenable, a serene nature
Z is for Zeal, zest for wonderful life
A is for Admirers, all of you love me

L is for Luxury, longing for splendid
E is for Elate, making others happy
A is for Amenable, a serene nature
Z is for Zeal, zest for wonderful life
A is for Admirers, all of you love me
- David
- Community and Marketing Manager at Enlight
- Posts: 10424
- Joined: Sat Jul 03, 2010 1:42 pm
- Has thanked: 78 times
- Been thanked: 224 times
Re: Crash with custom product
1) I used XnView (free download from http://www.xnview.com) to "Save As" the PNG again and it then worked.
See attached screenshot.
2) The next patch v3.5.13 will have the fix for the crash bug.
See attached screenshot.
2) The next patch v3.5.13 will have the fix for the crash bug.
- Attachments
-
- perform.jpg (255.53 KiB) Viewed 1676 times
Re: Crash with custom product
Earlier png images shown blank are also converted by XnView. And I have already fixed all of the images in that zip file. Also the one shown in this screenshot is actually already been displayed correctly originally. (The one left blank in my original screenshot is the golden one)David wrote:1) I used XnView (free download from http://www.xnview.com) to "Save As" the PNG again and it then worked.
See attached screenshot.
2) The next patch v3.5.13 will have the fix for the crash bug.
And I think it's an issue not because of image color bit length, but how the image is compressed/stored. If an image is converted with the interlaced option, it will not been shown properly in the game. (I originally assume a bigger file size will maintain more detail in such small image size 120x120, so sometimes I converted them with interlaced, but apparently it's the cause of not being able to show)
- Attachments
-
- Perfume golden interlaced issue.zip
- (35.23 KiB) Downloaded 117 times
E is for Endear, all cute and cuddly
L is for Luxury, longing for splendid
E is for Elate, making others happy
A is for Amenable, a serene nature
Z is for Zeal, zest for wonderful life
A is for Admirers, all of you love me

L is for Luxury, longing for splendid
E is for Elate, making others happy
A is for Amenable, a serene nature
Z is for Zeal, zest for wonderful life
A is for Admirers, all of you love me