carmopereira / DU-Container-Monitor

This code is destined to Dual Universe game. This is a Container monitor for pure and ore materials. It can be used to monitor container percentages and it readouts. It was design to have a Container Hub element side each item name.
GNU General Public License v3.0
12 stars 10 forks source link

Currently does not support XL and EXL containers #7

Open JTtheGeek opened 3 years ago

JTtheGeek commented 3 years ago

the newer containers aren't supported

carmopereira commented 3 years ago

newer containers? facepalm did not ear about those

JTtheGeek commented 3 years ago

xl and expanded xl, already updated the script to support https://pastebin.pl/view/169cb49f

Krell0 commented 2 years ago

If you want to use container XL or XL extended then just put them under one of the containers you do not use like a XS. For example: CH_XS4_Coal the XS is not a extra small its really a XL or XL extended and you put under parameters that it can hold "X" Liters there you have it a XL or XL extended. Great you have that set up now, but it does not read right on the screen that is because under lines 332 to 352 its set up to look for 1,000,000 or less these need to be changed to just above what the max of what your container hub says you can hold. Example: I have 10 large containers connected to my container hub, with max putdown skills giving me a total of 1,920,000 Liters of ore that is able to be held in this container. So, I changed all the 1,000,000 under lines 332 to 352 to 2,000,000 and now the script is working and displaying just fine. if your using larger containers you may have to change yours to higher like 4,000,000 or 10,000,000 to make it work but that should do the trick for you.