Jump to content

Recommended Posts

Posted

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.

  • 3 weeks later...
Posted (edited)

In wich class file should i add the code in instance package?

EDIT: Acis Files

Edited by idijot
  • 2 weeks later...
Posted

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();
  • 4 weeks later...
Posted

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();
Posted (edited)

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
  • 1 month later...
Posted (edited)

I cant make it work for frozen..I spawned the npc id 100 but the html is empty! Whats wrong?

 

ZvT4VlU.png

Edited by tiguz
Posted (edited)

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
Posted

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

Posted

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?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock