Custom Mana Drug/Potion does not work.

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
User avatar
armura
Posts: 40
Joined: Sat Sep 04, 2010 9:08 pm

Custom Mana Drug/Potion does not work.

Post by armura »

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision 4467:
L2JDP Revision 7727:

Greetings!
When I try use 'Custom Mana Drug (726)' or 'Custom Mana Potion(728)', the system message write in the game window: 'Mana Drug has disappeared' or 'Mana Potion has disappeared', but nothing is happening.

Yes, I set 'True' in the l2jmods.properties
EnableManaPotionSupport = True

I make two changes in amount of MP restore in 10000-10099.xml:

Code: Select all

 <list>    <skill id="10000" levels="1" name="         <set name="itemConsumeCount" val="1" />        <set name="buffDuration" val="15000" />        <set name="isPotion" val="true" />        <set name="magicLvl" val="1" />        <set name="operateType" val="OP_ACTIVE" />        <set name="skillType" val="MPHOT" />        <set name="target" val="TARGET_SELF" />        <cond msgId="113" addName="1">            <player flyMounted="False" />        </cond>        <for>            <effect count="15" name="ManaHealOverTime" time="1" val="25" stackOrder="1.5" stackType="mp_recover" />        </for>    </skill>    <skill id="10001" levels="1" name="         <set name="itemConsumeCount" val="1" />        <set name="isPotion" val="true" />        <set name="magicLvl" val="1" />        <set name="operateType" val="OP_ACTIVE" />        <set name="power" val="480" />        <set name="skillType" val="MANAHEAL" />        <set name="target" val="TARGET_SELF" />        <cond msgId="113" addName="1">            <player flyMounted="False" />        </cond>    </skill>
In the Freya #1, the custom mana drug work fine with the same changes... Now does not work.

Exist another config to fix it?

Thanks.

I search anithing about 'mana' in the forum in the last month, but without result...
User avatar
SolidSnake
Posts: 865
Joined: Wed Jan 20, 2010 6:54 pm
Location: Italy

Re: Custom Mana Drug/Potion does not work.

Post by SolidSnake »

Code: Select all

    <skill id="10000" levels="1" name="Custom Mana Drug">        <set name="itemConsumeId" val="726" />        <set name="itemConsumeCount" val="1" />        <set name="buffDuration" val="15000" />        <set name="isPotion" val="true" />        <set name="magicLvl" val="1" />        <set name="operateType" val="OP_ACTIVE" />        <set name="skillType" val="MPHOT" />        <set name="target" val="TARGET_SELF" />        <cond msgId="113" addName="1">            <player flyMounted="False" />        </cond>        <for>-            <effect count="3" name="ManaHealOverTime" time="5" val="1.5" stackOrder="1.5" stackType="mp_recover" />+            <effect count="3" name="ManaHealOverTime" time="5" val="yourValue" stackOrder="1.5" stackType="mp_recover" />        </for>    </skill>    <skill id="10001" levels="1" name="Custom Mana Potion">        <set name="itemConsumeId" val="728" />        <set name="itemConsumeCount" val="1" />        <set name="isPotion" val="true" />        <set name="magicLvl" val="1" />        <set name="operateType" val="OP_ACTIVE" />-       <set name="power" val="100" />+       <set name="power" val="yourValue" />        <set name="skillType" val="MANAHEAL" />        <set name="target" val="TARGET_SELF" />        <cond msgId="113" addName="1">            <player flyMounted="False" />        </cond>    </skill>
Image
User avatar
armura
Posts: 40
Joined: Sat Sep 04, 2010 9:08 pm

Re: Custom Mana Drug/Potion does not work.

Post by armura »

Thanks for your answer SolidSnake, I still dont know how to change the color of lines to explicit my changes in to the

Code: Select all

 tags.  :? Sorry...

I have changed the values but without effects.
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7008
Joined: Tue Aug 11, 2009 3:36 am

Re: Custom Mana Drug/Potion does not work.

Post by Zoey76 »

armura wrote:Thanks for your answer SolidSnake, I still dont know how to change the color of lines to explicit my changes in to the

Code: Select all

 tags.  :? Sorry...

I have changed the values but without effects.[/quote]

[quote="Zoey76"]Eclipse allow you to compile the new code, this new compiled version will reflect the changes you've made to it.

The changes in the code are shared in the form of [u]patches[/u], a patch or a diff file is a file that contains the code that could be removed and the code that could be added, the lines where the changes will be done are set in the header of the patches and the lines that should be removed are marked with - and the new lines are marked with +.

[u]Eclipse also allow you to apply patches[/u], without guessing anything.

It's important that you read about Java if you want to learn something about programming and [i]how new things you are adding to your server will work[/i].

It'd be good if you check this:
http://www.l2jserver.com/wiki/index.php/Setup_Eclipse_and_SVN

http://www.l2jserver.com/wiki/index.php/How_to_Apply_a_Patch

In forum use the following tags [b][code=diff][code][/b] to post a formatted patch/diff.[/quote]
Powered by Eclipse 4.34 🌌 | Eclipse Temurin 21 ☕ | MariaDB 11.3.2 🗃️ | L2J Server 2.6.3.0 - High Five 🚀

🔗 Join our Discord! 🎮💬
User avatar
armura
Posts: 40
Joined: Sat Sep 04, 2010 9:08 pm

Re: Custom Mana Drug/Potion does not work.

Post by armura »

Hello!

After two days seeking the wrong, I cant find it, but...

My actual problems is:
The Custom Mana Drug (726) and Custom Mana Potion (728) not work. You click in the item, the system message notify you about use, but does not happening...

If you use a any skill heal does not work too.

When I use a intact gameserver + gamedb + game configs, everything works fine.

I use my old DB + gameserver (datapack + gameserver clean) works fine.

I use my old DB + gameserver + myfiles.properties the problems is starting...

The problem for me is any change anything in some file.properties (gameserver\config\*.properties).

I hunt this config.

Sorry my english, I am try clear.
Keira
Posts: 5
Joined: Tue Jan 04, 2011 2:29 pm

Re: Custom Mana Drug/Potion does not work.

Post by Keira »

compare your and default properties files with a file compare tool and see what's different
Or, start again with fresh property files
User avatar
armura
Posts: 40
Joined: Sat Sep 04, 2010 9:08 pm

Re: Custom Mana Drug/Potion does not work.

Post by armura »

Can you suggest to me a compare tool?

Thanks.
Last edited by armura on Thu Jan 06, 2011 11:39 pm, edited 1 time in total.
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Custom Mana Drug/Potion does not work.

Post by jurchiks »

Eclipse... select 2 files>compare to>each other.
if you need an external tool and you're using Windows, then try WinMerge.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
blackhaos
Posts: 49
Joined: Thu Feb 18, 2010 7:26 pm

Re: Custom Mana Drug/Potion does not work.

Post by blackhaos »

armura wrote:Hello!

After two days seeking the wrong, I cant find it, but...

My actual problems is:
The Custom Mana Drug (726) and Custom Mana Potion (728) not work. You click in the item, the system message notify you about use, but does not happening...

If you use a any skill heal does not work too.
did you test them with gm char ? if yes turn to mortal and try again because it happends to me but when i change to mortal everything work fine.
Post Reply