Jump to content
  • 0

Change effe on scroll enchant?


Question

Recommended Posts

  • 0
Posted

How can i change the effe of firework when a armor being +6 there is a firework.. who i can change it and put on every enchant? thnx!

find this
item.setEnchantLevel(item.getEnchantLevel()+1);

in RequestEnchantItem.java and after this paste this

MagicSkillUser  MSU = new MagicSkillUser(activeChar, activeChar, 2024, 1, 1, 0);//Fireworks Display
      activeChar.broadcastPacket(MSU);

  • 0
Posted

find this

item.setEnchantLevel(item.getEnchantLevel()+1);

in RequestEnchantItem.java and after this paste this

MagicSkillUser  MSU = new MagicSkillUser(activeChar, activeChar, 2024, 1, 1, 0);//Fireworks Display
      activeChar.broadcastPacket(MSU);

 

okey.. i'll try.. and after every enchant.. it would pop up a firework?

  • 0
Posted

okey.. i'll try.. and after every enchant.. it would pop up a firework?

yes, but why do you want to do this? It's gonna be annoying for players
  • 0
Posted

as Tryskell said, when you'll reach +6 and +15, two fireworks will pop... I think it's better to find, where it's actually coded for +6 and +15 and change for every enchant.

  • 0
Posted

yes, but why do you want to do this? It's gonna be annoying for players

Αlso,it will prolly crash your console many times.
  • 0
Posted

Αlso,it will prolly crash your console many times.

Urban legend. Have you a simple idea of how many social Actions are played in same time by NPCs ? How many AIs running in same time to determine when is the next random walk, or the next buff ?

 

Your reply is nonsense. The server is actually doing FAR heavier things, and you don't even notice it.

 

If you were broadcasting a firework on every movement, ok you will be packet flooded and eventually disconnected (but that would be funny), but that's not the case.

  • 0
Posted

Urban legend. Have you a simple idea of how many social Actions are played in same time by NPCs ? How many AIs running in same time to determine when is the next random walk, or the next buff ?

 

Your reply is nonsense. The server is actually doing FAR heavier things, and you don't even notice it.

 

If you were broadcasting a firework on every movement, ok you will be packet flooded and eventually disconnected (but that would be funny), but that's not the case.

But what if the server is pvp and there are many people enchanting on the same town the same time?
  • 0
Posted

But what if the server is pvp and there are many people enchanting on the same town the same time?

Lol, be serious :). Did you ever opened L2PHX on your server to see packet traffic ? Do you know //give_all_skills is actually sending between 200 and 1200 packets instantly ? So why do you care about 5 packets max ? And in the hypothetical way where all your player (let's say 200) enchant in same time at +6 on the same town, that's still 200 packets sent per player.

 

It sent a packet only when the item goes for +6 or +15... There will have a problem if you would send 10 packets everytime you walk, but that's not the case.

  • 0
Posted

I think he won't say about server side but client side.

 

If in giran for example, 15 ppl make OE in the same time, it will be boring i guess (if i understand good..)

 

 

  • 0
Posted

I think he won't say about server side but client side.

 

If in giran for example, 15 ppl make OE in the same time, it will be boring i guess (if i understand good..)

 

 

What does OE stand for?
  • 0
Posted

OverEnchant. They enchant all the stuff in the same time from 0 to the max

OverEnchant is when an item has enchant value more than the max one.
  • 0
Posted

OverEnchant is when an item has enchant value more than the max one.

 

No, overenchant is when you go past the safe value. You cannot go past the max and if you can, the server code you are using sucks.

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

    • Lineage 2 Interlude Developer – Cliente + Datapack Hola, soy developer especializado en Lineage 2 Interlude con experiencia tanto en cliente como datapack/core. ✔ Desarrollo datapack (Java, scripts, quests, balance PvP/PvE) ✔ Fixes core / geodata / exploits ✔ Sistemas custom (events, Olympiad, instancias, mods PvP) ✔ Cliente: interface mods, system patches, .dat edits, UI personalizada ✔ Optimización y estabilidad de servidor ✔ Trabajo freelance o colaboración fija Si necesitáis soporte dev o mejoras para vuestro servidor Interlude, podéis contactarme por DM. Portfolio y ejemplos disponibles bajo petición.
    • THEY DON’T COME BACK FOR NO REASON. HERE’S WHY Our clients come from different countries and with very different tasks. But the strongest indicator of quality is simple — when a client comes back **for a second time**. This case is exactly that. The client returned with a request for a **German ID**. The requirement was clear: a document **in a male hand**, with a natural live scene and correct geographic context. What we did: ▪ accepted source files and data without unnecessary bureaucracy ▪ selected a **real street**, not a generic background ▪ built a print-ready mockup with correct scene logic ▪ sent it for approval ▪ after confirmation, delivered the **final file for printing** No templates. No “good enough”. Only solutions tailored to a specific task. Result: ▪ mockup approved on the first try ▪ client fully satisfied ▪ stays in touch We work **worldwide** — and that’s exactly why clients return. Contact us › TG: @mustang_service ( https:// t.me/ mustang_service ) › Channel: Mustang Service ( https:// t.me/ +6RAKokIn5ItmYjEx ) *All data is published with the client’s consent.* #redraw #verification #documents #case #ID
    • Lineage 2 Interlude Developer – Cliente + Datapack Hola, soy developer especializado en Lineage 2 Interlude con experiencia tanto en cliente como datapack/core. ✔ Desarrollo datapack (Java, scripts, quests, balance PvP/PvE) ✔ Fixes core / geodata / exploits ✔ Sistemas custom (events, Olympiad, instancias, mods PvP) ✔ Cliente: interface mods, system patches, .dat edits, UI personalizada ✔ Optimización y estabilidad de servidor ✔ Trabajo freelance o colaboración fija Si necesitáis soporte dev o mejoras para vuestro servidor Interlude, podéis contactarme por DM. Portfolio y ejemplos disponibles bajo petición.
  • 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..