Jump to content

Question

Posted

Hello i have this code

player.startAbnormalEffect(L2Character.ABNORMAL_EFFECT_STEALTH);

i want to change the "Sealth" thing and make it when a player have +16 armor to get some red effect (if you have played pride you know) i dont know how to write it xD

Recommended Posts

  • 0
Posted

Hello i have this code

player.startAbnormalEffect(L2Character.ABNORMAL_EFFECT_STEALTH);

i want to change the "Sealth" thing and make it when a player have +16 armor to get some red effect (if you have played pride you know) i dont know how to write it xD

you want to change effect itself, or you want  to make an rule that when player.getInvenotry.armor(id).enchant == 16 - player.startabnormal ? 

If first then you in a wrong section, if 2 too, then look for some simmiliar rule that i stated, maybe it used for some event or quest or anything else reffering check  getitem from inventory.

 

P.S.

dont want to make an acctual code cause its =D your work i guess.

  • 0
Posted

I have the code ready i need to replace "Stealth" thing with red aura something like this i dont know what to put on "Stealth" to take the red aura

 

http://www.mmorpg.com/photo/95cce76d-bcb4-48db-ab5d-01a3d8de4f22

  • 0
Posted (edited)

I have the code ready i need to replace "Stealth" thing with red aura something like this i dont know what to put on "Stealth" to take the red aura

 

http://www.mmorpg.com/photo/95cce76d-bcb4-48db-ab5d-01a3d8de4f22

how about this - player.startAbnormalEffect(L2Character.ABNORMAL_EFFECT_VITALITY); Nevit

Edited by LightFusion
  • 0
Posted (edited)

I get error here when i put vitality

player.startAbnormalEffect(L2Character.ABNORMAL_EFFECT_VITALITY);
					    }
player.stopAbnormalEffect(L2Character.ABNORMAL_EFFECT_VITALITY);

And i get dc after the compile :/

Edited by ThelwHelpRePaidia
  • 0
Posted

I get error here when i put vitality

player.startAbnormalEffect(L2Character.ABNORMAL_EFFECT_VITALITY);
					    }
player.stopAbnormalEffect(L2Character.ABNORMAL_EFFECT_VITALITY);

And i get dc after the compile :/

lol i dont know the real name of this abnormal in your server core, =D findyourself ...

  • 0
Posted

here is the inventory.java

if(armorSet.isEnchanted16(player)) // has all parts of set enchanted to 6 or more
					{
						int skillId = armorSet.getEnchant6skillId();
					    
						if (armorSet.isEnchanted16(player))
					    {
							 player.startAbnormalEffect(L2Character.ABNORMAL_EFFECT_STEALTH);
					    }



if(remove)
			{
				player.stopAbnormalEffect(L2Character.ABNORMAL_EFFECT_STEALTH);
				if(removeSkillId1 != 0)

}

and here the l2armorset.java

public boolean isEnchanted16(L2PcInstance player)
    {
         // Player don't have full set
        if(!containAll(player))
            return false;

        Inventory inv = player.getInventory();

        L2ItemInstance chestItem  = inv.getPaperdollItem(Inventory.PAPERDOLL_CHEST);
        L2ItemInstance legsItem   = inv.getPaperdollItem(Inventory.PAPERDOLL_LEGS);
        L2ItemInstance headItem   = inv.getPaperdollItem(Inventory.PAPERDOLL_HEAD);
        L2ItemInstance glovesItem = inv.getPaperdollItem(Inventory.PAPERDOLL_GLOVES);
        L2ItemInstance feetItem   = inv.getPaperdollItem(Inventory.PAPERDOLL_FEET);

        if(chestItem.getEnchantLevel() < 16)
            return false;
        if(_legs != 0 && legsItem.getEnchantLevel() < 16)
            return false;
        if(_gloves != 0 && glovesItem.getEnchantLevel() < 16)
            return false;
        if(_head != 0 && headItem.getEnchantLevel() < 16)
            return false;
        if(_feet != 0 && feetItem.getEnchantLevel() < 16)
            return false;

       
    
		chestItem = null;
		legsItem = null;
		headItem = null;
		glovesItem = null;
		feetItem = null;

		return true;
	}
  • 0
Posted (edited)

You can go at gameserver/skills/AbnormalEffect.java (for aCis) and choose what you want...

 

public enum AbnormalEffect
{
    NULL("null", 0x0),
    BLEEDING("bleeding", 0x000001),
    POISON("poison", 0x000002),
    REDCIRCLE("redcircle", 0x000004),
    ICE("ice", 0x000008),
    WIND("wind", 0x000010),
    FEAR("fear", 0x000020),
    STUN("stun", 0x000040),
    SLEEP("sleep", 0x000080),
    MUTED("mute", 0x000100),
    ROOT("root", 0x000200),
    HOLD_1("hold1", 0x000400),
    HOLD_2("hold2", 0x000800),
    UNKNOWN_13("unknown13", 0x001000),
    BIG_HEAD("bighead", 0x002000),
    FLAME("flame", 0x004000),
    UNKNOWN_16("unknown16", 0x008000),
    GROW("grow", 0x010000),
    FLOATING_ROOT("floatroot", 0x020000),
    DANCE_STUNNED("dancestun", 0x040000),
    FIREROOT_STUN("firerootstun", 0x080000),
    STEALTH("stealth", 0x100000),
    IMPRISIONING_1("imprison1", 0x200000),
    IMPRISIONING_2("imprison2", 0x400000),
    MAGIC_CIRCLE("magiccircle", 0x800000);

 

Try this.. Is a red flame... I don't know if you want somethink like this.. But if you want, do the above..

player.startAbnormalEffect(L2Character.ABNORMAL_EFFECT_FLAME);

Edited by Baggoss
  • 0
Posted

Interlude

how the hell you are supposed to use vitality effect in interlude since itsn't implemented?

 

unless you implemented it,but I doubt it since if you would,you would knew what kind of effect you need to use.

  • 0
Posted (edited)

i guess he is talking about my abnormal vitality in interlude

When you put the VItALITY on interlude, need and client side.

Because of this he take dc with VIT AbnormalEffect. I guess..

Edited by Baggoss
  • 0
Posted

When you put the VItALITY on interlude, need and client side.

Because of this he take dc with VIT AbnormalEffect. I guess..

my eyes are hurting

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • - CHAPTER IV NEW START FROM 16.MAY.2026 - RATES Experience (EXP) 30x Skill Points (SP) 30x Adena 10x Drop for Spoil 10x General Drop 10x RaidBoss Drop 3x Manor 4x Quest Drop 2x Quest Reward 3x Fishing Drop 10x Vitality System 25x Clan Reputation Point 2x ENCHANTS Safe Enchant +3 Max. Enchant +16 Normal Scroll chance 70% Blessed Scroll chance 80% Max donation enchant is +8 Yogi event enchant rate is 35% -Olf Max Enchant +9 enchant rates: +1 to +3 100%, +4 65%, +5 65%, +6 60%, +7 60%, +8 50%, +9 45% Elemental Max. Level Level 7 Elemental Stone chance 55% Elemental Crystal chance 50% CONFIGURATION Buffs, Dances, Songs Duration 2 hours Buff Slots 28+4+12 Max. Clients per PC 2 / IP 4 Olympiads Max. Enchant +8 Premium Geodata and Pathnodes Sub-Class Max. Level 85 Offline Shop mode Auto Learn Skills Vitality System Champions System Wedding System Class Master AUTO EVENTS Team vs. Team Last Man Standing Treasure Hunt Korean Style Capture the Flag Lucky Creatures Protect the King Russian Roulette Fight For Throne Deathmatch Domination TvT VIP Advanced Zombies Treasure Hunt No-PvP Hunting Grounds Mass Domination Lucky Chests Mutant Battlefields Mini Events Rabbits Simon Says Summer Meleons Pirates Treasure Hitman - Bounty Hunters Medal Collector Boss Random Etc. RAIDS RESPAWN TIME Valakas 72 hours / 24 hours random spawn Antharas 72 hours / 8 hours random spawn Baium 48 hours / 2 hours random spawn Baylor 24 hours/ 12 hours random spawn Beleth 48 hour OTHER Special Goddess of Destruction and Heroic Cloaks Goddess of Destruction .dress me Armors PvP + Rank + RPC Reward system Daily Quests available in community board New Achievements system Tournament system 1vs1 + Daily Tournament Academy Search for newbies, with payment Party Matching with class filter and manage Register to Fortress Siege as single player Cancelled buffs will return in 60 seconds (disabled) Improved .acpon will use now: MP, CP, GCP, GHP. SOULS Maximum number of slots for Private Store is 50 The maximum level for subclass is up to level 85 Multiple commands with advanced options, see them in com board You can view a monster drop rate and list by using shift+click Olympiad - Heroes are formed every Saturday at 01:05 GMT+2 Advanced Community Board with lots of new features for perfect play Advanced NPC buffer with almost all skills and up to 4 schemes per character Special Quiz event every 5 hours with over 500 questions and good reward Custom special Raids with special drop, with A.I against bots All major raids drop Donation Coins and Divine S Scrolls Super T.Rex with better drop and starting premium pets Glittering Medals from all mobs to exchange for special items Reduced number of clan members to raise the clan level and less reputation required Clan / Alliance has a reduced penalty AutoFarm, Community Cleaner, Weapon Repair system, Player Info, Server Online Statistics And many more... http://l2viserion.com https://www.facebook.com/l2viserion
    • - CHAPTER IV NEW START FROM 16.MAY.2026 - RATES Experience (EXP) 30x Skill Points (SP) 30x Adena 10x Drop for Spoil 10x General Drop 10x RaidBoss Drop 3x Manor 4x Quest Drop 2x Quest Reward 3x Fishing Drop 10x Vitality System 25x Clan Reputation Point 2x ENCHANTS Safe Enchant +3 Max. Enchant +16 Normal Scroll chance 70% Blessed Scroll chance 80% Max donation enchant is +8 Yogi event enchant rate is 35% -Olf Max Enchant +9 enchant rates: +1 to +3 100%, +4 65%, +5 65%, +6 60%, +7 60%, +8 50%, +9 45% Elemental Max. Level Level 7 Elemental Stone chance 55% Elemental Crystal chance 50% CONFIGURATION Buffs, Dances, Songs Duration 2 hours Buff Slots 28+4+12 Max. Clients per PC 2 / IP 4 Olympiads Max. Enchant +8 Premium Geodata and Pathnodes Sub-Class Max. Level 85 Offline Shop mode Auto Learn Skills Vitality System Champions System Wedding System Class Master AUTO EVENTS Team vs. Team Last Man Standing Treasure Hunt Korean Style Capture the Flag Lucky Creatures Protect the King Russian Roulette Fight For Throne Deathmatch Domination TvT VIP Advanced Zombies Treasure Hunt No-PvP Hunting Grounds Mass Domination Lucky Chests Mutant Battlefields Mini Events Rabbits Simon Says Summer Meleons Pirates Treasure Hitman - Bounty Hunters Medal Collector Boss Random Etc. RAIDS RESPAWN TIME Valakas 72 hours / 24 hours random spawn Antharas 72 hours / 8 hours random spawn Baium 48 hours / 2 hours random spawn Baylor 24 hours/ 12 hours random spawn Beleth 48 hour OTHER Special Goddess of Destruction and Heroic Cloaks Goddess of Destruction .dress me Armors PvP + Rank + RPC Reward system Daily Quests available in community board New Achievements system Tournament system 1vs1 + Daily Tournament Academy Search for newbies, with payment Party Matching with class filter and manage Register to Fortress Siege as single player Cancelled buffs will return in 60 seconds (disabled) Improved .acpon will use now: MP, CP, GCP, GHP. SOULS Maximum number of slots for Private Store is 50 The maximum level for subclass is up to level 85 Multiple commands with advanced options, see them in com board You can view a monster drop rate and list by using shift+click Olympiad - Heroes are formed every Saturday at 01:05 GMT+2 Advanced Community Board with lots of new features for perfect play Advanced NPC buffer with almost all skills and up to 4 schemes per character Special Quiz event every 5 hours with over 500 questions and good reward Custom special Raids with special drop, with A.I against bots All major raids drop Donation Coins and Divine S Scrolls Super T.Rex with better drop and starting premium pets Glittering Medals from all mobs to exchange for special items Reduced number of clan members to raise the clan level and less reputation required Clan / Alliance has a reduced penalty AutoFarm, Community Cleaner, Weapon Repair system, Player Info, Server Online Statistics And many more... http://l2viserion.com https://www.facebook.com/l2viserion
    • TG Support: Buying Proxy | Channel: Buying Proxy Discord support: #buyingproxy | Server: Join the BuyingProxy Discord Server! Create your account for free here
    • It’s been a while since this situation started. As I’ve mentioned before, you are no longer kids you’re grown adults. Please resolve your disagreements through DMs, not forum threads.   I understand that you are competitors, but the rest of the community isn’t interested in your disputes. Stop publicly accusing each other and focus on handling issues privately.   The reputation system is not to be abused. Hearing complaints like “he downvoted me” every day is not productive. This thread will remain locked. Please grow up and handle your problems through private messages.
    • It's owned by a person from down under. Nikita is not even a CEO.     Another honorable mention of who does actually hold a sort of authority: Troyz.     The project itself is - or, at least, used to be TERRIBLY corrupt and is known for having multiple alts on maxcheaters selling fabricated items in the past.        P.S. Their staff split up and the leftovers formed a new project called "darkdragon", utilizing old database of Reborn they had for marketing purposes.
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..