We moved our repositories to BitBucket!

If you can't login or you can't register to the forums do not rise an issue, instead please write to support (at) l2jserver.com

Check our wiki!

Report server issues here

Forum has been updated to phpBB 3.2, let's see if this fixes some minor bugs we had.

Thank you for visiting http://www.l2jserver.com/

[SOLVED] ItemAuction bid don't work

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

[SOLVED] ItemAuction bid don't work

Post by fforc9e » Sat Apr 19, 2014 3:17 am

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
Advanced User
Advanced User
Posts: 257
Joined: Thu Dec 16, 2010 5:16 am

Re: [SOLVED] ItemAuction bid don't work

Post by Hyrelius » Sat Apr 26, 2014 12:37 pm

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 » Sat Apr 26, 2014 1:49 pm

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
Advanced User
Advanced User
Posts: 257
Joined: Thu Dec 16, 2010 5:16 am

Re: [SOLVED] ItemAuction bid don't work

Post by Hyrelius » Mon Apr 28, 2014 10:14 am

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 » Mon Apr 28, 2014 11:20 am

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. ;)

Locked