[HELP] "You use production - clan / transfer" removal

Find the proper support area, Saga-Version.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
m4kk1
Posts: 25
Joined: Sun Oct 14, 2007 11:52 pm

[HELP] "You use production - clan / transfer" removal

Post by m4kk1 »

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number: 1434
L2JDP Revision Number: version=${l2jdp.revision} :$

I know it's epilogue support section and this is interlude, but i've been seeking it there as well to find it & remake /copy, but no success. I think question is quite simple, don't know about the answer, tho.

When a player reaches an occupation change (and makes it) he gets some reward or whatever you set and there's also this animation which shows upon him. I've noticed it's made as a buff (5103) which is being casted whenever it's class changes. Since it's still not fully supported as i've read, i'm asking where can I remove this animation from happening ? I've been checking all .java files to find any trace leading to it, but I simply can't get it. What I like is to avoid this message, mainly :

You use production - clan / transfer

So if this includes removing animation with it, fine.

Thanks for your answers
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: [HELP] "You use production - clan / transfer" removal

Post by janiii »

what about just search for "5103" in the gameserver sources? ;)

L2VillageMasterInstance - increase clan level
L2PcInstance - set class id
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
m4kk1
Posts: 25
Joined: Sun Oct 14, 2007 11:52 pm

Re: [HELP] "You use production - clan / transfer" removal

Post by m4kk1 »

Thanks janiii !

I did that , but I explained myself wrong. I actually did look at both sources, no clue how I didn't see it.. Anyway, I've managed to remove for class ID, but I don't get part at :

else if (actualCommand.equalsIgnoreCase("increase_clan_level"))
{
if (!player.isClanLeader())
{
player.sendPacket(new SystemMessage(SystemMessageId.YOU_ARE_NOT_AUTHORIZED_TO_DO_THAT));
return;
}
player.getClan().levelUpClan(player);

If I simply comment last line, clan won't get lvl, therefore levelUpClan function is somewhere else where doCast / 5103 is ran , which I of course can't find -.-
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: [HELP] "You use production - clan / transfer" removal

Post by janiii »

ah, sorry, i did not notice that this post is in legacy server support. but just searching for the skill id in the gameserver sources should find all occurences. or try to search also in datapack scripts folder.
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
m4kk1
Posts: 25
Joined: Sun Oct 14, 2007 11:52 pm

Re: [HELP] "You use production - clan / transfer" removal

Post by m4kk1 »

Alright, no biggie, thanks for your support ^^


p.s.: located levelUpClan in l2Clan.java, still searching for skill, ha ha.
p.s.s : clan increase doesn't even show the animation, that's why i couldn't locate it -.-

- closed -
Post Reply