Register for your free account! | Forgot your password?

You last visited: Today at 22:51

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Dungeon Mini Map

Discussion on Dungeon Mini Map within the Shaiya Private Server forum part of the Shaiya category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2013
Posts: 244
Received Thanks: 56
Exclamation Dungeon Mini Map

hey i was wondering if anyone knows how to get a dungeon to show the mini map, like for Fantasia, CT Etc. i've seen it done before so i know its possible i just dont know what to do. i know the mini maps are located in interface/minimap .. so some one wana help? ;p thanks ^_^
[Admin]Slice is offline  
Old 08/27/2013, 01:34   #2
 
castor4878's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 717
Received Thanks: 3,367
"Our" game.exe client (I mean an episo 4/5 client) hard-codes the filenames of mini-maps.

The directory (in data.saf structure) is stored at offset 0x2B0298 and is "data/interface/MiniMap", the names of the mini-maps come immediatly after and each is stored on 8 bytes (that grants than even 3 digits (eg '102') map-name (so "102.tga") is no more than 7 chars and so names are zero-terminated).

the hard-coded names are: "
70.tga..69.tga..68.tga..108.tga.105.tga.104.tga.10 3.tga.102.tga
47.tga..46.tga..45.tga..44.tga..43.tga..36.tga..35 .tga..30.tga
29.tga..28.tga..20.tga..19.tga..18.tga..2.tga...1. tga...0.tga..."

so 24 names, used by a method that gains access to this array, reads the names, loads the designated file, and uses a DirectX service (or an internal decoder) to decode the TGA file into bitmaps, then it stores these bitmaps into a predefined bitmap-array with 24 slots.

(note that names have no intrisic meaning, the minimap of map 0 is called "0.tga" by simplicity, it would be called "foo.tga" it does not change what maps support minimap display, the map 0 will simply display that foo.tga image).

when the map is to be displayed, the client verifies that its ID matches one of these ones (it uses the *same* predefined / pre-supported maps), if so it displays the map.

to allow the display of all maps, one has to:
- re-allocate the bitmap array (to 128 entries or more)
- recode the loading method to no longer use the array of names present at @002002B0 but to iterate all filenames, and to store generated bitmaps into the new array.
- recode the tests done before the map is displayed to no longer filter on the pre-allowed map IDs.

as far as I know, nobody has done such changes for a p-svr.

what you may have seen is the use of a limited number of maps and re-assignment of their IDs to match those present in the list above. if you are not using the maps 100+ you can renum the Fantasia (or other) map to be (for instance) the 102 one. of course you will also modify the gatekeeper and portal information for all access to the former map to use the new ID 102.
this option requires less work - I mean it's some possible customization while the previous is an huge development task.
castor4878 is offline  
Thanks
6 Users
Old 08/29/2013, 22:27   #3
 
AxelMac's Avatar
 
elite*gold: 0
Join Date: Aug 2012
Posts: 454
Received Thanks: 111
Quote:
Originally Posted by castor4878 View Post
I need to insert all the maps by the method above, but I do not know how to do it, can you help?
AxelMac is offline  
Old 08/29/2013, 23:03   #4
 
nubness's Avatar
 
elite*gold: 10
Join Date: Jan 2012
Posts: 1,698
Received Thanks: 5,456
Quote:
Originally Posted by AxelMac View Post
I need to insert all the maps by the method above, but I do not know how to do it, can you help?
It cannot be done.
nubness is offline  
Thanks
1 User
Old 08/30/2013, 00:30   #5
 
AxelMac's Avatar
 
elite*gold: 0
Join Date: Aug 2012
Posts: 454
Received Thanks: 111
Quote:
Originally Posted by nubness View Post
It cannot be done.
can not help me or you can not do?
AxelMac is offline  
Reply


Similar Threads Similar Threads
[WTB] unded mini ghostly/mini panada/mini polar bear
05/07/2012 - Guild Wars Trading - 2 Replies
Hi, Would like to buy one of those pets. Make me an offer if you got one. Thanks.
[mini mini Release] Warning for IE for heni script
09/19/2011 - Metin2 PServer Guides & Strategies - 14 Replies
this is nothing special I just i see a lots of people have troubles with the Internet Explorer browser on the almost all HP have be release on epvp so i will explain a bether way to warning the user he is using the internet explorer and you recomend use firefox or chrone without using enterpage 1 put this code inside the <head> </head> tag <!--> <script type="text/javascript">



All times are GMT +2. The time now is 22:51.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.