Jump to content

StealthyS4m

Members
  • Posts

    127
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by StealthyS4m

  1. Hello guys,
    Server has done a lot of updating and is starting a new life at June 6th 21:00(GMT +02).
    Weapons now have 3levels.Each level improves weapon's special ability.
    New collective added - PvP Coin. You can get this by slaying your enemies in PvP and Farm zones.

    Use this item to upgrade your weapons
    For more news visit server's WEBSITE

  2.  

    thats shitty.

    • Others can see it
    • Its permanent
    • You dont handle party leave
    • not what he asked for
    • you dont need a null check as far as your pack is coded properly

     

    Yeah I forgot to remove party color,but shouldn't others see it?What is the point of it if you are the only one who can see it?

     

    +	int orgColor;
    	public void joinParty(L2Party party)
    	{
    		if (party != null)
    		{
    			_party = party;
    			party.addPartyMember(this);
    		}
    +		orgColor = this.getAppearance().getNameColor();
    +		this.getAppearance().setNameColor(nameColor);
    		
    	}
    
    	/**
    	 * Manage the Leave Party task of the L2PcInstance.
    	 */
    	public void leaveParty()
    	{
    		if (isInParty())
    		{
    			_party.removePartyMember(this);
    			_party = null;
    		}
    +		this.getAppearance().setNameColor(orgColor);
    	}
    

    If this isn't what thread author wanted,then I am sorry for misunderstanding.

    or like St3et said:

     

    if(_activeChar.isInParty())
        writeD(color);
    else
        writeD(_activeChar.getAppearance().getNameColor());
    
  3. I believe it goes to 400% because you haven't edited client side.
    You could try something like that:
     

    					// Calculate the difference of level between this attacker and the L2Attackable.
    					final int levelDiff = attacker.getLevel() - getLevel();
    
    					final int[] expSp = calculateExpAndSp(levelDiff, damage, totalDamage);
    					long exp = expSp[0];
    					int sp = expSp[1];
    +					if(attacker.getLevel() == 79)
    +						exp /= 4;
    					if (isChampion())
    					{
    						exp *= Config.CHAMPION_REWARDS;
    						sp *= Config.CHAMPION_REWARDS;
    					}
    
    					exp *= 1 - penalty;
    

    L2Attackable.java line ~595,aCis.

  4. Hello guys,
    I want to create new items with upgraded special ability(Arcane Mace - Acumen LvL 2)
    What I want is to just multiply the value by 1.5.What's the easiest way to do it?
    Should I add new level to skill and give new values,or I just can add somewhere in Java if(item.getId()>5000) valueGotFromSkills * 1.5;
    I am using aCis.
    Thanks in advance.

  5. />

     in

    <mul order="0x30" stat="runSpd" val="0.7"/>

    means that you are closing mul tag.

    </mul>

    also means that you are closing mul tag,you can't close the same tag twice!

    Try:

     

    <effect name="Buff" time="120" val="0" stackOrder="1" stackType="possession"> 
    				<mul order="0x30" stat="cAtk" val="1.2">
    					<using kind="Dual Fist" />
    				</mul>
    				<mul order="0x30" stat="pAtk" val="1.2"> 
    					<using kind="Dual Fist" />
    				</mul>
    				<mul order="0x30" stat="runSpd" val="0.7"/>
    			</effect>
    
  6.    <button value="Vote for us on HopZone" action="bypass -h vote-hopzone" width=180 height=20 back="YourTexture" fore="YourTexture"/>
           <img src=L2UI_CH3.herotower_deco width=256 height=32>
           <button value="Vote for us on Topzone" action="bypass -h vote-topzone" width=180 height=20 back="YourTexture" fore="YourTexture"/>
    

    to something like:L2UI_CH3.herotower_deco

     

  7. Yeah because I just guessed st.getPlayer().isDead(),I have no idea if such even exists,search for something alike or maybe st.getPlayer().getCurrentHP() == 0 or something alike.Also I've never used Python but looking at the code you gave,I believe that the syntax is all right.

  8.                 if count < 0  or st.getPlayer().getLevel() < 1 :
    			htmltext = "<html><head><body>You dont have enough Adena,<br> or your level is too low. You must be 40 or higher.</body></html>"
    		else if st.getPlayer().isDead():
                            htmltext = "<html><head><body>You can't use buffer while you are dead.</body></html>"
                    else:
    			st.takeItems(ADENA_ID,0)
    			st.getPlayer().setTarget(st.getPlayer())
    

    Something like that

  9. Hello guys,
    It has been decided to wipe the server!
    New season will start on April 11th 20:00(GMT +02).
    This wipe will bring a lot of updates to the server.Some new features:
        ☑ Added new event - Lucky Player Online - everyday at totally random time the server will choose a random ONLINE player who will be rewarded with Mighty Boss Slayer's Trophy!
        ☑ Balanced PvP
        ☑ Balanced Mighty Bosses.
        ☑ Voting for server now gives 5 vote coins instead of 1!
        ☑ Fixed the problem with augmentions!
    Server's website
    I hope to see you in-game!

  10. You should make it at the beginning of startMinionSpawns(int) method.

    If you know how to make configs, just put in there:

    if(!Config.ENABLE_ANTHARAS_MINIONS)//You will need to create ENABLE_ANTHARAS_MINIONS field in Config.java
         return;

    If you are total newbie, you can just remove the content of that method and it will make a job too :P However that's not recommended, because if you will change your mind, then you will have a problem :)

        protected void startMinionSpawns(final int antharasId)
        {
    +       if(!Config.ENABLE_ANTHARAS_MINIONS)//You will need to create ENABLE_ANTHARAS_MINIONS field in Config.java
    +       return;
            int intervalOfMobs;
     
            // Interval of minions is decided by the type of Antharas
            // that invaded the lair.
            switch (antharasId)
            {
                case ANTHARASWEAKID:
                    intervalOfMobs = FWA_INTERVALOFMOBSWEAK;
                    break;
                case ANTHARASNORMALID:
                    intervalOfMobs = FWA_INTERVALOFMOBSNORMAL;
                    break;
                default:
                    intervalOfMobs = FWA_INTERVALOFMOBSSTRONG;
                    break;
            }
     
            // Spawn mobs.
            _mobsSpawnTask = ThreadPoolManager.getInstance().scheduleGeneralAtFixedRate(new MobsSpawn(), intervalOfMobs, intervalOfMobs);
        }
    
×
×
  • Create New...