This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [QUESTION] Automatic detect where you are for WORLDMAP  (Read 2729 times)

Gomb

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 11
    • View Profile
[QUESTION] Automatic detect where you are for WORLDMAP
« on: July 13, 2014, 06:31:16 pm »
Hey guys, well this is my question, I have this:



I'll make maps for this zones, the zones are separated by AreaID's
(the zone is an instance)

I have made a test, and now i have this:



I had created a "continent" for the zone, and this "continent" have subzones (areaids)

So now my question, is there any possibility to autodetect where "areaid" are you located, and when you open the map, automatic open your zone map?

If this is not possible, any help to do the same thing, but no with "areaid", with dungeon floors?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [QUESTION] Automatic detect where you are for WORLDMAP
« Reply #1 on: July 13, 2014, 07:16:46 pm »
[paragraph:1b8rl4ao]It looks like you already have managed to implement having a world map. Thus, you likely have touched WorldMapContinent and WorldMapArea, which is what you need.[/paragraph:1b8rl4ao][paragraph:1b8rl4ao]There is a problem though: As your "continent" is not continuous, using a continent+areas will be a bad result: You will have a lot of empty, unreachable space on your world map, obviously undesirable.[/paragraph:1b8rl4ao][paragraph:1b8rl4ao]If you can live with that, you are almost done: Just add the correct values for boundaries in both and you are done.[/paragraph:1b8rl4ao][paragraph:1b8rl4ao]If you don't want to do that, but don't want a overview map and "floors" only, you will want to use DungeonMap and DungeonMapChunk. I sadly can't tell much about it except for that the wiki has full information, which I just added for WoD as well.[/paragraph:1b8rl4ao][paragraph:1b8rl4ao]II hope it will work out for you. If it does, do us all a favor and do a little write-up on what you needed to do, maybe documenting the individual variables of those DBCs.[/paragraph:1b8rl4ao]
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Gomb

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 11
    • View Profile
Re: [QUESTION] Automatic detect where you are for WORLDMAP
« Reply #2 on: July 13, 2014, 07:46:36 pm »
I have put the correct boundaries, but, ingame, ever opens the main map, the continent, never subzone maps, I will have to do it with dungeonmap i think.

On dungeonmap.dbc, how i put coords?

On worlmaparea are Y1, Y2, X1, X2, and in dungeonmap?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: [QUESTION] Automatic detect where you are for WORLDMAP
« Reply #3 on: July 14, 2014, 10:47:24 am »
The area ids mist be set in noggit and you need the serverside maps generated for you custom map.  What needs a changed extractor.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

Gomb

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 11
    • View Profile
Re: [QUESTION] Automatic detect where you are for WORLDMAP
« Reply #4 on: July 14, 2014, 09:07:42 pm »
Quote from: "Steff"
The area ids mist be set in noggit and you need the serverside maps generated for you custom map.  What needs a changed extractor.

The areaids are set in noggit, and the zone has the maps, vmaps etc.. extracted, what do you mean with "changed" extractor?

Still not automatic display your zone map.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: [QUESTION] Automatic detect where you are for WORLDMAP
« Reply #5 on: July 14, 2014, 09:19:18 pm »
The normal extractor do not handle custom maps.
It just ignore them.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

Gomb

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 11
    • View Profile
Re: [QUESTION] Automatic detect where you are for WORLDMAP
« Reply #6 on: July 14, 2014, 09:23:55 pm »
Quote from: "Steff"
The normal extractor do not handle custom maps.
It just ignore them.

Well i don't extracted the maps and vmaps, but i know that someone of our server extracted mmaps and vmaps, they always extract them.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [QUESTION] Automatic detect where you are for WORLDMAP
« Reply #7 on: July 14, 2014, 10:19:22 pm »
This issue has _nothing_ to do with the server.

I sadly don't have more knowledge about dungeonmap.dbc.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

deep6ixed

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 189
    • View Profile
Re: [QUESTION] Automatic detect where you are for WORLDMAP
« Reply #8 on: July 18, 2014, 04:21:03 am »
We had this issue with ceril on maruum, and it did turn out to be maps serverside.  Do a .gps command in game on your custom map.  if your zone or area id shows as a zero (unknown) the client wont know what map to pull up and will display the continent map for what map id you are on.

We didnt use dungeonmap, just 'normal' map.dbc and areatable
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Gomb

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 11
    • View Profile
Re: [QUESTION] Automatic detect where you are for WORLDMAP
« Reply #9 on: July 18, 2014, 12:57:01 pm »
Quote from: "deep6ixed"
We had this issue with ceril on maruum, and it did turn out to be maps serverside.  Do a .gps command in game on your custom map.  if your zone or area id shows as a zero (unknown) the client wont know what map to pull up and will display the continent map for what map id you are on.

We didnt use dungeonmap, just 'normal' map.dbc and areatable


mmm, ingame it shows where area or zone I'am, is it possible because we put al areas as subzones of a zone? For example, the map is Asedio al Olympo, the zone Asedio al Olympo, and the area, Asentamientro drakoniano for example, i will test it to eliminate zone and put the areas as zones, or nope? xD
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: [QUESTION] Automatic detect where you are for WORLDMAP
« Reply #10 on: July 25, 2014, 06:44:51 am »
Make a gbs.  The on screen view of the zone and area work.  But gps and also map fetching get the imfos where you are from the server. Ask the extractor ghy if he changed the extractor.  Else it will not work.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954