SaLeoTragem
-
Posts
286 -
Credits
0 -
Joined
-
Last visited
Never -
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Posts posted by SaLeoTragem
-
-
Thx for info's about Gracia PLUS man ;)
-
Your friend xAddytzu made that?
Yea i am sureCheck on character settings
that's pure leeching
It already exists
xAddytzu GAME THE THEM !
On L2j-C6 Limits are not added !
-
Well my friend this is the wrost thing in L2j-C6!
It doesn't have Atk&Cast speed limit !
So my friend xaddytzu gave the limits !
-----This is my last share-----
Index: /L2jdev/config/l2jmods.properties===================================================================
--- /L2jdev/config/l2jmods.properties (revision 39)
+++ /L2jdev/config/l2jmods.properties (revision 41)
@@ -5,2 +5,8 @@
# PK Announcements:
AnnouncePk = True
+
+# Maximum Attack Speed 0
+MaxAttackSpeed = 1200
+
+# Maximum Casting Speed 0
+MaxCastingSpeed = 1400
Index: /L2jdev/src/main/java/net/sf/l2j/Config.java
===================================================================
--- /L2jdev/src/main/java/net/sf/l2j/Config.java (revision 3)
+++ /L2jdev/src/main/java/net/sf/l2j/Config.java (revision copy)
@@ -954,4 +954,6 @@
public static boolean ENCHANT_BREAK_ARMOR_CRYSTAL;
public static boolean ENCHANT_BREAK_ARMOR_BLESSED;
+ public static int MAX_PATK_SPEED;
+ public static int MAX_MATK_SPEED;
/** ************************************************* **/
@@ -1897,4 +1899,6 @@
ALT_ANNOUNCE_PK = Boolean.parseBoolean(L2JModSettings.getProperty("AnnouncePk", "False"));
+ MAX_PATK_SPEED = Integer.parseInt(L2JModSettings.getProperty("MaxAttackSpeed", "0"));
+ MAX_MATK_SPEED = Integer.parseInt(L2JModSettings.getProperty("MaxCastingSpeed", "0"));
}
@@ -2445,5 +2449,7 @@
else if (pName.equalsIgnoreCase("ChampionRewardItemID")) L2JMOD_CHAMPION_REWARD_ID = Integer.parseInt(pValue);
else if (pName.equalsIgnoreCase("ChampionRewardItemQty")) L2JMOD_CHAMPION_REWARD_QTY = Integer.parseInt(pValue);
-
+ else if (pName.equalsIgnoreCase("MaxAttackSpeed")) MAX_PATK_SPEED = Integer.parseInt(pValue);
+ else if (pName.equalsIgnoreCase("MaxCastingSpeed")) MAX_MATK_SPEED = Integer.parseInt(pValue);
+
// L2JMOD Wedding System
else if (pName.equalsIgnoreCase("AllowWedding")) L2JMOD_ALLOW_WEDDING = Boolean.parseBoolean(pValue);
@@ -2461,5 +2467,5 @@
else if (pName.equalsIgnoreCase("TvTEventRunningTime")) TVT_EVENT_RUNNING_TIME = Integer.parseInt(pValue);
else if (pName.equalsIgnoreCase("TvTEventParticipationNpcId")) TVT_EVENT_PARTICIPATION_NPC_ID = Integer.parseInt(pValue);
-
+
// PvP settings
else if (pName.equalsIgnoreCase("MinKarma")) KARMA_MIN_KARMA = Integer.parseInt(pValue);
Index: /L2jdev/src/main/java/net/sf/l2j/gameserver/model/L2Character.java
===================================================================
--- /L2jdev/src/main/java/net/sf/l2j/gameserver/model/L2Character.java (revision 3)
+++ /L2jdev/src/main/java/net/sf/l2j/gameserver/model/L2Character.java (revision copy)
@@ -6446,5 +6446,29 @@
public final int getMaxCp() { return getStat().getMaxCp(); }
public int getMAtk(L2Character target, L2Skill skill) { return getStat().getMAtk(target, skill); }
- public int getMAtkSpd() { return getStat().getMAtkSpd(); }
+ public final int getMAtkSps(L2Character target, L2Skill skill)
+ {
+ int matk = (int)calcStat(Stats.MAGIC_ATTACK, _template.baseMAtk, target, skill);
+ L2ItemInstance weaponInst = getActiveWeaponInstance();
+ if (weaponInst != null)
+ {
+ if (weaponInst.getChargedSpiritshot() == L2ItemInstance.CHARGED_BLESSED_SPIRITSHOT)
+ matk *= 4;
+ else if (weaponInst.getChargedSpiritshot() == L2ItemInstance.CHARGED_SPIRITSHOT)
+ matk *= 2;
+ }
+ return matk;
+ }
+
+ public int getMAtkSpd()
+ {
+ int _matkspd = getStat().getMAtkSpd();
+ if (Config.MAX_MATK_SPEED > 0)
+ {
+ if (_matkspd > Config.MAX_MATK_SPEED)
+ return Config.MAX_MATK_SPEED;
+ }
+ return _matkspd;
+ }
+
public int getMaxMp() { return getStat().getMaxMp(); }
public int getMaxHp() { return getStat().getMaxHp(); }
@@ -6468,5 +6492,15 @@
public double getPDefGiants(L2Character target) { return getStat().getPDefGiants(target); }
- public int getPAtkSpd() { return getStat().getPAtkSpd(); }
+ public int getPAtkSpd()
+ {
+ int _patkspd = getStat().getPAtkSpd();
+ if (Config.MAX_PATK_SPEED > 0)
+ {
+ if (_patkspd > Config.MAX_PATK_SPEED)
+ return Config.MAX_PATK_SPEED;
+ }
+ return _patkspd;
+ }
+
public double getPAtkUndead(L2Character target) { return getStat().getPAtkUndead(target); }
public double getPDefUndead(L2Character target) { return getStat().getPDefUndead(target); }
-
Exactly. And if you're using a C6 Packet you're just a bit dumb. They are crawling with exploits,missing features,etc. Just get a newer pack which is safer,has more features and way faster ^^
Horus if you don't like c6 it's your PROBLEM!
I try only to make c6 more playable ;)
Thats all :)
ATM c6 SUX ! And its true :P
-
True,sorry my bad. Anyway read the other posts, don't just spam with things you get from the L2jForum and post them here, 1st- you don't know what most of them are for, 2nd- It doesn't make sense. Just use the updated version. This was a nice share though ;)
My friend ;)Get the last C6 Server from l2j and tell me if it has the Blessed&Crystal Rate!
-
Hope you don't take me wrong, but I spent some time reading your diff and honestly, this isn't your work ^^
Anyway gz, its not up to me to judge you.
READ THE POST : Credits : L2jforum :P
-
TYPO: You are in siege, you can't join the fight.
and btw make a check that player is in combat or not... because than u dont need a healer... and make a macro and can raid a raidboss easy
and than add that u have to target yourself, otherway people will heal other players so u will have invul players
Agree with zunix :)
How they can pvp if they restore thei cp,hp non stop :P?
-
Index: java/net/sf/l2j/gameserver/model/L2Character.java
===================================================================
--- java/net/sf/l2j/gameserver/model/L2Character.java (revision 1225)
+++ java/net/sf/l2j/gameserver/model/L2Character.java (working copy)
@@ -51,13 +51,17 @@
import net.sf.l2j.gameserver.model.L2Skill.SkillType;
import net.sf.l2j.gameserver.model.actor.instance.L2ArtefactInstance;
import net.sf.l2j.gameserver.model.actor.instance.L2BoatInstance;
+import net.sf.l2j.gameserver.model.actor.instance.L2ControlTowerInstance;
import net.sf.l2j.gameserver.model.actor.instance.L2DoorInstance;
+import net.sf.l2j.gameserver.model.actor.instance.L2GuardInstance;
import net.sf.l2j.gameserver.model.actor.instance.L2MonsterInstance;
+import net.sf.l2j.gameserver.model.actor.instance.L2SummonInstance;
import net.sf.l2j.gameserver.model.actor.instance.L2NpcInstance;
import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;
import net.sf.l2j.gameserver.model.actor.instance.L2RiftInvaderInstance;
import net.sf.l2j.gameserver.model.actor.instance.L2PetInstance;
import net.sf.l2j.gameserver.model.actor.instance.L2PlayableInstance;
+import net.sf.l2j.gameserver.model.actor.instance.L2SiegeGuardInstance;
import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.SkillDat;
import net.sf.l2j.gameserver.model.actor.knownlist.CharKnownList;
import net.sf.l2j.gameserver.model.actor.knownlist.ObjectKnownList.KnownListAsynchronousUpdateTask;
@@ -251,6 +255,11 @@
_calculators = new Calculator[stats.NUM_STATS];
Formulas.getInstance().addFuncsToNewCharacter(this);
}
+ if (!(this instanceof L2PcInstance) && !(this instanceof L2MonsterInstance) &&
+ !(this instanceof L2GuardInstance) && !(this instanceof L2SiegeGuardInstance) &&
+ !(this instanceof L2ControlTowerInstance) && !(this instanceof L2SummonInstance) &&
+ !(this instanceof L2DoorInstance))
+ setIsInvul(true);
}
protected void initCharStatusUpdateValues()
@@ -4613,7 +4622,7 @@
public boolean isInsidePeaceZone(L2Object attacker, L2Object target)
{
if (target == null) return false;
- if (target instanceof L2MonsterInstance) return false;
+ if (target instanceof L2NpcInstance) return false;
if (attacker instanceof L2MonsterInstance) return false;
if (Config.ALT_GAME_KARMA_PLAYER_CAN_BE_KILLED_IN_PEACEZONE)
{
Credits : L2jForum
-
Index: trunk/L2_GameServer_It/java/config/other.properties
===================================================================
--- trunk/L2_GameServer_It/java/config/other.properties (revision 1061)
+++ trunk/L2_GameServer_It/java/config/other.properties (working copy)
@@ -41,6 +41,8 @@
# % Chance of succeding to enchant an item when it has a chance of breaking
EnchantChanceWeapon = 68
+EnchantChanceBlessed = 75
+EnchantChanceCrystal = 100
EnchantChanceArmor = 52
EnchantChanceJewelry = 54
# Enchant limit [default = 0 (unlimited)]
Index: trunk/L2_GameServer_It/java/net/sf/l2j/Config.java
===================================================================
--- trunk/L2_GameServer_It/java/net/sf/l2j/Config.java (revision 1061)
+++ trunk/L2_GameServer_It/java/net/sf/l2j/Config.java (working copy)
@@ -857,6 +857,8 @@
/** Chance that an item will succesfully be enchanted */
public static int ENCHANT_CHANCE_WEAPON;
+ public static int ENCHANT_CHANCE_BLESSED;
+ public static int ENCHANT_CHANCE_CRYSTAL;
public static int ENCHANT_CHANCE_ARMOR;
public static int ENCHANT_CHANCE_JEWELRY;
/** Maximum level of enchantment */
@@ -1390,6 +1392,8 @@
/* chance to enchant an item over +3 */
ENCHANT_CHANCE_WEAPON = Integer.parseInt(otherSettings.getProperty("EnchantChanceWeapon", "68"));
+ ENCHANT_CHANCE_BLESSED = Integer.parseInt(otherSettings.getProperty("EnchantChanceBlessed", "75"));
+ ENCHANT_CHANCE_CRYSTAL = Integer.parseInt(otherSettings.getProperty("EnchantChanceCrystal", "100"));
ENCHANT_CHANCE_ARMOR = Integer.parseInt(otherSettings.getProperty("EnchantChanceArmor", "52"));
ENCHANT_CHANCE_JEWELRY = Integer.parseInt(otherSettings.getProperty("EnchantChanceJewelry", "54"));
/* limit on enchant */
@@ -2116,6 +2120,8 @@
else if (pName.equalsIgnoreCase("MaximumFreightSlots")) FREIGHT_SLOTS = Integer.parseInt(pValue);
else if (pName.equalsIgnoreCase("EnchantChanceWeapon")) ENCHANT_CHANCE_WEAPON = Integer.parseInt(pValue);
+ else if (pName.equalsIgnoreCase("EnchantChanceBlessed")) ENCHANT_CHANCE_BLESSED = Integer.parseInt(pValue);
+ else if (pName.equalsIgnoreCase("EnchantChanceCrystal")) ENCHANT_CHANCE_CRYSTAL = Integer.parseInt(pValue);
else if (pName.equalsIgnoreCase("EnchantChanceArmor")) ENCHANT_CHANCE_ARMOR = Integer.parseInt(pValue);
else if (pName.equalsIgnoreCase("EnchantChanceJewelry")) ENCHANT_CHANCE_JEWELRY = Integer.parseInt(pValue);
else if (pName.equalsIgnoreCase("EnchantMaxWeapon")) ENCHANT_MAX_WEAPON = Integer.parseInt(pValue);
Index: trunk/L2_GameServer_It/java/net/sf/l2j/gameserver/clientpackets/RequestEnchantItem.java
===================================================================
--- trunk/L2_GameServer_It/java/net/sf/l2j/gameserver/clientpackets/RequestEnchantItem.java (revision 1061)
+++ trunk/L2_GameServer_It/java/net/sf/l2j/gameserver/clientpackets/RequestEnchantItem.java (working copy)
@@ -41,7 +41,13 @@
protected static final Logger _log = Logger.getLogger(Inventory.class.getName());
private static final String _C__58_REQUESTENCHANTITEM = "[C] 58 RequestEnchantItem";
private static final int[] CRYSTAL_SCROLLS = { 731, 732, 949, 950, 953, 954, 957, 958, 961, 962 };
-
+ private static final int[] NORMAL_WEAPON_SCROLLS = { 729, 947, 951, 955, 959 };
+ private static final int[] BLESSED_WEAPON_SCROLLS = { 6569, 6571, 6573, 6575, 6577 };
+ private static final int[] CRYSTAL_WEAPON_SCROLLS = { 731, 949, 953, 957, 961 };
+ private static final int[] NORMAL_ARMOR_SCROLLS = { 730, 948, 952, 956, 960 };
+ private static final int[] BLESSED_ARMOR_SCROLLS = { 6570, 6572, 6574, 6576, 6578 };
+ private static final int[] CRYSTAL_ARMOR_SCROLLS = { 732, 950, 954, 958, 962 };
+
private int _objectId;
protected void readImpl()
@@ -184,21 +189,63 @@
int chance = 0;
int maxEnchantLevel = 0;
- if (item.getItem().getType2() == L2Item.TYPE2_WEAPON)
- {
- chance = Config.ENCHANT_CHANCE_WEAPON;
- maxEnchantLevel = Config.ENCHANT_MAX_WEAPON;
- }
- else if (item.getItem().getType2() == L2Item.TYPE2_SHIELD_ARMOR)
- {
- chance = Config.ENCHANT_CHANCE_ARMOR;
- maxEnchantLevel = Config.ENCHANT_MAX_ARMOR;
- }
- else if (item.getItem().getType2() == L2Item.TYPE2_ACCESSORY)
- {
- chance = Config.ENCHANT_CHANCE_JEWELRY;
- maxEnchantLevel = Config.ENCHANT_MAX_JEWELRY;
- }
+ if (item.getItem().getType2() == L2Item.TYPE2_WEAPON)
+ for (int normalweaponscroll : NORMAL_WEAPON_SCROLLS)
+ if (scroll.getItemId() == normalweaponscroll)
+ {
+ chance = Config.ENCHANT_CHANCE_WEAPON;
+ maxEnchantLevel = Config.ENCHANT_MAX_WEAPON;
+ }
+ for (int blessedweaponscroll : BLESSED_WEAPON_SCROLLS)
+ if (scroll.getItemId() == blessedweaponscroll)
+ {
+ chance = Config.ENCHANT_CHANCE_BLESSED;
+ maxEnchantLevel = Config.ENCHANT_MAX_WEAPON;
+ }
+ for (int crystalweaponscroll : CRYSTAL_WEAPON_SCROLLS)
+ if (scroll.getItemId() == crystalweaponscroll)
+ {
+ chance = Config.ENCHANT_CHANCE_CRYSTAL;
+ maxEnchantLevel = Config.ENCHANT_MAX_WEAPON;
+ }
+ else if (item.getItem().getType2() == L2Item.TYPE2_SHIELD_ARMOR)
+ for (int normalarmorscroll : NORMAL_ARMOR_SCROLLS)
+ if (scroll.getItemId() == normalarmorscroll)
+ {
+ chance = Config.ENCHANT_CHANCE_ARMOR;
+ maxEnchantLevel = Config.ENCHANT_MAX_ARMOR;
+ }
+ for (int blessedarmorscroll : BLESSED_ARMOR_SCROLLS)
+ if (scroll.getItemId() == blessedarmorscroll)
+ {
+ chance = Config.ENCHANT_CHANCE_BLESSED;
+ maxEnchantLevel = Config.ENCHANT_MAX_ARMOR;
+ }
+ for (int crystalarmorscroll : CRYSTAL_ARMOR_SCROLLS)
+ if (scroll.getItemId() == crystalarmorscroll)
+ {
+ chance = Config.ENCHANT_CHANCE_CRYSTAL;
+ maxEnchantLevel = Config.ENCHANT_MAX_ARMOR;
+ }
+ else if (item.getItem().getType2() == L2Item.TYPE2_ACCESSORY)
+ for (int normaljewelscroll : NORMAL_ARMOR_SCROLLS)
+ if (scroll.getItemId() == normaljewelscroll)
+ {
+ chance = Config.ENCHANT_CHANCE_JEWELRY;
+ maxEnchantLevel = Config.ENCHANT_MAX_JEWELRY;
+ }
+ for (int blessedjewelscroll : BLESSED_ARMOR_SCROLLS)
+ if (scroll.getItemId() == blessedjewelscroll)
+ {
+ chance = Config.ENCHANT_CHANCE_BLESSED;
+ maxEnchantLevel = Config.ENCHANT_MAX_JEWELRY;
+ }
+ for (int crystaljewelscroll : CRYSTAL_ARMOR_SCROLLS)
+ if (scroll.getItemId() == crystaljewelscroll)
+ {
+ chance = Config.ENCHANT_CHANCE_CRYSTAL;
+ maxEnchantLevel = Config.ENCHANT_MAX_JEWELRY;
+ }
if (item.getEnchantLevel() < Config.ENCHANT_SAFE_MAX
|| (item.getItem().getBodyPart() == L2Item.SLOT_FULL_ARMOR
Credits L2jForum
-
Index: java/net/sf/l2j/gameserver/model/L2Character.java
===================================================================
--- java/net/sf/l2j/gameserver/model/L2Character.java (revision 2640)
+++ java/net/sf/l2j/gameserver/model/L2Character.java (working copy)
@@ -5044,7 +5044,7 @@
if (reflectPercent > 0)
{
reflectedDamage = (int)(reflectPercent / 100. * damage);
- damage -= reflectedDamage;
+ //damage -= reflectedDamage;
if(reflectedDamage > target.getMaxHp()) // to prevent extreme damage when hitting a low lvl char...
reflectedDamage = target.getMaxHp();
Credits : L2jForum
-
search for this code in Olympiad.java:
protected boolean makeCompetitionStart(){
if (_playerOne == null || _playerTwo == null)
{
_aborted = true;
return false;
}
_sm = new SystemMessage(SystemMessageId.STARTS_THE_GAME);
try {
for (L2PcInstance player : _players)
{
player.setIsOlympiadStart(true);
player.sendPacket(_sm);
}
} catch (Exception e) {
_aborted = true;
return false;
}
return true;
}
Add these lines:
player.setCurrentCp(player.getMaxCp());player.setCurrentHp(player.getMaxHp());
player.setCurrentMp(player.getMaxMp());
So it looks like this:
protected boolean makeCompetitionStart(){
if (_playerOne == null || _playerTwo == null)
{
_aborted = true;
return false;
}
_sm = new SystemMessage(SystemMessageId.STARTS_THE_GAME);
try {
for (L2PcInstance player : _players)
{
player.setCurrentCp(player.getMaxCp());
player.setCurrentHp(player.getMaxHp());
player.setCurrentMp(player.getMaxMp());
player.setIsOlympiadStart(true);
player.sendPacket(_sm);
}
} catch (Exception e) {
_aborted = true;
return false;
}
return true;
}
It will heal the olympiad participants just before the match starts.
Credits : L2jForum
-
Index: java/com/l2jarchid/gameserver/model/actor/instance/L2PcInstance.java
===================================================================
--- java/com/l2jarchid/gameserver/model/actor/instance/L2PcInstance.java (revision 254)
+++ java/com/l2jarchid/gameserver/model/actor/instance/L2PcInstance.java (revision 254)
@@ -672,6 +672,7 @@
private int _expertiseIndex; // index in EXPERTISE_LEVELS
private int _expertisePenalty = 0;
-
- private L2ItemInstance _activeEnchantItem = null;
+
+ private boolean _isEnchanting = false;
+ private L2ItemInstance _activeEnchantItem = null;
protected boolean _inventoryDisable = false;
@@ -2070,4 +2071,7 @@
public void setActiveEnchantItem(L2ItemInstance scroll)
{
+ // If we dont have a Enchant Item, we are not enchanting.
+ if (scroll == null)
+ setIsEnchanting(false);
_activeEnchantItem = scroll;
}
@@ -2077,4 +2081,15 @@
return _activeEnchantItem;
}
+
+ public void setIsEnchanting(boolean val)
+ {
+ _isEnchanting = val;
+ }
+
+ public boolean isEnchanting()
+ {
+ return _isEnchanting;
+ }
+
/**
Credits : L2jArchid Team
-
Thx stefo ;D !
Keep sharing dude !
-
Haha man :P
Awesome share ;D
So nice wings :P
-
Nice guide man !
Thx :P
-
Thx for links man :) !
rapidshare is the best site to download :P
-
Line][Age DeathWhisper Ofc this is the best !
The moderators solved all bugs ;)
Best sv that i ever seen !
-
Gladiator ofc man ;) !
-
WTF ?!
L2SKORPION?
U STEALED OUR SITE ?!
FIRST SERER was www.l2skorpion.com !
Now MIDNHUNTERS GAVE ME THE WEB !
MINDHUNTERS USED THE WEB FOR l2zone.eu too!
FUCKING NOB!
You have 24h to remove the website ! or ure server will be down for much time !
-
IDontCare :P
-
Aura flash !
-
Nice duals man
Keep sharing!
-
Awesome man !
GG AND KEEP SHARING !
-
ThX cRitical Again :P
Another good share ;)
Keep up sharing!
[Share]Atk&Cast speed limit !
in Server Shares & Files [L2J]
Posted
Well I added it in L2jDev and u say here that it doesn't work ?!