[SOLVED] ItemAuction bid don't work

Find the proper support area, Saga-Version.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
User avatar
fforc9e
Posts: 8
Joined: Thu Mar 20, 2014 8:44 am

[SOLVED] ItemAuction bid don't work

Post by fforc9e »

L2J Revision Number: 4413
L2JDP Revision Number: 7664

Hi Guys! I'm trying to port ItemBroker(itemacution) system from CT2.5(L2J: 5133, DP:8404) to CT2.4. Whole system seems to be working until auction starts (no errors in logs only info about auction time etc.). Everything look normal but players can't make bid - nothing happens when I use any button. Anyone know how to fix it? :)

Image

Edit...
Ok I manage to fix this problem. I made mistake in L2GamePacketHandler.java

Code: Select all

case 0x39:// RequestBidItemAuctionbreak;case 0x3a:// RequestInfoItemAuctionbreak;
Correct version is:

Code: Select all

case 0x39:msg = new RequestBidItemAuction();break;case 0x3a:msg = new RequestInfoItemAuction();break;
Hyrelius
Posts: 257
Joined: Thu Dec 16, 2010 5:16 am

Re: [SOLVED] ItemAuction bid don't work

Post by Hyrelius »

It's most likely a custom script anyway. I wish we could use the Lineage 2 solution for item auctions :X. Yours looks like something someone wrote using NpcHtmlMessage outputl.
Image
I don't mind helping - however: I only do so if I want to.
No support for other server packs than L2J.
User avatar
fforc9e
Posts: 8
Joined: Thu Mar 20, 2014 8:44 am

Re: [SOLVED] ItemAuction bid don't work

Post by fforc9e »

Its just copy paste from newer revisions (and some adaptations). ;) Im trying to remove this "next auction" button. Maybe you know how to fix it? :P
Hyrelius
Posts: 257
Joined: Thu Dec 16, 2010 5:16 am

Re: [SOLVED] ItemAuction bid don't work

Post by Hyrelius »

How am I supposed to know without having / seeing the code D: ? Also if it's not a HtmlNpcMessage, you most likely can't remove the button. If it is - you surely can.
Image
I don't mind helping - however: I only do so if I want to.
No support for other server packs than L2J.
User avatar
fforc9e
Posts: 8
Joined: Thu Mar 20, 2014 8:44 am

Re: [SOLVED] ItemAuction bid don't work

Post by fforc9e »

Core side:

com.l2jserver.gameserver.model.intemauct.ItemAuctionInstance
http://pastebin.com/E140pY7x

com.l2jserver.gameserver.model.itemauction.ItemAuctionState
http://pastebin.com/eAZP3Hyb

com.l2jserver.gameserver.model.itemauction.ItemAuctionBid
http://pastebin.com/jCHsA7wp

com.l2jserver.gameserver.model.itemauction.ItemAuction
http://pastebin.com/wKXWmFc8

com.l2jserver.gameserver.model.itemauction.AuctionItem
http://pastebin.com/bv490MEg

com.l2jserver.gameserver.model.itemauction.AuctionDateGenerator
http://pastebin.com/d1WDyq9k

DataPack:


handlers.bypasshandlers.ItemAuctionLink
http://pastebin.com/GetznBpF

I think thats all. ;)
Post Reply