Register for your free account! | Forgot your password?

You last visited: Today at 16:11

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

Advertisement



[VSRO] Add Vigors to NPC

Discussion on [VSRO] Add Vigors to NPC within the SRO Private Server forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2009
Posts: 110
Received Thanks: 9
[VSRO] Add Vigors to NPC

Hey Guys,
i just wanna know,
how can i add vigor potions to the NPC ?
ffflashgamerrr is offline  
Old 04/08/2012, 00:34   #2
 
elite*gold: 0
Join Date: Mar 2011
Posts: 11
Received Thanks: 3
yea me too --'
ique4ever is offline  
Old 04/08/2012, 03:08   #3
 
SunSoon's Avatar
 
elite*gold: 0
Join Date: Jun 2010
Posts: 331
Received Thanks: 59
in DB

Table Name : _RefPackageItem
Quote:
1 15 84037 PACKAGE_ITEM_ETC_ALL_SPOTION_01 0 EXPAND_TERM_ALL SN_ITEM_ETC_ALL_SPOTION_01 SN_ITEM_ETC_ALL_SPOTION_01_TT_DESC itemetcall_spotion_01.ddj -1 xxx -1 xxx -1 xxx -1 xxx
**ddj File location in worng because PHP Code removes \ So Change it to item\etc\all_spotion_01.ddj
Table Name : _RefPricePolicyOfItem
Quote:
1 15 PACKAGE_ITEM_ETC_ALL_SPOTION_01 1 0 20000 -1 xxx -1 xxx -1 xxx -1 xxx
Table Name : _RefScrapOfPackageItem
Quote:
1 15 PACKAGE_ITEM_ETC_ALL_SPOTION_01 ITEM_ETC_ALL_SPOTION_01 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 -1 xxx -1 xxx -1 xxx -1 xxx 86685
Table Name : _RefShopGoods
Quote:
1 15 STORE_CA_POTION_TAB1 PACKAGEITEM_ETC_ALL_SPOTION_01 25 -1 xxx -1 xxx -1 xxx -1 xxx
1 15 STORE_CH_POTION_TAB1 PACKAGEITEM_ETC_ALL_SPOTION_01 27 -1 xxx -1 xxx -1 xxx -1 xxx
1 15 STORE_EU_POTION_TAB1 PACKAGEITEM_ETC_ALL_SPOTION_01 27 -1 xxx -1 xxx -1 xxx -1 xxx
1 15 STORE_KT_POTION_TAB1 PACKAGEITEM_ETC_ALL_SPOTION_01 23 -1 xxx -1 xxx -1 xxx -1 xxx
1 15 STORE_WC_POTION_TAB1 PACKAGEITEM_ETC_ALL_SPOTION_01 26 -1 xxx -1 xxx -1 xxx -1 xxx
In Media Now..


refpackageitem.txt :

Quote:
1 15 84114 PACKAGE_ITEM_ETC_ALL_SPOTION_01 0 EXPAND_TERM_ALL SN_ITEM_ETC_ALL_SPOTION_01 SN_ITEM_ETC_ALL_SPOTION_01_TT_DESC itemetcall_spotion_01.ddj -1 xxx -1 xxx -1 xxx -1 xxx
**ddj File location is item\etc\all_spotion_01.ddj with \

refpricepolicyofitem.txt :
Quote:
1 15 PACKAGE_ITEM_ETC_ALL_SPOTION_01 1 0 20000 -1 xxx -1 xxx -1 xxx -1 xxx

refscrapofpackageitem.txt :
Quote:
1 15 PACKAGE_ITEM_ETC_ALL_SPOTION_01 ITEM_ETC_ALL_SPOTION_01 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1 xxx -1 xxx -1 xxx -1 xxx 86767
refshopgoods.txt :
Quote:
1 15 STORE_WC_POTION_TAB1 PACKAGE_ITEM_ETC_ALL_SPOTION_01 26 -1 xxx -1 xxx -1 xxx -1 xxx
1 15 STORE_KT_POTION_TAB1 PACKAGE_ITEM_ETC_ALL_SPOTION_01 23 -1 xxx -1 xxx -1 xxx -1 xxx
1 15 STORE_EU_POTION_TAB1 PACKAGE_ITEM_ETC_ALL_SPOTION_01 27 -1 xxx -1 xxx -1 xxx -1 xxx
1 15 STORE_CH_POTION_TAB1 PACKAGE_ITEM_ETC_ALL_SPOTION_01 27 -1 xxx -1 xxx -1 xxx -1 xxx
1 15 STORE_CA_POTION_TAB1 PACKAGE_ITEM_ETC_ALL_SPOTION_01 25 -1 xxx -1 xxx -1 xxx -1 xxx
SunSoon is offline  
Thanks
2 Users
Old 04/08/2012, 06:21   #4
 
elite*gold: 0
Join Date: Feb 2012
Posts: 160
Received Thanks: 64
It's fairly easy to be honest, use the guide above and ferrrsure you can do it ;o.
zChopper is offline  
Old 01/30/2013, 01:30   #5
 
elite*gold: 0
Join Date: Apr 2012
Posts: 41
Received Thanks: 26
I Got this error while trying add a code to _RefPricePolicyOfItem Table

1337Demon is offline  
Old 01/30/2013, 01:48   #6
 
elite*gold: 0
Join Date: Aug 2012
Posts: 26
Received Thanks: 5
Just read what it says :

cannot insert DUPLICATE key in object refpricepolicyofitem

Means, the thing you wanna add is already in refpricepolicyofitem.

Use this query to find it -->

Select * from dbo._RefpricePolicyOfItem
where RefPackageItemCodeName like
'%PACKAGE_ITEM_ETC_ALL_SPOTION%'

So, seems to be its already into the db, If its so you'll get a line when you use this query.
So you can just add a new line on refshopgoods.

1 15 STORE_CA_POTION_TAB1 PACKAGEITEM_ETC_ALL_SPOTION_01 25 -1 *** -1 *** -1 *** -1 ***

Change the red part for the NPC
Change the blue part for the item spot, they start on 0, so should be, 0/1/2/3/4/5/6 etc.


Enjoy!
fantasiaroad is offline  
Old 01/30/2013, 17:05   #7
 
elite*gold: 0
Join Date: Apr 2012
Posts: 41
Received Thanks: 26
Yes thanks for this its work fine , i got error when i trying to open SR_Gameserver its get more errors have a solution ???
please help me !












Please help me fast .... pm me
1337Demon is offline  
Old 01/30/2013, 17:16   #8
 
Zodiao's Avatar
 
elite*gold: 0
Join Date: Aug 2012
Posts: 748
Received Thanks: 227
Quote:
Table Name : _RefShopGoods
Quote:
1 15 STORE_CA_POTION_TAB1 PACKAGEITEM_ETC_ALL_SPOTION_01 25 -1 *** -1 *** -1 *** -1 ***
1 15 STORE_CH_POTION_TAB1 PACKAGEITEM_ETC_ALL_SPOTION_01 27 -1 *** -1 *** -1 *** -1 ***
1 15 STORE_EU_POTION_TAB1 PACKAGEITEM_ETC_ALL_SPOTION_01 27 -1 *** -1 *** -1 *** -1 ***
1 15 STORE_KT_POTION_TAB1 PACKAGEITEM_ETC_ALL_SPOTION_01 23 -1 *** -1 *** -1 *** -1 ***
1 15 STORE_WC_POTION_TAB1 PACKAGEITEM_ETC_ALL_SPOTION_01 26 -1 *** -1 *** -1 *** -1 ***
replace
PACKAGITEM
with PACKAGE_ITEM


Regards
Zodiao is offline  
Old 01/30/2013, 22:58   #9
 
elite*gold: 0
Join Date: Apr 2012
Posts: 41
Received Thanks: 26
yea its works but while i try to open the sro_client its close why ? can you help me ?

Please don't forget pm me fast !
1337Demon is offline  
Old 01/30/2013, 23:33   #10
 
Snow*'s Avatar
 
elite*gold: 1
Join Date: Nov 2011
Posts: 2,532
Received Thanks: 1,438
Quote:
Originally Posted by 1337Demon View Post
yea its works but while i try to open the sro_client its close why ? can you help me ?

Please don't forget pm me fast !
If everything is fine @ the DB, so you made something wrong in the media.pk2 lines, check them again.
Snow* is offline  
Old 01/31/2013, 17:22   #11
 
Zodiao's Avatar
 
elite*gold: 0
Join Date: Aug 2012
Posts: 748
Received Thanks: 227
Right click on Database > Tasks > backup > Ok
Zodiao is offline  
Thanks
1 User
Old 01/31/2013, 18:41   #12
 
elite*gold: 0
Join Date: Apr 2012
Posts: 41
Received Thanks: 26
Thanks very much Sir Evil

So i have 3 errors , 1- I Got bug while try to buy vigor more than 1 unit , 2- How to make update for game , 3- How to write Notices In Client

Guys how to add Avatar Assassian and fox and mummy and Santa In vSRO Files please answer

Hi

Hurry up please Sir Evil

Hi bro please hurry up

Please any one answer !!!!!!!!!1

fantasiaroad why vigor when i bought from npc more than 1 unit i got bug ? please answer me

Hello !!!!!!!!!!!!!!!!!!!!!!!!!!!

I HAVE THIS ERROR ! WHILE TRYING TO BUY MORE THAN 1 UNIT I GOT BUG PLEASE ANY HELP OR Solution ?
1337Demon is offline  
Old 02/02/2013, 00:25   #13
 
elite*gold: 0
Join Date: Apr 2012
Posts: 41
Received Thanks: 26
Hi !
1337Demon is offline  
Old 06/01/2014, 21:27   #14
 
elite*gold: 0
Join Date: May 2014
Posts: 14
Received Thanks: 1
Thnx for your effort bro it worked fine with me but i get this crash whenever i buy more than one vigor from the npc , can you help me out in this
LyNx_76 is offline  
Old 04/22/2020, 03:20   #15
 
elite*gold: 0
Join Date: Aug 2016
Posts: 2
Received Thanks: 0
Quote:
Originally Posted by SunSoon View Post
in DB

Table Name : _RefPackageItem


Table Name : _RefPricePolicyOfItem


Table Name : _RefScrapOfPackageItem


Table Name : _RefShopGoods


In Media Now..


refpackageitem.txt :



**ddj File location is item\etc\all_spotion_01.ddj with \

refpricepolicyofitem.txt :



refscrapofpackageitem.txt :


refshopgoods.txt :
thanks for sharing but there are some errors:
Table Name : _RefScrapOfPackageItem
1 15 PACKAGE_ITEM_ETC_ALL_SPOTION_01 ITEM_ETC_ALL_SPOTION_01 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 -1 *** -1 *** -1 *** -1 *** 86685

change 1 to 0 to fix bug crash " can't buy more than 1 vigor from npc "
86685 change it to the max+1 of your RefScrapOfPackageItem Table and make sure that the RefScrapOfPackageItem.txt the same number

RefShopGoods:
Change PACKAGEITEM To PACKAGE_ITEM for each line

thanke you
xmenx3n is offline  
Reply


Similar Threads Similar Threads
Luckytimes and 2nd rb vigors.
09/30/2010 - CO2 Weapon, Armor, Effects & Interface edits - 6 Replies
Alright, so I decided to play around with photoshop. I really liked a couple of the edits I found from other people and decided to just change the colouring, and since some people don't have photoshop or don't know exactly how to change the colours I figured I'd upload what I did onto here. I'll give kudos to who did the original work, of course. The two things I worked with, give kudos to: SirMagus, for his nonlaggy luckytime, which can be found here: Skills & Spells Co_Modz, for his...
vigors
12/29/2009 - Silkroad Online - 5 Replies
Hi guys, Can you guys please tell me how to determine if someone is using vigors or not in pvp. Thanks in advance.
Light of vigors
11/02/2009 - CO2 Weapon, Armor, Effects & Interface edits - 3 Replies
tell me which one you like and i remake it xD (dont have them anymore :x ) http://img252.imageshack.us/img252/2058/sdassh3.j pg http://img260.imageshack.us/img260/5128/sdadzc1.j pg http://img253.imageshack.us/img253/6061/vigorfy7. gif http://img527.imageshack.us/img527/8742/vigor1pj5 .gif
*NEW* Vigors!
04/29/2008 - CO2 Weapon, Armor, Effects & Interface edits - 15 Replies
Here's the 2 vigors I made.. 1st is The Dragon Vigor.. Here's a screenie.. http://www.egytalk.org/ImageHost/uploads/70032a26 a2.jpg And here's the file.. (put this in your Conquer 2.0\c3\effect\2NDMetempsychosis) 2nd is The USA Vigor..



All times are GMT +1. The time now is 16:12.


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.