|
You last visited: Today at 05:18
Advertisement
Change NPC Place
Discussion on Change NPC Place within the SRO Private Server forum part of the Silkroad Online category.
01/19/2015, 07:17
|
#1
|
elite*gold: 0
Join Date: Mar 2010
Posts: 177
Received Thanks: 11
|
Change NPC Place
as title said, how can i change NPC Place
maybe a query by char name, or manually
some one can help me with it ?!
|
|
|
01/19/2015, 09:22
|
#2
|
elite*gold: 0
Join Date: Aug 2008
Posts: 1,037
Received Thanks: 478
|
1. Open _RefObjCommon, get the ID of the NPC.
2. Open _RefTactics -> paste the ID of the NPC and copy the Nest ID
3. Open RefNest -> change the coordinates
Done, gl
|
|
|
01/19/2015, 10:17
|
#3
|
elite*gold: 41
Join Date: Oct 2012
Posts: 2,216
Received Thanks: 1,195
|
or just use that query
PHP Code:
declare @npcname varchar(128) DECLARE @CHARNAME VARCHAR (64) set @npcname = 'CODENAMENPC' SET @CHARNAME = 'test' -- Character name from _Char table to get mob position X Y Z DECLARE @REGION INT SET @REGION = (SELECT (LatestRegion) FROM _Char WHERE CharName16 = @CHARNAME) DECLARE @POSX INT SET @POSX = (SELECT (POSX) FROM _Char WHERE CharName16 = @CHARNAME) DECLARE @POSY INT SET @POSY = (SELECT (POSY) FROM _Char WHERE CharName16 = @CHARNAME) DECLARE @POSZ INT SET @POSZ = (SELECT (POSZ) FROM _Char WHERE CharName16 = @CHARNAME) UPDATE Tab_RefNest set nRegionDBID = @REGION, fLocalPosX = @posx, fLocalPosY = @posy, fLocalPosZ = @posz where dwTacticsID = (select dwTacticsID from Tab_RefTactics where dwObjID = (select ID from _RefObjCommon where CodeName128 = @npcname ))
|
|
|
01/19/2015, 17:54
|
#4
|
elite*gold: 0
Join Date: Mar 2010
Posts: 177
Received Thanks: 11
|
Quote:
Originally Posted by Crue*
or just use that query
PHP Code:
declare @npcname varchar(128) DECLARE @CHARNAME VARCHAR (64) set @npcname = 'CODENAMENPC' SET @CHARNAME = 'test' -- Character name from _Char table to get mob position X Y Z DECLARE @REGION INT SET @REGION = (SELECT (LatestRegion) FROM _Char WHERE CharName16 = @CHARNAME) DECLARE @POSX INT SET @POSX = (SELECT (POSX) FROM _Char WHERE CharName16 = @CHARNAME) DECLARE @POSY INT SET @POSY = (SELECT (POSY) FROM _Char WHERE CharName16 = @CHARNAME) DECLARE @POSZ INT SET @POSZ = (SELECT (POSZ) FROM _Char WHERE CharName16 = @CHARNAME) UPDATE Tab_RefNest set nRegionDBID = @REGION, fLocalPosX = @posx, fLocalPosY = @posy, fLocalPosZ = @posz where dwTacticsID = (select dwTacticsID from Tab_RefTactics where dwObjID = (select ID from _RefObjCommon where CodeName128 = @npcname ))
|
that's the query result ..
|
|
|
01/19/2015, 17:56
|
#5
|
elite*gold: 15
Join Date: Jul 2014
Posts: 1,602
Received Thanks: 1,357
|
Queries....just do it manually like PlantiX said.
|
|
|
01/19/2015, 18:02
|
#6
|
elite*gold: 41
Join Date: Oct 2012
Posts: 2,216
Received Thanks: 1,195
|
Quote:
Originally Posted by Little Messi
that's the query result ..
|
change it from STORE to NPC
Quote:
Originally Posted by TheWickedNite
Queries....just do it manually like PlantiX said.
|
Queries always do most of the work
|
|
|
01/19/2015, 18:41
|
#7
|
elite*gold: 15
Join Date: Jul 2014
Posts: 146
Received Thanks: 6
|
Quote:
Originally Posted by Crue*
change it from STORE to NPC
Queries always do most of the work
|
same thing
|
|
|
01/19/2015, 19:05
|
#8
|
elite*gold: 0
Join Date: Mar 2010
Posts: 177
Received Thanks: 11
|
Quote:
Originally Posted by PlantiX
1. Open _RefObjCommon, get the ID of the NPC.
2. Open _RefTactics -> paste the ID of the NPC and copy the Nest ID
3. Open RefNest -> change the coordinates
Done, gl
|
i'm a little lost here, Paste the ID of NPC where exactly :S
Quote:
Originally Posted by MissinGDeaTh
same thing
|
|
|
|
01/19/2015, 20:17
|
#9
|
elite*gold: 41
Join Date: Oct 2012
Posts: 2,216
Received Thanks: 1,195
|
are you sure that the codename in refobjcommon ?
|
|
|
01/19/2015, 20:24
|
#10
|
elite*gold: 0
Join Date: Mar 2010
Posts: 177
Received Thanks: 11
|
Quote:
Originally Posted by Crue*
are you sure that the codename in refobjcommon ?
|
i did searched for it and here's the result
|
|
|
01/19/2015, 20:33
|
#11
|
elite*gold: 41
Join Date: Oct 2012
Posts: 2,216
Received Thanks: 1,195
|
Quote:
Originally Posted by Little Messi
i did searched for it and here's the result
|
so try this one,
PHP Code:
Declare @trcid as varchar (MAX) Declare @NPC as varchar (200) Declare @ref as varchar (250) Declare @x as varchar (250) Declare @y as varchar (250) Declare @z as varchar (250) Declare @region as varchar (250) Declare @app as varchar (250) Declare @char as varchar (MAX) Set @char = 'xxx' Set @NPC = 'NPC_LEGENDKNIGHT10' ----------------------------------------------------------------------------------- Set @x = (Select PosX From _Char Where CharName16 = @char) Set @y = (Select PosY From _Char Where CharName16 = @char) Set @z = (Select PosZ From _Char Where CharName16 = @char) Set @region = (Select LatestRegion From _Char Where CharName16 = @char) Set @app = (Select AppointedTeleport From _Char Where CharName16 = @char) set @trcid = (Select dwTacticsID from Tab_RefTactics where dwObjID = (Select ID from _RefObjCommon where CodeName128 = @NPC )) UPDATE Tab_RefNest set fLocalPosX = @x , fLocalPosY = @y , fLocalPosZ = @z , nRegionDBID = @region ,wInitialDir = @app where dwTacticsID = @trcid
|
|
|
01/19/2015, 20:42
|
#12
|
elite*gold: 0
Join Date: Mar 2010
Posts: 177
Received Thanks: 11
|
Quote:
Originally Posted by Crue*
so try this one,
PHP Code:
Declare @trcid as varchar (MAX) Declare @NPC as varchar (200) Declare @ref as varchar (250) Declare @x as varchar (250) Declare @y as varchar (250) Declare @z as varchar (250) Declare @region as varchar (250) Declare @app as varchar (250) Declare @char as varchar (MAX) Set @char = 'xxx' Set @NPC = 'NPC_LEGENDKNIGHT10' ----------------------------------------------------------------------------------- Set @x = (Select PosX From _Char Where CharName16 = @char) Set @y = (Select PosY From _Char Where CharName16 = @char) Set @z = (Select PosZ From _Char Where CharName16 = @char) Set @region = (Select LatestRegion From _Char Where CharName16 = @char) Set @app = (Select AppointedTeleport From _Char Where CharName16 = @char) set @trcid = (Select dwTacticsID from Tab_RefTactics where dwObjID = (Select ID from _RefObjCommon where CodeName128 = @NPC )) UPDATE Tab_RefNest set fLocalPosX = @x , fLocalPosY = @y , fLocalPosZ = @z , nRegionDBID = @region ,wInitialDir = @app where dwTacticsID = @trcid
|
i rly appreciate that you are helping me, and am sorry for your waste of time. take a look at this :/
|
|
|
01/19/2015, 20:51
|
#13
|
elite*gold: 41
Join Date: Oct 2012
Posts: 2,216
Received Thanks: 1,195
|
it was working before change the npc spot ?
|
|
|
01/19/2015, 20:54
|
#14
|
elite*gold: 0
Join Date: Mar 2010
Posts: 177
Received Thanks: 11
|
Quote:
Originally Posted by Crue*
it was working before change the npc spot ?
|
ye it was working, but don't worry about that i alrdy got a back up and i restore it, but query didn't worked yet :/
|
|
|
01/19/2015, 21:01
|
#15
|
elite*gold: 41
Join Date: Oct 2012
Posts: 2,216
Received Thanks: 1,195
|
Quote:
Originally Posted by Little Messi
ye it was working, but don't worry about that i alrdy got a back up and i restore it, but query didn't worked yet :/
|
so you've to do it manually
|
|
|
|
|
Similar Threads
|
[Release] Simple query to change mobs respawn place
04/06/2015 - SRO PServer Guides & Releases - 4 Replies
Hello , i would like to share this query that will make you able to change mobs respawn place's , Example : you can replace 74-76 Niya hunter mobs into Roc.mt
USE SRO_VT_SHARD
UPDATE .SET dwObjID = replace(dwObjID, 'OldMobID', 'NewMobID')WHERE dwObjID LIKE 'OldMobIDAgain';
* You can also find the mob id's by using the querys
Jangan mobs: select * from _RefObjCommon where CodeName128 like '%MOB_CH%'
|
How to Change The Place Of any Teleport to Other Place
11/29/2014 - SRO Private Server - 6 Replies
How to Change The Place Of any Teleport to Other Place
http://i.epvpimg.com/oQrEe.jpg
|
[Help]how to change mobs and Unique Spawn place !!
07/24/2012 - SRO Private Server - 3 Replies
how to change Mobs and Unique spawn place i don't need jupiter and alx map all what i need mobs and Uniques player will summon lv 70 and i don't need Dw cave and JG ~ Costnipol map i have alot of place all i need some one to explian to me with pic sorry for bad english ;(
|
Nephalem Buff Stack Place/Possible Farm Place
06/30/2012 - Diablo 3 Guides & Strategies - 33 Replies
Sers zusammen,
ich habe gestern Abend beim Zocken einen Dungeon gefunden den ich vorher noch nicht gesehen habe. Er ist relativ kurz und geht über 2 Etagen. Wodurch er sich zum stacken eignet ist die Tatsache, dass in der 2. Etage 5-6 Rare/Elite Mobs rumlaufen. Und das auf einer (zumindest war es bei mir so) geraden Strecke.
Was das ganze noch interessanter macht, bei mir war zusätzlich zu den 5-6 Mobs noch ein Goblin da war und am Ende eine Prächtige Truhe. :)
Ich hoffe das ist...
|
All times are GMT +2. The time now is 05:18.
|
|