Multisell Armor Exchanger ?

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
User avatar
momo61
Posts: 1648
Joined: Fri Jun 06, 2008 2:05 pm
Location: Europe

Multisell Armor Exchanger ?

Post by momo61 »

There is a minor issue on my server that I'm trying to solve.

When people try to exchange dynasty armor main pieces for jeweled dynasty armor pieces while they have the regular dynasty armor piece equiped, the exchanger takes their ingredients but doesnt hand out the armor they are intended to get.

What is the reason for this ? If you need a multisell example, i'll post one here. If you already know whats wrong, then please help out.

peace,

Momo61
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

Re: Multisell Armor Exchanger ?

Post by MELERIX »

as I know, you can't exchange items that are equipped, you need to unequip they before try to exchange...
User avatar
momo61
Posts: 1648
Joined: Fri Jun 06, 2008 2:05 pm
Location: Europe

Re: Multisell Armor Exchanger ?

Post by momo61 »

MELERIX wrote:as I know, you can't exchange items that are equipped, you need to unequip they before try to exchange...
I know that, but players dont know that. If you try to exchange with your armor on, you will lose all the ingredients necessary for the trade, but you wont recieve the item you want.
Probe
Posts: 915
Joined: Thu Sep 03, 2009 6:36 pm
Location: Israel
Contact:

Re: Multisell Armor Exchanger ?

Post by Probe »

if armor is equipped multisell won't accept the exchange.. at least that's how it works on my server >.<
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: Multisell Armor Exchanger ?

Post by janiii »

imho the check for equiped ingredient should be done before destroying any ingredients of the multisell.
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
User avatar
momo61
Posts: 1648
Joined: Fri Jun 06, 2008 2:05 pm
Location: Europe

Re: Multisell Armor Exchanger ?

Post by momo61 »

Probe wrote:if armor is equipped multisell won't accept the exchange.. at least that's how it works on my server >.<
try latest L2J Revision ;)
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: Multisell Armor Exchanger ?

Post by _DS_ »

janiii wrote:imho the check for equiped ingredient should be done before destroying any ingredients of the multisell.
Equipped ingridients not shown in multisell exchange window. If someone trying to exchange equipped item - he is a cheater. And cheaters should be punished.
This is why it perfect for me.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: Multisell Armor Exchanger ?

Post by janiii »

momo, in which multisell did this happen? (npc, item to buy, item equipped, item lost.)
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
User avatar
momo61
Posts: 1648
Joined: Fri Jun 06, 2008 2:05 pm
Location: Europe

Re: Multisell Armor Exchanger ?

Post by momo61 »

janiii wrote:momo, in which multisell did this happen? (npc, item to buy, item equipped, item lost.)
a custom multisell where you trade regular dynasty main piece for improved (jeweled leather) dynasty main piece.
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: Multisell Armor Exchanger ?

Post by janiii »

momo61 wrote:
janiii wrote:momo, in which multisell did this happen? (npc, item to buy, item equipped, item lost.)
a custom multisell where you trade regular dynasty main piece for improved (jeweled leather) dynasty main piece.
then yeah. l2j dynasty multisells are all exchange multisell which show you only items that are not equipped. so the player gets "punished" with loosing items for that cheating.


but i still think it should be moved before the items get destroyed, so normal multisell doesnt have this "feature" that ingredients get lost and no product is created. only a log entry should be done.


what about craft a dualsword at warsmith? it uses normal multisell and it has a weapon as ingredient.. check retail if it is a exchange multisell or what it does when you have the weapon is equipped.
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: Multisell Armor Exchanger ?

Post by _DS_ »

janiii wrote:then yeah. l2j dynasty multisells are all exchange multisell which show you only items that are not equipped. so the player gets "punished" with loosing items for that cheating.
Check already done during list generation. If someone equip item between exchange and pressing ok - he did it on purpose: cheating.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: Multisell Armor Exchanger ?

Post by janiii »

_DS_ wrote:Check already done during list generation. If someone equip item between exchange and pressing ok - he did it on purpose: cheating.
is it on retail too, that the player is loosing the items when he equips the item between multisell and pressing ok? i doubt that..


and what about this?
janiii wrote:what about craft a dualsword at warsmith? it uses normal multisell and it has a weapon as ingredient.. check retail if it is a exchange multisell or what it does when you have the weapon is equipped.
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
User avatar
JIV
L2j Veteran
L2j Veteran
Posts: 1882
Joined: Sun Jan 06, 2008 8:17 pm
Location: Slovakia
Contact:

Re: Multisell Armor Exchanger ?

Post by JIV »

Post Reply