Jump to content

Question

Posted

Hello MxC

Im curently working with:

Interlude T0/C6 - java

 

Im kinda stuck with silly issue on ExShowScreenMessage packet:

	@Override
	protected void writeImpl()
	{
		writeC(0xfe);
		writeH(0x38);
		writeD(_type); // 0 - system messages, 1 - your defined text
		writeD(_sysMessageId); // system message id (_type must be 0 otherwise no effect)
		writeD(_position); // message position
		writeD(_hide ? 1 : 0); // hide
		writeD(_size); // font size 0 - normal, 1 - small
		writeD(_unk2); // ?
		writeD(_unk3); // ?
		writeD(_effect ? 1 : 0); // upper effect (0 - disabled, 1 enabled) - _position must be 2 (center) otherwise no effect
		writeD(_time); // time
		writeD(_fade ? 1 : 0); // fade effect (0 - disabled, 1 enabled)
		writeS(_text); // your text (_type must be 1, otherwise no effect)
	}

using:

sendPacket(new ExShowScreenMessage(1, -1, 3, false, 1, 0, 0, false, 20000, false, messageText);

on the image i maked red colow size of the ExShowScreenMessage packet, i need to decrease it to the blue marker size, i dont get it why its even so big.

this marked size doesnt allow to press that location with mouse and thats how its interupting my movements, i need to fix that, any help please?

prob.jpg

7 answers to this question

Recommended Posts

  • 0
Posted

Found solutions, Thread can be closed.

thx member - L2J Nexus on this forum that helped me to found client side width :)

  • 0
Posted

Because this place on the window is render and can't be targetable. It static and start always from center and ending in the end of window. If you print 1 char you anyway will render long line. I wrote for you recommendatiion how implement better on aCis forum.

  • 0
Posted
1 hour ago, Solomun said:

Does this packet's class have any other constructors?

no its the main contructor of the on screen message that i posted in 1st post

 

10 minutes ago, Rootware said:

Because this place on the window is render and can't be targetable. It static and start always from center and ending in the end of window. If you print 1 char you anyway will render long line. I wrote for you recommendatiion how implement better on aCis forum.

okay i got it how its work now, thx for explain, so as i understand now i need to find how to change that packet start point on the window? if ill set it to the side then this empty line from middle screen will be gone?

  • 0
Posted
1 hour ago, HmD said:

no its the main contructor of the on screen message that i posted in 1st post

 

okay i got it how its work now, thx for explain, so as i understand now i need to find how to change that packet start point on the window? if ill set it to the side then this empty line from middle screen will be gone?

 

You need to edit client side if you want resize width of line by content.

  • Like 1
  • 0
Posted
2 minutes ago, Rootware said:

 

You need to edit client side if you want resize width of line by content.

maybe you have an idea where in client? im looking for it few last hours but cant find in the system

Guest
This topic is now closed to further replies.


  • Posts

    • Greetings, MaxCheaters community! We are the development team behind projects like AdenLand, Classic GvE, TinyEssence, PvPEssence, and several others. Over the years of managing high-traffic servers, we’ve built our own ecosystem of tools for datapack and client editing, simply because standard software often failed to meet our production needs or was too slow. Today, we are opening access to these professional solutions for our colleagues in the dev scene. You can explore our suite of editors and utilities here: 👉 https://la2.tools/ Why choose our tools? Battle-Tested: This software is used daily to maintain and update our own live projects. Efficiency: Designed to automate routine tasks that usually take hours or even days. Stability: Built to handle complex client/server structures where generic tools often crash. We are ready to provide consultations on integrating these tools into your development workflow to make your process faster and more secure.  
    • There is such a topics based on java html services!
    • L2Elixir – Patch 9 Is Live! Since November 28, when L2Elixir officially opened, we’ve been here consistently and with dedication. We sincerely thank everyone who continues to support this major effort to bring back the true legacy of L2Elixir, even after 18+ years. It truly makes us happy to see many old players reunite, just like in the old days, and enjoy the game the way it was meant to be played: without RMT, without bug abusers, and without “paid” clans/CPs that disappear after a month. We continue with vision, stability, and respect for the community. Wishing everyone to Have fun! Changelogs: 🏆 Olympiad Olympiad every Monday & Friday (last day: Friday). Fixed an issue with wrong Class ID caused by the Class Change service. ⚔️ Territory Wars Territory Wars will now be held every Tuesday to increase PvP activity. 🛡️ Antibot General updates and additional security improvements implemented. 🔧 Items Augmentation & Attribute are now allowed on PvP weapons. Implemented Premium Coupon (15 Days) (currently not available). 🎉 Events An Auto Event will begin early morning (05:00) for NA players. 💻 Client Added EXP zones to the Map → Hunting Zones section. Renamed them to “XP Bonus” so they appear at the top of the list.   Website: https://l2elixir.org/ Discord: https://discord.gg/5ydPHvhbxs
    • I haven't work in Essence but I have transformed mobius projects into fully stable projects, reach out to me in Discord @cerus0130
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..