Spidey*
Members-
Posts
1,468 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by Spidey*
-
Hello again, This is my second share for today... ______________________________________________________________________ This is a custom enchant system for Interlude Client something like this: http://www.maxcheaters.com/forum/index.php?topic=81822.0 ______________________________________________________________________ With this enchant system you can choose the rate % for every enchant level (I added 35 enchant levels because i was bored to add more) For Example: BlessedEnchantChance20 = 85 ---> 85% Success # Enchant Rate % at Enchant Level 20 to 21 BlessedEnchantChance21 = 80 ---> 80% Success # Enchant Rate % at Enchant Level 21 to 22 BlessedEnchantChance22 = 70 --->70% Success # Enchant Rate % at Enchant Level 22 to 23 BlessedEnchantChance23 = 0 ---> 100% Fail _______________________________________________________________________ Here is the code: http://pastebin.com/Fvxesy6q Enjoy! Credits: Spidey* Tested + Working 100% _______________________________________________________________________ I added this code because Nik's v1.3 for Interlude doesnt work and it's different
-
[Guide]Πώς να περάσετε σε ucoz δικό σας template
Spidey* replied to Loukas's topic in Guides & Tutorials
to ftp p exei h ucoz einai vlakia... einai san na xrisimopieis to file manager -
[Share] Crystal/Blessed Scrolls Max Enchant
Spidey* replied to Spidey*'s topic in Server Shares & Files [L2J]
[GR] Kalitera vaze tags... giati tha s kanoun paratirisi btw ty! -
Hello Mxc, Here is a share that already shared in the past by Realtek but never worked With this Modification you can select different Maximum Enchant at Normal Scrolls, at Blessed Scrolls and at Crystal Scrolls How it work? -You select if you want to enable the system or not -You choose the maximum enchant for Normal Scrolls -You choose the maximum enchant for Blessed Scrolls -You choose the maximum enchant for Crystal Scrolls Here is the Code: Index: java/net/sf/l2j/Config.java =================================================================== --- java/net/sf/l2j/Config.java (revision 159) +++ java/net/sf/l2j/Config.java (working copy) @@ -319,7 +319,15 @@ public static String GM_ADMIN_MENU_STYLE; public static boolean JAIL_IS_PVP; public static boolean JAIL_DISABLE_CHAT; public static boolean JAIL_SET_PARA; + public static int ENCHANT_MAX_WEAPON_CRYSTAL; + public static int ENCHANT_MAX_ARMOR_CRYSTAL; + public static int ENCHANT_MAX_JEWERLY_CRYSTAL; + public static int ENCHANT_MAX_WEAPON_BLESSED; + public static int ENCHANT_MAX_ARMOR_BLESSED; + public static int ENCHANT_MAX_JEWERLY_BLESSED; + public static boolean ENCHANT_SCROLL_CRYSTAL_SYSTEM; + public static boolean ENCHANT_SCROLL_BLESSED_SYSTEM; public static boolean DISALLOW_POTION_PVP; @@ -1606,6 +1614,14 @@ JAIL_IS_PVP = Boolean.valueOf(Other.getProperty("JailIsPvp", "True")); JAIL_DISABLE_CHAT = Boolean.valueOf(Other.getProperty("JailDisableChat", "True")); JAIL_SET_PARA = Boolean.valueOf(Other.getProperty("JailParaPlayer", "False")); + ENCHANT_MAX_JEWERLY_CRYSTAL = Integer.parseInt(Other.getProperty("EnchantMaxJewelryCrystal", "100")); + ENCHANT_MAX_ARMOR_CRYSTAL = Integer.parseInt(Other.getProperty("EnchantMaxArmorCrystal", "100")); + ENCHANT_MAX_WEAPON_CRYSTAL = Integer.parseInt(Other.getProperty("EnchantMaxWeaponCrystal", "100")); + ENCHANT_MAX_JEWERLY_BLESSED = Integer.parseInt(Other.getProperty("EnchantMaxJewelryBlessed", "100")); + ENCHANT_MAX_ARMOR_BLESSED = Integer.parseInt(Other.getProperty("EnchantMaxArmorBlessed", "100")); + ENCHANT_MAX_WEAPON_BLESSED = Integer.parseInt(Other.getProperty("EnchantMaxWeaponBlessed", "100")); + ENCHANT_SCROLL_CRYSTAL_SYSTEM = Boolean.parseBoolean(Other.getProperty("EnchantCrystalCustom", "False")); + ENCHANT_SCROLL_BLESSED_SYSTEM = Boolean.parseBoolean(Other.getProperty("EnchantBlessedCustom", "False")); DEATH_PENALTY_CHANCE = Integer.parseInt(Other.getProperty("DeathPenaltyChance", "20")); } catch (Exception e) @@ -2665,6 +2681,12 @@ else if (pName.equalsIgnoreCase("EnchantMaxWeapon")) ENCHANT_MAX_WEAPON = Integer.parseInt(pValue); else if (pName.equalsIgnoreCase("EnchantMaxArmor")) ENCHANT_MAX_ARMOR = Integer.parseInt(pValue); else if (pName.equalsIgnoreCase("EnchantMaxJewelry")) ENCHANT_MAX_JEWELRY = Integer.parseInt(pValue); + else if (pName.equalsIgnoreCase("EnchantMaxJewelryCrystal")) ENCHANT_MAX_JEWERLY_CRYSTAL = Integer.parseInt(pValue); + else if (pName.equalsIgnoreCase("EnchantMaxArmorCrystal")) ENCHANT_MAX_ARMOR_CRYSTAL = Integer.parseInt(pValue); + else if (pName.equalsIgnoreCase("EnchantMaxWeaponCrystal")) ENCHANT_MAX_WEAPON_CRYSTAL = Integer.parseInt(pValue); + else if (pName.equalsIgnoreCase("EnchantMaxJewelryBlessed")) ENCHANT_MAX_JEWERLY_BLESSED = Integer.parseInt(pValue); + else if (pName.equalsIgnoreCase("EnchantMaxArmorBlessed")) ENCHANT_MAX_ARMOR_BLESSED = Integer.parseInt(pValue); + else if (pName.equalsIgnoreCase("EnchantMaxWeaponBlessed")) ENCHANT_MAX_WEAPON_BLESSED = Integer.parseInt(pValue); else if (pName.equalsIgnoreCase("EnchantSafeMax")) ENCHANT_SAFE_MAX = Integer.parseInt(pValue); else if (pName.equalsIgnoreCase("EnchantSafeMaxFull")) ENCHANT_SAFE_MAX_FULL = Integer.parseInt(pValue); else if (pName.equalsIgnoreCase("HpRegenMultiplier")) HP_REGEN_MULTIPLIER = Double.parseDouble(pValue); Index: Settings/General/Other.properties =================================================================== --- Settings/General/Other.properties (revision 167) +++ Settings/General/Other.properties (working copy) @@ -102,6 +102,32 @@ EnchantMaxArmor = 25 EnchantMaxJewelry = 25 +# ====================== # +# Crystal Scroll System # +# ====================== # +# Enable Crystal Scroll System? +# Default: False +# Credits: Spidey* +EnchantCrystalCustom = False + +# Enchant limit [Crystal Scrolls] +EnchantMaxWeaponCrystal = 50 +EnchantMaxArmorCrystal = 50 +EnchantMaxJewelryCrystal = 50 + +# ====================== # +# Blessed Scroll System # +# ====================== # +# Enable Blessed Scroll System? +# Default: False +# Credits: Spidey* +EnchantBlessedCustom = False + +# Enchant limit [blessed Scrolls] +EnchantMaxWeaponBlessed = 50 +EnchantMaxArmorBlessed = 50 +EnchantMaxJewelryBlessed = 50 + # If EnchantSafeMax is set to for ex '8' the item will be safly enchanted to '8' # regardless of enchant chance(default = 3 for EnchantSafeMax and default = 4 for EnchantSafeMaxFull) # EnchantSafeMaxFull is for full body armor (upper and lower) Index: java/net/sf/l2j/gameserver/network/clientpackets/RequestEnchantItem.java =================================================================== --- java/net/sf/l2j/gameserver/network/clientpackets/RequestEnchantItem.java (revision 331) +++ java/net/sf/l2j/gameserver/network/clientpackets/RequestEnchantItem.java (working copy) @@ -212,6 +212,7 @@ break; } } + maxEnchantLevel = Config.ENCHANT_MAX_WEAPON_CRYSTAL; for (int scrollId : CRYSTAL_SCROLLS) { if (scroll.getItemId() == scrollId) @@ -221,6 +222,7 @@ break; } } + maxEnchantLevel = Config.ENCHANT_MAX_WEAPON_BLESSED; for (int scrollId : BLESSED_SCROLLS) { if (scroll.getItemId() == scrollId) @@ -241,6 +243,7 @@ break; } } + maxEnchantLevel = Config.ENCHANT_MAX_ARMOR_CRYSTAL; for (int scrollId : CRYSTAL_SCROLLS) { if (scroll.getItemId() == scrollId) @@ -249,6 +252,7 @@ break; } } + maxEnchantLevel = Config.ENCHANT_MAX_ARMOR_BLESSED; for (int scrollId : BLESSED_SCROLLS) { if (scroll.getItemId() == scrollId) @@ -269,6 +273,7 @@ break; } } + maxEnchantLevel = Config.ENCHANT_MAX_JEWERLY_CRYSTAL; for (int scrollId : CRYSTAL_SCROLLS) { if (scroll.getItemId() == scrollId) @@ -277,6 +282,7 @@ break; } } + maxEnchantLevel = Config.ENCHANT_MAX_JEWERLY_BLESSED; for (int scrollId : BLESSED_SCROLLS) { if (scroll.getItemId() == scrollId) @@ -290,24 +296,135 @@ if (item.getEnchantLevel() < Config.ENCHANT_SAFE_MAX || (item.getItem().getBodyPart() == L2Item.SLOT_FULL_ARMOR && item.getEnchantLevel() < Config.ENCHANT_SAFE_MAX_FULL)) chance = 100; + // Weapon if (item.getItem().getType2() == L2Item.TYPE2_WEAPON && item.getEnchantLevel() >= Config.ENCHANT_MAX_WEAPON) + for (int scrollId : ENCHANT_SCROLLS) + { + if (scroll.getItemId() == scrollId) + { + activeChar.sendMessage("You have been reached the maximum enchant. You cannot enchant more !"); + return; + } + } + if (Config.ENCHANT_SCROLL_CRYSTAL_SYSTEM) { - activeChar.sendMessage("You have been reached the maximum enchant. You cannot enchant more !"); - return; + if (item.getItem().getType2() == L2Item.TYPE2_WEAPON && item.getEnchantLevel() >= Config.ENCHANT_MAX_WEAPON_CRYSTAL) + for (int scrollId : CRYSTAL_SCROLLS) + { + if (scroll.getItemId() == scrollId) + { + activeChar.sendMessage("You have been reached the maximum enchant. You cannot enchant more !"); + return; + } + } } - + if (Config.ENCHANT_SCROLL_BLESSED_SYSTEM) + { + if (item.getItem().getType2() == L2Item.TYPE2_WEAPON && item.getEnchantLevel() >= Config.ENCHANT_MAX_WEAPON_BLESSED) + for (int scrollId : BLESSED_SCROLLS) + { + if (scroll.getItemId() == scrollId) + { + activeChar.sendMessage("You have been reached the maximum enchant. You cannot enchant more !"); + return; + } + } + } + // Armor if (item.getItem().getType2() == L2Item.TYPE2_SHIELD_ARMOR && item.getEnchantLevel() >= Config.ENCHANT_MAX_ARMOR) + for (int scrollId : ENCHANT_SCROLLS) + { + if (scroll.getItemId() == scrollId) + { + activeChar.sendMessage("You have been reached the maximum enchant. You cannot enchant more !"); + return; + } + } + if (Config.ENCHANT_SCROLL_CRYSTAL_SYSTEM) { - activeChar.sendMessage("You have been reached the maximum enchant. You cannot enchant more !"); - return; + if (item.getItem().getType2() == L2Item.TYPE2_SHIELD_ARMOR && item.getEnchantLevel() >= Config.ENCHANT_MAX_ARMOR_CRYSTAL) + for (int scrollId : CRYSTAL_SCROLLS) + { + if (scroll.getItemId() == scrollId) + { + activeChar.sendMessage("You have been reached the maximum enchant. You cannot enchant more !"); + return; + } + } } - + if (Config.ENCHANT_SCROLL_BLESSED_SYSTEM) + { + if (item.getItem().getType2() == L2Item.TYPE2_SHIELD_ARMOR && item.getEnchantLevel() >= Config.ENCHANT_MAX_ARMOR_BLESSED) + for (int scrollId : BLESSED_SCROLLS) + { + if (scroll.getItemId() == scrollId) + { + activeChar.sendMessage("You have been reached the maximum enchant. You cannot enchant more !"); + return; + } + } + } + // Jewerly if (item.getItem().getType2() == L2Item.TYPE2_ACCESSORY && item.getEnchantLevel() >= Config.ENCHANT_MAX_JEWELRY) + for (int scrollId : ENCHANT_SCROLLS) + { + if (scroll.getItemId() == scrollId) + { + activeChar.sendMessage("You have been reached the maximum enchant. You cannot enchant more !"); + return; + } + } + if (Config.ENCHANT_SCROLL_CRYSTAL_SYSTEM) { - activeChar.sendMessage("You have been reached the maximum enchant. You cannot enchant more !"); - return; + if (item.getItem().getType2() == L2Item.TYPE2_ACCESSORY && item.getEnchantLevel() >= Config.ENCHANT_MAX_JEWERLY_CRYSTAL) + for (int scrollId : CRYSTAL_SCROLLS) + { + if (scroll.getItemId() == scrollId) + { + activeChar.sendMessage("You have been reached the maximum enchant. You cannot enchant more !"); + return; + } + } } + if (Config.ENCHANT_SCROLL_BLESSED_SYSTEM) + { + if (item.getItem().getType2() == L2Item.TYPE2_ACCESSORY && item.getEnchantLevel() >= Config.ENCHANT_MAX_JEWERLY_BLESSED) + for (int scrollId : BLESSED_SCROLLS) + { + if (scroll.getItemId() == scrollId) + { + activeChar.sendMessage("You have been reached the maximum enchant. You cannot enchant more !"); + return; + } + } + } + else if ((!Config.ENCHANT_SCROLL_BLESSED_SYSTEM) && (!Config.ENCHANT_SCROLL_CRYSTAL_SYSTEM)) + { + if (item.getItem().getType2() == L2Item.TYPE2_WEAPON && item.getEnchantLevel() >= Config.ENCHANT_MAX_WEAPON) + { + activeChar.sendMessage("You have been reached the maximum enchant. You cannot enchant more !"); + return; + } + } + else if ((!Config.ENCHANT_SCROLL_BLESSED_SYSTEM) && (!Config.ENCHANT_SCROLL_CRYSTAL_SYSTEM)) + { + if (item.getItem().getType2() == L2Item.TYPE2_SHIELD_ARMOR && item.getEnchantLevel() >= Config.ENCHANT_MAX_ARMOR) + { + activeChar.sendMessage("You have been reached the maximum enchant. You cannot enchant more !"); + return; + } + } + + else if ((!Config.ENCHANT_SCROLL_BLESSED_SYSTEM) && (!Config.ENCHANT_SCROLL_CRYSTAL_SYSTEM)) + { + if (item.getItem().getType2() == L2Item.TYPE2_ACCESSORY && item.getEnchantLevel() >= Config.ENCHANT_MAX_JEWELRY) + { + activeChar.sendMessage("You have been reached the maximum enchant. You cannot enchant more !"); + return; + } + } + if (Rnd.get(100) < chance) { synchronized(item) _____________________________________________________________________ Tested and Working 100% Credits: Spidey* Edit: RequestEnchantItem.Java Patch Problem Fixed
-
[Request]Java Code
Spidey* replied to vaggos909090's question in Request Server Development Help [Greek]
an einai type "Arena" dn tha metrane ta PvP -
DESTROYER ... IN MY opinion
-
nc share... thank you
-
pff what you can create at a file 24x12 DOWNLOAD from Hopzone
-
it's not worth... Its much expensive
-
[HELP] Online Playes On WebSite (php)
Spidey* replied to caramel's question in Request Server Development Help [Greek]
http://www.maxcheaters.com/forum/index.php?topic=45586.0 -
[HELP] Online Playes On WebSite (php)
Spidey* replied to caramel's question in Request Server Development Help [Greek]
dn exw ayth th stigmi script.. vres kapou -
Pios mporei na mpei me team viewer gia ton srv?
Spidey* replied to sotos1252's question in Request Server Development Help [Greek]
OMG ... Lol'd hahahhhahhah Kalitera lock :/ -
[HELP] Online Playes On WebSite (php)
Spidey* replied to caramel's question in Request Server Development Help [Greek]
oti voithia thes s apantaw edw... an kai sto site p exeis dn ginete na to kaneis an dn kaneis ta arxeia Php l2special.webuda.com ta exeis ola .htm kai apetei .php arxeia gia na litourgisei to script allios me <iframe> alla einai vlkia -
[HELP] Online Playes On WebSite (php)
Spidey* replied to caramel's question in Request Server Development Help [Greek]
Prp na vreis scriptaki me Online Players, na anixeis to port 3306 tis DB + Enable to remote access -
Pios mporei na mpei me team viewer gia ton srv?
Spidey* replied to sotos1252's question in Request Server Development Help [Greek]
Diavasa 3 selides kai ayto p m ekane entiposi einai oti aytos dn exei diavasei oute ta forum Rules, oute tpt.. se 3 selides exei kanei 2-3 fores Double Post kai mia fora 4 post mazi... proti fora to vlepw ayto edw kai 1 xrono!!! -
Wraio.. M'aresei, Me liges allages tha litourgei se Interlude
-
Na sas rotisos kati?
Spidey* replied to Mits0sFtw7's question in Request Server Development Help [Greek]
omfg what a fail? Aplo: http://www.maxcheaters.com/forum/index.php?topic=84234.0 -> Odhgos gia Compile L2J-Projects http://www.maxcheaters.com/forum/index.php?topic=106271.0 -
Nice script thank you ... i wil download it
-
the custom teleport sucks... b/c you cannot go whatever you want, you are in one place like a prison... dwarfs are lovely!
-
Geia se olous... Thelw na alla3w kati alla dn 3erw pws, lipon, sta siege oi clans p dn einai registered dn mporoun na varesoun tis portes egw thelw na to alla3w kai na mporoun to project p xrisimopiw prp na eixe prosthesei ayto to modification http://www.maxcheaters.com/forum/index.php?topic=142060.0 Egw to evgala apo to L2DoorInstance alla to mono p katafera einai na mporoun oi alloi na tis pianoun target, xwris na mporoun na tis varesoun... Kamia idea? Eyxaristw..
-
yy sorry for my previous post, i found some info and i add all privs, now all castles working fine, and i was wondering why didnt work right... (When i had the site on a DiskW worked without attribute 777)
-
Thanks but what you mean with this: You need to put attribute 777 to helios.js.
-
This Is IA's Style Dorf Mod? Nice.... I will join for fun!!!
-
[Share] Weapon, Armor, Misc και αλλά Shops!
Spidey* replied to Belzebul's topic in Server Development Discussion [Greek]
Update to Link ... einai dead:S Eida tis photo kai to thelw :D
