Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Coding Corner
You last visited: Today at 17:54

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

Advertisement



MOB Spawnpoints in Dungeons

Discussion on MOB Spawnpoints in Dungeons within the SRO Coding Corner forum part of the Silkroad Online category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Nov 2007
Posts: 15
Received Thanks: 10
MOB Spawnpoints in Dungeons

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?
Kirika_X is offline  
Old 02/02/2015, 21:55   #2
 
elite*gold: 0
Join Date: Aug 2009
Posts: 152
Received Thanks: 11
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
tarek1500 is offline  
Old 02/02/2015, 22:43   #3
 
elite*gold: 0
Join Date: Nov 2007
Posts: 15
Received Thanks: 10
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?
Kirika_X is offline  
Old 02/03/2015, 10:20   #4
dotCom
 
Devsome's Avatar
 
elite*gold: 9842
The Black Market: 107/0/0
Join Date: Mar 2009
Posts: 16,866
Received Thanks: 4,684
You can go with your Char in the Dungeon , log off and look into your Database.
You will see the Coords you need.
Devsome is offline  
Old 02/03/2015, 10:43   #5
 
elite*gold: 0
Join Date: Nov 2007
Posts: 15
Received Thanks: 10
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...
Kirika_X is offline  
Old 02/03/2015, 18:30   #6
 
elite*gold: 0
Join Date: Aug 2009
Posts: 152
Received Thanks: 11
I don't understand you
tarek1500 is offline  
Old 02/03/2015, 19:00   #7
 
elite*gold: 0
Join Date: Nov 2007
Posts: 15
Received Thanks: 10

Example Worldmap (Radar) - Calculate MOB Pos & NPC Pos with (X -135) * 192 + (flocalPosX / 10)


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)?
Kirika_X is offline  
Old 02/04/2015, 14:03   #8


 
​Exo's Avatar
 
elite*gold: 28
Join Date: Aug 2014
Posts: 4,096
Received Thanks: 2,653
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.
​Exo is offline  
Old 02/04/2015, 14:13   #9
 
elite*gold: 0
Join Date: Nov 2007
Posts: 15
Received Thanks: 10
I just need the Pixel coordinates by any MOB, not Char....
It s ok, i am waiting for another answers.
Kirika_X is offline  
Old 02/04/2015, 14:17   #10
dotCom
 
Devsome's Avatar
 
elite*gold: 9842
The Black Market: 107/0/0
Join Date: Mar 2009
Posts: 16,866
Received Thanks: 4,684
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.
Devsome is offline  
Old 02/04/2015, 14:35   #11
 
elite*gold: 0
Join Date: Nov 2007
Posts: 15
Received Thanks: 10
This isn t exactly....I want
calculate it.

EDIT: ok, founded...just need the Map midpoint hehe.Thx for help and close
Kirika_X is offline  
Old 02/05/2015, 02:16   #12
 
elite*gold: 0
Join Date: Aug 2009
Posts: 152
Received Thanks: 11
Good luck
tarek1500 is offline  
Closed Thread


Similar Threads Similar Threads
Spawnpoints setzen?
04/12/2011 - Minecraft - 6 Replies
Hallo, ich suche für den Server(Bukkit) Befehle/Mod um verschiedene Spawnpoints zu setzen und mich selber oder andere Player dahin zu teleportieren.
>>> FFA MARIEN SPAWNPOINTS <<<
10/24/2009 - WarRock - 5 Replies
spawnpoints of marien (modus ffa) :D:D click here http://i.imagehost.org/t/0565/ffa_l_sung.jpg click here credits: triol :handsdown::handsdown:PLS PRESS THX:handsdown::handsdown:
New monster Spawnpoints?
05/25/2009 - Dekaron Private Server - 4 Replies
Heya, I wanna set new monsterspawnpoints. For example: i wanna auto spawn one blaverus near pablos. of course i dont want to make such a senseless thing, but that was just an example. i looked at the files, but i didnt found that out. i would be glad, if one of you guys could help me
Verschiedene SpawnPoints - was nun?
02/06/2009 - GW Bots - 13 Replies
Hi, Kann mich zwar noch dunkel an einen Thread erinnern wo dies besprochen wurde...find ihn aber nicht mehr..(ja die SuFu hab ich genutzt!) Hab das problem das ich das gute alte raus und wieder in aussenposten nicht benutzen kann, aber wenn ich das mit /resign machen will komm ich an verschiedenen stellen raus. Ansich ja kein Problem, ich dachte mir das ich das per _MemoryRead() mache, das ging aber nicht...Das ist das problem: Ich gehe aus dem Aussposten raus. Gebe /resign oder /giveup...
[Hilfe] Wie Funktionirt Mem X,Y (verschieden spawnpoints)
12/31/2008 - Guild Wars - 7 Replies
Hallo, Ich hab ne Frage: Wie Funktionirt das mit den Y,X Coordinaten mit memory. Ich will des zum ersten Lernen und zum zweiten brauch ich das für meinen bot. Also Ich will lernen wie man mit Memory Werten verschiedene Spawnpoints Erkennen kann. da ich es bei meinem bot nicht über PixelCheksum machen kann (da an 2 spawnpoints der gleich npc angewählt wird) muss ich es mit memory werten machen =) Ich danke schonmal im vorraus. mfg



All times are GMT +1. The time now is 17:55.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

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