Author Topic: Item Stacking Issues  (Read 378 times)

Legacy_Valkyrie Chosen

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
Item Stacking Issues
« on: November 08, 2011, 12:09:30 am »


               I did a search of the forums, and google, and haven't been able to get any relevant hits. Everything I found was related to the stacking of abilities/skill points.

Back when the 1.69 patch came out, the server I was playing on ended up getting a bug where purchased items, such as healing kits, potions, or items that were picked up, would not automatically stack in the inventory. This meant that if you bought 15 healing kits, they took up 30 spaces in your inventory, etc. If you found or purchased 10 gems, they took up 10 spaces. All stackable items now have to be manually stacked. I've tried finding a fix for this, but to no avail. Has anyone had the same issue? I'm asking now, because the server was down for awhile, but has recently re-emerged, and is looking for a fix.

I don't know if it's something with a 2da, or the on item acquire scripts. I'm not really more than an amateur scriptor, and can only do some basic stuff. To help, there are no haks, aside from CEP2.2 I think, which will possibly be updated in the near future.
               
               

               
            

Legacy_Failed.Bard

  • Hero Member
  • *****
  • Posts: 1409
  • Karma: +0/-0
Item Stacking Issues
« Reply #1 on: November 08, 2011, 12:23:18 am »


               Identified stackable items that are bought or picked up should stack automatically.  I've personally only seen the manual stacking need to be done with items that are unidentified when the character gets them.
               
               

               
            

Legacy_Valkyrie Chosen

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
Item Stacking Issues
« Reply #2 on: November 08, 2011, 02:56:01 am »


               Yeah, the problem has been that even identified items don't stack. I'm trying to figure out if it's a CEP issue that was handled with an updated 2da, a script, or whatever might be the cause.
               
               

               
            

Legacy_wyldhunt1

  • Sr. Member
  • ****
  • Posts: 443
  • Karma: +0/-0
Item Stacking Issues
« Reply #3 on: November 29, 2011, 06:19:41 am »


               Not sure if you figured this out or not already, but I'll toss this your way anyway...
I've been playing with the PRC and it has options that will create a similar issue if certain switches are used. The issue in the PRC is that the scripts use on acquire and on unacquire to identify/unidentify items. So, all items are unidentified in the chests. You collect them all and they appear in your inventory identified (If your lore is high enough). Problem is, identifying them in onacquire isn't good enough so they never stack.

Also, I remember having a similar issue with my early version of my merchant item variable fix.
By default, items purchased from a merchant get all of their variables removed, which is bad for custom items which may need certain variables to function. So, I made a script that deleted any item you purchased from a merchant and then re-created it. It only creates 1, so I'd have to set stack size to whatever it should be. Because of the process of delete/create/stack, they would never auto-stack with other partial stacks.

I'd check to see if someone tried something similar somewhere. Search around to see if you can find evidence of deleting/creating items that PC's acquire.
If that's it, you can add a bit to the script to see how many they have total and adjust the stacks to what they should be in that script.

There is no 2da or anything that would do this. The 2da only decides max stack size. If you can still manually stack them, the 2da is fine.
               
               

               
            

Legacy_Valkyrie Chosen

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
Item Stacking Issues
« Reply #4 on: December 02, 2011, 04:28:39 am »


               Thanks for that. I've been trying to help our scriptor track down the issue. We don't have any sort of auto-ID system in place. Even identified items (like gems) do not stack. Our scriptor has been checking to see if anything in the on aquire script has been altered from the originals in a way that would cause the issue.