Cunning fox Posted January 25, 2017 Share Posted January 25, 2017 (edited) Hey! I'm trying to port shop mod, but I have some trouble... When I'm activating shop, game crashes with [00:00:52]: [string "../mods/shop/scripts/widgets/shop_itemtile...."]:14: attempt to call method 'GetAtlas' (a nil value) My mod is here mod.zip I can give you skin (Striking Tuxedo), if you wil help me! Anyways thanks for trying to help! Edited January 25, 2017 by makar5000 1 Link to comment Share on other sites More sharing options...
CarlZalph Posted January 25, 2017 Share Posted January 25, 2017 Well, according to their workshop page they are going to add it to DST sometime. However if you do plan on porting anything to DST: 1) Get the mod authors' permissions. 2) Be prepared to see a lot of crash logs. 3) Go to the relevant files that are causing the crash and see why it's crashing, then changing the files to make it not. 4) Go over all of the code with a fine tooth comb to ensure everything in there is DST compliant and working. That being said the error you're seeing is from a function that no longer exists in the inventoryitem component. self.image = self:AddChild(Image(self.goods_data.item.components.inventoryitem.atlasname, self.goods_data.item.components.inventoryitem.imagename)) Keep the item, matey. Link to comment Share on other sites More sharing options...
Cunning fox Posted January 25, 2017 Author Share Posted January 25, 2017 11 minutes ago, CarlZalph said: Well, according to their workshop page they are going to add it to DST sometime. However if you do plan on porting anything to DST: 1) Get the mod authors' permissions. 2) Be prepared to see a lot of crash logs. 3) Go to the relevant files that are causing the crash and see why it's crashing, then changing the files to make it not. 4) Go over all of the code with a fine tooth comb to ensure everything in there is DST compliant and working. That being said the error you're seeing is from a function that no longer exists in the inventoryitem component. self.image = self:AddChild(Image(self.goods_data.item.components.inventoryitem.atlasname, self.goods_data.item.components.inventoryitem.imagename)) Keep the item, matey. I'm not going to post it in worshop. It'll be only for my server. Thanks for your help! 1 Link to comment Share on other sites More sharing options...
CarlZalph Posted January 25, 2017 Share Posted January 25, 2017 Just now, makar5000 said: I'm not going to post it in worshop. It'll be only for my server. Thanks for your help! Unfortunately you'll need to if you plan on having any randoms join your server, with how DST manages mods between server/client. If however it's just you and your pals then you'll need to redistribute the mod to your friends and ensure it's all up-to-date whenever you do changes. Link to comment Share on other sites More sharing options...
Cunning fox Posted January 25, 2017 Author Share Posted January 25, 2017 13 minutes ago, CarlZalph said: Unfortunately you'll need to if you plan on having any randoms join your server, with how DST manages mods between server/client. If however it's just you and your pals then you'll need to redistribute the mod to your friends and ensure it's all up-to-date whenever you do changes. Yeah, I know. 1 Link to comment Share on other sites More sharing options...
Cunning fox Posted January 25, 2017 Author Share Posted January 25, 2017 27 minutes ago, CarlZalph said: Well, according to their workshop page they are going to add it to DST sometime. However if you do plan on porting anything to DST: 1) Get the mod authors' permissions. 2) Be prepared to see a lot of crash logs. 3) Go to the relevant files that are causing the crash and see why it's crashing, then changing the files to make it not. 4) Go over all of the code with a fine tooth comb to ensure everything in there is DST compliant and working. That being said the error you're seeing is from a function that no longer exists in the inventoryitem component. self.image = self:AddChild(Image(self.goods_data.item.components.inventoryitem.atlasname, self.goods_data.item.components.inventoryitem.imagename)) Keep the item, matey. So ni I'we got new trouble. Screen looks like this: But it should be like that: Any Ideas how to fix that? 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now