Lift Auction House Restrictions?
Lift Auction House Restrictions?
Hi I am a bit new to lua and the DSP.
I am looking to remove or adjust the following restrictions on the auction house:
1.) 7 items to infinite
2.) 1 Week duration to infinite
3.) Tax
Any info would be helpful.
I have been looking at the following file:
auction_house.cpp
Thanks!
I am looking to remove or adjust the following restrictions on the auction house:
1.) 7 items to infinite
2.) 1 Week duration to infinite
3.) Tax
Any info would be helpful.
I have been looking at the following file:
auction_house.cpp
Thanks!
Re: Lift Auction House Restrictions?
Look in: src\map\packets\auction_house.cpp
The slot limit is where you will see all the pieces of code like:
slot > 7
slot < 7
Duration for 1 week, I don't even think works. I don't recall us having expiring items yet as it was something whasf was supposed to finish after I coded part of what he needed. As far as I know its still not implemented so items should not expire if I recall.
Tax is calculated here:
WBUFL(data,(0x08)-4) = 0x00; // AUCTION_FEE(PItem->getCharPrice());
It is currently set to 0 as it was removed on retail.
The slot limit is where you will see all the pieces of code like:
slot > 7
slot < 7
Duration for 1 week, I don't even think works. I don't recall us having expiring items yet as it was something whasf was supposed to finish after I coded part of what he needed. As far as I know its still not implemented so items should not expire if I recall.
Tax is calculated here:
WBUFL(data,(0x08)-4) = 0x00; // AUCTION_FEE(PItem->getCharPrice());
It is currently set to 0 as it was removed on retail.
Re: Lift Auction House Restrictions?
Expiration is almost done, it'll be implemented in the search server (and configurable). Just having a bit of trouble with the SQL connections..
-- Whasf
Re: Lift Auction House Restrictions?
are you sure you're not thinking of bazaar taxatom0s wrote:It is currently set to 0 as it was removed on retail.
Re: Lift Auction House Restrictions?
Thank you very much I figured it was just the '7's I was not sure if there was any issues with that or if anything else had to be changed! (and wow good response time appreciated!)
Re: Lift Auction House Restrictions?
Retail AH tax was reduced majorly but it still exists.atom0s wrote:Look in: src\map\packets\auction_house.cpp
The slot limit is where you will see all the pieces of code like:
slot > 7
slot < 7
Duration for 1 week, I don't even think works. I don't recall us having expiring items yet as it was something whasf was supposed to finish after I coded part of what he needed. As far as I know its still not implemented so items should not expire if I recall.
Tax is calculated here:
WBUFL(data,(0x08)-4) = 0x00; // AUCTION_FEE(PItem->getCharPrice());
It is currently set to 0 as it was removed on retail.
Bazaar tax however was removed completely.
Re: Lift Auction House Restrictions?
Ah I got them mixed up / reversed.
Re: Lift Auction House Restrictions?
Hmm. Seems any value greater than 7 results in infinity slots, so we can't do something like just make it 10 by just tweaking that number. I suppose it doesn't mater much since the display part client side still won't show more than 7 and locks you out if your try to view sales status after having more than 7 items listed (till you re log out/in). Most folks wanting to change it will prolly prefer infinite anyway.
Hi, I run The Demiurge server.
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. - Martin Golding
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. - Martin Golding
DO NOT PRIVATE MESSAGE ME ABOUT BUGSPLS USE [ code ] CODE TAGS [ /code ] WHEN POSTING CODE
Re: Lift Auction House Restrictions?
I got around to testing this and the client wont let me sell anything past 7 items :C Any ideas?
Edit: Would I need to use a @sell command or something?
Edit: Would I need to use a @sell command or something?
Re: Lift Auction House Restrictions?
I tested with it at 9, and it worked (and had inf slots). Note there are two spots in the code where its checking that number, and if you open sales menu status the client will enforce its own restriction.fentus wrote:I got around to testing this and the client wont let me sell anything past 7 items :C Any ideas?
Edit: Would I need to use a @sell command or something?
Hi, I run The Demiurge server.
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. - Martin Golding
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. - Martin Golding
DO NOT PRIVATE MESSAGE ME ABOUT BUGSPLS USE [ code ] CODE TAGS [ /code ] WHEN POSTING CODE