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

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

    • L2Elixir – Patch 4 Is Live!   We’re working non-stop, day and night, to deliver the best possible quality and bring back what made L2Elixir special. This project is built with passion, not shortcuts — for the old-school players who remember, and the new ones who want to experience it properly. Thank you for being part of the journey. Together, we’re making L2Elixir great again ❤️ The legends never fade.    ⚙️ General Enabled Class Change service (same class type only) ALT + B → Services → Character Development Enabled Shift + Click on Treasure Chests Players can now identify real chests (Adena, scroll drops) and use Key / Unlock Event deaths now cancel only debuffs, All self buffs are preserved, fixes issues with Root and similar effects Bladedancer class can now log in even when Max Clients (2) is reached. Since an active Bladedancer is not available for every damage dealer and some players tried to abuse this via VPN or a second PC, this feature was added to keep things fair. protections applies, requires testing!    🎒 Items Crystallizing enchanted items now gives the correct increased crystal amount (retail-like behavior) Removed Agathion Seal Bracelet: Rudolph from Santa rewards (Gracia Final item) Added Dualsword Craft Stamp into Milestone Exchange list    🧙 Skills Fixed Banish Undead lethal chance Hot Springs Malaria and similar effects now level up faster while being attacked
    • thats new SEO level tricks you know nothing of noob - bottom line: exposed.
    • Warning: This guy is a big scammer, trying to sell everything, advertising for servers etc. That's his mail address evgesha.nrnr@gmail.com , stay away!   @Atom @Celestine
    • Warning: This guy is a big scammer, trying to sell everything, advertising for servers etc. That's his mail address evgesha.nrnr@gmail.com , stay away! @Celestine @Atom
  • 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