MOB Spawnpoints in Dungeons

02/02/2015 09:59 Kirika_X#1
Hey,

i am looking for month for calculate Spawnpoints to render a Dungeonmap. (Worldmap finished...(x/y-135/92) * 192 + (fLocalPosX/Y /10)).

How to calculate the Spwanpoints from e.g. Donhwang Cave without "X" and "Z" Region-Values (where X=0 and Z =0)? Any Idea?
02/02/2015 21:55 tarek1500#2
You will read X & Y sector normally, then if Y sector = 0x80
Then you will read X & Z & Y positions as SignedDoubleWord
If Y sector is not 0x80
Then you will read X & Z & Y positions as Word
02/02/2015 22:43 Kirika_X#3
Thanks, but i can t use it..
I am loading the data from database and media.pk2 to xml.
Is there an other way to calculate the spawnpoints?
02/03/2015 10:20 Devsome#4
You can go with your Char in the Dungeon , log off and look into your Database.
You will see the Coords you need.
02/03/2015 10:43 Kirika_X#5
I dont need the coordinates from Char, just Monster spawn (points).

Worldmap Monster Coordinates: (X - 135) * 192 + (fLocalPosX /10) -> Any Monsterspawn
Dungeonmap Monster Coordinates: X and Z are 0...
02/03/2015 18:30 tarek1500#6
I don't understand you
02/03/2015 19:00 Kirika_X#7
[Only registered and activated users can see links. Click Here To Register...]
Example Worldmap (Radar) - Calculate MOB Pos & NPC Pos with (X -135) * 192 + (flocalPosX / 10)

[Only registered and activated users can see links. Click Here To Register...]
Example Jangan User Map - Calculate NPC Pos with Copy / paste fLocalX * factor.

X, Y -> RefRegion Table
fLocalPosX,Y -> RefNest

How to calculate MOB Pos in Dungeons (where X and Y =0)?
02/04/2015 14:03 ​Exo#8
Seriously I don't understand you either, just teleport to yourself or relog to get the real position. When you're at a dungeon your position won't change it will stay the same.
02/04/2015 14:13 Kirika_X#9
I just need the Pixel coordinates by any MOB, not Char....
It s ok, i am waiting for another answers.
02/04/2015 14:17 Devsome#10
Quote:
Originally Posted by Devsome View Post
You can go with your Char in the Dungeon , log off and look into your Database.
You will see the Coords you need.
Quote:
Originally Posted by Kirika_X View Post
I dont need the coordinates from Char, just Monster spawn (points).

Worldmap Monster Coordinates: (X - 135) * 192 + (fLocalPosX /10) -> Any Monsterspawn
Dungeonmap Monster Coordinates: X and Z are 0...
Quote:
Originally Posted by xExorcist View Post
Seriously I don't understand you either, just teleport to yourself or relog to get the real position. When you're at a dungeon your position won't change it will stay the same.
Thats what I sayed.
If he put his Char into the Cave and log off he can see in the Database the X,Y,Z1,Z2 or whatever Coords he need.
Then you also know the Coords from the Monster where they spawn.
02/04/2015 14:35 Kirika_X#11
This isn t exactly....I want
calculate it.

EDIT: ok, founded...just need the Map midpoint hehe.Thx for help and close
02/05/2015 02:16 tarek1500#12
Good luck