Bypass Handler tweak ;)
Posted: Tue Jan 04, 2011 3:40 pm
Hello every body.. 
Today i realized that on my Service's Npc that is instance of L2VillageMaster,
On clan's warehouse option that i made..when i try to deposit/widthdraw from clan's warehouse..
nothings happens when i press ok..
What i mean?
The windows just dissapears and nothing goes out/in clan's warehouse!
But if i use admin character..it works perfect!
This is the edited bypass handler of ClanWarehouse.java line:46
And here the bypass handler of ClanWarehouse.java line:46 non edited.
I'm pretty sure that i forgot something ..but my knowledge on L2j is just so tiny..
I tryed enough to find it by my self..but after 2 hours of searching i gave up
Thanks for your time

Today i realized that on my Service's Npc that is instance of L2VillageMaster,
On clan's warehouse option that i made..when i try to deposit/widthdraw from clan's warehouse..
nothings happens when i press ok..
What i mean?
The windows just dissapears and nothing goes out/in clan's warehouse!
But if i use admin character..it works perfect!
This is the edited bypass handler of ClanWarehouse.java line:46
Code: Select all
if (!(target instanceof L2WarehouseInstance) && !(target instanceof L2ClanHallManagerInstance) && !(target instanceof L2VillageMasterInstance)) return false;
Code: Select all
if (!(target instanceof L2WarehouseInstance) && !(target instanceof L2ClanHallManagerInstance)) return false;
I tryed enough to find it by my self..but after 2 hours of searching i gave up

Thanks for your time
