Jump to content
  • 0

Help On My Server...


Question

Posted

I Just Made an L2j Server and i need to change the appearence of some npc...i want to change name & appearence....I want to know too when i spawn a mob.. how i de-spawn it....and something more..rr of the server i do if i close l2authd.bat and l2server.bat and re-open em??and last...i need to make save or something to dont lose data when im doing restart the server????plz help...tnx a lot...

 

:) ;) :D :o 8) ::) :P

5 answers to this question

Recommended Posts

  • 0
Posted

Edit NPC : Alt + G (with target NPC You want to add)

Spawn a Mob : //spawn (name)

De-Spawn : target and //delete

RR server : //server_restart (secs)

if you close and open again l2authd.bat and l2server.bat server will be close and open again.

How to do save ? : db make  Auto Save

 

  • 0
Posted

Edit NPC : Alt + G (with target NPC You want to add)

Spawn a Mob : //spawn (name)

De-Spawn : target and //delete

RR server : //server_restart (secs)

if you close and open again l2authd.bat and l2server.bat server will be close and open again.

How to do save ? : db make  Auto Save

 

 

off: as a gold member you may to check where the thread starter made the topic and as you saw (propably) he ask for help so you should lock it and ask for a transfer to the correct section

  • 0
Posted

I Just Made an L2j Server and i need to change the appearence of some npc...i want to change name & appearence....I want to know too when i spawn a mob.. how i de-spawn it....and something more..rr of the server i do if i close l2authd.bat and l2server.bat and re-open em??and last...i need to make save or something to dont lose data when im doing restart the server????plz help...tnx a lot...

 

:) ;) :D :o 8) ::) :P

 

When asking for help please mention Chronicle and Pack.

And also tell if it is preconfigured or compiled (matters for me).

 

Edit NPC : Alt + G (with target NPC You want to add)

 

Fail or what? He asks to edit it.

Alt + G will just open a menu with a few functions but not with NPC edition.

To edit the NPC or Mob press shift and click on it.

Then add the ID of the NPC/Mob whose appearence you wanna put.

 

For further editions though, this way won't be enough, since you'll need to change stuff from the database/datapack.

 

Spawn a Mob : //spawn (name)

 

or ID.

 

off: as a gold member you may to check where the thread starter made the topic and as you saw (propably) he ask for help so you should lock it and ask for a transfer to the correct section

 

He doesn't have the proper experience, since he didn't receive gold membership in the proper way.

 


 

Regards.

Guest
This topic is now closed to further replies.


  • Posts

    • A simple script which randomizes your target from shortest -> furthest so you can farm with Rush Impact on your doombringer   Edit your skill id (Default 45179): SkillList.ByID(45159, sweep)   Edit your search range (Default 900):  Script.NewThread(@SweepThread, Pointer(900));     var bSweepFurthest: boolean; // Global state variable to track which mob to get next // This procedure now alternates between finding the furthest and nearest mob. procedure SweepThread(dist: integer); var sweep: TL2Skill; mob: TL2Npc; begin while Delay(100) do begin if (Engine.Status = lsOnline) and SkillList.ByID(45159, sweep) then begin // Decide which mob to find based on the bSweepFurthest state if (bSweepFurthest) then begin mob:= GetFurthestSweepableMob(dist); // Looking for the furthest mob end else begin mob:= GetNearestSweepableMob(dist); // Looking for the nearest mob end; if (mob <> nil) then begin if Engine.SetTarget(mob) then Delay(1); Engine.UseSkill(sweep) ; // Flip the state for the next loop iteration bSweepFurthest := not bSweepFurthest; end; end; end; end; // Corrected to check for dead mobs function GetNearestSweepableMob(dist: integer): TL2Npc; var i: integer; begin Result:= nil; for i:= 0 to NpcList.Count-1 do begin if (NpcList(i).Valid) and (User.DistTo(NpcList(i)) < dist) and not (NpcList(i).Dead) then begin // <<< Corrected: Sweepable mobs are dead Result:= NpcList(i); dist:= User.DistTo(NpcList(i)); end; end; end; // Modified to accept a distance parameter and corrected to check for dead mobs function GetFurthestSweepableMob(dist: integer): TL2Npc; var i: integer; max_dist: integer; begin Result:= nil; max_dist:= 0; for i:= 0 to NpcList.Count-1 do begin if (NpcList(i).Valid) and (User.DistTo(NpcList(i)) < dist) // <<< Changed from 400 to the 'dist' parameter and not (NpcList(i).Dead) // <<< Corrected: Sweepable mobs are dead and (User.DistTo(NpcList(i)) > max_dist) then begin Result:= NpcList(i); max_dist:= User.DistTo(NpcList(i)); end; end; end; // Main execution block begin // Initialize the state to start by finding the furthest mob first bSweepFurthest := true; // Start the thread, passing 300 as the max distance for both nearest and furthest searches Script.NewThread(@SweepThread, Pointer(900)); Delay(-1); end.  
    • 🔥 O servidor que vai mudar seu conceito de Lineage 2! ⚔️ https://L2Destruction.com.br | Chronicle C4 - Scion of Destiny Um clássico com alma moderna. Eventos inéditos, mecânicas revolucionárias e um PvP/PvE intenso como você nunca viu! ✅ Rates: XP 75 / SP 65 / Adena 75 ✅ Party Level Up ✅ Anti-bot, anti-pay-to-win ✅ Comunidade ativa e suporte dedicado 🎯 Se você busca emoção de verdade, este é o servidor! 🔗 Acesse: https://L2Destruction.com.br 🛡️ Prepare-se para o combate. O seu destino começa agora. 🔥 The server that will redefine your Lineage 2 experience! ⚔️ https://L2Destruction.com.br | Chronicle C4 - Scion of Destiny A classic reborn with modern systems. Unique events, custom mechanics, and non-stop PvP/PvE action await you! ✅ Rates: XP 75 / SP 65 / Adena 75 ✅ Party Level Up ✅ No bots, no pay-to-win ✅ Active community and dedicated support 🎯 If you want a real challenge — this is your server! 🔗 Visit: https://L2Destruction.com.br 🛡️ The battle begins now. Your destiny awaits. 🔥 ¡El servidor que va a revolucionar tu experiencia en Lineage 2! ⚔️ https://L2Destruction.com.br | Chronicle C4 - Scion of Destiny Un clásico con alma moderna. Eventos únicos, mecánicas avanzadas y acción PvP/PvE constante como nunca antes. ✅ Rates: XP 75 / SP 65 / Adena 75 ✅ Party Level Up ✅ Sin bots, sin pay-to-win ✅ Comunidad activa y soporte dedicado 🎯 Si buscas una experiencia real — este es tu servidor. 🔗 Ingresa a: https://L2Destruction.com.br 🛡️ Prepárate para la guerra. Tu destino comienza ahora!  
    • Dear friends! We are pleased to present our new Telegram bot for purchasing  Telegram Stars  Convenient and easy to use The best prices Fast, cheap, and safe Support for multiple payment methods ➡ Go to the bot to purchase Telegram Stars Useful links: Telegram bot for purchasing Telegram Stars: Go Digital goods store: Go Store’s Telegram bot: Go SMM Panel: Go Contacts and support: ➡ Telegram: https://t.me/socnet_support  ➡ Telegram channel: https://t.me/accsforyou_shop  ➡ WhatsApp: https://wa.me/79051904467  ➡ WhatsApp channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n  ➡ Discord: socnet_support  ➡ Discord server: https://discord.gg/y9AStFFsrh  ➡ ✉ Email: solomonbog@socnet.store  Through these contacts you can also: — get consultations on wholesale purchases — establish a partnership (current partners: https://socnet.bgng.io/partners ) — become our supplier SocNet — digital goods and premium subscriptions store 
    • Dear friends! We are pleased to present our new Telegram bot for purchasing  Telegram Stars  Convenient and easy to use The best prices Fast, cheap, and safe Support for multiple payment methods ➡ Go to the bot to purchase Telegram Stars Useful links: Telegram bot for purchasing Telegram Stars: Go Digital goods store: Go Store’s Telegram bot: Go SMM Panel: Go Contacts and support: ➡ Telegram: https://t.me/socnet_support  ➡ Telegram channel: https://t.me/accsforyou_shop  ➡ WhatsApp: https://wa.me/79051904467  ➡ WhatsApp channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n  ➡ Discord: socnet_support  ➡ Discord server: https://discord.gg/y9AStFFsrh  ➡ ✉ Email: solomonbog@socnet.store  Through these contacts you can also: — get consultations on wholesale purchases — establish a partnership (current partners: https://socnet.bgng.io/partners ) — become our supplier SocNet — digital goods and premium subscriptions store 
    • Great product, easy to install/handle and nice guy @Splicho! Amazing work mate.
  • 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