Jump to content

[Share]Startings Buffs


`Rοmeο

Recommended Posts

Hello MxC.I decide to create patch for newbie characters buffering.

here it is:

 

Index: config/start.properties
===================================================================
--- config/start.properties	(revision 80)
+++ config/start.properties	(working copy)
@@ -61,4 +61,10 @@
StartWithNobless = False

#All Characters Become Hero!
-StartWithHero = False
\ No newline at end of file
+StartWithHero = False
+
+#-------------------------------------------------------------
+# Newbie character Buffering
+#-------------------------------------------------------------
+#Buff Newbie Character?
+BuffNewbieCharacter = False
\ No newline at end of file
Index: java/lt/equal/Config.java
===================================================================
--- java/lt/equal/Config.java	(revision 80)
+++ java/lt/equal/Config.java	(working copy)
@@ -822,6 +822,7 @@
	public static int REC_REWARD;
	public static boolean ENCHANT_HERO_WEAPONS;	
	public static boolean ALL_CHARS_HERO;
+	public static boolean NEWBIE_CHAR_BUFF;
	//By Leki End

	// RATES_CONFIG_FILE
@@ -2019,7 +2020,8 @@
						}
					}				
				START_WITH_NOBLESS = Boolean.parseBoolean(startSettings.getProperty("StartWithNobless", "False"));
-				ALL_CHARS_HERO = Boolean.parseBoolean(startSettings.getProperty("StartWithHero", "False"));				
+				ALL_CHARS_HERO = Boolean.parseBoolean(startSettings.getProperty("StartWithHero", "False"));	
+				NEWBIE_CHAR_BUFF = Boolean.parseBoolean(startSettings.getProperty("BuffNewbieCharacter", "False"));			

				_log.info("# " + START_CONFIG_FILE + " Sucessfully LOADED #");
			}
Index: java/lt/equal/gameserver/network/clientpackets/EnterWorld.java
===================================================================
--- java/lt/equal/gameserver/network/clientpackets/EnterWorld.java	(revision 80)
+++ java/lt/equal/gameserver/network/clientpackets/EnterWorld.java	(working copy)
@@ -217,6 +217,12 @@
			activeChar.setProtection(true);
		}

+		//NewBie Character Buffering
+		if (Config.NEWBIE_CHAR_BUFF && activeChar.getLevel() == 1)
+		{
+			SkillTable.getInstance().getInfo(364, 1).getEffects(activeChar, activeChar);		
+		}
+
		// restore info about chat ban
		activeChar.checkBanChat(false);

 

Credits to Me.

 

 

P.s if you want more buff add this

SkillTable.getInstance().getInfo(skill_id, skill_lvl).getEffects(activeChar, activeChar);

 

After

 

SkillTable.getInstance().getInfo(364, 1).getEffects(activeChar, activeChar);
Link to comment
Share on other sites

i most try this

sound good for a newbie server like mine

so the points is all levels can get buffs right?

 

Yes..

Link to comment
Share on other sites

  • 1 year later...

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

    • What unique features ? 
    • Welcome to SmurfsZone   Buy League of Legends accounts across all servers and jump straight into Ranked Games with amazing quality and support.   Why Choose SmurfsZone? 24/7 Instant Delivery: Get your full access LoL smurf account immediately. 100% Hand-Leveled: High-quality accounts leveled by hand. Versatile MMR Options: High MMR, Standard MMR, Fresh MMR (ARAMs), and Ranked accounts available. Valorant Accounts: Expand your gaming experience. Our Commitment to You: Unopened Loot: Customize your champion pool. Lifetime Warranty: Valid if you change the email, username, and password upon purchase. Password Changeable: Ensure your account's security. Full Recovery Information: Complete access to account recovery details. Unverified and Changeable Email: Easy to personalize and secure your account. Completely Unranked: Fresh start with no ranked history in any season. Responsive Customer Support: Our dedicated team is available to assist you 24/7.   Experience the best place to buy League of Legends accounts with exceptional quality and dedicated support. We're here for YOU!
    • Thanks! I'll take a second look and let you know if my implementation of the clearCircle() helps with the stuttering once I find time for some extensive testing.
    • Thank you for your reply. I have removed it from the L2Server.exe file, but the L2Server still crashes. It doesn't crash if I don't start l2npc, otherwise it will crash within a few days at the latest.
    • Welcome to my store :  https://topestore.mysellix.io/fr/ 2015-2022 Aged Discord Account 2015 Discord Account : 50.99 $ 2016 Discord Account : 10$ 2017 Discord Account :3.99 $ 2018 Discord Account : 3.50$ 2019 Discord Account : 2.70 $ 2020 Discord Account :1.50$ 2021 Discord Account :0.99$ 2022 Discord Account :0.70$ Warranty :Lifetime Payment Methods : Crypto/ PayPal Contact Me On Discord Or Telegram Discord : @ultrasstore11 Telegram : https://t.me/ultrastore1 Welcome to my store :  https://topestore.mysellix.io/fr/ 2015-2022 Aged Discord Account 2015 Discord Account : 50.99 $ 2016 Discord Account : 10$ 2017 Discord Account :3.99 $ 2018 Discord Account : 3.50$ 2019 Discord Account : 2.70 $ 2020 Discord Account :1.50$ 2021 Discord Account :0.99$ 2022 Discord Account :0.70$ Warranty :Lifetime Payment Methods : Crypto/ PayPal Contact Me On Discord Or Telegram Discord : @ultrasstore11 Welcome to my store :  https://topestore.mysellix.io/fr/ 2015-2022 Aged Discord Account 2015 Discord Account : 50.99 $ 2016 Discord Account : 10$ 2017 Discord Account :3.99 $ 2018 Discord Account : 3.50$ 2019 Discord Account : 2.70 $ 2020 Discord Account :1.50$ 2021 Discord Account :0.99$ 2022 Discord Account :0.70$ Warranty :Lifetime Payment Methods : Crypto/ PayPal Contact Me On Discord Or Telegram Discord : @ultrasstore11
  • Topics

×
×
  • Create New...