Jump to content
  • 0

Help me how to add Letter Collector event


Question

Posted

Help me how to add Letter Collector event and how to add it to the right shortcut bar.
Source code: L2J_Mobius_Essence_5.2_FrostLord
I'm a rookie and learning everything about server side out of hobby,
please help me thank you all

8 answers to this question

Recommended Posts

  • 0
Posted

I learned through a friend that Mobius free source code does not share the new version of the letter activity file. So this question has an answer, please lock it.

  • 0
Posted (edited)
1 hour ago, frogsandstarfish said:
package l2s.gameserver.network.l2.s2c;

import l2s.gameserver.network.l2.ServerPacketOpcodes;

/**
 * @author Bonux (bonuxq@gmail.com)
 * @date 16.11.2020
 **/
public class ExLetterCollectorUiLauncher extends L2GameServerPacket {
	private final boolean activate;
	private final int minLevel;

	public ExLetterCollectorUiLauncher(boolean activate, int minLevel) {
		this.activate = activate;
		this.minLevel = minLevel;
	}

	@Override
	protected void writeImpl() {
		writeOpcode(ServerPacketOpcodes.ExLetterCollectorUiLauncher);
		writeC(activate);
		writeD(minLevel);
	}
}

/*0xFE:0x23F*/    ExLetterCollectorUiLauncher,     // S_EX_LETTER_COLLECTOR_UI_LAUNCHER

this show only event window
for add new event icon in sidebar - need work with interface.u

sidebar not show\hide btns from server, only live\classic ver. difference, l2.ini params and hardcode in *.uc scripts

 

image.png.dfafe46828cd568d071fb37fbb7a1c06.png

Edited by api
  • 0
Posted (edited)
Quote

 

Quote

 

Thanks !
Does interface.u need editing?
I tried to open 311System interface.u with UT Package Tool v2.0 beta5 and found _S_EX_LETTRE_COLLECTOR_UI_LAUNCHER
But this tool doesn't modify the file, maybe I won't use it.
I don't know how to modify it. no suitable tools
Thanks again for your answer anyway.
Thanks! 👍

Edited by RSC
  • 0
Posted
2 hours ago, RSC said:

Thanks !
Does interface.u need editing?
I tried to open 311System interface.u with UT Package Tool v2.0 beta5 and found _S_EX_LETTRE_COLLECTOR_UI_LAUNCHER
But this tool doesn't modify the file, maybe I won't use it.
I don't know how to modify it. no suitable tools
Thanks again for your answer anyway.
Thanks! 👍

you can edit it via UTPT+hex, small fix

need to delete it and btn will stop being hide by default

image.png.73ff3a7be3c291f89dae09557d23e814.png

 

  • 0
Posted
15 hours ago, frogsandstarfish said:

if you want to ADD a NEW event icon for a custom event or anything else you need to go through interface but if you just want letter collector to work the packet i posted controls the letter collector icon in sidebar

Sorry, just found out that two people replied to me
My fault and thank you very much for answering my question.
Thanks again!

20 hours ago, api said:

您可以通过 UTPT+hex 编辑它,小修复

需要删除它,btn 默认会停止隐藏

image.png.73ff3a7be3c291f89dae09557d23e814.png

 

OK, I'll try to do that.
grateful!

  • 0
Posted
16 hours ago, Vision said:

Have you found solution to your problem?

@RSC

Yes.
I have roughly understood the principle, if need to lock, please lock it.
Thanks again everyone!❤️

  • 0
Posted
3 hours ago, RSC said:

Yes.
I have roughly understood the principle, if need to lock, please lock it.
Thanks again everyone!❤️

 

Ok locked.

Guest
This topic is now closed to further replies.


  • Posts

    • ⚡ Running out of Google Drive space? Get 5TB permanent storage & Gemini Pro for up to 18 months directly on your account on KloudItem!
    • 🥇 PRESENTANDO: CREST CONVERTER PRO - LA EVOLUCIÓN DEFINITIVA 🪄✨ Para administradores de servidores y jugadores de Lineage 2 que exigen la máxima precisión, presentamos CREST CONVERTER PRO. Tomando como base la sólida fundación del popular L2 Crest Converter gratuito, he desarrollado esta nueva edición profesional para llevar la fidelidad gráfica de los emblemas de clan al siguiente nivel., esta nueva edición profesional ha sido desarrollada por PULSER-X (yo) para llevar la fidelidad gráfica de los emblemas de clan al siguiente nivel. Olvide las limitaciones de las versiones anteriores: esta variante PRO integra un motor de Inteligencia Artificial para un recorte y adaptación milimétricos, garantizando resultados impecables para los más perfeccionistas. ⚙️ CARACTERÍSTICAS TÉCNICAS CLAVE: ✅ IA de Precisión: Algoritmos avanzados derivados de nuestra herramienta clásica, ahora optimizados para recortar y centrar assets automáticamente sin distorsiones. ✅ Procesamiento Batch: Optimización y conversión masiva de docenas de archivos en segundos con calidad industrial. ✅ Compatibilidad Absoluta: Generación de emblemas limpios y listos para cualquier cliente de Lineage 2 (Oficial y Privado). ✅ Interfaz Rediseñada: Flujo de trabajo profesional y superior respecto a la versión gratuita inicial. 📺 DEMOSTRACIÓN TÉCNICA OFICIAL: Vea la potencia de esta evolución PRO en acción: 👉 https://youtu.be/pHg3M8NBBx0 🛒 ADQUISICIÓN DEL SOFTWARE: Dé el salto definitivo desde la versión gratuita y eleve el estándar de su servidor hoy mismo. Adquiera su licencia de CREST CONVERTER PRO en nuestra tienda oficial: 🔗 https://pulserx.lemonsqueezy.com/ PX-SOFTWARE - Compromiso con la Excelencia Técnica. 🎮💻
    • Everyone probably remembers that old video where the camera followed the arrow all the way to the target at 3:39:         And some of you may have already noticed something similar in my cloak video at 4:57 — the camera follows the arrow there too, although without any additional improvements.     For anyone who wants to try it themselves, the mod is available for download. Just replace LineageEffect.u in your System folder. I recommend keeping a backup of your original file.   The only difference is that in the old alpha footage, the camera seems to fly almost directly from the arrow’s point of view toward the target. I still need to experiment with that behavior, and maybe it can be recreated more closely.   Download    In its current form: 1. It triggers rarely and randomly: 15-second cooldown, then a 30% chance 2. It does not activate on every shot, regardless of attack speed 3. It does not activate when shooting at point-blank range 4. It only follows your own arrows, so combat is not interrupted 5. It is purely visual — only you can see it
  • 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..