Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Private Server
You last visited: Today at 18:38

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

Advertisement



Theifs and Hunters NPC Spawn in area

Discussion on Theifs and Hunters NPC Spawn in area within the SRO Private Server forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Nov 2015
Posts: 8
Received Thanks: 0
Theifs and Hunters NPC Spawn in area

Hi there, I'm trying to make a Job Area.
very simple, wear Job. go to your Job Area and kill NPCs and get Coins. go in PTs because it's your lvl and it's hard bla bla bla
the problem here is I can't add the spawn
I'm using this query
PHP Code:
USE SRO_VT_SHARD /* Add Unique Spot By Arabianfox */ 

DECLARE [MENTION=312344]Unique[/MENTIONVARCHAR (129
DECLARE @
CHARNAME VARCHAR (64
DECLARE [
MENTION=353480]minde[/MENTION]aly INT 
DECLARE @maxdelay int 
DECLARE @INITRADIUS INT 
DECLARE [MENTION=315411]radius[/MENTIONint 
DECLARE [MENTION=298261]maxn[/MENTION]EST int = (SELECT MAX (dwNestIDFROM Tab_RefNest)+
DECLARE @MAXHIVE int = (SELECT MAX (dwHiveIDFROM Tab_RefHive)+
DECLARE [MENTION=2570090]maxta[/MENTION]CTICS int = (SELECT MAX (dwTacticsIDFROM Tab_RefTactics)+

/* put your settings here */ 
SET [MENTION=312344]Unique[/MENTION] = 'MOB_JUPITER_YUNO' -- Unique code name from _RefobjCommon table 
SET 
@CHARNAME 'asdfasgxc' -- Character name from _Char table to get mob position X Y Z 
SET 
[MENTION=353480]minde[/MENTION]aly 30  -- Minimum time before appears in seconds 
SET 
@maxdelay 60  -- Maximum time before appears in seconds 
SET 
@INITRADIUS 30  -- 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 [MENTION=784159]mobid[/MENTIONint SET [MENTION=784159]mobid[/MENTION] = (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 
 
[MENTION=2570090]maxta[/MENTION]CTICS [MENTION=784159]mobid[/MENTION],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 [
MENTION=1524007]pos[/MENTION]X INT SET [MENTION=1524007]pos[/MENTION]= (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 
 
[MENTION=298261]maxn[/MENTION]EST,@MAXHIVE [MENTION=2570090]maxta[/MENTION]CTICS [MENTION=1184112]region[/MENTION] [MENTION=1524007]pos[/MENTION][MENTION=1837537]posy[/MENTION] [MENTION=1914174]posz[/MENTION],[MENTION=315411]radius[/MENTION],@INITRADIUS,[MENTION=353480]minde[/MENTION]aly,@maxdelay,20,0,1,0
SET IDENTITY_INSERT Tab_RefNest OFF 


print '' 
print '' 
print 'Done!' 
I set MinDelay to 30 and Max to 60 and set dwMaxTotalCount = 20 and added it for the NPCs and made sure of the Location but it's not Spawining



The Yuno just to prove to myself that it's not the query. so any idea what to do ? and thanks in advance, sorry for my english
ThePPirate is offline  
Reply


Similar Threads Similar Threads
[Selling] Best Arma 3 Money spawn - Gear spawn - Vehicles spawn *ON EVERY SERVER*
12/26/2014 - ArmA Trading - 0 Replies
bojkastros Arma 3 Shop ist offen - Geld Spawn - Ausrüstungs Spawn- Fahrzeuge spawnen * auf jedem Server * Geld 2 mil = 1,50 euro 4 mil = 2,50 euro So viel geld wie ihr wollt = 8 euro
NPC Hunters ?
10/15/2013 - SRO Private Server - 3 Replies
Hi All, Does anyone know how to add the NPC hunters near the special traders shops ? Server files V1.188 Thanks in advance !
[Guide] Unique spawn Area & Multi-spawn! & hints to Add New Uniqes ! [Vsro]
02/17/2013 - SRO PServer Guides & Releases - 31 Replies
Please Follow this thread, this topic OUTDATE and it have alot of wrong information http://www.elitepvpers.com/forum/private-sro-expl oits-hacks-bots-guides/2339110-epic-release-us-uni que-spot.html Well as you can read from the topic title lets start USE
WTS OPs and Account with lvl 60 and 70 um Hunters +70k pvp kills
05/31/2012 - Shaiya Trading - 0 Replies
Looking to sell ops $1 each minimum must buy all. I have 198 at the moment. Will sell the account with all ops for $400. This will come with 198 ops and about 170 ops worth of gear. Email me if interested or for details.



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


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.