Jump to content

[share]Bless+Crystal Chance [Interlude]


Recommended Posts

Ayto to  Share to kanw giati blepw kapoies fores  san kai ayto edw to post  giati i perisoterh den  kanoun seacrh

 

Index: trunk/gameserver/java/config/players.properties
===================================================================
--- a/trunk/gameserver/java/config/players.properties
+++ b/trunk/gameserver/java/config/players.properties
@@ -137,2 +137,9 @@
MaxbuffAmount = 24
StoreSkillCooltime = True
+
+EnchantChanceWeaponCrystal = 100  
+EnchantChanceArmorCrystal = 100  
+EnchantChanceJewelryCrystal = 100           
+EnchantChanceWeaponBlessed = 85  
+EnchantChanceArmorBlessed = 85  
+EnchantChanceJewelryBlessed = 85 
Index: trunk/gameserver/java/net/sf/l2j/Config.java
===================================================================
--- a/trunk/gameserver/java/net/sf/l2j/Config.java
+++ b/trunk/gameserver/java/net/sf/l2j/Config.java
@@ -195,4 +195,12 @@
     public static boolean WEDDING_FORMALWEAR;
     public static int WEDDING_DIVORCE_COSTS;
+
+    /** Chance blessed-crystal enchants */ 
+   public static int ENCHANT_CHANCE_WEAPON_CRYSTAL;  
+   public static int ENCHANT_CHANCE_ARMOR_CRYSTAL;  
+   public static int ENCHANT_CHANCE_JEWELRY_CRYSTAL;  
+        public static int ENCHANT_CHANCE_WEAPON_BLESSED;  
+        public static int ENCHANT_CHANCE_ARMOR_BLESSED;  
+   public static int ENCHANT_CHANCE_JEWELRY_BLESSED;  
     
     /** Lottery */
@@ -925,4 +933,7 @@
                 WEDDING_DIVORCE_COSTS           = Integer.parseInt(eventsSettings.getProperty("WeddingDivorceCosts", "20"));               
                 
+                
+                /* if different from 100 (ie 100%) heal rate is modified acordingly */            
+                
                 ALT_LOTTERY_PRIZE                = Integer.parseInt(eventsSettings.getProperty("AltLotteryPrize","50000"));
                 ALT_LOTTERY_TICKET_PRICE         = Integer.parseInt(eventsSettings.getProperty("AltLotteryTicketPrice","2000"));
@@ -1073,4 +1084,11 @@
                 ENCHANT_SAFE_MAX_FULL   = Integer.parseInt(playersSettings.getProperty("EnchantSafeMaxFull", "4"));

+                ENCHANT_CHANCE_WEAPON_CRYSTAL = Integer.parseInt(playersSettings.getProperty("EnchantChanceWeaponCrystal", "100"));   
+                ENCHANT_CHANCE_ARMOR_CRYSTAL = Integer.parseInt(playersSettings.getProperty("EnchantChanceArmorCrystal", "100"));   
+                ENCHANT_CHANCE_JEWELRY_CRYSTAL = Integer.parseInt(playersSettings.getProperty("EnchantChanceJewelryCrystal", "100"));   
+                ENCHANT_CHANCE_WEAPON_BLESSED = Integer.parseInt(playersSettings.getProperty("EnchantChanceWeaponBlessed", "85"));   
+                ENCHANT_CHANCE_ARMOR_BLESSED = Integer.parseInt(playersSettings.getProperty("EnchantChanceArmorBlessed", "85"));   
+                ENCHANT_CHANCE_JEWELRY_BLESSED = Integer.parseInt(playersSettings.getProperty("EnchantChanceJewelryBlessed", "85"));                
+                
                 KARMA_PLAYER_CAN_BE_KILLED_IN_PZ= Boolean.valueOf(playersSettings.getProperty("KarmaPlayerCanBeKilledInPeaceZone", "False"));
                 KARMA_PLAYER_CAN_SHOP           = Boolean.valueOf(playersSettings.getProperty("KarmaPlayerCanShop", "True"));

Index: trunk/gameserver/java/net/sf/l2j/gameserver/network/clientpackets/RequestEnchantItem.java
===================================================================
--- a/trunk/gameserver/java/net/sf/l2j/gameserver/network/clientpackets/RequestEnchantItem.java
+++ b/trunk/gameserver/java/net/sf/l2j/gameserver/network/clientpackets/RequestEnchantItem.java
@@ -40,6 +40,8 @@
{
     protected static final Logger _log = Logger.getLogger(Inventory.class.getName());
+    private static final int[] ENCHANT_SCROLLS = { 729, 730, 947, 948, 951, 952, 955, 956, 959, 960 }; 
     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[] BLESSED_SCROLLS = { 6569, 6570, 6571, 6572, 6573, 6574, 6575, 6576, 6577, 6578 }; 
     
     private int _objectId;
@@ -56,4 +58,11 @@
         L2PcInstance activeChar = getClient().getActiveChar();
         if (activeChar == null || _objectId == 0) return;
+        
+        if (activeChar.isProcessingTransaction())  
+         {  
+        activeChar.sendPacket(new SystemMessage(SystemMessageId.INAPPROPRIATE_ENCHANT_CONDITION));  
+         activeChar.setActiveEnchantItem(null);  
+        return;  
+          }  
         
         if (activeChar.isProcessingTransaction()) 
@@ -195,25 +204,93 @@
             return;
         }
-
-        SystemMessage sm;
-
-        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;
-        }
+ 
+                                                        // SystemMessage(SystemMessageId.ENCHANT_SCROLL_CANCELLED);  
+                                                        // activeChar.sendPacket(sm);  
+                                                        SystemMessage sm;  
+                                                        int chance = 0;  
+                                                int maxEnchantLevel = 0;  
+                                                if (item.getItem().getType2() == L2Item.TYPE2_WEAPON)  
+                                                        {  
+                                                                maxEnchantLevel = Config.ENCHANT_MAX_WEAPON;  
+                                                        for (int scrollId : ENCHANT_SCROLLS)  
+                                                                {  
+                                                                        if (scroll.getItemId() == scrollId)  
+                                                             {  
+                                                                        chance = Config.ENCHANT_CHANCE_WEAPON;  
+                                                                        break;  
+                                                                }  
+                                                                }  
+                                                                for (int scrollId : CRYSTAL_SCROLLS)  
+                                                        {  
+                                                                        if (scroll.getItemId() == scrollId)  
+                                                                        {  
+                                                                                chance = Config.ENCHANT_CHANCE_WEAPON_CRYSTAL;  
+                                                                        ;  
+                                                                                break;  
+                                                                }  
+                                                        }  
+                                                                for (int scrollId : BLESSED_SCROLLS)  
+                                                                {  
+                                                                        if (scroll.getItemId() == scrollId)  
+                                                                        {  
+                                                                                        chance = Config.ENCHANT_CHANCE_WEAPON_BLESSED;  
+                                                                   break;  
+                                                                        }  
+                                                                }  
+                                                } else if (item.getItem().getType2() == L2Item.TYPE2_SHIELD_ARMOR)  
+                                                        {  
+                                                     maxEnchantLevel = Config.ENCHANT_MAX_ARMOR;  
+                                                        for (int scrollId : ENCHANT_SCROLLS)  
+                                                                {  
+                                                                if (scroll.getItemId() == scrollId)  
+                                                               {  
+                                                                                chance = Config.ENCHANT_CHANCE_ARMOR;  
+                                                                                break;  
+                                                                        }  
+                                                                }  
+                                                                for (int scrollId : CRYSTAL_SCROLLS)  
+                                                                {  
+                                                                        if (scroll.getItemId() == scrollId)  
+                                                                {  
+                                                                                chance = Config.ENCHANT_CHANCE_ARMOR_CRYSTAL;  
+                                                                                break;  
+                                                                        }  
+                                                        }  
+                                                        for (int scrollId : BLESSED_SCROLLS)  
+                                                                {  
+                                                                        if (scroll.getItemId() == scrollId)  
+                                                                        {  
+                                                                        chance = Config.ENCHANT_CHANCE_ARMOR_BLESSED;  
+                                                                                break;  
+                                                                }  
+                                                        }  
+                                                        } else if (item.getItem().getType2() == L2Item.TYPE2_ACCESSORY)  
+                                                        {  
+                                                                maxEnchantLevel = Config.ENCHANT_MAX_JEWELRY;  
+                                                        for (int scrollId : ENCHANT_SCROLLS)  
+                                                                {  
+                                                        if (scroll.getItemId() == scrollId)  
+                                                                {  
+                                                                                chance = Config.ENCHANT_CHANCE_JEWELRY;  
+                                                                                break;  
+                                                                        }  
+                                                                }  
+                                                        for (int scrollId : CRYSTAL_SCROLLS)  
+                                                        {  
+                                                                if (scroll.getItemId() == scrollId)  
+                                                                        {  
+                                                                        chance = Config.ENCHANT_CHANCE_JEWELRY_CRYSTAL;  
+                                                               break;  
+                                                                }  
+                                                                }  
+                                                        for (int scrollId : BLESSED_SCROLLS)  
+                                                        {  
+                                                                if (scroll.getItemId() == scrollId)  
+                                                                {  
+                                                                     chance = Config.ENCHANT_CHANCE_JEWELRY_BLESSED;  
+                                                                     break;  
+                                                                }  
+                                                        }  
+                                                        } 

         if (item.getEnchantLevel() < Config.ENCHANT_SAFE_MAX

Link to comment
Share on other sites

File PsychoSquad* eleos  pragmatika.. :)

to ekana post  gia ton logo oti  den to briskhs kai giati to  eixa perasei para poly palia  otan asxoliomouna me to Interlude na les pali kala pou exw to palio mou svn... :)

Link to comment
Share on other sites

File PsychoSquad* eleos  pragmatika.. :)

to ekana post  gia ton logo oti  den to briskhs kai giati to  eixa perasei para poly palia  otan asxoliomouna me to Interlude na les pali kala pou exw to palio mou svn... :)

Το ξέρω ρε πλάκα έκανα..
Link to comment
Share on other sites

Ayto to  Share to kanw giati blepw kapoies fores  san kai ayto edw to post  giati i perisoterh den  kanoun seacrh

 

Index: trunk/gameserver/java/config/players.properties
===================================================================
--- a/trunk/gameserver/java/config/players.properties
+++ b/trunk/gameserver/java/config/players.properties
@@ -137,2 +137,9 @@
MaxbuffAmount = 24
StoreSkillCooltime = True
+
+EnchantChanceWeaponCrystal = 100  
+EnchantChanceArmorCrystal = 100  
+EnchantChanceJewelryCrystal = 100           
+EnchantChanceWeaponBlessed = 85  
+EnchantChanceArmorBlessed = 85  
+EnchantChanceJewelryBlessed = 85 
Index: trunk/gameserver/java/net/sf/l2j/Config.java
===================================================================
--- a/trunk/gameserver/java/net/sf/l2j/Config.java
+++ b/trunk/gameserver/java/net/sf/l2j/Config.java
@@ -195,4 +195,12 @@
     public static boolean WEDDING_FORMALWEAR;
     public static int WEDDING_DIVORCE_COSTS;
+
+    /** Chance blessed-crystal enchants */ 
+   public static int ENCHANT_CHANCE_WEAPON_CRYSTAL;  
+   public static int ENCHANT_CHANCE_ARMOR_CRYSTAL;  
+   public static int ENCHANT_CHANCE_JEWELRY_CRYSTAL;  
+        public static int ENCHANT_CHANCE_WEAPON_BLESSED;  
+        public static int ENCHANT_CHANCE_ARMOR_BLESSED;  
+   public static int ENCHANT_CHANCE_JEWELRY_BLESSED;  
     
     /** Lottery */
@@ -925,4 +933,7 @@
                 WEDDING_DIVORCE_COSTS           = Integer.parseInt(eventsSettings.getProperty("WeddingDivorceCosts", "20"));               
                 
+                
+                /* if different from 100 (ie 100%) heal rate is modified acordingly */            
+                
                 ALT_LOTTERY_PRIZE                = Integer.parseInt(eventsSettings.getProperty("AltLotteryPrize","50000"));
                 ALT_LOTTERY_TICKET_PRICE         = Integer.parseInt(eventsSettings.getProperty("AltLotteryTicketPrice","2000"));
@@ -1073,4 +1084,11 @@
                 ENCHANT_SAFE_MAX_FULL   = Integer.parseInt(playersSettings.getProperty("EnchantSafeMaxFull", "4"));

+                ENCHANT_CHANCE_WEAPON_CRYSTAL = Integer.parseInt(playersSettings.getProperty("EnchantChanceWeaponCrystal", "100"));   
+                ENCHANT_CHANCE_ARMOR_CRYSTAL = Integer.parseInt(playersSettings.getProperty("EnchantChanceArmorCrystal", "100"));   
+                ENCHANT_CHANCE_JEWELRY_CRYSTAL = Integer.parseInt(playersSettings.getProperty("EnchantChanceJewelryCrystal", "100"));   
+                ENCHANT_CHANCE_WEAPON_BLESSED = Integer.parseInt(playersSettings.getProperty("EnchantChanceWeaponBlessed", "85"));   
+                ENCHANT_CHANCE_ARMOR_BLESSED = Integer.parseInt(playersSettings.getProperty("EnchantChanceArmorBlessed", "85"));   
+                ENCHANT_CHANCE_JEWELRY_BLESSED = Integer.parseInt(playersSettings.getProperty("EnchantChanceJewelryBlessed", "85"));                
+                
                 KARMA_PLAYER_CAN_BE_KILLED_IN_PZ= Boolean.valueOf(playersSettings.getProperty("KarmaPlayerCanBeKilledInPeaceZone", "False"));
                 KARMA_PLAYER_CAN_SHOP           = Boolean.valueOf(playersSettings.getProperty("KarmaPlayerCanShop", "True"));

Index: trunk/gameserver/java/net/sf/l2j/gameserver/network/clientpackets/RequestEnchantItem.java
===================================================================
--- a/trunk/gameserver/java/net/sf/l2j/gameserver/network/clientpackets/RequestEnchantItem.java
+++ b/trunk/gameserver/java/net/sf/l2j/gameserver/network/clientpackets/RequestEnchantItem.java
@@ -40,6 +40,8 @@
{
     protected static final Logger _log = Logger.getLogger(Inventory.class.getName());
+    private static final int[] ENCHANT_SCROLLS = { 729, 730, 947, 948, 951, 952, 955, 956, 959, 960 }; 
     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[] BLESSED_SCROLLS = { 6569, 6570, 6571, 6572, 6573, 6574, 6575, 6576, 6577, 6578 }; 
     
     private int _objectId;
@@ -56,4 +58,11 @@
         L2PcInstance activeChar = getClient().getActiveChar();
         if (activeChar == null || _objectId == 0) return;
+        
+        if (activeChar.isProcessingTransaction())  
+         {  
+        activeChar.sendPacket(new SystemMessage(SystemMessageId.INAPPROPRIATE_ENCHANT_CONDITION));  
+         activeChar.setActiveEnchantItem(null);  
+        return;  
+          }  
         
         if (activeChar.isProcessingTransaction()) 
@@ -195,25 +204,93 @@
             return;
         }
-
-        SystemMessage sm;
-
-        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;
-        }
+ 
+                                                        // SystemMessage(SystemMessageId.ENCHANT_SCROLL_CANCELLED);  
+                                                        // activeChar.sendPacket(sm);  
+                                                        SystemMessage sm;  
+                                                        int chance = 0;  
+                                                int maxEnchantLevel = 0;  
+                                                if (item.getItem().getType2() == L2Item.TYPE2_WEAPON)  
+                                                        {  
+                                                                maxEnchantLevel = Config.ENCHANT_MAX_WEAPON;  
+                                                        for (int scrollId : ENCHANT_SCROLLS)  
+                                                                {  
+                                                                        if (scroll.getItemId() == scrollId)  
+                                                             {  
+                                                                        chance = Config.ENCHANT_CHANCE_WEAPON;  
+                                                                        break;  
+                                                                }  
+                                                                }  
+                                                                for (int scrollId : CRYSTAL_SCROLLS)  
+                                                        {  
+                                                                        if (scroll.getItemId() == scrollId)  
+                                                                        {  
+                                                                                chance = Config.ENCHANT_CHANCE_WEAPON_CRYSTAL;  
+                                                                        ;  
+                                                                                break;  
+                                                                }  
+                                                        }  
+                                                                for (int scrollId : BLESSED_SCROLLS)  
+                                                                {  
+                                                                        if (scroll.getItemId() == scrollId)  
+                                                                        {  
+                                                                                        chance = Config.ENCHANT_CHANCE_WEAPON_BLESSED;  
+                                                                   break;  
+                                                                        }  
+                                                                }  
+                                                } else if (item.getItem().getType2() == L2Item.TYPE2_SHIELD_ARMOR)  
+                                                        {  
+                                                     maxEnchantLevel = Config.ENCHANT_MAX_ARMOR;  
+                                                        for (int scrollId : ENCHANT_SCROLLS)  
+                                                                {  
+                                                                if (scroll.getItemId() == scrollId)  
+                                                               {  
+                                                                                chance = Config.ENCHANT_CHANCE_ARMOR;  
+                                                                                break;  
+                                                                        }  
+                                                                }  
+                                                                for (int scrollId : CRYSTAL_SCROLLS)  
+                                                                {  
+                                                                        if (scroll.getItemId() == scrollId)  
+                                                                {  
+                                                                                chance = Config.ENCHANT_CHANCE_ARMOR_CRYSTAL;  
+                                                                                break;  
+                                                                        }  
+                                                        }  
+                                                        for (int scrollId : BLESSED_SCROLLS)  
+                                                                {  
+                                                                        if (scroll.getItemId() == scrollId)  
+                                                                        {  
+                                                                        chance = Config.ENCHANT_CHANCE_ARMOR_BLESSED;  
+                                                                                break;  
+                                                                }  
+                                                        }  
+                                                        } else if (item.getItem().getType2() == L2Item.TYPE2_ACCESSORY)  
+                                                        {  
+                                                                maxEnchantLevel = Config.ENCHANT_MAX_JEWELRY;  
+                                                        for (int scrollId : ENCHANT_SCROLLS)  
+                                                                {  
+                                                        if (scroll.getItemId() == scrollId)  
+                                                                {  
+                                                                                chance = Config.ENCHANT_CHANCE_JEWELRY;  
+                                                                                break;  
+                                                                        }  
+                                                                }  
+                                                        for (int scrollId : CRYSTAL_SCROLLS)  
+                                                        {  
+                                                                if (scroll.getItemId() == scrollId)  
+                                                                        {  
+                                                                        chance = Config.ENCHANT_CHANCE_JEWELRY_CRYSTAL;  
+                                                               break;  
+                                                                }  
+                                                                }  
+                                                        for (int scrollId : BLESSED_SCROLLS)  
+                                                        {  
+                                                                if (scroll.getItemId() == scrollId)  
+                                                                {  
+                                                                     chance = Config.ENCHANT_CHANCE_JEWELRY_BLESSED;  
+                                                                     break;  
+                                                                }  
+                                                        }  
+                                                        } 

         if (item.getEnchantLevel() < Config.ENCHANT_SAFE_MAX

ine kalo p voi8as new an k pistevw oti 8eli ligo psaksimo aftw :P

Link to comment
Share on other sites

akoma ena dwraki gia esas magkes..

einai kati aplos  alla  ma fou to exw  kai einai gia Interlude  oriste..

 

Index: trunk/Gameserver/java/net/gp/gameserver/handler/itemhandlers/ScrollOfEscape.java
===================================================================
--- trunk/Gameserver/java/net/gp/gameserver/handler/itemhandlers/ScrollOfEscape.java (revision 52)
+++ trunk/Gameserver/java/net/gp/gameserver/handler/itemhandlers/ScrollOfEscape.java (revision 58)
@@ -84,4 +84,11 @@
             return;
         }
+		
+        if (Config.ALLOW_SOE_IN_PVP && activeChar.getPvpFlag() != 0)
+        {  
+                activeChar.sendMessage("You can't use SOE if you're flagged!");  
+                return;  
+        }  
+

         // Check to see if the player is in a festival.
Index: trunk/Gameserver/java/net/gp/Config.java
===================================================================
--- trunk/Gameserver/java/net/gp/Config.java (revision 57)
+++ trunk/Gameserver/java/net/gp/Config.java (revision 58)
@@ -874,4 +874,5 @@
     public static int L2JMOD_WEDDING_DIVORCE_COSTS;
	public static boolean ALLOW_GK_IN_PVP; 
+	public static boolean ALLOW_SOE_IN_PVP;

     
@@ -1924,4 +1925,5 @@
                 L2JMOD_WEDDING_DIVORCE_COSTS            = Integer.parseInt(L2JModSettings.getProperty("WeddingDivorceCosts", "20"));
				ALLOW_GK_IN_PVP                         = Boolean.parseBoolean(L2JModSettings.getProperty("AllowGkInPvP", "True"));
+				ALLOW_SOE_IN_PVP                        = Boolean.parseBoolean(L2JModSettings.getProperty("AllowSoEInPvP", "True"));


Index: trunk/Gameserver/config/l2jmods.properties
===================================================================
--- trunk/Gameserver/config/l2jmods.properties (revision 57)
+++ trunk/Gameserver/config/l2jmods.properties (revision 58)
@@ -137,2 +137,6 @@
# Default : True
AllowGkInPvP = True
+
+# If is set to False , players can't use SOE when they are flagged!
+# Default : True
+AllowSoEInPvP = True

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • So excited to announce 3x Telegram Premium (6 months)   Join our official TG and participate to win!   Asocks.com - trusted proxy service providing mobile and residential proxies with a single price of $3 per 1GB   A huge locations pool and high speed will help complete all tasks    
    • Well, sorry not sorry for resurrecting old topic, but I believe it's ultimately stupid to implement license checks like Vilmis did 🙂   private static String url = "jdbc:mysql://185.80.128.233/" + getData("Zm9ydW1fZGI="); private static String username = getData("bXJjb3B5cmlnaHQ="); private static String password = getData("Y29weXJpZ2h0XzEyMw=="); con = GlobalDB.getInstance().getConnection(); PreparedStatement statement; statement = con.prepareStatement("SELECT field_6 from core_pfields_content WHERE member_id = ?"); statement.setInt(1, Config.FORUM_USER_ID); ResultSet rset = statement.executeQuery();   This awesome way of coding things leaves us with base64-encoded credentials and DB exposed and accessible globally 😉 Btw he checks his licensing data from some plugin generated table his forum uses. Vilmis took action and ensured that mrcopyright user would have only needed accesses and rights for this operation. But he forgot to ensure that his INFORMATION_SCHEMA database would not be exposed and readable... That leads us to fully readable server variables like version used (10.1.26-MariaDB-0+deb9u1 - pretty ancient DB and OS, I'd assume). From here you can go south and do some kinky stuff, if you want and have knowledge for that. But who cares, right?   Ooh, table core_pfields_content field_6 is IP address which is checked by FORUM_USER_ID. Yep, you can query all IP addresses there (124 of them right now) and also do whatever you want with them! 🙂  The most fun part? Files source has been shared what, more than 2 years ago?  Vilmis still uses very same credentials and never changed it after sources exposure - who cares. Although, "sources" may be way too strong word here. If anyone still use paid Orion versions, I'd suggest packing your shit and leaving immediately, or at least fix this incompetent fool caused problems. It's obvious Vilmis don't care or maybe doesn't even know from the first place how to solve this problem (hint hint - tiny PHP Rest API microservice which would do absolutely the same but without exposing sensitive data?). By doing that, he exposes his infrastructure and YOUR data, and he does that for more than 2 years now 🙂 Developer of century!    
    • rename the l2.bin into l2.exe
    • L2LIVE.PRO- Dynamic Mid-rates Essence Seven Signs GRAND OPENING - July 5, 20:00 GMT+3 (EEST) TEST SERVER IS OPEN - COME AND CHECK IT OUT TODAY! Join our community and be part of it at: https://www.l2live.pro https://discord.gg/k3NMgR4Dmu   Server description * EXP/SP: Dynamic (x1- x100 based on your level, *before* Sayha and EXP buffs * Adena: x50 / Item Drop: x10 / Fishing EXP increased / Attribute EXP increased * Simplified gameplay to stay in the loop while not spending hours and hours farming * Starter Pack containing very useful items for beginners * MP replenishing potions with auto-consumption * No overpowered donations L2LIVE shop * All spellbook coupons, pet spellbook coupons and master books are sold via Game Assistant * Additionally you can buy SP pouches, enchanted talismans, pet training guides and various other consumables for Adena and L-Coin * More items such as cloaks, more talismans, agathions, belts, pendants, enchantment scrolls of various grades, evolution stones, etc will be added! Shop server as a shortcut, and all retail-like ways of earning items are still here! L-Coins * Drops with small change and in random amounts from Lv60+ monsters  * All raidbosses drop random amount of L-Coin Pouches generating up to 420 Lcoin per unit. **Grand Olympiad and Events** * Grand Olympiad is held week day * Format is 1v1, unlimited weekly fights  * Heroes are declared weekly at Sunday * There are three automated events - TvT, CTF and Deathmatch, running at evenings * Orc Fortress, Battle with Balok, Keber Hunter, Archievements Box, Daily Gift Calendar provisional events are active too Custom user commands * .offlineplay command, your character will keep playing till death or server restart * .offlineshop command, keeps your shop sitting until all items are purchased * .apon / .apoff - enable/disable HP/MP autoconsume And lots of other small improvements are waiting for you!   Join our community and be part of it at: https://www.l2live.pro https://discord.gg/k3NMgR4Dmu
  • Topics

×
×
  • Create New...