I was trying to add a new raw and mineral type, it works fine and can enter the setting screen, but during loading into game the error occur
Error Opening file RAW\[my raw mineral name].RAW
There is no where in the MOD kit to put logo into a raw product class type, and have to manually add image to RAW folder?
Problem with the new Advanced MOD
Problem with the new Advanced MOD
-------------------------------------------------------------------
Twitch channel : twitch.tv/ancientbuilder
Youtube channel : www.youtube.com/user/countingtls
-------------------------------------------------------------------
Twitch channel : twitch.tv/ancientbuilder
Youtube channel : www.youtube.com/user/countingtls
-------------------------------------------------------------------
- clark17
- Translation Contributor
- Posts: 94
- Joined: Fri Feb 01, 2013 11:09 pm
Re: Problem with the new Advanced MOD
Try in \MOD_kit\Images\Products with your product name.
[MOD] Real World for Capitalism Lab
Really sorry for my english like a Spanish cow
Really sorry for my english like a Spanish cow
Re: Problem with the new Advanced MOD
I already added the image in it, it simply can not find it.
-------------------------------------------------------------------
Twitch channel : twitch.tv/ancientbuilder
Youtube channel : www.youtube.com/user/countingtls
-------------------------------------------------------------------
Twitch channel : twitch.tv/ancientbuilder
Youtube channel : www.youtube.com/user/countingtls
-------------------------------------------------------------------
- clark17
- Translation Contributor
- Posts: 94
- Joined: Fri Feb 01, 2013 11:09 pm
Re: Problem with the new Advanced MOD
Same error for me...
[MOD] Real World for Capitalism Lab
Really sorry for my english like a Spanish cow
Really sorry for my english like a Spanish cow
- clark17
- Translation Contributor
- Posts: 94
- Joined: Fri Feb 01, 2013 11:09 pm
Re: Problem with the new Advanced MOD
[MOD] Real World for Capitalism Lab
Really sorry for my english like a Spanish cow
Really sorry for my english like a Spanish cow
Re: Problem with the new Advanced MOD
I tried something simple with just one new type of car - luxury car codename LUXCAR, with new image LUXCAR.png, with the same manufacturing materials as car, but different price, quality ratio and necessity. I added one line each in Product_Names.dbf, Product_Types.dbf, and Manufacturing.dbf nothing less.
This error of method.cpp occur during loading
This error of method.cpp occur during loading
- Attachments
-
- error method cpp.png (7.45 KiB) Viewed 1986 times
-------------------------------------------------------------------
Twitch channel : twitch.tv/ancientbuilder
Youtube channel : www.youtube.com/user/countingtls
-------------------------------------------------------------------
Twitch channel : twitch.tv/ancientbuilder
Youtube channel : www.youtube.com/user/countingtls
-------------------------------------------------------------------
Re: Problem with the new Advanced MOD
After some try and error, I found the trigger of the method.cpp bug. In Product_Types.dbf of the field Price, any number greater than 20000 will trigger it, (even just 20001), although the MOD help says its range from 1 to 99999 (there are number of errors in the MOD help as well, like the length of measurement unit name of the product in plural is 8 chars not 6 chars).
This bug also means, currently no unit price can be more expensive than a normal car.
Still trying to pin-point what's triggering error in adding new product, perhaps Product_Names.dbf is fixed in row size, and not able to read row 137?.
This bug also means, currently no unit price can be more expensive than a normal car.
Still trying to pin-point what's triggering error in adding new product, perhaps Product_Names.dbf is fixed in row size, and not able to read row 137?.
-------------------------------------------------------------------
Twitch channel : twitch.tv/ancientbuilder
Youtube channel : www.youtube.com/user/countingtls
-------------------------------------------------------------------
Twitch channel : twitch.tv/ancientbuilder
Youtube channel : www.youtube.com/user/countingtls
-------------------------------------------------------------------
Re: Problem with the new Advanced MOD
This is the first odd bug with MOD that adds new products, once now and then during fine tuning price + - (before even touching the newly MOD added product), the error Town::town_item() occurs.
- Attachments
-
- Town_item.jpg (521.79 KiB) Viewed 1981 times
-------------------------------------------------------------------
Twitch channel : twitch.tv/ancientbuilder
Youtube channel : www.youtube.com/user/countingtls
-------------------------------------------------------------------
Twitch channel : twitch.tv/ancientbuilder
Youtube channel : www.youtube.com/user/countingtls
-------------------------------------------------------------------
- David
- Community and Marketing Manager at Enlight
- Posts: 9376
- Joined: Sat Jul 03, 2010 1:42 pm
- Has thanked: 21 times
- Been thanked: 52 times
Re: Problem with the new Advanced MOD
The current MOD kit does not yet support new images for natural resources. To get around this problem, you may duplicate a existing natural resource image file in the "RAW" folder and rename it as the item code of the new natural resource item you have added. (e.g. let's say we are adding Uranium whose item code is "URANIUM", you may duplicate a copy of GOLD.RAW and rename it as "URANIUM.RAW")counting wrote:I was trying to add a new raw and mineral type, it works fine and can enter the setting screen, but during loading into game the error occur
Error Opening file RAW\[my raw mineral name].RAW
There is no where in the MOD kit to put logo into a raw product class type, and have to manually add image to RAW folder?
- David
- Community and Marketing Manager at Enlight
- Posts: 9376
- Joined: Sat Jul 03, 2010 1:42 pm
- Has thanked: 21 times
- Been thanked: 52 times
Re: Problem with the new Advanced MOD
I have added additional instructions for adding new farming items on the CapLab web site.
Please read: http://www.capitalismlab.com/advanced-m ... rming.html
By following the new instructions, you should be able to resolve the problems.