as was the annoying guy with macro that stood sending trade the middle of pvps and was even more boring in olly, it would be good to add a mod to lock it.
3 posters
Block trade in combat
DnR- Admin
- Posts : 1476
Join date : 2012-12-03
Age : 34
- Post n°2
Re: Block trade in combat
There is already a check for a range of 150.yusuketh wrote:as was the annoying guy with macro that stood sending trade the middle of pvps and was even more boring in olly, it would be good to add a mod to lock it.
I guess it happened to you face to face.
More checks for this would mess trade system, so i' ll probably add trade to /block command.
Thanks for reporting.
mystogan64- Posts : 51
Join date : 2013-10-04
- Post n°3
Re: Block trade in combat
go net.sf.l2j.gameserver.clientpackets.TradeRequest.java
find this lines
find this lines
- Code:
L2PcInstance partner = (L2PcInstance) target;
if (partner.isInOlympiadMode() || player.isInOlympiadMode())
{
player.sendMessage("You or your target cant request trade in Olympiad mode.");
return;
}
- Code:
if (partner.isInCombat())
{
player.sendMessage("You can't trade while target is in combat");
return;
}
DnR- Admin
- Posts : 1476
Join date : 2012-12-03
Age : 34
- Post n°4
Re: Block trade in combat
I would avoid doing such a check, because it will have some more restrictions that might be unwanted.
I altered /block & /allblock commands, so as to block trade, too.
Thanks a lot for reporting.
I altered /block & /allblock commands, so as to block trade, too.
Thanks a lot for reporting.
|
|