Jump to content
  • 0

[Request]Interlude Skills Core support!


nortoner

Question

Kalispera paidia! Tha ithela na rotiso an iparxei kapios pou mpori na me voithisei me kapia skills ta opia dn iparxoun stous char kai otan ta vrisko sta "xml" m leei "need core support"!

 

Ta skills einai:

-Counterattack (Ghosthunter)

-Salvation (Cardinal)

-Mirage(Adventurer)

 

Exo to L2j interlude pack!

 

Thnx ek ton proteron!

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0

Dp support gia to salvation skill:

Index: trunk/L2S_Datapack/data/stats/skills/1400-1499.xml

===================================================================

--- a/trunk/L2S_Datapack/data/stats/skills/1400-1499.xml

+++ b/trunk/L2S_Datapack/data/stats/skills/1400-1499.xml

@@ -247,14 +247,23 @@

<skill id="1410" levels="1" name="Salvation">

<!--

-  Needs to be finished.

-  Target is set to TARGET_NONE, skillType to NOTDONE for server compatability.

  Description(s):

      Revives target from death and restores them to full health, retaining all buff/debuff effects except for Noblesse Blessing and Lucky Charm.  Consumes 2 Einhasad Holy Water.

-->

-  <set name="target" val="TARGET_NONE"/>

-  <set name="skillType" val="NOTDONE"/>

-  <set name="operateType" val="OP_PASSIVE"/>

-  <set name="castRange" val="-1"/>

-  <for>

+    <set name="itemConsumeId" val="8874"/>

+    <set name="itemConsumeCount" val="2"/>

+    <set name="mpInitialConsume" val="17"/>

+    <set name="mpConsume" val="69"/>

+    <set name="magicLvl" val="79"/>

+    <set name="isMagic" val="true"/>

+    <set name="target" val="TARGET_ONE"/>

+    <set name="reuseDelay" val="3600000"/>

+    <set name="hitTime" val="4000"/>

+    <set name="skillType" val="BUFF"/>

+    <set name="staticReuse" val="true"/>

+    <set name="operateType" val="OP_ACTIVE"/>

+    <set name="castRange" val="400"/>

+    <set name="effectRange" val="900"/>

+  <for>

+        <effect count="1" name="PhoenixBless" time="3600" val="0"/>

  </for>

</skill>

 

kai core support tou salvation, soul of phoenix:

kane create ayto to class sto net.sf.l2j.gameserver.skills.effects

/*

* This program is free software: you can redistribute it and/or modify it under

* the terms of the GNU General Public License as published by the Free Software

* Foundation, either version 3 of the License, or (at your option) any later

* version.

*

* This program is distributed in the hope that it will be useful, but WITHOUT

* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS

* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more

* details.

*

* You should have received a copy of the GNU General Public License along with

* this program. If not, see <http://www.gnu.org/licenses/>.

*/

package net.sf.l2j.gameserver.skills.effects;

 

import net.sf.l2j.gameserver.model.L2Effect;

import net.sf.l2j.gameserver.model.actor.instance.L2PlayableInstance;

import net.sf.l2j.gameserver.skills.Env;

 

final class EffectPhoenixBless extends L2Effect

{

    public EffectPhoenixBless(Env env, EffectTemplate template)

    {

        super(env, template);

    }

    @Override

    public EffectType getEffectType()

    {

        return EffectType.PHOENIX_BLESSING;

    }

 

    @Override

    public void onStart()

    {

        if (getEffected() instanceof L2PlayableInstance)

            ((L2PlayableInstance)getEffected()).startPhoenixBlessing();

    }

 

    @Override

    public void onExit()

    {

        if (getEffected() instanceof L2PlayableInstance)

            ((L2PlayableInstance)getEffected()).stopPhoenixBlessing(this);

    }

    @Override

    public boolean onActionTime()

    {

        return false;

    }

}

Index: trunk/L2S_Gameserver/java/net/sf/l2j/gameserver/model/actor/instance/L2PlayableInstance.java

===================================================================

--- a/trunk/L2S_Gameserver/java/net/sf/l2j/gameserver/model/actor/instance/L2PlayableInstance.java

+++ b/trunk/L2S_Gameserver/java/net/sf/l2j/gameserver/model/actor/instance/L2PlayableInstance.java

@@ -41,4 +41,5 @@

        private boolean _isNoblesseBlessed = false; // for Noblesse Blessing skill, restores buffs after death

        private boolean _getCharmOfLuck = false; // Charm of Luck - During a Raid/Boss war, decreased chance for death penalty

+        private boolean _isPhoenixBlessed = false; //Soul of The Phoenix and Salvation buffs

        /**

          * Constructor of L2PlayableInstance (use L2Character constructor).<BR><BR>

@@ -201,3 +202,22 @@

                updateAbnormalEffect();

        }

+       

+        //Soul of the Phoenix and Salvation skills

+        public final boolean isPhoenixBlessed() { return _isPhoenixBlessed; }

+        public final void setIsPhoenixBlessed(boolean value) { _isPhoenixBlessed = value; }

+       

+        public final void startPhoenixBlessing(){

+                setIsPhoenixBlessed(true);

+                updateAbnormalEffect();

+        }

+       

+        public final void stopPhoenixBlessing(L2Effect effect){

+                if (effect == null)

+                        stopEffects(L2Effect.EffectType.PHOENIX_BLESSING);

+                else

+                        removeEffect(effect);

+               

+                setIsPhoenixBlessed(false);

+                updateAbnormalEffect();

+        }

}

Index: trunk/L2S_Gameserver/java/net/sf/l2j/gameserver/model/L2Effect.java

===================================================================

--- a/trunk/L2S_Gameserver/java/net/sf/l2j/gameserver/model/L2Effect.java

+++ b/trunk/L2S_Gameserver/java/net/sf/l2j/gameserver/model/L2Effect.java

@@ -79,4 +81,5 @@

        BETRAY,

        NOBLESSE_BLESSING,

+        PHOENIX_BLESSING,

        PETRIFICATION,

        BLUFF,

gia ta alla brm twra...

Link to comment
Share on other sites

  • 0

Dp support gia to salvation skill:

kai core support tou salvation, soul of phoenix:

kane create ayto to class sto net.sf.l2j.gameserver.skills.effectsgia ta alla brm twra...

Ok otan ksevaretheis brO postarete gt ta thelo:) thnx btw!
Link to comment
Share on other sites

  • 0

kanta monos s...

den prokeitai na katsw na s kanw olo to effect gia mirage ktlp.

An mporousa entelos monos m pistepse me tha to ekana! Den pistevo oti einai kako na zitas voithia se kati p dn ksereis! Kai distixos ayto einai kati pou den ksero kai dn mporo na to pekso eksipnos! ok dn exo provlima den sto epevala na mou ta kaneis ola post! ok an den mporeis no problem! a! kai an mporis parapano p les "kane create ayto to class sto net.sf.l2j.gameserver.skills.effects" dld to soul of phoenix?

 

Link to comment
Share on other sites

  • 0

An mporousa entelos monos m pistepse me tha to ekana! Den pistevo oti einai kako na zitas voithia se kati p dn ksereis! Kai distixos ayto einai kati pou den ksero kai dn mporo na to pekso eksipnos! ok dn exo provlima den sto epevala na mou ta kaneis ola post! ok an den mporeis no problem! a! kai an mporis parapano p les "kane create ayto to class sto net.sf.l2j.gameserver.skills.effects" dld to soul of phoenix?

 

 

den einai to thema oti den mporw apla den exw kanena kerdos na s ta kanw ola ayta.. ayto to eixa hdh fix prin apo kana 2 bdomades gia ayto k to ekana post.

kai kane create ena file me name EffectPhoenixBless.java to soul of phoenix einai skill p xreiazete ayto to effect k kanei thn idia douleia me to salvation.

to mono p 8es gia na fix k to soul of phoenix einai na baleis to effect tou sto dp dld

<effect count="1" name="PhoenixBless" time="1800" val="0"/>

Link to comment
Share on other sites

  • 0

den einai to thema oti den mporw apla den exw kanena kerdos na s ta kanw ola ayta.. ayto to eixa hdh fix prin apo kana 2 bdomades gia ayto k to ekana post.

kai kane create ena file me name EffectPhoenixBless.java to soul of phoenix einai skill p xreiazete ayto to effect k kanei thn idia douleia me to salvation.

to mono p 8es gia na fix k to soul of phoenix einai na baleis to effect tou sto dp dld

Thnx kai giayto brO! exo kai alli mia erotisi p isos tin ksereis! an ine eykolo postorete an oxi kai ine megalo asto ! to //sethero dn litourgei! oute to //givehero! kai apoti paratirisa dn iparxoun kai ta commands ayta oute stin DB oute sta configs! mipos gnorizeis pos mporo na ta prostheso?!

 

Ok to ekana fix m to vgazei sta skills alla otan petheno dn vgazei ayto p prepi na vgalei dld to parathiraki san kapios na s kani rez!

Link to comment
Share on other sites

  • 0

Thnx kai giayto brO! exo kai alli mia erotisi p isos tin ksereis! an ine eykolo postorete an oxi kai ine megalo asto ! to //sethero dn litourgei! oute to //givehero! kai apoti paratirisa dn iparxoun kai ta commands ayta oute stin DB oute sta configs! mipos gnorizeis pos mporo na ta prostheso?!

 

Ok to ekana fix m to vgazei sta skills alla otan petheno dn vgazei ayto p prepi na vgalei dld to parathiraki san kapios na s kani rez!

kati prepei na ekanes la8os .. emena douleuei mia xara..

ekanes compile? ekanes add to dp support tou salva/soul of phoenix?

 

to //givehero den uparxei k oute uphrxe pote.. to //sethero uparxei alla den einai implemented..

ola ayta einai fix sto pack m mporei na kanw post tpt aurio twra paw gia upno gt eimai ptwma

xamomilia...  :D

Link to comment
Share on other sites

  • 0

k ena last fix gia to mirage

DP Support:

<skill id="445" levels="1" name="Mirage">

<!--

  Description(s):

      Has a chance to cancel the target of an enemy who attacks you.

-->

  <set name="mpConsume" val="43"/>

  <set name="magicLvl" val="79"/>

  <set name="reuseDelay" val="300000"/>

  <set name="hitTime" val="2000"/>

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

  <set name="skillType" val="BUFF"/>

  <set name="target" val="TARGET_SELF"/>

  <cond msg="An equipped dagger weapon is required to use this skill.">

    <using kind="Dagger"/>

  </cond>

  <for>

        <effect count="1" name="BestowSkill" time="60" val="0"/>

  </for>

</skill>

Core Support:

/*

* This program is free software: you can redistribute it and/or modify it under

* the terms of the GNU General Public License as published by the Free Software

* Foundation, either version 3 of the License, or (at your option) any later

* version.

*

* This program is distributed in the hope that it will be useful, but WITHOUT

* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS

* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more

* details.

*

* You should have received a copy of the GNU General Public License along with

* this program. If not, see <http://www.gnu.org/licenses/>.

*/

package net.sf.l2j.gameserver.skills.effects;

import net.sf.l2j.gameserver.datatables.SkillTable;

import net.sf.l2j.gameserver.model.L2Effect;

import net.sf.l2j.gameserver.model.L2Skill;

import net.sf.l2j.gameserver.skills.Env;

final class EffectBestowSkill extends L2Effect

{

        public EffectBestowSkill(Env env, EffectTemplate template)

        {

                super(env, template);

        }

     

        /**

        *

        * @see net.sf.l2j.gameserver.model.L2Effect#getEffectType()

        */

        @Override

        public EffectType getEffectType()

        {

                return EffectType.BUFF;

        }

     

        /**

        *

        * @see net.sf.l2j.gameserver.model.L2Effect#onStart()

        */

        @Override

        public void onStart()

        {

                L2Skill tempSkill = SkillTable.getInstance().getInfo(getSkill().getTriggeredId(), getSkill().getTriggeredLevel());

                if (tempSkill != null)

                {

                        getEffected().addSkill(tempSkill);

                        return;

                }

                return;

        }

     

        /**

        *

        * @see net.sf.l2j.gameserver.model.L2Effect#onExit()

        */

        @Override

        public void onExit()

        {

                getEffected().removeSkill(getSkill().getTriggeredId());

        }

     

        /**

        *

        * @see net.sf.l2j.gameserver.model.L2Effect#onActionTime()

        */

        @Override

        public boolean onActionTime()

        {

                return false;

        }

}

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • GOSTEI MUITO DO VIASUAL DO SERVE COMO POSSO ADQUIRI ESSA REV PACK   
    • Helly everyone . I use L2jmobius interlude , i did everything , installed the db compiled the Build in eclipse Gameserver seems to lead OK , but it fails to connect to loginserver When i click to start the loginserver it says  "Loginserver terminated abnormally" This is wheat gameserver shows me :    [05/10 17:25:12] LoginServerThread: Connecting to login on 127.0.0.1:9014 [05/10 17:25:12] LoginServerThread: LoginServer not available, trying to reconnect... [05/10 17:25:17] LoginServerThread: Connecting to login on 127.0.0.1:9014 [05/10 17:25:17] LoginServerThread: LoginServer not available, trying to reconnect... [05/10 17:25:22] LoginServerThread: Connecting to login on 127.0.0.1:9014 [05/10 17:25:22] LoginServerThread: LoginServer not available, trying to reconnect...   And This is my login config file:   # --------------------------------------------------------------------------- # Login Server Settings # --------------------------------------------------------------------------- # This is the server configuration file. Here you can set up the connection information for your server. # This was written with the assumption that you are behind a router. # Dumbed Down Definitions... # LAN (LOCAL area network) - typically consists of computers connected to the same router as you. # WAN (WIDE area network) - typically consists of computers OUTSIDE of your router (ie. the internet). # x.x.x.x - Format of an IP address. Do not include the x'es into settings. Must be real numbers. # --------------------------------------------------------------------------- # Networking # --------------------------------------------------------------------------- # Bind ip of the LoginServer, use 0.0.0.0 to bind on all available IPs # WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u> # WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u> # Default: 0.0.0.0 LoginserverHostname = 0.0.0.0 # Default: 2106 LoginserverPort = 2106 # The address on which login will listen for GameServers, use * to bind on all available IPs # WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u> # WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u> # Default: 127.0.0.1 LoginHostname = 127.0.0.1 # The port on which login will listen for GameServers # Default: 9014 LoginPort = 9014 # --------------------------------------------------------------------------- # Database # --------------------------------------------------------------------------- # Specify the JDBC driver class for your database. # Default: org.mariadb.jdbc.Driver Driver = org.mariadb.jdbc.Driver # Database URL # Default: jdbc:mariadb://localhost/l2jmobiusinterlude?useUnicode=true&characterEncoding=utf-8&useSSL=false&connectTimeout=10000&interactiveClient=true&sessionVariables=wait_timeout=600,interactive_timeout=600&autoReconnect=true URL = jdbc:mariadb://localhost/l2jmobiusinterlude?useUnicode=true&characterEncoding=utf-8&useSSL=false&connectTimeout=10000&interactiveClient=true&sessionVariables=wait_timeout=600,interactive_timeout=600&autoReconnect=true # Database user info. Default is "root" but it's not recommended. Login = root # Database user password, leave empty for no password. Password = root # Maximum number of database connections to maintain in the pool. # Default: 5 MaximumDatabaseConnections = 5 # Determine whether database connections should be tested for availability. # Default: False TestDatabaseConnections = False # --------------------------------------------------------------------------- # Automatic Database Backup Settings # --------------------------------------------------------------------------- # Generate database backups when server restarts or shuts down.  BackupDatabase = False # Path to MySQL bin folder. Only necessary on Windows. MySqlBinLocation = C:/xampp/mysql/bin/ # Path where MySQL backups are stored. BackupPath = ../backup/ # Maximum number of days that backups will be kept. # Old files in backup folder will be deleted. # Set to 0 to disable. BackupDays = 30 # --------------------------------------------------------------------------- # Thread Configuration # --------------------------------------------------------------------------- # Defines the number of threads in the scheduled thread pool. # If set to -1, this will be determined by available processors divided by 2. ScheduledThreadPoolSize = 2 # Defines the number of threads in the instant thread pool. # If set to -1, this will be determined by available processors divided by 2. InstantThreadPoolSize = 2 # --------------------------------------------------------------------------- # Security # --------------------------------------------------------------------------- # How many times you can provide an invalid account/pass before the IP gets banned. # Default: 5 LoginTryBeforeBan = 5 # Time you won't be able to login back again after LoginTryBeforeBan tries to login. # Default: 900 (15 minutes) LoginBlockAfterBan = 900 # If set to True any GameServer can register on your login's free slots # Default: True AcceptNewGameServer = True # Flood Protection. All values are in milliseconds. # Default: True EnableFloodProtection = True # Default: 15 FastConnectionLimit = 15 # Default: 700 NormalConnectionTime = 700 # Default: 350 FastConnectionTime = 350 # Default: 50 MaxConnectionPerIP = 50 # --------------------------------------------------------------------------- # Misc Login Settings # --------------------------------------------------------------------------- # If False, the license (after the login) will not be shown. # Default: True ShowLicence = True # Default: True AutoCreateAccounts = True # Datapack root directory. # Defaults to current directory from which the server is started. DatapackRoot = . # --------------------------------------------------------------------------- # Scheduled Login Restart # --------------------------------------------------------------------------- # Enable disable scheduled login restart. # Default: False LoginRestartSchedule = False # Time in hours. # Default: 24 LoginRestartTime = 24    
    • or at least to tell you an update that sorry but still not at home.. 10 days is suspisious.. but he is long time offline from discord indeed... maybe something happened?
  • Topics

×
×
  • Create New...