Page 1 of 1

can not use mana potion/drugs

Posted: Wed Apr 18, 2012 10:06 am
by Dreamz
is not available at this time: being prepared for reuse

how to fix it? make *true* in config

Re: can not use mana potion/drugs

Posted: Wed Apr 18, 2012 11:03 am
by MELERIX
ofc, you have to enable them in configs, also enable custom skills in configs too.

Mana Potion Problem

Posted: Thu Jul 12, 2012 9:04 pm
by Smalls
» Find Revision
L2J Revision Number: 4420
L2JDP Revision Number: 7664

Hello everybody. Mana potion doesn't work on my server. I have already enabled it in l2jmods.properties.

Code: Select all

# This option will enable core support for:# Mana Drug (item ID 726), using skill ID 10000.# Mana Potion (item ID 728), using skill ID 10001.EnableManaPotionSupport = True
I don't know what's the problem, I just click on mana potion and nothing happens. I've already searched similar problems, but it didn't helped.
I'll be glad if you will help me. Thanks

Re: Mana Potion Problem

Posted: Thu Jul 12, 2012 9:45 pm
by Smalls
Oh, I've found a problem :D
I was connected on the server with GM character and I had "God mode (//invul)" on, when I turned it off, mana restored :D

Re: can not use mana potion/drugs

Posted: Tue Sep 18, 2012 2:01 pm
by krepstas
lol

[Help] Mana potion error in console

Posted: Tue Oct 23, 2012 8:32 pm
by LadySky
L2J Revision Number:5207
L2JDP Revision Number:8702
(I'm using the Nightly from http://www.l2jserver.com/nightly/)

Hello everyone,
I'm having problems with the mana potions.

I spawned 250 on my gm char, when I use them I get a reuse message and the potion doesn't get consumed..
I'm not in invul mode and I consumed my mana before trying.
In the console I get the message "No skill info found for skill id 10001 and skill level 1".

In the XML file under data/stats/skills/custom I fixed some line, as I found in many webpages (but anyway the default one I found wasn't working aswell):

Code: Select all

<skill id="10001" levels="1" name="Mana Potion">        <set name="displayId" val="2288" />        <set name="isMagic" val="2" /> <!-- Static Skill -->        <set name="itemConsumeId" val="728" />        <set name="itemConsumeCount" val="1" />        <set name="magicLvl" val="1" />        <set name="operateType" val="OP_ACTIVE" />        <set name="power" val="500" />        <set name="reuseDelay" val="1" />        <set name="skillType" val="MANAHEAL" />        <set name="target" val="TARGET_SELF" />    </skill>
What's wrong exactly? :/ displayId, isMagic,itemConsumeId, itemConsumeCount, magicLvl and target are the same as before...

Re: [Help] Mana potion error in console

Posted: Tue Oct 23, 2012 8:41 pm
by MELERIX
and you enabled custom skills in configs ?

Code: Select all

CustomSkillsLoad = True

Re: [Help] Mana potion error in console

Posted: Wed Oct 24, 2012 12:12 am
by LadySky
yes, I did.

What else can I do?

Re: [Help] Mana potion error in console

Posted: Wed Oct 24, 2012 6:54 pm
by LadySky
No one that has any idea? XD
Is pretty uncomfortable to play without mana potions... I would like to fix it asap...

Re: [Help] Mana potion error in console

Posted: Fri Oct 26, 2012 8:42 pm
by LadySky
Guys really....
I keep getting "No skill info found for skill id 10001 and skill level 1" message every time I click the potion...

I activated the custom skills, I activated the potions, I tried checking and modifying the .xml several times, everything seems fine and I'm getting crazy.....

I'm the only one getting problems with mana potions on this nigthly??

You compiled this, help me please... :(

Ah, also, I just noticed, the console also put this error when the server is starting:

Code: Select all

ott 26, 2012 10:09:51 PM com.l2jserver.gameserver.engines.DocumentBase parseSEVERE: Error in file D:\LocalServer\L2J\L2J H5 Server\game\data\stats\skills\custom\10000-10099.xmljava.lang.RuntimeException: java.lang.reflect.InvocationTargetException    at com.l2jserver.gameserver.model.skills.L2SkillType.makeSkill(L2SkillType.java:214)    at com.l2jserver.gameserver.engines.skills.DocumentSkill.makeSkills(DocumentSkill.java:780)    at com.l2jserver.gameserver.engines.skills.DocumentSkill.parseSkill(DocumentSkill.java:399)    at com.l2jserver.gameserver.engines.skills.DocumentSkill.parseDocument(DocumentSkill.java:121)    at com.l2jserver.gameserver.engines.DocumentBase.parse(DocumentBase.java:158)    at com.l2jserver.gameserver.engines.DocumentEngine.loadSkills(DocumentEngine.java:81)    at com.l2jserver.gameserver.engines.DocumentEngine.loadAllSkills(DocumentEngine.java:90)    at com.l2jserver.gameserver.datatables.SkillTable.load(SkillTable.java:60)    at com.l2jserver.gameserver.datatables.SkillTable.<init>(SkillTable.java:47)    at com.l2jserver.gameserver.datatables.SkillTable$SingletonHolder.<clinit>(SkillTable.java:164)    at com.l2jserver.gameserver.datatables.SkillTable.getInstance(SkillTable.java:39)    at com.l2jserver.gameserver.GameServer.<init>(GameServer.java:220)    at com.l2jserver.gameserver.GameServer.main(GameServer.java:459)Caused by: java.lang.reflect.InvocationTargetException    at sun.reflect.GeneratedConstructorAccessor8.newInstance(Unknown Source)    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)    at java.lang.reflect.Constructor.newInstance(Unknown Source)    at com.l2jserver.gameserver.model.skills.L2SkillType.makeSkill(L2SkillType.java:210)    ... 12 moreCaused by: java.lang.IllegalArgumentException: Enum value of type com.l2jserver.gameserver.model.skills.L2SkillOpType required, but found: OP_ACTIVE    at com.l2jserver.gameserver.model.StatsSet.getEnum(StatsSet.java:531)    at com.l2jserver.gameserver.model.skills.L2Skill.<init>(L2Skill.java:265)    at com.l2jserver.gameserver.model.skills.l2skills.L2SkillDefault.<init>(L2SkillDefault.java:26)    ... 16 more  
BTW: The server is freshly installed, I didn't make any update of an older..

Re: [Help] Mana potion error in console

Posted: Fri Oct 26, 2012 9:11 pm
by LadySky
I have solved, ty anyway....

Re: [Help] Mana potion error in console

Posted: Fri Oct 26, 2012 10:41 pm
by Zoey76
The problem is an outdated value for operateType attribute, you need to use:

Code: Select all

<set name="operateType" val="A2" />

Re: [Help] Mana potion error in console

Posted: Sat Jan 17, 2015 6:39 pm
by aerolance
LadySky wrote:I have solved, ty anyway....
I would like to know how you solved it...you asked for all this help but didnt post your resolution. Could you let us know what the issue was please.

Thanks