Jump to content

Malzahax

Members
  • Posts

    667
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Malzahax

  1. i need an award for "karma rights" . after the karma wipe, everything will be changed to permissions. only specific VIPs will be able to give karma. ;) (depends or post count)

     

    1. karma rights

    2. hammer award

    3. porn award

    4. hero award.

    5. maxtor's buddy award

    6. reputation award

     

    maxtor because my ps is fucked do you really want to cut the white things? it will take me some time since i cut it and it comes back :S

  2. hey guys i was wondering how is it possible for a clan leader to write a message so it pops up when clan members log in!! this is mainly for freya-hi5 i think.. i would appreciate some help !!

    with client you use with project you use ?

     

    also if you got epilogue + it works it is on your community board if you use interlude i advice you to search on l2jserver forums theres a patch there

  3. I've got to have no particular knowledge @ the pack, neither have tested it since all of it's features are posted right away and I can judge it like this. There is nothing really special there, a newbie could do this really easy. So, considering my asnwer, the one that should keep his mouth shut, this is appearantly you.

     

    ok i will provide here for free a mod i maked ok?  so basicly we will see if a "newbie" can do it..

     

    patch no1

    ### Eclipse Workspace Patch 1.0
    #P L2jFrozen_GameServer
    Index: head-src/com/l2jfrozen/Config.java
    ===================================================================
    --- head-src/com/l2jfrozen/Config.java	(revision 877)
    +++ head-src/com/l2jfrozen/Config.java	(working copy)
    @@ -567,6 +567,10 @@
    	public static boolean ALLOW_QUAKE_SYSTEM;
    	public static boolean ENABLE_ANTI_PVP_FARM_MSG;
    
    +	/** Custom item stuff  **/
    +	public static int CUSTOM_ACTIVATION_AT_PERCENTAGE;
    +	public static String CUSTOM_ITEMS;
    +	public static FastList<Integer> CUSTOM_ITEMS_LIST;
    
    	//============================================================
    	public static void loadOtherConfig()
    @@ -821,6 +825,25 @@
    
    			ALLOW_QUAKE_SYSTEM = Boolean.parseBoolean(otherSettings.getProperty("AllowQuakeSystem", "False"));
    			ENABLE_ANTI_PVP_FARM_MSG = Boolean.parseBoolean(otherSettings.getProperty("EnableAntiPvpFarmMsg", "False"));
    +			
    +			CUSTOM_ACTIVATION_AT_PERCENTAGE = Integer.parseInt(otherSettings.getProperty("ActivationAtPercentage", "30"));
    +			CUSTOM_ITEMS = otherSettings.getProperty("customItemsList", "");
    +			
    +			if (CUSTOM_ACTIVATION_AT_PERCENTAGE > 0)
    +			{
    +				CUSTOM_ITEMS_LIST = new FastList<Integer>();
    +				for(String itemId : CUSTOM_ITEMS.split(";"))
    +				{
    +				    try
    +        			{
    +						CUSTOM_ITEMS_LIST.add(Integer.parseInt(itemId));
    +					}
    +					catch (NumberFormatException nfe)
    +        			{
    +        				System.out.println("[Custom item]: invalid number format.");
    +        			}
    +				}
    +			}
    		}
    		catch(Exception e)
    		{
    Index: config/head/other.properties
    ===================================================================
    --- config/head/other.properties	(revision 877)
    +++ config/head/other.properties	(working copy)
    @@ -226,4 +226,14 @@
    AllowAioUseClassMaster = false
    
    # Announce castle lords on enter game. default = false 
    -AnnounceCastleLords = False
    \ No newline at end of file
    +AnnounceCastleLords = False
    +
    +# -----------------------------------------
    +#  Custom item /skill use                -
    +# -----------------------------------------
    +# Activation (% of maxHp) - 0 to disable that custom
    +ActivationAtPercentage = 30
    +
    +# List of items
    +# Format : itemId;itemId2;itemId3...
    +customItemsList = 
    \ No newline at end of file
    Index: head-src/com/l2jfrozen/gameserver/model/actor/instance/L2PcInstance.java
    ===================================================================
    --- head-src/com/l2jfrozen/gameserver/model/actor/instance/L2PcInstance.java	(revision 877)
    +++ head-src/com/l2jfrozen/gameserver/model/actor/instance/L2PcInstance.java	(working copy)
    @@ -169,6 +169,7 @@
    import com.l2jfrozen.gameserver.network.serverpackets.L2GameServerPacket;
    import com.l2jfrozen.gameserver.network.serverpackets.LeaveWorld;
    import com.l2jfrozen.gameserver.network.serverpackets.MagicSkillCanceld;
    +import com.l2jfrozen.gameserver.network.serverpackets.MagicSkillUser;
    import com.l2jfrozen.gameserver.network.serverpackets.MyTargetSelected;
    import com.l2jfrozen.gameserver.network.serverpackets.NpcHtmlMessage;
    import com.l2jfrozen.gameserver.network.serverpackets.ObservationMode;
    @@ -13473,6 +13474,33 @@
    		{
    			getTrainedBeast().onOwnerGotAttacked(attacker);
    		}
    +		
    +		// Custom -- when you're equipped with a particular weapon, apply skills effects (UE, Dash).
    +		// Percentage must be superior to 0 to get that feature activated.
    +		if (Config.CUSTOM_ACTIVATION_AT_PERCENTAGE > 0)
    +		{
    +			// Activation when % is reached.
    +			if (getCurrentHp() < (getMaxHp() * Config.CUSTOM_ACTIVATION_AT_PERCENTAGE / 100))
    +			{
    +				L2Weapon ubberWeapon = getActiveWeaponItem();
    +				
    +				// Verify if equipped weapon is special. If yes, activate stuff.
    +				if (Config.CUSTOM_ITEMS_LIST.contains(ubberWeapon.getItemId()))
    +				{
    +					L2Skill skill, skill2;
    +					
    +					// UE
    +					skill = SkillTable.getInstance().getInfo(111, 2);
    +					skill.getEffects(null, this, false, false, false);
    +					broadcastPacket(new MagicSkillUser(this, this, 111, 2, 0, 0));
    +					
    +					// Dash
    +					skill2 = SkillTable.getInstance().getInfo(4, 2);
    +					skill2.getEffects(null, this, false, false, false);
    +					broadcastPacket(new MagicSkillUser(this, this, 4, 2, 0, 0));
    +				}
    +			}
    +		}
    	}
    
    	public void broadcastSnoop(int type, String name, String _text)

     

    ok this is a small mod with a little help of tryskell cause i really didnt knew how to make it but there some unique codes also them that i coded alone like pvp skill earn, augmented weapons to be trade able

     

  4. Dude, once again, this has nothing to do with the droplist. This could occur in much more cases than the droplist one.

     

    Also the reason MixMaster told you about de-karma is that you answer @ English while you're Greek.

     

    oh yes excuse me :) i am just sharing this account with a friend that we had l2-genesis together ,  i was core dev on the svn etc, it may akken logged on i will ask him on skype

  5. Why would someone buy a pack of L2JFrozen while L2JFrozen is open source, a pack that is 281 revisions behind  the current one, since your pack's is @ 600 and L2JFrozen is already @ 881, couple of useless 2 line addons @ core and some common NPCs, some XML changes and some configs?

     

    who said i didnt sync and added my own codes + fixes :S  just tried it ok i am expecting flames ofc ye because is frozen blablabla so i dont rly care if someone wanna buy it just log on server if not just dont reply :) i will ignore all comments

  6. Even tho you can't understand the Greek language you got the point.

    I'm sure that your answer wasn't about to help the dude but confuse him more in purpose. This is the reason MixMaster told you about a de-karma.

     

    anyway i wont go offtopic but its simple

     

    get boss id

    go on droplist and find it

    and just check if it has duplicate items

     

    example id xxxx, 57 = adena, 10000 (amount), 1000000 chance

    id xxxx, 57 = adena, 10000 (amount), 1000000 chance

    id xxxx, 57 = adena, 10000 (amount), 1000000 chance

    id xxxx, 57 = adena, 10000 (amount), 1000000 chance

    like this that means the boss will drop about 4 times the same item ...

     

    i think he said for greek section dekarma but i try to help :)

    //edit you can always help searching the file with trac.l2jserver.com but it will need some time

  7. There's an HTML class, I don't really remember it's name.

    There the maximum HTML size of a window is defined. As far as I remember, there was said something about client crash if it's > an amount, which is false.

     

    Open up your eclipse, and hit Shift + T, and insert the following in the pup-up you get: "*html". Open up all the classes available and search for the number that defines the maximum size allowed. Otherwise, just search @ the general workspace of eclipse for the phrase "Html was too long", and you'll find the class.

     

    yes but he must know what value must put and also he must <<play>> with fastmap method in order to droplist get updated

  8. Άλλη μια και έφυγες dekarma.

     

    what? i cant understand you language.... anyway i think you said for dekarma but i dont care for the pixel

     

    i just understood the problem that this guy posted, so my friend if html is too long only way to solve it is through sql it may got duplicate items on the droplist so remove them or just modify it from sql

×
×
  • Create New...