Trinity Core MMo Server Framework Latest Supported Client Versions
TrinityZero : 1.12.1 Active
TrinityCore-old : 2.4.3 Inactive
TrinityCore : 3.2.2a Active development

Go Back   Trinity Core MMo Server Framework > Bugs & Patches > TrinityCore > Bug
Connect with Facebook

News & Announcements
Hi Unregistered, Welcome to Trinity Core Forum

Attention Visitor:
You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Please use the following links Trinity-Zero, TrinityCore. All new issues should be posted there. current issues will stay here.
4987 - AHBot not stacking items properly Issue Tools
issueid=4946 08-14-2009 11:42 PM
Senior Member
4987 - AHBot not stacking items properly

Greetings,

UDB: 382
TC2 (Win32): 4987

AHBot does not seem to be stacking items properly. In my config I have:

maxstackwhite = 0
maxstackgreen = 0
maxstackblue = 5
maxstackpurple = 1

In my auction house, all my trade goods are stacked as such:

White: all entries are single items (492 items total)
green: all entries are single items (502 items total)
blue: stacks ranging from 5, 3 and 1 (490 items total)
purple: all entries are single items (526 items total)

According to the instructions, an entry of 0 for stack size should let the bot stack
up to the maximum allowable stack size for an item but it seems the only way
to get a stack greater than 1 is to put something other than 0.

For example: I have 100 single entries for Copper Bar instead of random stack sizes.
Issue Details
Project TrinityCore
Category Custom
Status RESOLVED
Priority 10 - Lowest
Affected Version Unknown
Fixed Version (none)
Users able to reproduce bug 0
Users unable to reproduce bug 1
Assigned Users (none)
Tags (none)

08-15-2009 12:20 AM
Senior Member
 
I believe that the AH uses the stackable amount in the item_template. With all the settings set to 1 I have had random stacks ranging (For example copper bars) 1 to 20. I may be wrong, I am currently redoing my database right now on the server so I cant really get on to check any of the files in fear the POS might freeze up lol.
Reply
08-15-2009 12:22 AM
Senior Member
 
yea, copper bar i believe is one of the items you have a 0 in. Which is not allowing it to stack at all since you have stacking turned off ( 0 ) for that color item.
Reply
08-18-2009 01:21 AM
Senior Member
 
Quote:
Originally Posted by nightwolf86
yea, copper bar i believe is one of the items you have a 0 in. Which is not allowing it to stack at all since you have stacking turned off ( 0 ) for that color item.
According to the AHBot config:

Quote:
A value of zero will disable the maximum stack size for this quality allowing the bot to create stacks
(of random size) of items as big as the item type allows.
Since Copper Bars can stack up to 20, a value of 0 should provide stacks of random sizes.
Reply
08-18-2009 01:34 AM
Senior Member
 
what happens if its set to 20 ? do you get all stacks at 20 or random up to 20 ?
Reply
08-18-2009 02:31 AM
Junior Member
 
paradox fixed this in 5177
Reply
This petition for a change to RESOLVED was accepted
08-18-2009 06:07 AM
Senior Member
 
Quote:
Originally Posted by tlexii
paradox fixed this in 5177
Indeed, thanks for that. I just looked at the code change for 5177 and it looks
good.

Petition for "resolved"
Reply

Issue Tools
Subscribe to this issue

All times are GMT -5. The time now is 05:38 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© 2008 - 2009 Trinity Core | Hosting provided by KPsN, KPsN is not responsible for user posts and other user content appearing on this website and does not endorse nor guarantee the perspectives, the advice, the users, the materials, or the products or services posted or offered by any users or groups or entities that appear on this website.