Jump to content

Donate Manager Npc


MarGaZeaS

Recommended Posts

i see this code not full about clan skills.

to add full clan skills need add this code:

for (int id  : clanSkills) {
 L2Skill skill = SkillTable.getInstance().getInfo(id, SkillTable.getInstance().getMaxLevel(id));
 player.getClan().addNewSkill(skill);
}

its acis code.

Link to comment
Share on other sites

  • 3 weeks later...
  • 2 weeks later...

import:

import com.l2jfrozen.gameserver.datatables.SkillTable;
import com.l2jfrozen.gameserver.model.L2Skill;

then put this code:

for (int id  : clanSkills) {
 L2Skill skill = SkillTable.getInstance().getInfo(id, SkillTable.getInstance().getMaxLevel(id,0));
 player.getClan().addNewSkill(skill);
}

here:

                activeChar.getClan().setReputationScore(10000, true);
                HERE
                activeChar.getSkills();
Link to comment
Share on other sites

  • 4 weeks later...

error minor enchant skill + sex change it does not take inventory item donate

fix here

 

 

import:

import com.l2jfrozen.gameserver.datatables.SkillTable;
import com.l2jfrozen.gameserver.model.L2Skill;

then put this code:

for (int id  : clanSkills) {
 L2Skill skill = SkillTable.getInstance().getInfo(id, SkillTable.getInstance().getMaxLevel(id,0));
 player.getClan().addNewSkill(skill);
}

here:

                activeChar.getClan().setReputationScore(10000, true);
                HERE
                activeChar.getSkills();
Link to comment
Share on other sites

Anyone tryed acis 367? because skill encanter don't work..

here is better code for acis.

http://pastebin.com/yeQLUsQ0

 

maybe know how to make only for donators not simple players?

and maybe multisell change to some other link html. its be better :)

Edited by Mellion
Link to comment
Share on other sites

  • 1 month later...

Ok I fixed.. just realised that the sql for the npc is wrong..update the main topic and change the sql.. Npc Type is L2Merchant ..pff..should be L2DonateShop.

 

Paranoic.. in ur sv the skill enchant works? I think that code is missing from share...

Edited by tiguz
Link to comment
Share on other sites

Ok I fixed.. just realised that the sql for the npc is wrong..update the main topic and change the sql.. Npc Type is L2Merchant ..pff..should be L2DonateShop.

 

Paranoic.. in ur sv the skill enchant works? I think that code is missing from share...

skills not work for clan. i dont know why. see the replys for the fix

Link to comment
Share on other sites

skills not work for clan. i dont know why. see the replys for the fix

skills for clan? Im talking about skill ENCHANT with donate coins, not clan. in your sv you can enchant skills with donate coins?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




×
×
  • Create New...