[Help] Mana potion error in console

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
Dreamz
Posts: 1
Joined: Tue Apr 17, 2012 1:40 pm

can not use mana potion/drugs

Post by Dreamz »

is not available at this time: being prepared for reuse

how to fix it? make *true* in config
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

Re: can not use mana potion/drugs

Post by MELERIX »

ofc, you have to enable them in configs, also enable custom skills in configs too.
Smalls
Posts: 4
Joined: Wed Jul 11, 2012 10:10 am

Mana Potion Problem

Post 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
Smalls
Posts: 4
Joined: Wed Jul 11, 2012 10:10 am

Re: Mana Potion Problem

Post 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
krepstas
Posts: 57
Joined: Mon Sep 17, 2012 10:14 am

Re: can not use mana potion/drugs

Post by krepstas »

lol
LadySky
Posts: 27
Joined: Fri Sep 24, 2010 6:49 pm

[Help] Mana potion error in console

Post 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...
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

Re: [Help] Mana potion error in console

Post by MELERIX »

and you enabled custom skills in configs ?

Code: Select all

CustomSkillsLoad = True
LadySky
Posts: 27
Joined: Fri Sep 24, 2010 6:49 pm

Re: [Help] Mana potion error in console

Post by LadySky »

yes, I did.

What else can I do?
LadySky
Posts: 27
Joined: Fri Sep 24, 2010 6:49 pm

Re: [Help] Mana potion error in console

Post by LadySky »

No one that has any idea? XD
Is pretty uncomfortable to play without mana potions... I would like to fix it asap...
LadySky
Posts: 27
Joined: Fri Sep 24, 2010 6:49 pm

Re: [Help] Mana potion error in console

Post 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..
LadySky
Posts: 27
Joined: Fri Sep 24, 2010 6:49 pm

Re: [Help] Mana potion error in console

Post by LadySky »

I have solved, ty anyway....
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7008
Joined: Tue Aug 11, 2009 3:36 am

Re: [Help] Mana potion error in console

Post by Zoey76 »

The problem is an outdated value for operateType attribute, you need to use:

Code: Select all

<set name="operateType" val="A2" />
Powered by Eclipse 4.34 🌌 | Eclipse Temurin 21 ☕ | MariaDB 11.3.2 🗃️ | L2J Server 2.6.3.0 - High Five 🚀

🔗 Join our Discord! 🎮💬
aerolance
Posts: 46
Joined: Wed Dec 07, 2011 10:51 pm

Re: [Help] Mana potion error in console

Post 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
Post Reply