Jump to content

Recommended Posts

Posted (edited)
  On 3/2/2018 at 12:56 PM, eressea said:

 

Just add this line to l2npc.ini section [Setting]:

FastEnterWorld=true

Sometimes it can be too fast that l2server IO buffers run out and l2server drops connection to l2npc - in that case you can slow it down a bit by chaning MakerSleepMilliseconds in MyExt64.ini section [npcd] to some reasonable value (I use 4 milliseconds on L2 Shrine).

Expand  

 

Thank you!

After setting FastEnterWorld=true and extender config MakerSleepMilliseconds to 4, NPCs spawned much faster!

Took about 2 minutes to load L2Server (as usual), but NPCs spawned in about a minute after running NPC server!!!

 

 

Edited by Mobius
  • 3 weeks later...
Posted

Fixed bug in mail system (items from mail couldn't be used in multisell until relog, e.g.  armors couldn't be unsealed etc.)

Posted (edited)
  On 3/21/2018 at 6:17 PM, webdes27 said:

Share if not complicated SQL database for this extension. And then a lot of mistakes. I will be very grateful!

Expand  

 

Mail system table? https://bitbucket.org/l2shrine/extender-public/src/b1e0644b2aeccc739326a6e2bda7fb4abcada7b1/sql/003-mail.sql?at=master&fileviewer=file-view-default

Edited by eressea
Posted
.\Server\L2SkillFunc.cpp(13) : error C2664: 'FnPtr' : cannot convert parameter 1 from 'double (__cdecl *)(CCreature *,CObject *,const CSkillInfo *,const double,const int,const int,const bool)' to 'double (__cdecl *)(CCreature *,CObject *,const CSkillInfo *,double,int,int,bool)'


    WriteInstructionCall(0x845EE4 + 0xDD, FnPtr(CalculateDamage));


    WriteInstructionCall(0x8492B4 + 0xC3, FnPtr(CalculateDamage));


.\Server\GraciaEpilogueBuySell.cpp(119) : error C2664: 'FnPtr' : cannot convert parameter 1 from 'void (__cdecl *)(CYieldLock *,const wchar_t *,const int)' to 'void (__cdecl *)(CYieldLock *,const wchar_t *,int)'



.\Server\CSkillOperateCondition_op_check_abnormal.cpp(10) : error C2664: 'FnPtr' : cannot convert parameter 1 from 'CSkillOperateCondition_op_check_abnormal *(__cdecl *)(const size_t)' to 'CSkillOperateCondition_op_check_abnormal *(__cdecl *)(size_t)'




.\Server\CSkillEffect_t_hp.cpp(11) : error C2664: 'FnPtr' : cannot convert parameter 1 from 'CSkillEffect_t_hp *(__cdecl *)(const size_t)' to 'CSkillEffect_t_hp *(__cdecl *)(size_t)'


Please tell me how to fix these errors?

P.s build release - MyExt64 - 6 error(s), 0 warning(s)

Posted
  On 4/3/2018 at 4:45 PM, letitbe said:
.\Server\L2SkillFunc.cpp(13) : error C2664: 'FnPtr' : cannot convert parameter 1 from 'double (__cdecl *)(CCreature *,CObject *,const CSkillInfo *,const double,const int,const int,const bool)' to 'double (__cdecl *)(CCreature *,CObject *,const CSkillInfo *,double,int,int,bool)'


    WriteInstructionCall(0x845EE4 + 0xDD, FnPtr(CalculateDamage));


    WriteInstructionCall(0x8492B4 + 0xC3, FnPtr(CalculateDamage));


.\Server\GraciaEpilogueBuySell.cpp(119) : error C2664: 'FnPtr' : cannot convert parameter 1 from 'void (__cdecl *)(CYieldLock *,const wchar_t *,const int)' to 'void (__cdecl *)(CYieldLock *,const wchar_t *,int)'



.\Server\CSkillOperateCondition_op_check_abnormal.cpp(10) : error C2664: 'FnPtr' : cannot convert parameter 1 from 'CSkillOperateCondition_op_check_abnormal *(__cdecl *)(const size_t)' to 'CSkillOperateCondition_op_check_abnormal *(__cdecl *)(size_t)'




.\Server\CSkillEffect_t_hp.cpp(11) : error C2664: 'FnPtr' : cannot convert parameter 1 from 'CSkillEffect_t_hp *(__cdecl *)(const size_t)' to 'CSkillEffect_t_hp *(__cdecl *)(size_t)'


Please tell me how to fix these errors?

P.s build release - MyExt64 - 6 error(s), 0 warning(s)

Expand  

 

Get Visual Studio 2005 SP1

Posted
  On 4/7/2018 at 10:35 AM, letitbe said:
Expand  

 

That's the correct version but you need also Visual Studio 2005 SP1

  • Like 1
  • 4 weeks later...

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

    • 🌟 Arena Fights – PvP System for Lineage II servers 📋 Overview The Arena Fights Manager is a fully automated and battle-proven PvP tournament system built for Lineage 2 servers (based on aCis pack standards). It offers hourly or custom-scheduled 1v1 fights, spectator options, disconnection handling, automatic NPC managers, and dynamic rescheduling, ensuring continuous and engaging PvP without the need for GM intervention. Ideal for any serious server that wants to offer competitive, organized, rewarding PvP content.   ⚙️ Features ✅ Full Automation Automatic start/stop based on your custom schedule (Config.ARENA_FIGHTS_SCHEDULE). Reschedules every day at 23:59 for the next day's tournaments. Server restarts during an event? No problem — the system self-detects and continues! ✅ Matchmaking System Smart queue system for 1v1 match creation. Automatic pairing: when two players are queued, a match is instantly created. Validation checks to remove disconnected or invalid players from the queue. ✅ Dynamic PvP Arenas Predefined player teleport locations for fair 1v1 battles. Spectator mode available: players can view live battles through the event interface. ✅ NPC Manager Control Spawns special Arena Manager NPCs during event times. NPCs are deleted when the event finishes to keep the world clean. Multiple Managers can be placed easily. ✅ Robust Player Handling Handles disconnects gracefully: Saves disconnected players. Restores them to a safe location on reconnection. Removes them from the queue or match without crashes or bugs. Players receive a system message upon restoration. ✅ Clean Coding Practices Fully integrated with ThreadPool tasks for efficient, non-blocking performance. Uses CopyOnWriteArrayList for thread-safe collections (queues, matches, disconnected players). Singleton Pattern ensures only one Arena Manager instance exists. ✅ Visual Enhancements World Announcements during important event phases ("Arena Fights have started!", "Battles are over!"). Red Sky Effect (ExRedSky) during Arena start and end for immersive atmosphere. ✅ Admin-Friendly Commands Allows NPC broadcast announcements. Easy to check current running matches and spectate them. Display list of ongoing matches dynamically.   📦 Technical Highlights Built with a modular and clean structure. Zero dependency on hardcoded values — everything configurable via the server Config. Handles dynamic spawning and safe deletion of NPCs through SpawnTable. Utilizes InstanceManager to safely handle player instances.   🎯 Why Choose This Arena System? Feature Other           Arena Fights Disconnection handling ❌ ✅ Fully automatic scheduling ❌ ✅ Daily rescheduling ❌ ✅ Manager NPC auto-spawn/despawn ❌ ✅ Queue matchmaking without GMs ❌ ✅ Clean code with thread-safety ❌ ✅ Integrated visual effects (Red Sky) ❌ ✅ Instant spectating capabilities ❌ ✅ 📈 Expandability Can be adapted to reward players with custom currencies (e.g., Arena Trophy). Could integrate ranking systems based on wins/loses. Room to add betting systems for spectators!   🔥 Screenshots / Preview (Optional) Lobby NPC screenshots Battle happening Spectator UI Disconnection restoration notification   💬 Final Words The Arena Fights Manager is not just a PvP mini-event — it's a major daily PvP engine that will boost: Player activity Server competitiveness Community engagement   It’s optimized for performance, designed for smoothness, and built for growth.   🛒 Available for purchase! Interested? Contact me and let's make your server shine.   PM me directly for inquiries and purchases. Discord: @Luminous   Pricing: Full License: 70e (One-time payment) Support & Updates: included on full licence
    • As if he's dead? Jesus christ  
    • I've heard a rumor that he's no more with us, I hope it's not true
  • Topics

×
×
  • Create New...