gigelf
-
Posts
12 -
Joined
-
Last visited
Never -
Donations
0.00 GBP
Content Type
Profiles
Bug Tracker
Wiki
Release Notes
Forums
Downloads
Blogs
Events
Posts posted by gigelf
-
-
Have also something strange.
In config file I asked for 20000 items. They are loaded in database but nothing at the auctionhouse (in Stormwind).
I then checked database, I saw that the auctioneerguid where the auction items were added is the 23442. I spawned to him (he is in Gadgetzan) and I saw that he has 4000 of them. Still missing 16000 and I don't know why they don't show in Stormwind.
I just checked again in Gadgetzan, now there are only 3192 there and still 20000 in DB.
-
I have a problem that I can't solve.
The vehicles spawn in the world can't be mount. Green arrow appears but nothing happens.
But when I make a .npc add vehicleID, this one works. From what can it be?
-
Ruaflo -
Does your new branch by any chance fix the error that gets displayed during game when it uses the Announce ( .sysmsg a <text> ) feature? Thats the only flaw i have been seeing in mangchat and it has been doing it for quite some time now.
I have no problem with .sysmsg a <text>. Just tried again, and announce message appears.
I also just tried .sysmsg n <text> and works too.
Do you type it correctly?
U must not forget to type the "a" or "n" between command and text.
-
hey gigelf.. i was just curious...
have you tried taking say the latest 310 branch, then pulling your auctionhouse branch, then pulling your mangchat branch?
just wanted to ask.. i know the 310 branch is not supported but I like experiemtning with disaster.. just wanted to let you know that they all merge together fine.. will be compiling it as soon as i DL the SD2 SVN will let you know how it turns out if you are interested
E
Never tested the 310 branch but would be nice to know if it works.
At least if it does not work, we can already look why and fix it in a special branch.
-
VC7 was recently removed, so I can't merge with my files for some reason. Gig, can you update your repo or give me a clue how to merge it please.
Fixed.
I also added build with VC10
-
IRCConf.h
using the current "@sysconfdir@/mangchat.conf" it does not use the conf file. This should work on windows as well. Every mangchat that I have used I must do this in linux. BTW thank you very much for getting this up to date.
Updated in repo, thanks.
-
I have applied the stated modifications and it starts up ok, but there is a long (20min?) delay until it starts running (pauses after socket count message, aka last thing shown before it's ready to go).
I'm not sure if I make a little error in the code for the tread sleeps, but I will check when I am home.
I just tried it, It connects instantly to IRC, messages appears instantly on both side.
Tried a few commands: login, announce, online, info, who -> they works
-
Branch updated. We can now build it.
I launched server, mangchat connects to IRC but didn't test further, not at home. So don't know if everything works ok.
-
OK, thanks to tase and Daimon22, almost everything compiles fine.
Still something to change in Master.cpp:
irc.setPriority ((ZThread::Priority )2);
I tried different things, nothing worked.
-
Doesn't work anymore with latest rev because zthread was removed.
Dunno how to repair that.
I found these refenrences about zthread:
IRCClient.h
class IRCClient : public ZThread::Runnable { public: // IRCClient Constructor IRCClient(); // IRCClient Destructor ~IRCClient(); // ZThread Entry void run();
IRCClient.cpp
ZThread::Thread::sleep(500);
IRCCmde.cpp
ZThread::Thread script(new mcs_OnlinePlayers(CD));
MCS_OnlinePlayers.cpp
ZThread::Thread::sleep(1000);
MCS_OnlinePlayers.h
class mcs_OnlinePlayers : public ZThread::Runnable
If someone has the solution, I will add it to the repo.
edit: found for sleep, has to be replaced by
ACE_OS::sleep
-
I made a git branch working with rev 7809
git pull git://github.com/Gigelf/mangos.git mangchat
[PATCH] AuctionHouse Bot
in OldCore modifications
Posted
Ok, finally it doesn't work at all.
I copied db from my production server to my test server, that's why I had 20000 items in db and only 4000 then 3000 in game (expired items).
Config file was wrong, i kept old one:
Old:
AuctionHouseBot.EnableSeller = 1
AuctionHouseBot.EnableBuyer = 0
AuctionHouseBot.Account = 5
AuctionHouseBot.GUID = 4511
AuctionHouseBot.VendorItems = 0
AuctionHouseBot.LootItems = 1
AuctionHouseBot.OtherItems = 0
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
AuctionHouseBot.UseBuyPriceForSeller = 0
AuctionHouseBot.UseBuyPriceForBuyer = 0
New:
AuctionHouseBot.Seller.Enabled = 1
AuctionHouseBot.Buyer.Enabled = 0
AuctionHouseBot.Account = 5
AuctionHouseBot.Character = 4511
AuctionHouseBot.Items.Vendor = 0
AuctionHouseBot.Items.Loot = 1
AuctionHouseBot.Items.Misc = 0
AuctionHouseBot.Bind.No = 1
AuctionHouseBot.Bind.Pickup = 0
AuctionHouseBot.Bind.Equip = 1
AuctionHouseBot.Bind.Use = 1
AuctionHouseBot.Bind.Quest = 0
AuctionHouseBot.ItemsPerCycle = 200
AuctionHouseBot.BuyPrice.Seller = 0
AuctionHouseBot.BuyPrice.Buyer = 0
I activated debug mode with:
AuctionHouseBot.DEBUG = 1
Game loads config from DB but nothing happens. auctionhouse table is empty.
Output log:
09:58:09 Initialize AuctionHouseBot...
minItems = 20000
maxItems = 20000
minTime = 8
maxTime = 24
percentGreyTradeGoods = 0
percentWhiteTradeGoods = 27
percentGreenTradeGoods = 12
percentBlueTradeGoods = 10
percentPurpleTradeGoods = 1
percentOrangeTradeGoods = 0
percentYellowTradeGoods = 0
percentGreyItems = 0
percentWhiteItems = 10
percentGreenItems = 30
percentBlueItems = 8
percentPurpleItems = 2
percentOrangeItems = 0
percentYellowItems = 0
minPriceGrey = 100
maxPriceGrey = 150
minPriceWhite = 150
maxPriceWhite = 250
minPriceGreen = 800
maxPriceGreen = 1400
minPriceBlue = 1250
maxPriceBlue = 1750
minPricePurple = 2250
maxPricePurple = 4550
minPriceOrange = 3250
maxPriceOrange = 5550
minPriceYellow = 5250
maxPriceYellow = 6550
minBidPriceGrey = 70
maxBidPriceGrey = 100
minBidPriceWhite = 70
maxBidPriceWhite = 100
minBidPriceGreen = 80
maxBidPriceGreen = 100
minBidPriceBlue = 75
maxBidPriceBlue = 75
minBidPricePurple = 80
maxBidPricePurple = 100
minBidPriceOrange = 80
maxBidPriceOrange = 100
minBidPriceYellow = 80
maxBidPriceYellow = 100
maxStackGrey = 0
maxStackWhite = 0
maxStackGreen = 3
maxStackBlue = 2
maxStackPurple = 1
maxStackOrange = 1
maxStackYellow = 1
09:58:09 09:58:09 09:58:09 09:58:09 09:58:09 09:58:09 09:58:09 09:58:09 09:58:09 09:58:09 09:58:09 09:58:09 09:58:09 09:58:09 09:58:09 09:58:09 09:58:09 09:58:09 09:58:09 09:58:09 09:58:09 09:58:09 09:58:09 09:58:09 09:58:09 09:58:09 09:58:09 09:58:09 09:58:09 09:58:09 09:58:09 09:58:09 09:58:09 09:58:09 09:58:09 09:58:09 09:58:09 09:58:09 09:58:09 09:58:09 09:58:09 09:58:09 09:58:09 09:58:09 09:58:09 09:58:09 09:58:09 09:58:09 09:58:09 09:58:09 09:58:09 09:58:09 09:58:09 09:58:09 ========AuctionHouseBot========
09:58:09 loaded 5 grey trade goods
09:58:09 loaded 256 white trade goods
09:58:09 loaded 28 green trade goods
09:58:09 loaded 8 blue trade goods
09:58:09 loaded 2 purple trade goods
09:58:09 loaded 0 orange trade goods
09:58:09 loaded 0 yellow trade goods
09:58:09 loaded 1004 grey items
09:58:09 loaded 533 white items
09:58:09 loaded 3047 green items
09:58:09 loaded 907 blue items
09:58:09 loaded 89 purple items
09:58:09 loaded 0 orange items
09:58:09 loaded 0 yellow items
09:58:09 AuctionHouseBot> [AHBot-x001] is now loaded
09:58:09 AuctionHouseBot> updated by Xeross (Original by Naicisum, ChrisK, Paradox)
09:58:09 AuctionHouseBot> Includes AHBuyer by Kerbe and Paradox
09:58:09 WORLD: World initialized
I don't understand why nothing appears