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

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

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

    • Server is Online – 1,000+ Active Players! We’re excited to announce the addition of a Europe Proxy to improve connectivity for our EU players! Clans can now benefit from VIP Access to help you catch up faster. 🎯 If you're a clan leader with at least 9 active members, join our Discord and open a ticket to claim your VIP rewards!  
    • The Telegram team is rolling out a new batch of Stars-only gifts you’ll be able to mint as NFTs. Don’t miss your chance to join the next Telegram trend and earn from it! Buy Telegram Stars cheap and KYC-free 1 Star from $0.0149 (min. 50 Stars, bulk discounts available) Promo code STARS5 — 5 % off Pay any way you like: bank cards · crypto · other popular methods How to purchase: ➡Online Store — Click ➡ Telegram bot — Click Other services: ➡ SMM panel — Click Regular buyers get extra discounts and promo codes. Support: ➡ Telegram: https://t.me/solomon_bog ➡ Telegram channel: https://t.me/accsforyou_shop ➡ Discord: https://discord.gg/y9AStFFsrh ➡ WhatsApp: https://wa.me/79051904467 ➡ Email: solomonbog@socnet.store Use these contacts to discuss wholesale orders, partnerships (current list: https://socnet.bgng.io/partners) or to become a supplier. SocNet — your shop for digital goods and premium subscriptions
    • The Telegram team is rolling out a new batch of Stars-only gifts you’ll be able to mint as NFTs. Don’t miss your chance to join the next Telegram trend and earn from it! Buy Telegram Stars cheap and KYC-free 1 Star from $0.0149 (min. 50 Stars, bulk discounts available) Promo code STARS5 — 5 % off Pay any way you like: bank cards · crypto · other popular methods How to purchase: ➡Online Store — Click ➡ Telegram bot — Click Other services: ➡ SMM panel — Click Regular buyers get extra discounts and promo codes. Support: ➡ Telegram: https://t.me/solomon_bog ➡ Telegram channel: https://t.me/accsforyou_shop ➡ Discord: https://discord.gg/y9AStFFsrh ➡ WhatsApp: https://wa.me/79051904467 ➡ Email: solomonbog@socnet.store Use these contacts to discuss wholesale orders, partnerships (current list: https://socnet.bgng.io/partners) or to become a supplier. SocNet — your shop for digital goods and premium subscriptions
    • 📜 • Mass PVP – Craft – Progressive Server (ITEMS, ARMOR, WEAPONS, ETC) 🕹️ • Chronicles: Lineage 2 - Interlude (C6) 🛠️ • Retail status 🕒 • Server Time: GMT -3 🏙️ • Main Town: Giran ✨ • Teleportation for all Towns, Gk Global 🛡️ • NPC BUFFER - GMSHOP B-GRADE - DONATION SHOP - AUCTION MANAGER 🐉 • Epic Bosses: Chaotic Zones 🔁 • Protection respawn: 15 seconds ⏰ • Restart Server: 05:00 AM Today 💸 • RTM allowed between players (ask Staff if in doubt) 📊 SERVER RATES: • EXP: x8 • SP: x10 • Adena: x3 • Seal Stone: x3 • Drop: x3 • Spoil: x5 • Raid EXP/SP/Drop: x3 • Premium Rates: x2 🌐 Website: https://www.l2roosters.com 💬 Discord: https://discord.gg/cUyYXrfy 🔥 Join us now and forge your legacy at Roosters Gaming!
    • Hello, lovely people, how are you? I just finished compiling the L2jFrozen project Rev: 1132 (very old). I don't mind it being too old, since the project is for me and my children. (LAN/Offline) it's not meant to be put online. I want to learn and give my children more comfort when playing. And for my part, I also experiment with the game. My problem is that I don't know much about the subject. I was able to make some basic configurations to my liking and that of my children, but it never compiles or anything like that... I would really need help from you, the community... I simply want to remove all subclass restrictions, remove the restriction on "Overlord, Warsmith, and Dark Elf subclasses with White Elves and vice versa." Thank you very much in advance! Greetings, community.
  • 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