We moved our repositories to BitBucket!

If you can't login or you can't register to the forums do not rise an issue, instead please write to support (at) l2jserver.com

Check our wiki!

Report server issues here

Forum has been updated to phpBB 3.2, let's see if this fixes some minor bugs we had.

Thank you for visiting http://www.l2jserver.com/

[SOLVED] Soul Cry mana gain

Find the proper support area, Saga-Version.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
User avatar
Lanamer
Posts: 14
Joined: Tue Feb 05, 2013 2:29 pm
Location: Slovakia

[SOLVED] Soul Cry mana gain

Post by Lanamer » Sun Mar 23, 2014 7:49 pm

Hi!
I run a Gracia T2.1 server (http://www.l2jserver.com/nightly/index. ... %2FT2.1%2F).
I have a problem with adding this to the Soul Cry Skill:
<add order="0x40" stat="absorbDamMana" val="10" />

I get this error message:
Unknown name 'absorbsDamMana' for enum Basestats

My Soul Cry skill looks like this:
<skill id="1001" levels="10" name="Soul Cry">
<table name="#patk-add"> 4.5 14 33.5 66.5 90.5 141.5 208.5 247.0 310.0 375.5 </table>
<table name="#mpRegen-sub"> 3 6 9 12 15 18 21 24 27 30 </table>
<table name="#mpConsume_Init"> 1 2 3 3 4 5 6 6 7 7 </table>
<set name="mpInitialConsume" val="#mpConsume_Init"/>
<set name="power" val="0.0"/>
<set name="target" val="TARGET_SELF"/>
<set name="skillType" val="CONT"/>
<set name="operateType" val="OP_TOGGLE"/>
<set name="castRange" val="-1"/>
<set name="effectRange" val="-1"/>
<for>
<effect count="0x7fffffff" name="ManaDamOverTime" time="3" val="#mpConsume_Init">
<add order="0x40" stat="pAtk" val="#patk-add"/>
<add order="0x40" stat="absorbDamMana" val="10" />
</effect>
</for>
</skill>

I got that row from the Gracia T2.4 server files, but in T2.1 seems that does not work....
I found this in the forum, but don't know how and where to add it, can anyone help me pls?
http://trac.l2jserver.com/changeset/3193#file0

Thanks for any help!
Last edited by Lanamer on Fri Apr 18, 2014 1:16 pm, edited 2 times in total.

User avatar
St3eT
Posts: 961
Joined: Sun Mar 07, 2010 6:50 pm

Re: Soul Cry mana gain

Post by St3eT » Sun Mar 23, 2014 7:50 pm

Moved to right section. :evil:
If i should be black sheep for sure no as punishment
Image

User avatar
Lanamer
Posts: 14
Joined: Tue Feb 05, 2013 2:29 pm
Location: Slovakia

Re: Soul Cry mana gain

Post by Lanamer » Thu Apr 17, 2014 6:20 am

I've Managed to open the gameserver jar, but I don't have L2Character.java, only L2Character.class and it looks totally different, so I don't know what to do with it, how to add that function....
Can anyone tell me pls how to do it?
You do not have the required permissions to view the files attached to this post.

User avatar
jurchiks
Posts: 6760
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Soul Cry mana gain

Post by jurchiks » Thu Apr 17, 2014 9:09 am

I've Managed to open the gameserver jar
You what??
http://www.l2jserver.com/wiki/Setup_Eclipse_and_SVN
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.

User avatar
Lanamer
Posts: 14
Joined: Tue Feb 05, 2013 2:29 pm
Location: Slovakia

Re: Soul Cry mana gain

Post by Lanamer » Fri Apr 18, 2014 4:32 am

jurchiks wrote:
I've Managed to open the gameserver jar
You what??
http://www.l2jserver.com/wiki/Setup_Eclipse_and_SVN
I opened it with winrar...
I'm not a programmer, so i don't know how to work with java and stuff, just trying to get the L2Character.java file, but don't know how to get to it...

User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 6902
Joined: Tue Aug 11, 2009 3:36 am

Re: Soul Cry mana gain

Post by Zoey76 » Fri Apr 18, 2014 4:49 am

The basic idea is, you can't edit compiled code.

You need to get the source code, from the SVN, use an IDE such as Eclipse, perform modifications on the code and finally compile it and deploy it.
Using Eclipse 4.11 - OpenJDK11 - MySQL 8.0.12 - L2J Server

User avatar
Lanamer
Posts: 14
Joined: Tue Feb 05, 2013 2:29 pm
Location: Slovakia

Re: Soul Cry mana gain

Post by Lanamer » Fri Apr 18, 2014 5:12 am

Zoey76 wrote:The basic idea is, you can't edit compiled code.

You need to get the source code, from the SVN, use an IDE such as Eclipse, perform modifications on the code and finally compile it and deploy it.
Oh, ok, now I see...

User avatar
Lanamer
Posts: 14
Joined: Tue Feb 05, 2013 2:29 pm
Location: Slovakia

Re: Soul Cry mana gain

Post by Lanamer » Fri Apr 18, 2014 6:40 am

Zoey76 wrote:The basic idea is, you can't edit compiled code.

You need to get the source code, from the SVN, use an IDE such as Eclipse, perform modifications on the code and finally compile it and deploy it.
Thank You very much, I've managed to get it work as i wanted. With the eclipse I could add the necessary rows and compiled it afterwards. But needed to change the absorbDamage and maxCanAbsorb to absorbDamageMP and maxCanAbsorbMP from the script I've found, and now it's working properly.
Thanks a lot for the guiding, I'm not a programmer, just trying to change and add a few missing skills and stuff to that build, but basically I'm just doing trial and failure till I get things working :) So Your advice helped a lot!!

Post Reply