Jump to content

Recommended Posts

Posted

well, just what I did was to accommodate the Matim to L2JOficial to L2JServer, and I leave the patch so as not to complicate them, for which recently started.

 

Config.java

Index: Config.java
===================================================================
--- Config.java	(revisión: 4130)
+++ Config.java	(copia de trabajo)

	public static boolean L2JMOD_ENABLE_MANA_POTIONS_SUPPORT;
	public static boolean L2JMOD_DISPLAY_SERVER_TIME;
+	// Mensaje de Bienvenida
	public static boolean WELCOME_MESSAGE_ENABLED;
-	public static String WELCOME_MESSAGE_TEXT;
+	public static String WELCOME_MESSAGE_TEXT_1;
+	public static String WELCOME_MESSAGE_TEXT_2;
+	public static String WELCOME_MESSAGE_TEXT_3;
+	public static String WELCOME_MESSAGE_TEXT_4;
+	public static String WELCOME_MESSAGE_TEXT_5;
+	public static String WELCOME_MESSAGE_TEXT_6;
+	public static String WELCOME_MESSAGE_TEXT_7;
+	public static String WELCOME_MESSAGE_TEXT_8;
+	public static String WELCOME_MESSAGE_TEXT_9;
+	public static String WELCOME_MESSAGE_TEXT_10;
+	public static int SLEEP_TIME;
	public static int WELCOME_MESSAGE_TIME;
	public static boolean L2JMOD_ANTIFEED_ENABLE;
	public static boolean L2JMOD_ANTIFEED_DUALBOX;

@@ -2227,7 +2304,17 @@
					L2JMOD_DISPLAY_SERVER_TIME = Boolean.parseBoolean(L2JModSettings.getProperty("DisplayServerTime", "false"));

					WELCOME_MESSAGE_ENABLED = Boolean.parseBoolean(L2JModSettings.getProperty("ScreenWelcomeMessageEnable", "false"));
-					WELCOME_MESSAGE_TEXT = L2JModSettings.getProperty("ScreenWelcomeMessageText", "Welcome to L2J server!");
+					WELCOME_MESSAGE_TEXT_1 = L2JModSettings.getProperty("ScreenWelcomeMessageText1", "Bienvenido a Neo-Net Games® Foros!");
+					WELCOME_MESSAGE_TEXT_2 = L2JModSettings.getProperty("ScreenWelcomeMessageText2", "Bienvenido a Neo-Net Games® Votanos!");
+					WELCOME_MESSAGE_TEXT_3 = L2JModSettings.getProperty("ScreenWelcomeMessageText3", "Bienvenido a Neo-Net Games® Entrega!");
+					WELCOME_MESSAGE_TEXT_4 = L2JModSettings.getProperty("ScreenWelcomeMessageText4", "Bienvenido a Neo-Net Games® a!");
+					WELCOME_MESSAGE_TEXT_5 = L2JModSettings.getProperty("ScreenWelcomeMessageText5", "Bienvenido a Neo-Net Games® tu!");
+					WELCOME_MESSAGE_TEXT_6 = L2JModSettings.getProperty("ScreenWelcomeMessageText6", "Bienvenido a Neo-Net Games® Hermana!");
+					WELCOME_MESSAGE_TEXT_7 = L2JModSettings.getProperty("ScreenWelcomeMessageText7", "Bienvenido a Neo-Net Games® que!");
+					WELCOME_MESSAGE_TEXT_8 = L2JModSettings.getProperty("ScreenWelcomeMessageText8", "Bienvenido a Neo-Net Games® se!");
+					WELCOME_MESSAGE_TEXT_9 = L2JModSettings.getProperty("ScreenWelcomeMessageText9", "Bienvenido a Neo-Net Games® la pongo!");
+					WELCOME_MESSAGE_TEXT_10 = L2JModSettings.getProperty("ScreenWelcomeMessageText10", "Bienvenido a Neo-Net Games® toda!");
+					SLEEP_TIME =Integer.parseInt(L2JModSettings.getProperty("SleepTime", "10")) * 1000;
					WELCOME_MESSAGE_TIME = Integer.parseInt(L2JModSettings.getProperty("ScreenWelcomeMessageTime", "10")) * 1000;

					L2JMOD_ANTIFEED_ENABLE = Boolean.parseBoolean(L2JModSettings.getProperty("AntiFeedEnable", "false"));

 

l2jmods.properties

Index: l2jmods.properties
===================================================================
--- l2jmods.properties	(revisión: 4130)
+++ l2jmods.properties	(copia de trabajo)

# Show screen welcome message for x seconds when character log in to game if enabled
ScreenWelcomeMessageTime = 10

+# ---------------------------------------------------
+# Custom Starting Message
+# ---------------------------------------------------
+# This options will allow to show
+# new custom message at enter world
+AllowScreenWelcomeMessage = True

+# Messages Time in seconds
+EachMessageTime = 6
+
+# Text Messages
+ScreenWelcomeMessageText1 = Bienvenido a Neo-Net Games® Foros!
+ScreenWelcomeMessageText2 = Bienvenido a Neo-Net Games® Votanos!
+ScreenWelcomeMessageText3 = Bienvenido a Neo-Net Games® Entrega!
+ScreenWelcomeMessageText4 = Bienvenido a Neo-Net Games® a!
+ScreenWelcomeMessageText5 = Bienvenido a Neo-Net Games® tu!
+ScreenWelcomeMessageText6 = Bienvenido a Neo-Net Games® Hermana!
+ScreenWelcomeMessageText7 = Bienvenido a Neo-Net Games® que!
+ScreenWelcomeMessageText8 = Bienvenido a Neo-Net Games® se!
+ScreenWelcomeMessageText9 = Bienvenido a Neo-Net Games® la pongo!
+ScreenWelcomeMessageText10 = Bienvenido a Neo-Net Games® toda!
+
+# Sleep Time in seconds
+SleepTime = 7
+
+

 

EnterWorld.java

Index: EnterWorld.java
===================================================================
--- EnterWorld.java	(revisión: 4130)
+++ EnterWorld.java	(copia de trabajo)

@@ -478,10 +545,36 @@
		CommunityServerThread.getInstance().sendPacket(new WorldInfo(activeChar, null, WorldInfo.TYPE_UPDATE_PLAYER_STATUS));

		TvTEvent.onLogin(activeChar);
-
+	try
+	      {  
		if (Config.WELCOME_MESSAGE_ENABLED)
-			activeChar.sendPacket(new ExShowScreenMessage(Config.WELCOME_MESSAGE_TEXT, Config.WELCOME_MESSAGE_TIME));
+			  activeChar.sendPacket(new ExShowScreenMessage(Config.WELCOME_MESSAGE_TEXT_1, Config.WELCOME_MESSAGE_TIME));
+        	  Thread.sleep(Config.SLEEP_TIME);
+        	  activeChar.sendPacket(new ExShowScreenMessage(Config.WELCOME_MESSAGE_TEXT_2, Config.WELCOME_MESSAGE_TIME));
+        	  Thread.sleep(Config.SLEEP_TIME);
+        	  activeChar.sendPacket(new ExShowScreenMessage(Config.WELCOME_MESSAGE_TEXT_3, Config.WELCOME_MESSAGE_TIME));
+        	  Thread.sleep(Config.SLEEP_TIME);
+        	  activeChar.sendPacket(new ExShowScreenMessage(Config.WELCOME_MESSAGE_TEXT_4, Config.WELCOME_MESSAGE_TIME));
+        	  Thread.sleep(Config.SLEEP_TIME);
+        	  activeChar.sendPacket(new ExShowScreenMessage(Config.WELCOME_MESSAGE_TEXT_5, Config.WELCOME_MESSAGE_TIME));
+        	  Thread.sleep(Config.SLEEP_TIME);
+        	  activeChar.sendPacket(new ExShowScreenMessage(Config.WELCOME_MESSAGE_TEXT_6, Config.WELCOME_MESSAGE_TIME));
+        	  Thread.sleep(Config.SLEEP_TIME);
+        	  activeChar.sendPacket(new ExShowScreenMessage(Config.WELCOME_MESSAGE_TEXT_7, Config.WELCOME_MESSAGE_TIME));
+        	  Thread.sleep(Config.SLEEP_TIME);
+        	  activeChar.sendPacket(new ExShowScreenMessage(Config.WELCOME_MESSAGE_TEXT_8, Config.WELCOME_MESSAGE_TIME));
+        	  Thread.sleep(Config.SLEEP_TIME);
+        	  activeChar.sendPacket(new ExShowScreenMessage(Config.WELCOME_MESSAGE_TEXT_9, Config.WELCOME_MESSAGE_TIME));
+        	  Thread.sleep(Config.SLEEP_TIME);
+        	  activeChar.sendPacket(new ExShowScreenMessage(Config.WELCOME_MESSAGE_TEXT_10, Config.WELCOME_MESSAGE_TIME));
+    
+	      }

+	      catch(Exception e)
+	      {
+	      System.out.println(e);
+	      }
+	      
		L2ClassMasterInstance.showQuestionMark(activeChar);

		int birthday = activeChar.checkBirthDay();

 

eh also added some more places for messages, if they want them out or leave it so it works correctly in the latest rev of L2J-Server EP

 

 

Download

Posted

i bet the player will just shit brix or shit brix on the servers admin face xD

Waiting that amount of time is nasy + that the screen message text is interactive and u can click on it so if u try targeting smth or pressing a button or smth will just make the player scream out laud: "-beep- YOU COCK SUCKER AND UR SHITTY SCREEN MESSAGE ADVERTISEMENT!" xD

Anyway cool shit >.> and i see u have thread sleep and stuff, did u know that screen messages have hide boolean and position type? You should check that out xD (even images)

Posted

Anyway thread.Sleep is bad idea in this case.

well not actually since the client packet is runnable thread :P

Posted

i didnt understand, is this a simple exshowscreenmessage or a "box" with some words?

 

Here you can check how does it work.

 

Posted

file does not exist

if I apply manually will it work?bc this is realy nice and i need it

 

 

Apply it manually and check ..

  • 3 months later...
  • 10 months later...
Posted

this code work for interlude?

 

Yes, but interbliude don't have exshowmessage on server packetts, you need to take from gracia, hi5 or other chronicle.

 

BTW you can write this in client

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • I was looking for  server with a low rates,eventually i found l2 elixir.I Joined beta and after so many years since 2008 i found  a friend that we played together, memories came back. i cant wait for the grand oppening!. dont miss it!
    • Seems legit, for sure deserves a try!
    • SOCNET VERIFICATION SERVICE — is a universal solution for those who value security, convenience, and quality. We turn the verification process into a convenient, fast, and highly confidential experience. Thanks to our service, any of your accounts receive identity confirmation, an increased level of trust from platforms and users, as well as protection from bans, fraud, and risks.   Promotion: Pay for your first verification and get a 10% discount on the second one! 💎 We help with verification on Fragment, crypto exchanges ByBit, Gate, Bitget, OKX, Binance, PayPal, KuCoin, and social networks LinkedIn, Facebook, Instagram, Twitter (X) and many other platforms! 💎 Verification for any service: crypto exchanges, trading platforms, hosting providers, casinos and other websites. Why choose us:   Premium quality — we use the most advanced verification methods. High processing speed — accelerated verification on leading platforms, online services and social networks. Full confidentiality — your personal information is protected. Increased trust and status — a verified account boosts influence and improves conversion. Individual approach — we work with bloggers, brands, businesses, and private clients. Simplifying complexity — we handle issues when dealing with foreign services. Important! Services related to illegal activities are strictly prohibited! 💳 Service pricing   ✅ Verification of individuals — from $30 (the exact cost depends on the required location and service/app/website). Learn more 👨‍💼 The cost of business verification for companies or legal entities is discussed individually with the service administration. Learn more If you want us to register your account on the required service and verify it — you will need to additionally pay 10% of the transaction amount. Available payment methods: cryptocurrency, credit cards, PayPal, and other payment methods in our online store and Telegram bot.   ⭐ Our Online Store ⭐ SOCNET.STORE ⭐ Telegram Store ⭐ SOCNET.SHOP ⭐ Our SMS Service ⭐ SOCNET.APP ⭐ Our Telegram Bot for buying Telegram Stars ⭐ SOCNET.CC ⭐ Our SMM Panel ⭐ SOCNET.PRO   ✅ News Resources ➡ Telegram Channel ➡ WhatsApp Channel ➡ Discord Server     ⭐ We invite you to COOPERATE and EARN with us ⭐ Would you like to sell your product or service in our stores and earn money? Become our partner or offer mutually beneficial collaboration? You can contact us via the CONTACTS listed in this topic. ✅ Contacts & Support ➡ Telegram Support ➡ WhatsApp Support ➡ Discord Support: socnet_support ➡ Email Support: solomonbog@socnet.store   Terms of Use and Refund Policy If you have any questions or issues, our fast support service is ready to respond to your requests! A refund for a completed service that does not fully meet the requirements or the declared quality is possible only if the product description includes a warranty and a valid warranty period. In other cases, a full refund for the service will not be provided! By purchasing such a service, you automatically agree to our refund rules for non-provided services! Refunds for countries selected by mistake are not provided after verification. To complete verification, you must provide full access to your account. We currently accept cryptocurrency, credit cards, PayPal, and other payment methods in our online store and Telegram bot! We value every client and provide replacements in case of invalid accounts via our contact channels! Attention: Your order will be delivered to your personal Google Drive/Mega.nz via a link (check the link, click “View content”) within 24 hours after the order confirmation! If you purchased more than 1 item at once, your entire order will be delivered via the first link! The remaining links will be empty! You will automatically receive an email notification after delivery! If you pay on our website via PayPal, you must pay an additional 20% commission (minimum $1). To avoid this commission, you can pay me directly via PayPal — instructions are available on the website! Refunds for items purchased by mistake or due to “I chose the wrong product and did not use it” are not accepted! You are fully responsible for your actions before and after purchase.
    • SOCNET VERIFICATION SERVICE — is a universal solution for those who value security, convenience, and quality. We turn the verification process into a convenient, fast, and highly confidential experience. Thanks to our service, any of your accounts receive identity confirmation, an increased level of trust from platforms and users, as well as protection from bans, fraud, and risks.   Promotion: Pay for your first verification and get a 10% discount on the second one! 💎 We help with verification on Fragment, crypto exchanges ByBit, Gate, Bitget, OKX, Binance, PayPal, KuCoin, and social networks LinkedIn, Facebook, Instagram, Twitter (X) and many other platforms! 💎 Verification for any service: crypto exchanges, trading platforms, hosting providers, casinos and other websites. Why choose us:   Premium quality — we use the most advanced verification methods. High processing speed — accelerated verification on leading platforms, online services and social networks. Full confidentiality — your personal information is protected. Increased trust and status — a verified account boosts influence and improves conversion. Individual approach — we work with bloggers, brands, businesses, and private clients. Simplifying complexity — we handle issues when dealing with foreign services. Important! Services related to illegal activities are strictly prohibited! 💳 Service pricing   ✅ Verification of individuals — from $30 (the exact cost depends on the required location and service/app/website). Learn more 👨‍💼 The cost of business verification for companies or legal entities is discussed individually with the service administration. Learn more If you want us to register your account on the required service and verify it — you will need to additionally pay 10% of the transaction amount. Available payment methods: cryptocurrency, credit cards, PayPal, and other payment methods in our online store and Telegram bot.   ⭐ Our Online Store ⭐ SOCNET.STORE ⭐ Telegram Store ⭐ SOCNET.SHOP ⭐ Our SMS Service ⭐ SOCNET.APP ⭐ Our Telegram Bot for buying Telegram Stars ⭐ SOCNET.CC ⭐ Our SMM Panel ⭐ SOCNET.PRO   ✅ News Resources ➡ Telegram Channel ➡ WhatsApp Channel ➡ Discord Server     ⭐ We invite you to COOPERATE and EARN with us ⭐ Would you like to sell your product or service in our stores and earn money? Become our partner or offer mutually beneficial collaboration? You can contact us via the CONTACTS listed in this topic. ✅ Contacts & Support ➡ Telegram Support ➡ WhatsApp Support ➡ Discord Support: socnet_support ➡ Email Support: solomonbog@socnet.store   Terms of Use and Refund Policy If you have any questions or issues, our fast support service is ready to respond to your requests! A refund for a completed service that does not fully meet the requirements or the declared quality is possible only if the product description includes a warranty and a valid warranty period. In other cases, a full refund for the service will not be provided! By purchasing such a service, you automatically agree to our refund rules for non-provided services! Refunds for countries selected by mistake are not provided after verification. To complete verification, you must provide full access to your account. We currently accept cryptocurrency, credit cards, PayPal, and other payment methods in our online store and Telegram bot! We value every client and provide replacements in case of invalid accounts via our contact channels! Attention: Your order will be delivered to your personal Google Drive/Mega.nz via a link (check the link, click “View content”) within 24 hours after the order confirmation! If you purchased more than 1 item at once, your entire order will be delivered via the first link! The remaining links will be empty! You will automatically receive an email notification after delivery! If you pay on our website via PayPal, you must pay an additional 20% commission (minimum $1). To avoid this commission, you can pay me directly via PayPal — instructions are available on the website! Refunds for items purchased by mistake or due to “I chose the wrong product and did not use it” are not accepted! You are fully responsible for your actions before and after purchase.
    • +8? Isnt +5 max per one stat?
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock