Mobius
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Where find Path to Awakeing?

Go down

Where find Path to Awakeing? Empty Where find Path to Awakeing?

Post by mircowwwa 03/09/14, 07:19 pm

hi,any1 know where i can find files for claim form Dimensional Merchant in the path of awanking? Smile

mircowwwa
Heir
Heir

Posts : 24
Join date : 2014-08-31

Back to top Go down

Where find Path to Awakeing? Empty Re: Where find Path to Awakeing?

Post by Mobius 03/09/14, 08:37 pm

Old site was removed on Ertheia, try
http://www.lineage2.com/en/game/path-to-awakening/
http://boards.lineage2.com/showthread.php?t=224059

I added support to send premium items with revision 452.
Items sent are saved in character_premium_items.sql

Check Player.addPremiumItem

Some old script I had to do this (not retail)
Code:
      final PlayerVariables vars = player.getVariables();
      if (vars.getString("LAST_DIMENSIONAL_REWARDED_LEVEL", null) == null)
      {
         // vars.set("LAST_DIMENSIONAL_REWARDED_LEVEL", 0);
         vars.set("LAST_DIMENSIONAL_REWARDED_LEVEL", 20);
      }
      final int lastRewardedLevel = vars.getInt("LAST_DIMENSIONAL_REWARDED_LEVEL");
      
      // if ((newPlayerLevel >= 20) && (lastRewardedLevel == 0))
      // {
      // player.addPremiumItem(16978, 1, player.getName()); // Brigandine
      // player.addPremiumItem(16982, 1, player.getName()); // Manticore Leather
      // player.addPremiumItem(16986, 1, player.getName()); // Mithril Tunic
      // player.addPremiumItem(17002, 1, player.getName()); // Elven Accessory
      // player.addPremiumItem(21846, 5000, player.getName()); // Mysterious Soulshot (D-Grade)
      // player.addPremiumItem(21852, 5000, player.getName()); // Mysterious Blessed Spiritshot (D-Grade)
      // player.addPremiumItem(16987, 1, player.getName()); // Magic Weapon
      // player.addPremiumItem(16988, 1, player.getName()); // Dagger
      // player.addPremiumItem(16989, 1, player.getName()); // Bow
      // player.addPremiumItem(16990, 1, player.getName()); // Blunt
      // player.addPremiumItem(16991, 1, player.getName()); // One-handed Sword
      // player.addPremiumItem(16992, 1, player.getName()); // Two-handed Sword
      // player.addPremiumItem(16993, 1, player.getName()); // Hand-to-hand Combat
      // player.addPremiumItem(16994, 1, player.getName()); // Dualsword
      // player.addPremiumItem(16995, 1, player.getName()); // Spear
      // player.addPremiumItem(16996, 1, player.getName()); // Ancient Sword
      // player.addPremiumItem(16997, 1, player.getName()); // Short Sword
      // player.addPremiumItem(16998, 1, player.getName()); // Crossbow
      // vars.set("LAST_DIMENSIONAL_REWARDED_LEVEL", 20);
      // }
      
      if ((newPlayerLevel >= 40) && (lastRewardedLevel == 20))
      {
         player.addPremiumItem(16977, 1, player.getName()); // Full Plate
         player.addPremiumItem(16981, 1, player.getName()); // Plate Leather
         player.addPremiumItem(16985, 1, player.getName()); // Karmian
         player.addPremiumItem(17001, 1, player.getName()); // Sealed Accessory
         player.addPremiumItem(21847, 5000, player.getName()); // Mysterious Soulshot (C-Grade)
         player.addPremiumItem(21853, 5000, player.getName()); // Mysterious Blessed Spiritshot (C-Grade)
         vars.set("LAST_DIMENSIONAL_REWARDED_LEVEL", 40);
      }
      else if ((newPlayerLevel >= 52) && (lastRewardedLevel == 40))
      {
         player.addPremiumItem(16976, 1, player.getName()); // Doom Plate
         player.addPremiumItem(16980, 1, player.getName()); // Leather Armor of Doom
         player.addPremiumItem(16984, 1, player.getName()); // Avadon Robe
         player.addPremiumItem(17000, 1, player.getName()); // Black Ore Accessory
         player.addPremiumItem(21848, 5000, player.getName()); // Mysterious Soulshot (B-Grade)
         player.addPremiumItem(21854, 5000, player.getName()); // Mysterious Blessed Spiritshot (B-Grade)
         vars.set("LAST_DIMENSIONAL_REWARDED_LEVEL", 52);
      }
      else if ((newPlayerLevel >= 61) && (lastRewardedLevel == 52))
      {
         player.addPremiumItem(16975, 1, player.getName()); // Heavy Armor of Nightmare
         player.addPremiumItem(16979, 1, player.getName()); // Dark Crystal Light Armor
         player.addPremiumItem(16983, 1, player.getName()); // Dark Crystal Robe
         player.addPremiumItem(16999, 1, player.getName()); // Majestic Accessory
         player.addPremiumItem(21849, 10000, player.getName()); // Mysterious Soulshot (A-Grade)
         player.addPremiumItem(21855, 10000, player.getName()); // Mysterious Blessed piritshot (A-Grade)
         vars.set("LAST_DIMENSIONAL_REWARDED_LEVEL", 61);
      }
      
      // else if ((newPlayerLevel >= 76) && (lastRewardedLevel == 61))
      // {
      // player.addPremiumItem(21781, 1, player.getName()); // Imperial Crusader
      // player.addPremiumItem(21786, 1, player.getName()); // Draconic Leather
      // player.addPremiumItem(21792, 1, player.getName()); // Major Arcana Robe
      // player.addPremiumItem(21816, 1, player.getName()); // Tateossian Accessory
      // player.addPremiumItem(21850, 5000, player.getName()); // Mysterious Soulshot (S-Grade)
      // player.addPremiumItem(21856, 5000, player.getName()); // Mysterious Blessed Spiritshot (S-Grade)
      // vars.set("LAST_DIMENSIONAL_REWARDED_LEVEL", 76);
      // }
      // else if ((newPlayerLevel >= 80) && (lastRewardedLevel == 76))
      // {
      // player.addPremiumItem(21799, 1, player.getName()); // Dynasty Breastplate
      // player.addPremiumItem(21805, 1, player.getName()); // Dynasty Leather Mail
      // player.addPremiumItem(21812, 1, player.getName()); // Dynasty Tunic
      // player.addPremiumItem(21820, 1, player.getName()); // Dynasty Accessory
      // player.addPremiumItem(21850, 5000, player.getName()); // Mysterious Soulshot (S-Grade)
      // player.addPremiumItem(21856, 5000, player.getName()); // Mysterious Blessed Spiritshot (S-Grade)
      // vars.set("LAST_DIMENSIONAL_REWARDED_LEVEL", 80);
      // }
Mobius
Mobius
Administrator
Administrator

Posts : 686
Join date : 2014-05-31

https://mobius.forumotion.com

Back to top Go down

Where find Path to Awakeing? Empty Re: Where find Path to Awakeing?

Post by mircowwwa 04/09/14, 12:52 am

But i dont understand,i have to inseret in Player.addPremiumItem your old script or only in database? Because in database i cannot inseret char lvl for riceve items...can u explain me?

mircowwwa
Heir
Heir

Posts : 24
Join date : 2014-08-31

Back to top Go down

Where find Path to Awakeing? Empty Re: Where find Path to Awakeing?

Post by Mobius 04/09/14, 07:06 am

You have to make a script that checks if player has leveled-up to a level that gets a reward and then send reward by using addPremiumItem method.

You should also save if a player is already beed rewarded in character variables. In case he delevels.
Mobius
Mobius
Administrator
Administrator

Posts : 686
Join date : 2014-05-31

https://mobius.forumotion.com

Back to top Go down

Where find Path to Awakeing? Empty Re: Where find Path to Awakeing?

Post by mircowwwa 04/09/14, 12:41 pm

another question,where did you find this script?
Code:
      final PlayerVariables vars = player.getVariables();
      if (vars.getString("LAST_DIMENSIONAL_REWARDED_LEVEL", null) == null)
      {
        // vars.set("LAST_DIMENSIONAL_REWARDED_LEVEL", 0);
        vars.set("LAST_DIMENSIONAL_REWARDED_LEVEL", 20);
      }
      final int lastRewardedLevel = vars.getInt("LAST_DIMENSIONAL_REWARDED_LEVEL");
     
      // if ((newPlayerLevel >= 20) && (lastRewardedLevel == 0))
      // {
      // player.addPremiumItem(16978, 1, player.getName()); // Brigandine
      // player.addPremiumItem(16982, 1, player.getName()); // Manticore Leather
      // player.addPremiumItem(16986, 1, player.getName()); // Mithril Tunic
      // player.addPremiumItem(17002, 1, player.getName()); // Elven Accessory
      // player.addPremiumItem(21846, 5000, player.getName()); // Mysterious Soulshot (D-Grade)
      // player.addPremiumItem(21852, 5000, player.getName()); // Mysterious Blessed Spiritshot (D-Grade)
      // player.addPremiumItem(16987, 1, player.getName()); // Magic Weapon
      // player.addPremiumItem(16988, 1, player.getName()); // Dagger
      // player.addPremiumItem(16989, 1, player.getName()); // Bow
      // player.addPremiumItem(16990, 1, player.getName()); // Blunt
      // player.addPremiumItem(16991, 1, player.getName()); // One-handed Sword
      // player.addPremiumItem(16992, 1, player.getName()); // Two-handed Sword
      // player.addPremiumItem(16993, 1, player.getName()); // Hand-to-hand Combat
      // player.addPremiumItem(16994, 1, player.getName()); // Dualsword
      // player.addPremiumItem(16995, 1, player.getName()); // Spear
      // player.addPremiumItem(16996, 1, player.getName()); // Ancient Sword
      // player.addPremiumItem(16997, 1, player.getName()); // Short Sword
      // player.addPremiumItem(16998, 1, player.getName()); // Crossbow
      // vars.set("LAST_DIMENSIONAL_REWARDED_LEVEL", 20);
      // }
     
      if ((newPlayerLevel >= 40) && (lastRewardedLevel == 20))
      {
        player.addPremiumItem(16977, 1, player.getName()); // Full Plate
        player.addPremiumItem(16981, 1, player.getName()); // Plate Leather
        player.addPremiumItem(16985, 1, player.getName()); // Karmian
        player.addPremiumItem(17001, 1, player.getName()); // Sealed Accessory
        player.addPremiumItem(21847, 5000, player.getName()); // Mysterious Soulshot (C-Grade)
        player.addPremiumItem(21853, 5000, player.getName()); // Mysterious Blessed Spiritshot (C-Grade)
        vars.set("LAST_DIMENSIONAL_REWARDED_LEVEL", 40);
      }
      else if ((newPlayerLevel >= 52) && (lastRewardedLevel == 40))
      {
        player.addPremiumItem(16976, 1, player.getName()); // Doom Plate
        player.addPremiumItem(16980, 1, player.getName()); // Leather Armor of Doom
        player.addPremiumItem(16984, 1, player.getName()); // Avadon Robe
        player.addPremiumItem(17000, 1, player.getName()); // Black Ore Accessory
        player.addPremiumItem(21848, 5000, player.getName()); // Mysterious Soulshot (B-Grade)
        player.addPremiumItem(21854, 5000, player.getName()); // Mysterious Blessed Spiritshot (B-Grade)
        vars.set("LAST_DIMENSIONAL_REWARDED_LEVEL", 52);
      }
      else if ((newPlayerLevel >= 61) && (lastRewardedLevel == 52))
      {
        player.addPremiumItem(16975, 1, player.getName()); // Heavy Armor of Nightmare
        player.addPremiumItem(16979, 1, player.getName()); // Dark Crystal Light Armor
        player.addPremiumItem(16983, 1, player.getName()); // Dark Crystal Robe
        player.addPremiumItem(16999, 1, player.getName()); // Majestic Accessory
        player.addPremiumItem(21849, 10000, player.getName()); // Mysterious Soulshot (A-Grade)
        player.addPremiumItem(21855, 10000, player.getName()); // Mysterious Blessed piritshot (A-Grade)
        vars.set("LAST_DIMENSIONAL_REWARDED_LEVEL", 61);
      }
     
      // else if ((newPlayerLevel >= 76) && (lastRewardedLevel == 61))
      // {
      // player.addPremiumItem(21781, 1, player.getName()); // Imperial Crusader
      // player.addPremiumItem(21786, 1, player.getName()); // Draconic Leather
      // player.addPremiumItem(21792, 1, player.getName()); // Major Arcana Robe
      // player.addPremiumItem(21816, 1, player.getName()); // Tateossian Accessory
      // player.addPremiumItem(21850, 5000, player.getName()); // Mysterious Soulshot (S-Grade)
      // player.addPremiumItem(21856, 5000, player.getName()); // Mysterious Blessed Spiritshot (S-Grade)
      // vars.set("LAST_DIMENSIONAL_REWARDED_LEVEL", 76);
      // }
      // else if ((newPlayerLevel >= 80) && (lastRewardedLevel == 76))
      // {
      // player.addPremiumItem(21799, 1, player.getName()); // Dynasty Breastplate
      // player.addPremiumItem(21805, 1, player.getName()); // Dynasty Leather Mail
      // player.addPremiumItem(21812, 1, player.getName()); // Dynasty Tunic
      // player.addPremiumItem(21820, 1, player.getName()); // Dynasty Accessory
      // player.addPremiumItem(21850, 5000, player.getName()); // Mysterious Soulshot (S-Grade)
      // player.addPremiumItem(21856, 5000, player.getName()); // Mysterious Blessed Spiritshot (S-Grade)
      // vars.set("LAST_DIMENSIONAL_REWARDED_LEVEL", 80);
      // }

mircowwwa
Heir
Heir

Posts : 24
Join date : 2014-08-31

Back to top Go down

Where find Path to Awakeing? Empty Re: Where find Path to Awakeing?

Post by Mobius 04/09/14, 01:56 pm

I made it, it is not the full script and it is made for l2j based server.
Mobius
Mobius
Administrator
Administrator

Posts : 686
Join date : 2014-05-31

https://mobius.forumotion.com

Back to top Go down

Where find Path to Awakeing? Empty Re: Where find Path to Awakeing?

Post by mircowwwa 04/09/14, 02:43 pm

do u have the full script? maybe i can readapt it for this server Very Happy

mircowwwa
Heir
Heir

Posts : 24
Join date : 2014-08-31

Back to top Go down

Where find Path to Awakeing? Empty Re: Where find Path to Awakeing?

Post by SailorMoon 04/09/14, 03:24 pm

mircowwwa wrote:another question,where did you find this script?
Code:
      final PlayerVariables vars = player.getVariables();
      if (vars.getString("LAST_DIMENSIONAL_REWARDED_LEVEL", null) == null)
      {
         // vars.set("LAST_DIMENSIONAL_REWARDED_LEVEL", 0);
         vars.set("LAST_DIMENSIONAL_REWARDED_LEVEL", 20);
      }
      final int lastRewardedLevel = vars.getInt("LAST_DIMENSIONAL_REWARDED_LEVEL");
      
      // if ((newPlayerLevel >= 20) && (lastRewardedLevel == 0))
      // {
      // player.addPremiumItem(16978, 1, player.getName()); // Brigandine
      // player.addPremiumItem(16982, 1, player.getName()); // Manticore Leather
      // player.addPremiumItem(16986, 1, player.getName()); // Mithril Tunic
      // player.addPremiumItem(17002, 1, player.getName()); // Elven Accessory
      // player.addPremiumItem(21846, 5000, player.getName()); // Mysterious Soulshot (D-Grade)
      // player.addPremiumItem(21852, 5000, player.getName()); // Mysterious Blessed Spiritshot (D-Grade)
      // player.addPremiumItem(16987, 1, player.getName()); // Magic Weapon
      // player.addPremiumItem(16988, 1, player.getName()); // Dagger
      // player.addPremiumItem(16989, 1, player.getName()); // Bow
      // player.addPremiumItem(16990, 1, player.getName()); // Blunt
      // player.addPremiumItem(16991, 1, player.getName()); // One-handed Sword
      // player.addPremiumItem(16992, 1, player.getName()); // Two-handed Sword
      // player.addPremiumItem(16993, 1, player.getName()); // Hand-to-hand Combat
      // player.addPremiumItem(16994, 1, player.getName()); // Dualsword
      // player.addPremiumItem(16995, 1, player.getName()); // Spear
      // player.addPremiumItem(16996, 1, player.getName()); // Ancient Sword
      // player.addPremiumItem(16997, 1, player.getName()); // Short Sword
      // player.addPremiumItem(16998, 1, player.getName()); // Crossbow
      // vars.set("LAST_DIMENSIONAL_REWARDED_LEVEL", 20);
      // }
      
      if ((newPlayerLevel >= 40) && (lastRewardedLevel == 20))
      {
         player.addPremiumItem(16977, 1, player.getName()); // Full Plate
         player.addPremiumItem(16981, 1, player.getName()); // Plate Leather
         player.addPremiumItem(16985, 1, player.getName()); // Karmian
         player.addPremiumItem(17001, 1, player.getName()); // Sealed Accessory
         player.addPremiumItem(21847, 5000, player.getName()); // Mysterious Soulshot (C-Grade)
         player.addPremiumItem(21853, 5000, player.getName()); // Mysterious Blessed Spiritshot (C-Grade)
         vars.set("LAST_DIMENSIONAL_REWARDED_LEVEL", 40);
      }
      else if ((newPlayerLevel >= 52) && (lastRewardedLevel == 40))
      {
         player.addPremiumItem(16976, 1, player.getName()); // Doom Plate
         player.addPremiumItem(16980, 1, player.getName()); // Leather Armor of Doom
         player.addPremiumItem(16984, 1, player.getName()); // Avadon Robe
         player.addPremiumItem(17000, 1, player.getName()); // Black Ore Accessory
         player.addPremiumItem(21848, 5000, player.getName()); // Mysterious Soulshot (B-Grade)
         player.addPremiumItem(21854, 5000, player.getName()); // Mysterious Blessed Spiritshot (B-Grade)
         vars.set("LAST_DIMENSIONAL_REWARDED_LEVEL", 52);
      }
      else if ((newPlayerLevel >= 61) && (lastRewardedLevel == 52))
      {
         player.addPremiumItem(16975, 1, player.getName()); // Heavy Armor of Nightmare
         player.addPremiumItem(16979, 1, player.getName()); // Dark Crystal Light Armor
         player.addPremiumItem(16983, 1, player.getName()); // Dark Crystal Robe
         player.addPremiumItem(16999, 1, player.getName()); // Majestic Accessory
         player.addPremiumItem(21849, 10000, player.getName()); // Mysterious Soulshot (A-Grade)
         player.addPremiumItem(21855, 10000, player.getName()); // Mysterious Blessed piritshot (A-Grade)
         vars.set("LAST_DIMENSIONAL_REWARDED_LEVEL", 61);
      }
      
      // else if ((newPlayerLevel >= 76) && (lastRewardedLevel == 61))
      // {
      // player.addPremiumItem(21781, 1, player.getName()); // Imperial Crusader
      // player.addPremiumItem(21786, 1, player.getName()); // Draconic Leather
      // player.addPremiumItem(21792, 1, player.getName()); // Major Arcana Robe
      // player.addPremiumItem(21816, 1, player.getName()); // Tateossian Accessory
      // player.addPremiumItem(21850, 5000, player.getName()); // Mysterious Soulshot (S-Grade)
      // player.addPremiumItem(21856, 5000, player.getName()); // Mysterious Blessed Spiritshot (S-Grade)
      // vars.set("LAST_DIMENSIONAL_REWARDED_LEVEL", 76);
      // }
      // else if ((newPlayerLevel >= 80) && (lastRewardedLevel == 76))
      // {
      // player.addPremiumItem(21799, 1, player.getName()); // Dynasty Breastplate
      // player.addPremiumItem(21805, 1, player.getName()); // Dynasty Leather Mail
      // player.addPremiumItem(21812, 1, player.getName()); // Dynasty Tunic
      // player.addPremiumItem(21820, 1, player.getName()); // Dynasty Accessory
      // player.addPremiumItem(21850, 5000, player.getName()); // Mysterious Soulshot (S-Grade)
      // player.addPremiumItem(21856, 5000, player.getName()); // Mysterious Blessed Spiritshot (S-Grade)
      // vars.set("LAST_DIMENSIONAL_REWARDED_LEVEL", 80);
      // }

I Saw better Feature than this in one pack.When you reach like lvl40 you get gift mail with armors,weapons stuff like that i guess it was this pack https://mega.co.nz/#!U5kWwZAQ!zN5gzieUHKbfWoLqcPBb_fq-7jhFSNU0u2xfw9H_19A
SailorMoon
SailorMoon
Knight
Knight

Posts : 89
Join date : 2014-07-04
Age : 30

Back to top Go down

Where find Path to Awakeing? Empty Re: Where find Path to Awakeing?

Post by SailorMoon 04/09/14, 04:27 pm

Where find Path to Awakeing? Shot00041
I dont get it why server don't show Tutorial marks like this one to know were to farm like it should be and Tutorial Question mark when reach lvl19 or 18 for first class transfer quest Sad i saw in the core packtets all exist, but why they don't show up, this is the biggest i don't like ,its driving me crazy Mad
its there any way to fixt those question marks some how?
SailorMoon
SailorMoon
Knight
Knight

Posts : 89
Join date : 2014-07-04
Age : 30

Back to top Go down

Where find Path to Awakeing? Empty Re: Where find Path to Awakeing?

Post by mircowwwa 04/09/14, 06:38 pm

SailorMoon wrote:
mircowwwa wrote:another question,where did you find this script?
Code:
      final PlayerVariables vars = player.getVariables();
      if (vars.getString("LAST_DIMENSIONAL_REWARDED_LEVEL", null) == null)
      {
         // vars.set("LAST_DIMENSIONAL_REWARDED_LEVEL", 0);
         vars.set("LAST_DIMENSIONAL_REWARDED_LEVEL", 20);
      }
      final int lastRewardedLevel = vars.getInt("LAST_DIMENSIONAL_REWARDED_LEVEL");
      
      // if ((newPlayerLevel >= 20) && (lastRewardedLevel == 0))
      // {
      // player.addPremiumItem(16978, 1, player.getName()); // Brigandine
      // player.addPremiumItem(16982, 1, player.getName()); // Manticore Leather
      // player.addPremiumItem(16986, 1, player.getName()); // Mithril Tunic
      // player.addPremiumItem(17002, 1, player.getName()); // Elven Accessory
      // player.addPremiumItem(21846, 5000, player.getName()); // Mysterious Soulshot (D-Grade)
      // player.addPremiumItem(21852, 5000, player.getName()); // Mysterious Blessed Spiritshot (D-Grade)
      // player.addPremiumItem(16987, 1, player.getName()); // Magic Weapon
      // player.addPremiumItem(16988, 1, player.getName()); // Dagger
      // player.addPremiumItem(16989, 1, player.getName()); // Bow
      // player.addPremiumItem(16990, 1, player.getName()); // Blunt
      // player.addPremiumItem(16991, 1, player.getName()); // One-handed Sword
      // player.addPremiumItem(16992, 1, player.getName()); // Two-handed Sword
      // player.addPremiumItem(16993, 1, player.getName()); // Hand-to-hand Combat
      // player.addPremiumItem(16994, 1, player.getName()); // Dualsword
      // player.addPremiumItem(16995, 1, player.getName()); // Spear
      // player.addPremiumItem(16996, 1, player.getName()); // Ancient Sword
      // player.addPremiumItem(16997, 1, player.getName()); // Short Sword
      // player.addPremiumItem(16998, 1, player.getName()); // Crossbow
      // vars.set("LAST_DIMENSIONAL_REWARDED_LEVEL", 20);
      // }
      
      if ((newPlayerLevel >= 40) && (lastRewardedLevel == 20))
      {
         player.addPremiumItem(16977, 1, player.getName()); // Full Plate
         player.addPremiumItem(16981, 1, player.getName()); // Plate Leather
         player.addPremiumItem(16985, 1, player.getName()); // Karmian
         player.addPremiumItem(17001, 1, player.getName()); // Sealed Accessory
         player.addPremiumItem(21847, 5000, player.getName()); // Mysterious Soulshot (C-Grade)
         player.addPremiumItem(21853, 5000, player.getName()); // Mysterious Blessed Spiritshot (C-Grade)
         vars.set("LAST_DIMENSIONAL_REWARDED_LEVEL", 40);
      }
      else if ((newPlayerLevel >= 52) && (lastRewardedLevel == 40))
      {
         player.addPremiumItem(16976, 1, player.getName()); // Doom Plate
         player.addPremiumItem(16980, 1, player.getName()); // Leather Armor of Doom
         player.addPremiumItem(16984, 1, player.getName()); // Avadon Robe
         player.addPremiumItem(17000, 1, player.getName()); // Black Ore Accessory
         player.addPremiumItem(21848, 5000, player.getName()); // Mysterious Soulshot (B-Grade)
         player.addPremiumItem(21854, 5000, player.getName()); // Mysterious Blessed Spiritshot (B-Grade)
         vars.set("LAST_DIMENSIONAL_REWARDED_LEVEL", 52);
      }
      else if ((newPlayerLevel >= 61) && (lastRewardedLevel == 52))
      {
         player.addPremiumItem(16975, 1, player.getName()); // Heavy Armor of Nightmare
         player.addPremiumItem(16979, 1, player.getName()); // Dark Crystal Light Armor
         player.addPremiumItem(16983, 1, player.getName()); // Dark Crystal Robe
         player.addPremiumItem(16999, 1, player.getName()); // Majestic Accessory
         player.addPremiumItem(21849, 10000, player.getName()); // Mysterious Soulshot (A-Grade)
         player.addPremiumItem(21855, 10000, player.getName()); // Mysterious Blessed piritshot (A-Grade)
         vars.set("LAST_DIMENSIONAL_REWARDED_LEVEL", 61);
      }
      
      // else if ((newPlayerLevel >= 76) && (lastRewardedLevel == 61))
      // {
      // player.addPremiumItem(21781, 1, player.getName()); // Imperial Crusader
      // player.addPremiumItem(21786, 1, player.getName()); // Draconic Leather
      // player.addPremiumItem(21792, 1, player.getName()); // Major Arcana Robe
      // player.addPremiumItem(21816, 1, player.getName()); // Tateossian Accessory
      // player.addPremiumItem(21850, 5000, player.getName()); // Mysterious Soulshot (S-Grade)
      // player.addPremiumItem(21856, 5000, player.getName()); // Mysterious Blessed Spiritshot (S-Grade)
      // vars.set("LAST_DIMENSIONAL_REWARDED_LEVEL", 76);
      // }
      // else if ((newPlayerLevel >= 80) && (lastRewardedLevel == 76))
      // {
      // player.addPremiumItem(21799, 1, player.getName()); // Dynasty Breastplate
      // player.addPremiumItem(21805, 1, player.getName()); // Dynasty Leather Mail
      // player.addPremiumItem(21812, 1, player.getName()); // Dynasty Tunic
      // player.addPremiumItem(21820, 1, player.getName()); // Dynasty Accessory
      // player.addPremiumItem(21850, 5000, player.getName()); // Mysterious Soulshot (S-Grade)
      // player.addPremiumItem(21856, 5000, player.getName()); // Mysterious Blessed Spiritshot (S-Grade)
      // vars.set("LAST_DIMENSIONAL_REWARDED_LEVEL", 80);
      // }

I Saw better Feature than this in one pack.When you reach like lvl40 you get gift mail with armors,weapons stuff like that i guess it was this pack mega.co.nz/#!U5kWwZAQ!zN5gzieUHKbfWoLqcPBb_fq-7jhFSNU0u2xfw9H_19A

what is the file in te pack?

mircowwwa
Heir
Heir

Posts : 24
Join date : 2014-08-31

Back to top Go down

Where find Path to Awakeing? Empty Re: Where find Path to Awakeing?

Post by SailorMoon 04/09/14, 06:51 pm

mircowwwa wrote:
SailorMoon wrote:
mircowwwa wrote:another question,where did you find this script?
Code:
      final PlayerVariables vars = player.getVariables();
      if (vars.getString("LAST_DIMENSIONAL_REWARDED_LEVEL", null) == null)
      {
         // vars.set("LAST_DIMENSIONAL_REWARDED_LEVEL", 0);
         vars.set("LAST_DIMENSIONAL_REWARDED_LEVEL", 20);
      }
      final int lastRewardedLevel = vars.getInt("LAST_DIMENSIONAL_REWARDED_LEVEL");
      
      // if ((newPlayerLevel >= 20) && (lastRewardedLevel == 0))
      // {
      // player.addPremiumItem(16978, 1, player.getName()); // Brigandine
      // player.addPremiumItem(16982, 1, player.getName()); // Manticore Leather
      // player.addPremiumItem(16986, 1, player.getName()); // Mithril Tunic
      // player.addPremiumItem(17002, 1, player.getName()); // Elven Accessory
      // player.addPremiumItem(21846, 5000, player.getName()); // Mysterious Soulshot (D-Grade)
      // player.addPremiumItem(21852, 5000, player.getName()); // Mysterious Blessed Spiritshot (D-Grade)
      // player.addPremiumItem(16987, 1, player.getName()); // Magic Weapon
      // player.addPremiumItem(16988, 1, player.getName()); // Dagger
      // player.addPremiumItem(16989, 1, player.getName()); // Bow
      // player.addPremiumItem(16990, 1, player.getName()); // Blunt
      // player.addPremiumItem(16991, 1, player.getName()); // One-handed Sword
      // player.addPremiumItem(16992, 1, player.getName()); // Two-handed Sword
      // player.addPremiumItem(16993, 1, player.getName()); // Hand-to-hand Combat
      // player.addPremiumItem(16994, 1, player.getName()); // Dualsword
      // player.addPremiumItem(16995, 1, player.getName()); // Spear
      // player.addPremiumItem(16996, 1, player.getName()); // Ancient Sword
      // player.addPremiumItem(16997, 1, player.getName()); // Short Sword
      // player.addPremiumItem(16998, 1, player.getName()); // Crossbow
      // vars.set("LAST_DIMENSIONAL_REWARDED_LEVEL", 20);
      // }
      
      if ((newPlayerLevel >= 40) && (lastRewardedLevel == 20))
      {
         player.addPremiumItem(16977, 1, player.getName()); // Full Plate
         player.addPremiumItem(16981, 1, player.getName()); // Plate Leather
         player.addPremiumItem(16985, 1, player.getName()); // Karmian
         player.addPremiumItem(17001, 1, player.getName()); // Sealed Accessory
         player.addPremiumItem(21847, 5000, player.getName()); // Mysterious Soulshot (C-Grade)
         player.addPremiumItem(21853, 5000, player.getName()); // Mysterious Blessed Spiritshot (C-Grade)
         vars.set("LAST_DIMENSIONAL_REWARDED_LEVEL", 40);
      }
      else if ((newPlayerLevel >= 52) && (lastRewardedLevel == 40))
      {
         player.addPremiumItem(16976, 1, player.getName()); // Doom Plate
         player.addPremiumItem(16980, 1, player.getName()); // Leather Armor of Doom
         player.addPremiumItem(16984, 1, player.getName()); // Avadon Robe
         player.addPremiumItem(17000, 1, player.getName()); // Black Ore Accessory
         player.addPremiumItem(21848, 5000, player.getName()); // Mysterious Soulshot (B-Grade)
         player.addPremiumItem(21854, 5000, player.getName()); // Mysterious Blessed Spiritshot (B-Grade)
         vars.set("LAST_DIMENSIONAL_REWARDED_LEVEL", 52);
      }
      else if ((newPlayerLevel >= 61) && (lastRewardedLevel == 52))
      {
         player.addPremiumItem(16975, 1, player.getName()); // Heavy Armor of Nightmare
         player.addPremiumItem(16979, 1, player.getName()); // Dark Crystal Light Armor
         player.addPremiumItem(16983, 1, player.getName()); // Dark Crystal Robe
         player.addPremiumItem(16999, 1, player.getName()); // Majestic Accessory
         player.addPremiumItem(21849, 10000, player.getName()); // Mysterious Soulshot (A-Grade)
         player.addPremiumItem(21855, 10000, player.getName()); // Mysterious Blessed piritshot (A-Grade)
         vars.set("LAST_DIMENSIONAL_REWARDED_LEVEL", 61);
      }
      
      // else if ((newPlayerLevel >= 76) && (lastRewardedLevel == 61))
      // {
      // player.addPremiumItem(21781, 1, player.getName()); // Imperial Crusader
      // player.addPremiumItem(21786, 1, player.getName()); // Draconic Leather
      // player.addPremiumItem(21792, 1, player.getName()); // Major Arcana Robe
      // player.addPremiumItem(21816, 1, player.getName()); // Tateossian Accessory
      // player.addPremiumItem(21850, 5000, player.getName()); // Mysterious Soulshot (S-Grade)
      // player.addPremiumItem(21856, 5000, player.getName()); // Mysterious Blessed Spiritshot (S-Grade)
      // vars.set("LAST_DIMENSIONAL_REWARDED_LEVEL", 76);
      // }
      // else if ((newPlayerLevel >= 80) && (lastRewardedLevel == 76))
      // {
      // player.addPremiumItem(21799, 1, player.getName()); // Dynasty Breastplate
      // player.addPremiumItem(21805, 1, player.getName()); // Dynasty Leather Mail
      // player.addPremiumItem(21812, 1, player.getName()); // Dynasty Tunic
      // player.addPremiumItem(21820, 1, player.getName()); // Dynasty Accessory
      // player.addPremiumItem(21850, 5000, player.getName()); // Mysterious Soulshot (S-Grade)
      // player.addPremiumItem(21856, 5000, player.getName()); // Mysterious Blessed Spiritshot (S-Grade)
      // vars.set("LAST_DIMENSIONAL_REWARDED_LEVEL", 80);
      // }

I Saw better Feature than this in one pack.When you reach like lvl40 you get gift mail with armors,weapons stuff like that i guess it was this pack mega.co.nz/#!U5kWwZAQ!zN5gzieUHKbfWoLqcPBb_fq-7jhFSNU0u2xfw9H_19A

what is the file in te pack?
i am not sure but i think its in core you could check with java decompler Very Happy
SailorMoon
SailorMoon
Knight
Knight

Posts : 89
Join date : 2014-07-04
Age : 30

Back to top Go down

Where find Path to Awakeing? Empty Re: Where find Path to Awakeing?

Post by Mobius 04/09/14, 06:56 pm

Mobius wrote:I made it, it is not the full script and it is made for l2j based server.

You can't find this pack on the internet it is my private High Five pack.

...and don't get off-topic.
Mobius
Mobius
Administrator
Administrator

Posts : 686
Join date : 2014-05-31

https://mobius.forumotion.com

Back to top Go down

Where find Path to Awakeing? Empty Re: Where find Path to Awakeing?

Post by mircowwwa 05/09/14, 12:46 pm

ok i found a level up reward patch but i can't readapt for this project any1 can help me?
Patch diff : gist.github.com/xban1x/5693191/download#

mircowwwa
Heir
Heir

Posts : 24
Join date : 2014-08-31

Back to top Go down

Where find Path to Awakeing? Empty Re: Where find Path to Awakeing?

Post by mircowwwa 06/09/14, 12:05 pm

Mobius i can't add the script Sad any1 can help me to add Auto Dimensional Items?

mircowwwa
Heir
Heir

Posts : 24
Join date : 2014-08-31

Back to top Go down

Where find Path to Awakeing? Empty Re: Where find Path to Awakeing?

Post by Mobius 06/09/14, 12:38 pm

You need to make it from zero.
Mobius
Mobius
Administrator
Administrator

Posts : 686
Join date : 2014-05-31

https://mobius.forumotion.com

Back to top Go down

Where find Path to Awakeing? Empty Re: Where find Path to Awakeing?

Post by mircowwwa 08/09/14, 12:54 am

:/ any1 can add this?

mircowwwa
Heir
Heir

Posts : 24
Join date : 2014-08-31

Back to top Go down

Where find Path to Awakeing? Empty Re: Where find Path to Awakeing?

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum