Visual limit on the amount of numbers in the hold for goods/items
-
Hello, Adoxa! i would like to ask you one question, it’s a visual limit on the number of items if in my hold 65535 items and if i get more then they won’t display correctly, but this items not deleteds from the hold, it’s just visual… can this limit be increased, maybe you have some ideas? thanks for any help. I found a similar topic, but the problem is different, sorry again for my bad english: https://the-starport.net/freelancer/forum/viewtopic.php?post_id=58455
-
adoxa wrote:
How do you even have that many items? Not combined? I think that’s just crazy and I don’t want to enable even more…This is a one item limit, for example i can have water and food in the hold and for each item there can be 65535 units, but if you exceed the number, then it will start to display incorrectly… i tried to find hacks but it looks like they don’t exist, I will be grateful for any help, Adoxa!
-
adoxa wrote:
Seems to work fine for me.Yes, if you buy goods at the station, then everything will be fine, but if you pick it up in space, or drop it out of the hold, it will no longer correctly display the amount, or if, for example, you add goods to your hold with the command, or remove from stock (plugin store)…
-
adoxa wrote:
The packet has a 16-bit value, which I’m not sure I’m bothered to work around. Is there a good reason you need cargo holds to be more than 65535?On our server there are ships with a cargo volume of 100-200 thousand units, and when players pick up from space, or drop, and even more often use warehouses, they have to re-login to the server so that the numbers start to display correctly, we have a lot of crafting items that require a large hold to create… If you can help, of course, if it is possible and not difficult for you, then the players would be very grateful to you and I too, you already helped a lot when you gave a solution with a limit on the number of lines, it enabled us to continue to modify such a beautiful game!
-
freelancer22222 wrote:
adoxa wrote:
The packet has a 16-bit value, which I’m not sure I’m bothered to work around. Is there a good reason you need cargo holds to be more than 65535?On our server there are ships with a cargo volume of 100-200 thousand units, and when players pick up from space, or drop, and even more often use warehouses, they have to re-login to the server so that the numbers start to display correctly, we have a lot of crafting items that require a large hold to create
This sounds like a major design flaw.
-
I recommend to just alter your cargo system to not exceed this number. Either generally lowering your cargo space on ships below it, or increasing the volume of commodities to make it impossible to exceed the value. Not everything that can be potentially done by hacks should be done by it. Save others some troubles by rethinking your problematic design decisions first if it is a valid option.