1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Greetings Guest!!

    In order to combat SPAM on the forums, all users are required to have a minimum of 2 posts before they can submit links in any post or thread.

    Dismiss Notice

Inexplicable UO issues with code.....

Discussion in 'UHall' started by popps, Mar 26, 2011.

  1. popps

    popps Always Present
    Stratics Veteran Stratics Legend

    Joined:
    Feb 27, 2004
    Messages:
    13,445
    Likes Received:
    461
    This is kinda inexplicable to me...

    I have been taking the Zosilem Quest "Dabbling on the Dark Side".

    To advance on the Tier 2 it is necessary to take it 10 times. Alright.

    Now comes the inexplicable part ot me.......

    This Quest yields as reward 2 Deliciously Tasty Treat which come stacked with each other.

    So, the item has been coded to stack, I understand.........

    Cool !!

    Aheam, think again........

    Upon further doing the Quest and get more of 2 Deliciously Tasty Treats, I found out that they stack but, aheam, they do not stack !!!

    One would think that it is either black or white and that is, either the item was coded to stack or it was not but apparently, it is possible for the item to be coded to stack and yet not to stack at the same time.......

    Confusing ? I know, that is why I said I found it inexplicable......

    The 2 Deliciously Tasty Treats come stacked with each other but if I try to stack them with more 2 Deliciously Tasty Treats rewards I have gotten from further completing more of the same Quest they do not stack.

    Inexplicable to me.......
     
  2. Raptor85

    Raptor85 Certifiable
    Stratics Veteran

    Joined:
    Jul 23, 2007
    Messages:
    1,712
    Likes Received:
    224
    stacking is a bit buggy, any difference in the item at all and it cant stack, and sometimes you can't see the difference. sometimes when they're stuck like that, drag one pile out and drop it on the bag containing the others though, and it will stack it (even if you couldn't do it yourself)
     
  3. Viper09

    Viper09 Grand Poobah
    Stratics Veteran

    Joined:
    May 16, 2008
    Messages:
    6,680
    Likes Received:
    824
    Yes, stacking is an issue with many things. Not really confusing as it had been an issue with many items. Everyone knows it by now. It's been brought up many times, most of the time by you actually. Think there was actually a thread listing items that don't stack.
     
  4. popps

    popps Always Present
    Stratics Veteran Stratics Legend

    Joined:
    Feb 27, 2004
    Messages:
    13,445
    Likes Received:
    461

    I tried both ways, dropping on top of the other stack AND dropping it in a container already containing the other stack and it won't work either way.

    Not sure if there may be any other way to force them to stack on each other....
     
  5. popps

    popps Always Present
    Stratics Veteran Stratics Legend

    Joined:
    Feb 27, 2004
    Messages:
    13,445
    Likes Received:
    461

    I can undertand that some items might not stack if they were not coded to.

    The issue here, is that the item has been coded to stack as the reward for the Quest comes with 2 deliciously tasty treats already stacked with each other...

    So, this is the clear evidence that yes, this item has been coded to stack because it does come as already stacked.

    Good one might think, it has been coded to stack.

    Wrong thinking, it has been coded to stack, and infact it stacks (2 of the same item come stacked on each other as I said), but then if the player tries to stack it with more of the same type it does not stack.

    So, it stacks but it does not stack.

    This is what is different with other items. Other items have not been coded to stack. This particular item, instead, has been coded to stack and yet it stacks but at the same time it does not stack, also............
     
  6. PsychoKinetic

    PsychoKinetic Journeyman
    Stratics Veteran

    Joined:
    May 24, 2008
    Messages:
    252
    Likes Received:
    14
    *laughs*

    I'll bet the devs over time agree with you here Popps. I can remember at least three different times over the years that they have said we are going to get on top of this stacking thing once and for all. As you can see they have had somewhat limited success. I'm sure they would have fixed it if they could.
     
  7. NewThunder

    NewThunder Guest

     
  8. Viper09

    Viper09 Grand Poobah
    Stratics Veteran

    Joined:
    May 16, 2008
    Messages:
    6,680
    Likes Received:
    824
    Dang, someone truly cares about tasty treats, that or you're really bored and felt like arguing over stacking issues again. Issues like this have always been around, and unless you can actually see the code, understand how the coding works for this item, etc you can't really know what's going on. Just because they come in pairs of 2 doesn't mean anything at all. Try separating them them stacking again. Maybe they can only be in two's but can't manually be stacked.

    But fact is, if at the end of the night they can't be stack, no matter how many words you can use to describe how you find it inexplicable, confusing, illogical, etc the fact is you found another item that has stacking issues. And for that, we congratulate you popps, let's add it to the list if someone already hasn't.
     
  9. popps

    popps Always Present
    Stratics Veteran Stratics Legend

    Joined:
    Feb 27, 2004
    Messages:
    13,445
    Likes Received:
    461

    I see no difference whatsoever. They are spawned as 2 "stacked" with each other.

    If they were not coded to be capable of stacking with each other they could not spawn, I guess, as stacked with each other.

    So, they have been coded to stack. But then, they do not stack at the same one time.
     
  10. MalagAste

    MalagAste Belaern d'Zhaunil
    Reporter Professional Governor Stratics Veteran Stratics Legend Campaign Supporter Royal Knight

    Joined:
    Aug 21, 2000
    Messages:
    18,957
    Likes Received:
    5,442
    They don't know how to code..

    Therefore things don't come stackable anymore.

    Long time ago one of the DEV's thought they knew the "secret" to stacking and we were happy with finally being able to stack many things. It's possible that this dev was later let go... but since then most things do not stack sadly. You remember when High Seas came along most things didn't stack and had stacking issues... well apparently it's too difficult for them to figure out stacking so no tasty treats will clog up your inventory.

    As will power crystals, skeleton keys and dozens of other items.
     
  11. Sevin0oo0

    Sevin0oo0 Guest

    @OP
    kinda like the Magincia Threads(thread of fate, thought, etc) some will, some won't - sold them all for cheap on vendors, worthless

    Thanks for letting us know, I'll be doing these soon as well - looks like another vendor item, 30-40k Each (LS only) is what I'll be selling them for.
     
  12. popps

    popps Always Present
    Stratics Veteran Stratics Legend

    Joined:
    Feb 27, 2004
    Messages:
    13,445
    Likes Received:
    461

    Wow, the "secret" to code how to get items to stack ??

    I am impressed, I had no idea it was such a complicated coding issue to have "code wizards" needed to get it done.......

    Wow.

    Does this mean we can forget about seeing finally all items made stackable in the game ?
     
  13. "coded" to stack "two high" ... one on top of another
    can you take one from one stack and stack it with another from another stack?
    If yes
    "coded" to stack "two high"
    If no
    "coded" to spawn as a "two high" stack, once ... no mix matching

    its called "cupcake stacking/packing"
    [​IMG]


    Ingame "muffins" came (iirc) as stacks of three ...
    IF you took one off ... you were supposed to eat it ...
    NOT double dip and put it back ...
    touching all the muffins

    and spreading your addled pated germs ...

    duh!

    You see ...
    What is "inexplicable >here<" is:
    Why ain't you eating them?

    Stack 'em in yo belly
    there's ALWAYS room for mo'


    Doh !! :danceb:
     
  14. Basara

    Basara UO Forum Moderator
    Moderator Professional Wiki Moderator Stratics Veteran Stratics Legend Campaign Supporter

    Joined:
    Jul 16, 2003
    Messages:
    8,457
    Likes Received:
    582
    Yes, Fayled, but of those 3-part muffins - if you have two of them (which stack) and eat one part of each of them, the 2-part remainders of each WILL stack with each other. Same thing goes if you further eat one from each stack.

    But the different-count ones won't stack, and a 3-count stack of 2 does not look like 2-count stack of 3 (or a 1-count stack of 6), even though they all have the same number of muffins.

    The logic behind this is about as mindnumbing as the AFLAC duck trying to listen to Yogi Berra (or figuring out why hot dog weiners come in packs of 10, but the corresponding buns come in packs of 8 or 12)
     
  15. hungry4knowhow

    Stratics Veteran

    Joined:
    Jun 23, 2008
    Messages:
    579
    Likes Received:
    116
     
  16. Gilmour

    Gilmour Certifiable
    Stratics Veteran Stratics Legend

    Joined:
    Nov 19, 2003
    Messages:
    1,841
    Likes Received:
    274
    Classic Client is one big pile of spegetti code as us coders call it.

    Definition of spegetti code: not maintaining original structure and putting blocks where they dont belong and/or make dublicate blocks.

    this is due to 13 years+ development and expantion with ever changing dev teams that didnt put themselves 110% in the structure of the original code.

    this is what cause the problems.
     
  17. DarkVoid

    DarkVoid Guest

    Muffins are confusing, mainly because what you are really seeing are 2 (or is it 3?) different graphics. They can do the following:

    1. Any 3-part muffin you buy from a NPC vendor, create through cooking, or the magery create food spell will stack with other 3-part muffins.

    2. Any 3-part muffin you eat one of will turn into a 2-part muffin graphic, and stack with other 2-part muffin graphic, as a stack of 2-part muffin graphics.

    3. Any 2-part muffin graphic you eat one of will turn into a 1-part muffin graphic, and will stack with any other 1-part or 2 part muffin graphics.

    4. You can create multiple stacks of 2-part or 1-part muffin graphics, and they will stack with an identical type of muffin stacks as if they were no different to each other.

    What you cannot do is have a 1-part muffin or a 2-part muffin, whether a stack or a single muffin, stack with a 2-part muffin or a 1-part muffin to create a 3-part muffin again. They will always create 2-part or 1-part muffin stacks.

    That is, you can create 3-part muffins or buy them, but you cannot create them from leftover muffins. Probably something to do with preventing germ infections or somesuch. :D
     
  18. [​IMG]

    You said there was/is a "logic" in the code ...


    "tisn't
    should be
    'tain't

    A "coder" could find a logic flaw ...

    Ha Ha! ... :danceb:
     
  19. Warpig Inc

    Warpig Inc Babbling Loonie
    Stratics Veteran

    Joined:
    Jul 2, 2008
    Messages:
    2,416
    Likes Received:
    397
    When making crushed glass out of glass swords. If one of the swords is neon colored the crushed glass wont stack with others. Crushed glass made from a neon sword will stack with others that is neon tainted. Normal glass swords crafted or looted turned into crushed glass stacks in there own pile. There is long history of stacking issues.
     
  20. Farsight

    Farsight Crazed Zealot
    Stratics Veteran

    Joined:
    May 12, 2008
    Messages:
    3,191
    Likes Received:
    36
    In the case of the treats, the non-stacking is on purpose.

    People kept accidently feeding stacks of treats to their pets, and the devs removed the stacking code. So the 2 stacked treats is the bug, rather than the non-stacking side effect. (See Pub 61 notes, October 2009)
     
  21. popps

    popps Always Present
    Stratics Veteran Stratics Legend

    Joined:
    Feb 27, 2004
    Messages:
    13,445
    Likes Received:
    461

    Now, THAT is a strange (and player unfriendly...) fix, IMHO.

    Personally, rather than making treats non stackable, I would have made the pets REFUSE treats if they were stacked. That is, code that ONLY 1 treat at a time would be taken by whatever pet.

    So, stacking would have been safe and yet players would not have risked losing stacks of treats when feeding a pet.

    I have to say that I entirely disagree with the fix that was done and I hope they will reconsider it changing the way it works in a way that is more player friendly (i.e. allow for the stacking of treats and yet make pets refuse more that 1 treat at a time....).
     
  22. Hera75

    Hera75 Adventurer
    Stratics Veteran

    Joined:
    Apr 3, 2010
    Messages:
    53
    Likes Received:
    0
    There are three types of tasty treats

    A single tasty treat increases stats 5% for 20 mins with a cool down of 2 mins

    A 2 piece tasty treat increases stats by 10% for 10 min with a cool down of 1 hour.

    Then there is another single tasty treat named irresistibly tasty treat which increases by 15% damage increase of 10% for 10 mins with a cool down of 2 hours.

    The ones that looked stacked are not really stacked, just the art. if you pull them apart they show no stats on the treat.

    Here is the link to the Thepem and Zosilem quest A Guide for the Thepem and Zosilem Quests
     
  23. Flutter

    Flutter Always Present
    Stratics Veteran Alumni Stratics Legend

    Joined:
    May 12, 2004
    Messages:
    21,553
    Likes Received:
    3,840
    THIS IS SO EARTH SHATTERING IT'S GONE TWO PAGES.
    LETS MAKE A VIDEO OF IT SO IT CAN GO VIRAL
    I THINK WE SHOULD ALL QUIT UO UNTIL TASTY TREATS FROM QUESTS STACK
    IM SHUTTING DOWN MY 45,668,461,357,468,416,313,456,874 ACCOUNTS RITE NOW!
     
  24. RaDian FlGith

    RaDian FlGith Babbling Loonie
    Stratics Veteran Stratics Legend

    Joined:
    Jun 19, 2002
    Messages:
    2,442
    Likes Received:
    323
    Actually, just FYI, the reason for the goofiness there was not because they wouldn't all stack, but because each thread type had 10 different variations. You would only know this if you were a Necromancer, however, but if you used Spirit Speak, I believe, each would provide one of 10 different messages.

    Each different message stacked with itself.

    As to why stuff that stacks doesn't stack, it's because for some reason the stacking code looks at a property that apparently occasionally changes. I can only hazard that it's an important property (and probably one that, if they fixed, would prevent duping in a huge way, because I surmise that it's a property that must stay identical in a stack situation that would otherwise be different in a single-item circumstance).

    Bad coding, honestly... and in the case of strange stacking behavior, EXTREMELY bad coding.
     
  25. RaDian FlGith

    RaDian FlGith Babbling Loonie
    Stratics Veteran Stratics Legend

    Joined:
    Jun 19, 2002
    Messages:
    2,442
    Likes Received:
    323
    Great job identifying the source of something that has absolutely, positively nothing to do with the problem at hand. The issue isn't client-side, it's server-side. The server is what keeps track of how many items are in a container, what properties they have, and whether they stack or not, not the client.

    And while I'm with you on the spaghetti code issue, I think it's client and server, and I think it affects both the CC and EC on the client end of things.
     
  26. RaDian FlGith

    RaDian FlGith Babbling Loonie
    Stratics Veteran Stratics Legend

    Joined:
    Jun 19, 2002
    Messages:
    2,442
    Likes Received:
    323
    Wow... if that's true (and I have no reason to doubt it), then it's the typical Mythic Bandaid... let's not fix the problem, let's create a half-baked solution.

    The fix would have been that you double-click the treat and target your pet and it eats one, or that dropping a stack of them on a pet would take one and return the stack to the player's backpack.

    Instead, they choose the least elegant play solution to save time in fixing a bug.

    Typical.
     
  27. Lorddog

    Lorddog Crazed Zealot
    Stratics Veteran Stratics Legend

    Joined:
    Oct 25, 2004
    Messages:
    3,115
    Likes Received:
    298
    I have hugh problems with stacking if i put on a vender and then take items off. my instance is the new essence and relics. I cannot get them to stack again. :(

    lorddog
     
  28. popps

    popps Always Present
    Stratics Veteran Stratics Legend

    Joined:
    Feb 27, 2004
    Messages:
    13,445
    Likes Received:
    461

    Sometimes small details can show a world of meaning.......

    It is from details that one can understand a lot of things, sometimes...

    just a htought.....
     
  29. Zosimus

    Zosimus Grand Inquisitor
    Stratics Veteran Alumni Stratics Legend

    Joined:
    Jul 3, 2004
    Messages:
    4,370
    Likes Received:
    720
    I closed my accounts because of this issue. Thank you Popps. Tasty Treats not stacking was the last straw......:sad4: Its game ending for me
     
  30. hungry4knowhow

    Stratics Veteran

    Joined:
    Jun 23, 2008
    Messages:
    579
    Likes Received:
    116
    I see what you've done here. Well played sir. Very well played. :lol: