Jump to content
  • 0

How to allow certifications on subclass.


Question

Posted

Well, i tried to add certifications on subclass. I have all configs Skill Check Enable/Remove/GM on FALSE. But when i add certification skill on a subclass and then restart with my char i have this message.

 

1envns.jpg

 

 

EDIT: I tried to find for this message that it is being sended on game, so i can fingure out how it works, but i cant find it

Recommended Posts

  • 0
Posted

About your edit, what have you typed? Try write: has cert skill on subclass

 

And make sure you're searching in java files :troll:

  • 0
Posted

About your edit, what have you typed? Try write: has cert skill on subclass

 

And make sure you're searching in java files :troll:

You have not understand anything of what i want and of what i did. Invalid skills ar ebeing removed by "Invalid Skill Remove" on general.properties. I set it to false so skills should be NOT removed by this system. However, ye! It is not being by this system...It is being by another "kind of protection" system since chats of each "protection system" is different. However, where you think i've searched (not in java files)?

  • 0
Posted

SweeTs is currently right, you probably messed your search.

 

Use "has cert skill" as search key, and on the good project (sometimes it switches from "whole project" to "current class"). Be sure case sensitive is "off".

 

That message is an obvious custom (not a sysmessage), and your true/false isn't working at all. That smells the poor private pack.

 

And be more friendly next time.

  • 0
Posted

SweeTs is currently right, you probably messed your search.

 

Use "has cert skill" as search key, and on the good project (sometimes it switches from "whole project" to "current class"). Be sure case sensitive is "off".

 

That message is an obvious custom (not a sysmessage), and your true/false isn't working at all. That smells the poor private pack.

 

And be more friendly next time.

 

This system about "Invalid skills" is working perfectly on my pack. However, i know that this about a custom text and not any kind of SystemMessageId...Also i used as search words "has cert". Nothing found at all. Searched in a lot of Java files in my core.

  • 0
Posted

1- "in a lot of" > search on the whole project directly. That' a matter of 5min search max.

 

2 - If it doesn't work, search on datapack (in case some instances are, somehow, moved on DP).

 

3 - If it still doesn't work, than you probably have an external JAR with precompiled stuff. Verify JARs name. If the project you use got a "unique" JAR (like a JAR with project name), it's probably where such checks are stored.

 

4 - If it still doesn't work, you messed your searches. Search how to use search tool and return back to point 1, up to point 4.

 

5 - If you made one cycle, you're under a redundancy. That's bad and you can ask help anew. Provide screenshots, or eventually ask someone to TeamViewer you.

 

:troll:

  • 0
Posted

I searched my whole project except unrelated stuff like..."PrivateStoreBuyList" there is no sense to search in files like that. However, searched in DP too, but not instances, that's true. Do you have any idea, where it should be ?

 

Do not say anything about (i searched on them line by line + search button):

PcInstance

l2Character/playable/etc...

Transformation manager

eveything related with l2 skill

  • 0
Posted

I don't know which project nor chronicle you're using, if you don't find that custom message, you can verify the name of the bypass you click on DP htm, and search it on core/DP side (depending which pack/chronicle you're using).

  • 0
Posted

I don't know which project nor chronicle you're using, if you don't find that custom message, you can verify the name of the bypass you click on DP htm, and search it on core/DP side (depending which pack/chronicle you're using).

Lol, i am not using any html bypass...I am just giving CERTIFICATION skills to a character (from my GM char //add_skill) while this character is on SUBCLASS. After his restart CERTIFICATIONS are DISAPPEARED and i have this message on my GM char.

 

P.S: using L2j server

  • 0
Posted

Dude, I only guess from your typing, don't say me "lol" when I got half informations. I'm not an oracle, I haven't a crystal ball.

 

Verify //add_skill method then, and methods used by that method. There's obviously a check.

 

Btw if you use a plain L2J server pack and not a private crap, then I have to say it again, you probably messed your searches. I doubt L2J got 2 different checks regarding skills...

 

Another possibility is the code is flawed for that particular case (not thought/coded for subclass case).

 

Admin handlers are in DP side.

 

Edit : DP side (see, 3min to search it)

 

scripts/custom/Validators/SubClassSkills.java

  • 0
Posted

Dude, I only guess from your typing, don't say me "lol" when I got half informations. I'm not an oracle, I haven't a crystal ball.

 

Verify //add_skill method then, and methods used by that method. There's obviously a check.

 

Btw if you use a plain L2J server pack and not a private crap, then I have to say it again, you probably messed your searches. I doubt L2J got 2 different checks regarding skills...

 

Another possibility is the code is flawed for that particular case (not thought/coded for subclass case).

 

Admin handlers are in DP side.

 

 

K my bad.

 

About handlers, (i know where everything is) i am not on PC atm, but i can say you one thing.

 

When i add skills on characters with //add_skill method:

If Invalid Skill Remove = True, character loose his added skills on next login

If invalid skill remove = False, character got his skills forever.

 

It is about certifications only, and my opinion, something blocks certifications to exists on a sub-class since i am trying to add certifications on a subclass.

  • 0
Posted

Thanks, but i am still curious about this. Skill Check Remove is false.

 

				for (L2Skill s : certSkills)
			{
				Util.handleIllegalPlayerAction(player, "Player "+player.getName() + " has cert skill on subclass :" + s.getName() + "("+s.getId()+"/"+s.getLevel()+"), class:" + player.getTemplate().className, 0);

				if (Config.SKILL_CHECK_REMOVE)
					player.removeSkill(s);
			}

 

Shouldn't remove the skills...

  • 0
Posted

If the config can't be read due to malformation, the default value is read. False is probably not correctly read, so True is applied. Can be due to wrong typing, space in the end, etc.

 

One or the other, the message is still applied in any case.

 

You probably want the whole check being dropped or edited for your needs, going from

if (player.isSubClassActive())

.

  • 0
Posted

What about a isCertification() method for the skill, somethings like a boolean that returns TRUE if skill id = one certification skill id...Anyway i am gonna test it tomorrow...Thanks for your interest till now.

 

P.S: Do NOT lock this topic

 

Tryksell thanks again, sorry for any kind of disrespect.

  • 0
Posted

sorry for any kind of disrespect.

 

No problem.. and remember for future, you came here for help not the opposite.  :not bad:

My suspicious was 'correct'.

Guest
This topic is now closed to further replies.


×
×
  • Create New...