New update!
A gift coupon system has been added.
Now you can activate gift coupons directly in the bot:
Open "My Profile"
Tap "Activate gift coupon"
Enter the coupon code
The balance will be topped up automatically.
Received a coupon? Activate it and top up your balance.
Buy Telegram Stars with maximum benefit in our bot
New update!
A gift coupon system has been added.
Now you can activate gift coupons directly in the bot:
Open "My Profile"
Tap "Activate gift coupon"
Enter the coupon code
The balance will be topped up automatically.
Received a coupon? Activate it and top up your balance.
Buy Telegram Stars with maximum benefit in our bot
New update!
A gift coupon system has been added.
Now you can activate gift coupons directly in the bot:
Open "My Profile"
Tap "Activate gift coupon"
Enter the coupon code
The balance will be topped up automatically.
Received a coupon? Activate it and top up your balance.
Buy Telegram Stars with maximum benefit in our bot
Dear users! We are happy to announce a major update of our bot!
What’s new:
Long-term number rental
You can now rent virtual numbers for a long period (hours, days, or months)! This is perfect for those who need constant access to a number to receive SMS from various services.
Number history
A new feature allows you to view all your rented numbers in one place! You can:
• See the full history of all numbers (instant and long-term)
• View all received SMS codes
• Return to active numbers to receive additional SMS
• See the status of each number
Gift coupon system
You can now activate gift coupons directly in the bot! Just go to your profile and click “Activate gift coupon” — your balance will be topped up automatically!
Chinese language
Full support for the Chinese language has been added! The bot is now available in three languages: Russian, English, and Chinese. Switching languages has become even more convenient.
Improved rental process
Before purchasing a number, detailed service information is now displayed:
• Service name
• Ability to receive repeated SMS
• Rental duration
• Cost
This will help you make a more informed decision before renting.
Quick rental
The “Virtual numbers (SMS)” button has now been renamed to “Quick rental” for greater clarity and convenience.
Go to the SMS service
Question
Vkouk
Kalispera.ekana ena new code.eukolo.alla thelo kapios dev sobaros,na m pi an exo 3exasi tpt h eine tpt lathos
Index: java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java =================================================================== --- java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (revision 4001) +++ java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (working copy) @@ -4447,12 +4447,29 @@ { // Add karma to attacker and increase its PK counter setPvpKills(getPvpKills() + 1); + + // Give Skill for a pvp/pk kill + addSkill("Give",6392, this, true); + sendMessage("You take a Skill for a pvp kill!"); // Send a Server->Client UserInfo packet to attacker with its Karma and PK Counter sendPacket(new UserInfo(this)); } /** + * @param string + * @param i + * @param l2PcInstance + * @param b + */ + private void addSkill(String string, int i, L2PcInstance l2PcInstance, + boolean b) + { + // TODO Auto-generated method stub + + } + + /** * Increase pk count, karma and send the info to the player * * @param targLVL : level of the killed player @@ -4498,7 +4515,12 @@ // Add karma to attacker and increase its PK counter setPkKills(getPkKills() + 1); setKarma(getKarma() + newKarma); + + // Give Skill for a pvp/pk kill + addSkill("Give",6392, this, true); + sendMessage("You take a Skill for a pvp kill!"); + // Send a Server->Client UserInfo packet to attacker with its Karma and PK Counter sendPacket(new UserInfo(this)); } Index: java/net/sf/l2j/Config.java =================================================================== --- java/net/sf/l2j/Config.java (revision 4001) +++ java/net/sf/l2j/Config.java (working copy) @@ -881,6 +881,11 @@ public static boolean L2JMOD_WEDDING_SAMESEX; public static boolean L2JMOD_WEDDING_FORMALWEAR; public static int L2JMOD_WEDDING_DIVORCE_COSTS; + + public static boolean PK_REWARD_SYSTEM; + public static int PK_REWARD_SKILL_ID; + public static boolean PVP_REWARD_SYSTEM; + public static int PVP_REWARD_SKILL_ID; // Packet information /** Count the amount of packets per minute ? */ @@ -1858,6 +1863,11 @@ L2JMOD_WEDDING_SAMESEX = Boolean.parseBoolean(L2JModSettings.getProperty("WeddingAllowSameSex", "False")); L2JMOD_WEDDING_FORMALWEAR = Boolean.parseBoolean(L2JModSettings.getProperty("WeddingFormalWear", "True")); L2JMOD_WEDDING_DIVORCE_COSTS = Integer.parseInt(L2JModSettings.getProperty("WeddingDivorceCosts", "20")); + + PK_REWARD_SYSTEM = Boolean.parseBoolean(L2JModSettings.getProperty("PkRewardSystem", "False")); + PK_REWARD_SKILL_ID = Integer.parseInt(L2JModSettings.getProperty("PkRewardSkillID", "6392")); + PVP_REWARD_SYSTEM = Boolean.parseBoolean(L2JModSettings.getProperty("PvPRewardSystem", "False")); + PVP_REWARD_SKILL_ID = Integer.parseInt(L2JModSettings.getProperty("PvPRewardSkillID", "6392")); if (TVT_EVENT_PARTICIPATION_NPC_ID == 0) { Index: java/config/l2jmods.properties =================================================================== --- java/config/l2jmods.properties (revision 4001) +++ java/config/l2jmods.properties (working copy) @@ -132,3 +132,19 @@ # ex.: 1;2;3;4;5;6 # no ";" at the start or end TvTEventDoorsCloseOpenOnStartEnd = + +#--------------------------------------------------------------- +# Skill Reward For PvP/PK - +#--------------------------------------------------------------- +#Default:False +# Enable Pk Reward System +PkRewardSystem = False + +# Reward Skill ID +PkRewardSkillID = 6392 + +# Enable PvP Reward System +PvPRewardSystem = False + +# Reward Skill ID +PvPRewardSkillID = 6392Thanks.An mpori kapios as to test
16 answers to this question
Recommended Posts