Jump to content

CyberMomo

Members
  • Posts

    2
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

About CyberMomo

  • Birthday 01/01/1

CyberMomo's Achievements

Newbie

Newbie (1/3)

0

Reputation

  1. Buyer Update After some brainstorming i have decided to rewrite all code heart of buyer and make it more unpredictible. Do i realised what i want? Not realy if you look at the code you will see it's still predictible but less than before. It's difficult to do because the prices of items is not only the parameter we must consider. Here is the case i retained for the new buyer. - is the item is the only one on this faction ah? - is the item price cost more than average price of this item in this ah? - is the item price cost is less than all of the same item? - is the item price cost more than max buyable price? (computed with ratio price of the faction) All of this question (and some other) have now an answear on the new buyer function. But the process cost more cpu cycle now. So i reworked the update() function to not do all stuff at once. I natauraly divided the cycle by 6. - Selling item for alliance. - Selling item for horde. - Selling item for neutral. - Buying item for alliance. - Buying item for horde. - Buying item for neutral. I realised the initial cycle time was 1 min (basicaly need 6 min with new sheme to do the 6 jobs) and syncronised with original mangos ah.update. So new timer is created for this case. The cycle time is now 20s. The initial cycle need now 2 min to be done like in the past. The benefit is the cpu consumption is less than before and have better distribution in time. Theoricaly this mean you can easely add more item than before without any visible impact. Buyer need to be adjusted, i mean some of the hardcoded value need probably some review to make it more realistic. Anyway i have already added this configs AuctionHouseBot.Buyer.Alliance.Enabled = 1 AuctionHouseBot.Buyer.Horde.Enabled = 1 AuctionHouseBot.Buyer.Neutral.Enabled = 1 AuctionHouseBot.Buyer.Recheck.Interval = 20 AuctionHouseBot.Buyer.Alliance.Chance.Ratio = 3 AuctionHouseBot.Buyer.Horde.Chance.Ratio = 3 AuctionHouseBot.Buyer.Neutral.Chance.Ratio = 3 The first one is understaindable Recheck interval is time (in minute) between check of the same entry. Default is 20 but i think 60 is more realistic. The situation of ah can change so it's good to reevaluate an entry not buyed. But not too often to not add more chance to buy it... I mean if an entry have 1 chance for 1000 to be buyed but checked 1000 time... Chance ratio : when the evaluation of the entry is done you will have "x" chance for this entry to be buyed. The chance ratio is simply (x/chance ratio). If the evaluation give you 5000(maximum chance) chance and ratio is set 3 you will have 5000 chance on 15000 random number. I hope i was clear The conf file is changed so you need to replace them by the new one. (revision is not the same) I probably forget some stuff but iam still here if you have questions. Remember this need more testing it's the beta stage... Cyberium http://github.com/cyberium/mangos/tree/new_ahbot
  2. Hi, Iam Cyberium. Yes it's probably a mistake Or an account hack? (i was using my little password for this forum ) Anyway i finished new buyer implementation. Iam preparing the complete post for explanation and i will push later my work. I Hope i will post it under my main pseudo here Edit: if you see any violation that i done please explain me
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use