Register for your free account! | Forgot your password?

You last visited: Today at 18:54

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

Advertisement



problem with Add mobs in (Sky Temple)

Discussion on problem with Add mobs in (Sky Temple) within the SRO PServer Questions & Answers forum part of the SRO Private Server category.

Reply
 
Old   #1
 
ali2008x's Avatar
 
elite*gold: 0
Join Date: Oct 2010
Posts: 151
Received Thanks: 11
Exclamation problem with Add mobs in (Sky Temple)

Hello all
i have add (Sky Temple) in my server and i make it to Jobs only can teleport to it and everything is very good but i have problem with add mobs in it i use this query
PHP Code:
USE SRO_VT_SHARD /* Add Unique Spot By Arabianfox */

DECLARE [MENTION=312344]Unique[/MENTIONVARCHAR (129)
DECLARE @
CHARNAME VARCHAR (64)
DECLARE @
mindealy INT
DECLARE @maxdelay int
DECLARE @INITRADIUS INT
DECLARE [MENTION=315411]radius[/MENTIONint
DECLARE @MAXNEST int = (SELECT MAX (dwNestIDFROM Tab_RefNest)+1
DECLARE @MAXHIVE int = (SELECT MAX (dwHiveIDFROM Tab_RefHive)+1
DECLARE @MAXTACTICS int = (SELECT MAX (dwTacticsIDFROM Tab_RefTactics)+1

/* put your settings here */
SET [MENTION=312344]Unique[/MENTION] = 'MOB_JUPITER_DEVIL_HELL' -- Unique code name from _RefobjCommon table
SET 
@CHARNAME '0100' -- Character name from _Char table to get mob position X Y Z
SET 
@mindealy 0  -- Minimum time before appears in seconds
SET 
@maxdelay 0  -- Maximum time before appears in seconds
SET 
@INITRADIUS 100  -- Radius around spot unique can generated at
SET 
[MENTION=315411]radius[/MENTION] = 500  -- Radius around spot Unique can move in
/* end of settings area */

/* get ID of mob by code name */
Declare @MOBID int SET @MOBID = (SELECT ID FROM _RefObjCommon WHERE CodeName128 = [MENTION=312344]Unique[/MENTION])

SET IDENTITY_INSERT Tab_RefTactics ON
INSERT INTO Tab_RefTactics 
(dwTacticsID,dwObjID,btAIQoS,nMaxStamina,btMaxStaminaVariance,nSightRange,btAggressType,AggressData,btChangeTarget,btHelpRequestTo,btHelpResponseTo,btBattleStyle,BattleStyleData,btDiversionBasis,DiversionBasisData1,DiversionBasisData2,DiversionBasisData3,DiversionBasisData4,DiversionBasisData5,DiversionBasisData6,DiversionBasisData7,DiversionBasisData8,btDiversionKeepBasis,DiversionKeepBasisData1,DiversionKeepBasisData2,DiversionKeepBasisData3,DiversionKeepBasisData4,DiversionKeepBasisData5,DiversionKeepBasisData6,DiversionKeepBasisData7,DiversionKeepBasisData8,btKeepDistance,KeepDistanceData,btTraceType,btTraceBoundary,TraceData,btHomingType,HomingData,btAggressTypeOnHoming,btFleeType,dwChampionTacticsID,AdditionOptionFlag,szDescString128VALUES
(@MAXTACTICS,@MOBID,0,500,50,200,0,0,2,2,2,0,0,5,0,0,0,0,0,30,0,0,4,0,0,0,0,0,0,0,0,0,0,0,1,500,0,0,2,0,0,112 [MENTION=312344]Unique[/MENTION])
SET IDENTITY_INSERT Tab_RefTactics OFF

SET IDENTITY_INSERT Tab_RefHive ON
INSERT INTO Tab_RefHive 
(dwHiveID,btKeepMonsterCountType,dwOverwriteMaxTotalCount,fMonsterCountPerPC,dwSpawnSpeedIncreaseRate,dwMaxIncreaseRate,btFlag,GameWorldID,HatchObjType,szDescString128VALUES
(@MAXHIVE,0,1,0,0,0,0,1,[MENTION=312344]Unique[/MENTION])
SET IDENTITY_INSERT Tab_RefHive OFF

/* get position coordinates of your character */

DECLARE [MENTION=1184112]region[/MENTIONINT SET [MENTION=1184112]region[/MENTION] = (SELECT (LatestRegionFROM _Char WHERE CharName16 = @CHARNAME)
DECLARE @
POSX INT SET @POSX = (SELECT (POSXFROM _Char WHERE CharName16 = @CHARNAME)
DECLARE [
MENTION=1837537]posy[/MENTIONINT SET [MENTION=1837537]posy[/MENTION] = (SELECT (POSYFROM _Char WHERE CharName16 = @CHARNAME)
DECLARE [
MENTION=1914174]posz[/MENTIONINT SET [MENTION=1914174]posz[/MENTION] = (SELECT (POSZFROM _Char WHERE CharName16 = @CHARNAME)

SET IDENTITY_INSERT Tab_RefNest ON
INSERT INTO Tab_RefNest 
(dwNestID,dwHiveID,dwTacticsID,nRegionDBID,fLocalPosX,fLocalPosY,fLocalPosZ,wInitialDir,nRadius,nGenerateRadius,nChampionGenPercentage,dwDelayTimeMin,dwDelayTimeMax,dwMaxTotalCount,btFlag,btRespawn,btTypeVALUES
(@MAXNEST,@MAXHIVE,@MAXTACTICS [MENTION=1184112]region[/MENTION],@POSX [MENTION=1837537]posy[/MENTION] [MENTION=1914174]posz[/MENTION],[MENTION=315411]radius[/MENTION],@INITRADIUS,0,@mindealy,@maxdelay,1,0,1,0)
SET IDENTITY_INSERT Tab_RefNest OFF


print ''
print ''
print 'Done!' 
And it worked 100% in SQL Without any error but in game mobs don't appeared i dont know why and i really want to fix it !
ali2008x is offline  
Old 04/02/2021, 21:00   #2
 
elite*gold: 0
Join Date: Feb 2021
Posts: 33
Received Thanks: 40
You have to change the GameWorldID associated with DwHiveId for the monster in the Tab_RefHive table to the skytemple map worldID.
#KB is offline  
Thanks
1 User
Old 04/08/2021, 14:11   #3
 
ali2008x's Avatar
 
elite*gold: 0
Join Date: Oct 2010
Posts: 151
Received Thanks: 11
Quote:
Originally Posted by #KB View Post
You have to change the GameWorldID associated with DwHiveId for the monster in the Tab_RefHive table to the skytemple map worldID.
still not working bro



ali2008x is offline  
Old 04/16/2021, 14:02   #4
 
ali2008x's Avatar
 
elite*gold: 0
Join Date: Oct 2010
Posts: 151
Received Thanks: 11
up
ali2008x is offline  
Old 04/16/2021, 16:08   #5
 
GMKING1050's Avatar
 
elite*gold: 0
Join Date: Dec 2016
Posts: 98
Received Thanks: 14
what error u getting ?
GMKING1050 is offline  
Old 04/16/2021, 19:48   #6
 
ali2008x's Avatar
 
elite*gold: 0
Join Date: Oct 2010
Posts: 151
Received Thanks: 11
Quote:
Originally Posted by GMKING1050 View Post
what error u getting ?
mobs not respawn in sky temple !
ali2008x is offline  
Old 04/20/2021, 19:08   #7
 
Xyoukatamer's Avatar
 
elite*gold: 0
Join Date: Apr 2016
Posts: 20
Received Thanks: 2
You have to give identity in tabs
Refnest & refhive
And this will work 100%
If you get same error msh me in discord
Xyoukatamer is offline  
Reply


Similar Threads Similar Threads
add new teleport from jangan to temple sky
03/18/2021 - SRO PServer Questions & Answers - 1 Replies
Dear All i want to just add teleport from jangan teleport to temple sky how i can do it easily ?
vSro l Add Sky Temple ( Video )
12/31/2020 - SRO PServer Guides & Releases - 9 Replies
Hello myfriend Today, I talked how to add SkyTemple Just Wacht and then Enjoy :) And Follow me at the youtube and commont :D https://youtu.be/8NMOawT4tSg https://i.hizliresim.com/vyd4Rv.png https://i.hizliresim.com/gbzoy3.pnghttps://i.hizl iresim.com/JWr2kY.png
Problem After Add Sky Temple
09/22/2019 - SRO Private Server - 9 Replies
Hello i have this problem after add all data in DB and files PK2 https://i.ibb.co/WPqRtyc/01.png https://i.ibb.co/mHpWRqp/02.png hide map and monster ?!
Sky sky prämie beim kauf von sky
01/17/2017 - Off Topic - 3 Replies
Hey du hast interesse an sky? wieso nicht ein 35euro mediamarkt gutschein abgreifen? Würde wie folgt laufen. Ich werbe dich als freund sobald du dann sky bestellt hast bekommst du nach 6-8 wochen deinen 35 euro mediamarkt gutschein direkt von sky. wieso ich das mache durch das werben bekomme auch ich diesen gutschein. Natürlich könnt ihr euch auch ohne meine einladung sky bestellen aber dann bekommt ihr keinen gutschein.



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


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.