Jump to content
  • Announcements

    • Xmat

      Pravidlo pro postování v TTT

      Do sekce Tipy, triky, tutoriály nepatří žádné dotazy.   Postujte sem vaše návody, tipy a různé další věci jež uznáte za vhodné sdělit zdejšímu osazenstvu, ale veškeré dotazy směřujte do sekce Všeobecná diskuse.
    • Replik

      Seznam návodů a důležitých témat v této sekci

      Pro lepší přehlednost jsem vytvořil tento seznam, který vás, méně zkušené, lépe provede touto sekcí. Věřím, že zde najdete, co hledáte. Vypsané jsou návody, které jsou oficiálně uznané jako návody. Běžné diskuze, které neposkytují postupy a rady zvěřejněny nejsou.   Instalace vlastního MaNGOS Serveru Díky těmto návodům budete (měli by jste být) schopni vytvořit a následně spustit váš vlastní server. Nastavení je pro verze s i bez datadisku.   Instalace MaNGOS Serveru (bez datadisku TBC) - Autor Benny Instalace MaNGOS Serveru (s datadiskem TBC) - Autor Malfik Instalace MaNGOS Serveru v prostředí Linux - Autor charlie Instalace MaNGOS Serveru v prostředí Linux - Autor kupkoid   Chyby a jejich řešení při přihlašování k serveru - Autor Cybe   Zálohování uživatelských dat   Dávkový soubor (BAT soubor) pro vytvoření SQL záloh - Autor Replik   Kompilování - tvoření vlastních release (revizí)   Tvorba kompilací pro Win32 (MangoScript) - Autor bLuma   Ostatní - těžko zařaditelné, ale neznamená to, že nejsou dobré   VIP Systém - Autor charlie Tvorba Webových stránek pro MaNGOS - Autor zahuba Tvorba teleportačních NPC (MangoScript) - Autor Replik Registrační web (původně předělaná SPORA) Funkční pro Antrix i MaNGOS - Autor Replik Nastavení a spuštění Minimanager pro MaNGOS - Autor BlackMartin Nastavení MaNGOS Website - Autor Artorius   Samozřejmě jsou zde i jiné návody, ale tyto jsou nejvíce používané, proto věřím, že vám budou nápomocné. Tuto sekci budeme upravovat podle potřeby. Pokud by jste něco nenašli nebo si nevěděli rady, hledejte na fóru a teprve potom založte vlastní topik. Pokud nějaký autor vytvoří kvalitní návod a chtěl by ho zveřejnit i v tomto seznamu, doporučuji, aby mi napsal zprávu skrze PM.   Díky a přeji hezký den na WoWResource   Replik
    • Aristo

      Příspěvky tam, kde nemají co dělat

      Dodržujte zákaz přispívání do topiků s repaky pokud si to zakladatelé nepřejí!! Opakované psaní příspěvků bude trestáno warnem.
    • Aristo

      Používání spoilerů

      Poslední dobou má většina uživatelů fora zvláštní nutkání postovat extrémně dlouhé texty nebo kódy, které zabírají v nejedenom případu i 80% obsahu celé stránky a hodně tak zvedají nepřehlednost v topiku. Chtěl bych všechny uživatele požádat, aby při postování citací, jakýchkoliv kódů, errorů, atp... delších než 30 řádků používali funkci spoileru.   Funkci vyvoláte příkazem [spoiler] text [/spoiler]   Ukázka:  
Sign in to follow this  
John

Automatická Aukce

Recommended Posts

Můj první návod na patch , snad se bude líbit :)

 

Jakou chybu patch opravuje? Jakou vlastnost patch přidává?

Přidává itemu do aukce , náhodně

 

 

Pro jakou revizi byl patch vytvořen?

Odskoušeno pouze na 8817 (ode mě) a měli by fungovat 8780+

 

 

Kdo napsal tento patch? Název uživatele na fóru nebo emailovou adresu.

ChrisK,Kerbe a Paradox , zafixoval : Naicisum

 

nejnovější verze tedka je AHBot-004-HotFix-05 , prvně než přikompilujem , vytvoříme si nový učet , například aukro , tam vytvoříme jednu postau a přihlásíme se a pak můžeme hru vypnout , je to proto že se přes tu postavu bude jakoby všechno prodávat a nakupovat, pak si někam napište a nebo uložte id učtu a id postavy , je to nutné.

 

do db characters:

 

DROP TABLE IF EXISTS `auctionhouse_copy`;
CREATE TABLE `auctionhouse_copy` (
 `id` int(11) unsigned NOT NULL default '0',
 `auctioneerguid` int(11) unsigned NOT NULL default '0',
 `itemguid` int(11) unsigned NOT NULL default '0',
 `item_template` int(11) unsigned NOT NULL default '0' COMMENT 'Item Identifier',
 `itemowner` int(11) unsigned NOT NULL default '0',
 `buyoutprice` int(11) NOT NULL default '0',
 `time` bigint(40) NOT NULL default '0',
 `buyguid` int(11) unsigned NOT NULL default '0',
 `lastbid` int(11) NOT NULL default '0',
 `startbid` int(11) NOT NULL default '0',
 `deposit` int(11) NOT NULL default '0',
 PRIMARY KEY  (`id`),
 UNIQUE KEY `item_guid` (`itemguid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

 

DROP TABLE IF EXISTS `auctionhousebot`;
CREATE TABLE `auctionhousebot` (
 `auctionhouse` int(11) NOT NULL default '0' COMMENT 'mapID of the auctionhouse.',
 `name` char(25) default NULL COMMENT 'Text name of the auctionhouse.',
 `minitems` int(11) default '0' COMMENT 'This is the minimum number of items you want to keep in the auction house. a 0 here will make it the same as the maximum.',
 `maxitems` int(11) default '0' COMMENT 'This is the number of items you want to keep in the auction house.',
 `mintime` int(11) default '8' COMMENT 'Sets the minimum number of hours for an auction.',
 `maxtime` int(11) default '24' COMMENT 'Sets the maximum number of hours for an auction.',
 `percentgreytradegoods` int(11) default '0' COMMENT 'Sets the percentage of the Grey Trade Goods auction items',
 `percentwhitetradegoods` int(11) default '27' COMMENT 'Sets the percentage of the White Trade Goods auction items',
 `percentgreentradegoods` int(11) default '12' COMMENT 'Sets the percentage of the Green Trade Goods auction items',
 `percentbluetradegoods` int(11) default '10' COMMENT 'Sets the percentage of the Blue Trade Goods auction items',
 `percentpurpletradegoods` int(11) default '1' COMMENT 'Sets the percentage of the Purple Trade Goods auction items',
 `percentorangetradegoods` int(11) default '0' COMMENT 'Sets the percentage of the Orange Trade Goods auction items',
 `percentyellowtradegoods` int(11) default '0' COMMENT 'Sets the percentage of the Yellow Trade Goods auction items',
 `percentgreyitems` int(11) default '0' COMMENT 'Sets the percentage of the non trade Grey auction items',
 `percentwhiteitems` int(11) default '10' COMMENT 'Sets the percentage of the non trade White auction items',
 `percentgreenitems` int(11) default '30' COMMENT 'Sets the percentage of the non trade Green auction items',
 `percentblueitems` int(11) default '8' COMMENT 'Sets the percentage of the non trade Blue auction items',
 `percentpurpleitems` int(11) default '2' COMMENT 'Sets the percentage of the non trade Purple auction items',
 `percentorangeitems` int(11) default '0' COMMENT 'Sets the percentage of the non trade Orange auction items',
 `percentyellowitems` int(11) default '0' COMMENT 'Sets the percentage of the non trade Yellow auction items',
 `minpricegrey` int(11) default '100' COMMENT 'Minimum price of Grey items (percentage).',
 `maxpricegrey` int(11) default '150' COMMENT 'Maximum price of Grey items (percentage).',
 `minpricewhite` int(11) default '150' COMMENT 'Minimum price of White items (percentage).',
 `maxpricewhite` int(11) default '250' COMMENT 'Maximum price of White items (percentage).',
 `minpricegreen` int(11) default '800' COMMENT 'Minimum price of Green items (percentage).',
 `maxpricegreen` int(11) default '1400' COMMENT 'Maximum price of Green items (percentage).',
 `minpriceblue` int(11) default '1250' COMMENT 'Minimum price of Blue items (percentage).',
 `maxpriceblue` int(11) default '1750' COMMENT 'Maximum price of Blue items (percentage).',
 `minpricepurple` int(11) default '2250' COMMENT 'Minimum price of Purple items (percentage).',
 `maxpricepurple` int(11) default '4550' COMMENT 'Maximum price of Purple items (percentage).',
 `minpriceorange` int(11) default '3250' COMMENT 'Minimum price of Orange items (percentage).',
 `maxpriceorange` int(11) default '5550' COMMENT 'Maximum price of Orange items (percentage).',
 `minpriceyellow` int(11) default '5250' COMMENT 'Minimum price of Yellow items (percentage).',
 `maxpriceyellow` int(11) default '6550' COMMENT 'Maximum price of Yellow items (percentage).',
 `minbidpricegrey` int(11) default '70' COMMENT 'Starting bid price of Grey items as a percentage of the randomly chosen buyout price. Default: 70',
 `maxbidpricegrey` int(11) default '100' COMMENT 'Starting bid price of Grey items as a percentage of the randomly chosen buyout price. Default: 100',
 `minbidpricewhite` int(11) default '70' COMMENT 'Starting bid price of White items as a percentage of the randomly chosen buyout price. Default: 70',
 `maxbidpricewhite` int(11) default '100' COMMENT 'Starting bid price of White items as a percentage of the randomly chosen buyout price. Default: 100',
 `minbidpricegreen` int(11) default '80' COMMENT 'Starting bid price of Green items as a percentage of the randomly chosen buyout price. Default: 80',
 `maxbidpricegreen` int(11) default '100' COMMENT 'Starting bid price of Green items as a percentage of the randomly chosen buyout price. Default: 100',
 `minbidpriceblue` int(11) default '75' COMMENT 'Starting bid price of Blue items as a percentage of the randomly chosen buyout price. Default: 75',
 `maxbidpriceblue` int(11) default '100' COMMENT 'Starting bid price of Blue items as a percentage of the randomly chosen buyout price. Default: 100',
 `minbidpricepurple` int(11) default '80' COMMENT 'Starting bid price of Purple items as a percentage of the randomly chosen buyout price. Default: 80',
 `maxbidpricepurple` int(11) default '100' COMMENT 'Starting bid price of Purple items as a percentage of the randomly chosen buyout price. Default: 100',
 `minbidpriceorange` int(11) default '80' COMMENT 'Starting bid price of Orange items as a percentage of the randomly chosen buyout price. Default: 80',
 `maxbidpriceorange` int(11) default '100' COMMENT 'Starting bid price of Orange items as a percentage of the randomly chosen buyout price. Default: 100',
 `minbidpriceyellow` int(11) default '80' COMMENT 'Starting bid price of Yellow items as a percentage of the randomly chosen buyout price. Default: 80',
 `maxbidpriceyellow` int(11) default '100' COMMENT 'Starting bid price of Yellow items as a percentage of the randomly chosen buyout price. Default: 100',
 `maxstackgrey` int(11) default '0' COMMENT 'Stack size limits for item qualities - a value of 0 will disable a maximum stack size for that quality, which will allow the bot to create items in stack as large as the item allows.',
 `maxstackwhite` int(11) default '0' COMMENT 'Stack size limits for item qualities - a value of 0 will disable a maximum stack size for that quality, which will allow the bot to create items in stack as large as the item allows.',
 `maxstackgreen` int(11) default '3' COMMENT 'Stack size limits for item qualities - a value of 0 will disable a maximum stack size for that quality, which will allow the bot to create items in stack as large as the item allows.',
 `maxstackblue` int(11) default '2' COMMENT 'Stack size limits for item qualities - a value of 0 will disable a maximum stack size for that quality, which will allow the bot to create items in stack as large as the item allows.',
 `maxstackpurple` int(11) default '1' COMMENT 'Stack size limits for item qualities - a value of 0 will disable a maximum stack size for that quality, which will allow the bot to create items in stack as large as the item allows.',
 `maxstackorange` int(11) default '1' COMMENT 'Stack size limits for item qualities - a value of 0 will disable a maximum stack size for that quality, which will allow the bot to create items in stack as large as the item allows.',
 `maxstackyellow` int(11) default '1' COMMENT 'Stack size limits for item qualities - a value of 0 will disable a maximum stack size for that quality, which will allow the bot to create items in stack as large as the item allows.',
 `buyerpricegrey` int(11) default '1' COMMENT 'Multiplier to vendorprice when buying grey items from auctionhouse',
 `buyerpricewhite` int(11) default '1' COMMENT 'Multiplier to vendorprice when buying white items from auctionhouse',
 `buyerpricegreen` int(11) default '5' COMMENT 'Multiplier to vendorprice when buying green items from auctionhouse',
 `buyerpriceblue` int(11) default '12' COMMENT 'Multiplier to vendorprice when buying blue items from auctionhouse',
 `buyerpricepurple` int(11) default '15' COMMENT 'Multiplier to vendorprice when buying purple items from auctionhouse',
 `buyerpriceorange` int(11) default '20' COMMENT 'Multiplier to vendorprice when buying orange items from auctionhouse',
 `buyerpriceyellow` int(11) default '22' COMMENT 'Multiplier to vendorprice when buying yellow items from auctionhouse',
 `buyerbiddinginterval` int(11) default '1' COMMENT 'Interval how frequently AHB bids on each AH. Time in minutes',
 `buyerbidsperinterval` int(11) default '1' COMMENT 'number of bids to put in per bidding interval',
 PRIMARY KEY  (`auctionhouse`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

insert  into `auctionhousebot`(`auctionhouse`,`name`,`minitems`,`maxitems`,`mintime`,`maxtime`,`percentgreytradegoods`,`percentwhitetradegoods`,`percentgreentradegoods`,`percentbluetradegoods`,`percentpurpletradegoods`,`percentorangetradegoods`,`percentyellowtradegoods`,`percentgreyitems`,`percentwhiteitems`,`percentgreenitems`,`percentblueitems`,`percentpurpleitems`,`percentorangeitems`,`percentyellowitems`,`minpricegrey`,`maxpricegrey`,`minpricewhite`,`maxpricewhite`,`minpricegreen`,`maxpricegreen`,`minpriceblue`,`maxpriceblue`,`minpricepurple`,`maxpricepurple`,`minpriceorange`,`maxpriceorange`,`minpriceyellow`,`maxpriceyellow`,`minbidpricegrey`,`maxbidpricegrey`,`minbidpricewhite`,`maxbidpricewhite`,`minbidpricegreen`,`maxbidpricegreen`,`minbidpriceblue`,`maxbidpriceblue`,`minbidpricepurple`,`maxbidpricepurple`,`minbidpriceorange`,`maxbidpriceorange`,`minbidpriceyellow`,`maxbidpriceyellow`,`maxstackgrey`,`maxstackwhite`,`maxstackgreen`,`maxstackblue`,`maxstackpurple`,`maxstackorange`,`maxstackyellow`,`buyerpricegrey`,`buyerpricewhite`,`buyerpricegreen`,`buyerpriceblue`,`buyerpricepurple`,`buyerpriceorange`,`buyerpriceyellow`,`buyerbiddinginterval`,`buyerbidsperinterval`) values
(2,'Alliance',0,0,8,24,0,27,12,10,1,0,0,0,10,30,8,2,0,0,100,150,150,250,800,1400,1250,1750,2250,4550,3250,5550,5250,6550,70,100,70,100,80,100,75,100,80,100,80,100,80,100,0,0,3,2,1,1,1,1,1,5,12,15,20,22,1,1),
(6,'Horde',0,0,8,24,0,27,12,10,1,0,0,0,10,30,8,2,0,0,100,150,150,250,800,1400,1250,1750,2250,4550,3250,5550,5250,6550,70,100,70,100,80,100,75,100,80,100,80,100,80,100,0,0,3,2,1,1,1,1,1,5,12,15,20,22,1,1),
(7,'Neutral',0,0,8,24,0,27,12,10,1,0,0,0,10,30,8,2,0,0,100,150,150,250,800,1400,1250,1750,2250,4550,3250,5550,5250,6550,70,100,70,100,80,100,75,100,80,100,80,100,80,100,0,0,3,2,1,1,1,1,1,5,12,15,20,22,1,1);

 

Po té vytvoříme nový řádek v tabulce auctionhousebot s naším id postavy.

 

Dále (to nejduležitější , mangos):

http://pastebin.com/m2822afc2

 

tedka trochu vysvětlivek k mangosd.conf

 

AuctionHouseBot.EnableSeller = 1 //Zapnout prodavání? 
AuctionHouseBot.EnableBuyer = 1  // zapnout nakupování ?
AuctionHouseBot.Account = 9      // Zde zadejte id učtu
AuctionHouseBot.GUID = 16        //Zde zadejte id postavy
AuctionHouseBot.VendorItems = 1  //Budou se prodavat věci od vendorů ?
AuctionHouseBot.LootItems = 1    //Budou se prodavat věci z lootu ?
AuctionHouseBot.OtherItems = 0   //Budou se prodavat ostatní věci ?
AuctionHouseBot.No_Bind = 1      
AuctionHouseBot.Bind_When_Picked_Up = 0
AuctionHouseBot.Bind_When_Equipped = 1
AuctionHouseBot.Bind_When_Use = 1
AuctionHouseBot.Bind_Quest_Item = 0
AuctionHouseBot.ItemsPerCycle = 200 // +,- normální cena itemu
AuctionHouseBot.UseBuyPriceForSeller = 0
AuctionHouseBot.UseBuyPriceForBuyer = 0

 

přikládám patch ke stáhnutí: http://filebeam.com/d1b4cc8aa5da5cbd2da2fd7252ff11c3

 

GIT :

git clone git://github.com/Naicisum/mangos.git ahbot
cd ahbot
git checkout origin/ahbot
git checkout -b ahbot
git diff master ahbot > auctionhousebot.patch

Edited by John
  • Upvote 3

Share this post


Link to post
Share on other sites

Ak sa dobre pamätám, tak keď som mal ešte na disku stiahnuté TC, tak tam bol už automaticky AH-Bot, stačilo ho len nastaviť. Neviem ako tomu je teraz, ale ak to tam už je, ako to bolo, tak sa stačí riadiť jedným zo sto návodov, ktoré na internete sú.

 

http://www.sythe.org/showthread.php?t=396006

 

 

 

//

 

GUID nie je ID hráča, ale GUID..

Edited by Angelo

Share this post


Link to post
Share on other sites

Doplň tu ještě jak to nahrát pomocí gitu ;) a dostaneš +1 ;)

Abych řekl pravdu, s GITem jsem nikdy moc nepracoval a hledat se mi návody nechce ;)

Share this post


Link to post
Share on other sites

Ak sa dobre pamätám, tak keď som mal ešte na disku stiahnuté TC, tak tam bol už automaticky AH-Bot, stačilo ho len nastaviť. Neviem ako tomu je teraz, ale ak to tam už je, ako to bolo, tak sa stačí riadiť jedným zo sto návodov, ktoré na internete sú.

 

http://www.sythe.org/showthread.php?t=396006

 

no právěže TC nejspíš jo , ale v mangosu to aspon já nemám :)

 

GUID nie je ID hráča, ale GUID..

 

já to mu zas říkám jinak no , ale jinak význám to je jakoby id postavy :)

Edited by John

Share this post


Link to post
Share on other sites

hh ;) Jinak máš chybu v názvu, měla by to být "Automatická Aukce" ;)

Hotovo :)

Edited by John

Share this post


Link to post
Share on other sites

AuctionHouse Bot vám tu nevoní? :D

 

EDIT: Tenhle člověk si zaslouží rep +1, alespoň za to postnutí..

Edited by Wolf Officious

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×