Jump to content

Recommended Posts

Posted

Hello, looking for some information about client map size, height width in points and corner points in world coordinate system (x,y) when character location become visible in client map frame.

Can somebody share useful information?

Thanks in advance  

 

Posted
2 hours ago, lvlkoo said:

client map size

terrain map - height map

terrain scale 

spacer.png

 

the coordinates of the terrane , height , and others, you can expand an example, raise it higher or lower it lower, but then you will also have to make changes to static meshes, houses, trees , etc., in general, I hope useful information.

 

Posted

also, since the whole 'world map' is composed of small maps (cells), the whole map might be bigger or smaller depending on the client. In H5 for example, you can go to maps like 11_26 but your char won't be visible in the map window.
If you provide more info about what you wanna do exactly maybe we can give you better information

Posted (edited)

 

2 hours ago, 911reg said:

also, since the whole 'world map' is composed of small maps (cells), the whole map might be bigger or smaller depending on the client. In H5 for example, you can go to maps like 11_26 but your char won't be visible in the map window.
If you provide more info about what you wanna do exactly maybe we can give you better information

The goal is to display character approximate location in some external map frame, for example in web page with map image

So to do this I need to scale character location to target frame, to do correct scaling I need to calculate scale ratio, respectively to calculate ration I need to know source map frame width\height and then in theory I'll just need to multiply this ration to  character's X and Y coordinates and then I'll receive approximate location in target frame

 

123.thumb.jpg.a88038ef1c7d8d02ea8e29910cf4f770.jpg

Edited by lvlkoo
Posted
1 hour ago, lvlkoo said:

The goal is to display character approximate location in some external map frame, for example in web page with map image

So to do this I need to scale character location to target frame, to do correct scaling I need to calculate scale ratio, respectively to calculate ration I need to know source map frame width\height and then in theory I'll just need to multiply this ration to  character's X and Y coordinates and then I'll receive approximate location in target frame

i see, i can't tell you the exact ratio honestly, but you could probably get some clues by looking at MinimapWnd and ZoneName-e.dat


    BlockedLoc1.x = -32768f;
    BlockedLoc1.y = 32768f;
    BlockedLoc2.x = 229376f;
    BlockedLoc2.y = 262144f;
    bMiniMapDisabled = true;

https://pastebin.com/uMnG16Ze

  • Like 1

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...