Register for your free account! | Forgot your password?

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

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

Advertisement



Problem! Adding avatar to custom NPC

Discussion on Problem! Adding avatar to custom NPC within the SRO Private Server forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Nov 2007
Posts: 251
Received Thanks: 16
Angry Problem! Adding avatar to custom NPC

I been trying to add death assassin avatar to the custom NPC i made from kira and statiics guide. It is all fine in database just when i run client it crashes when i add refshopgoods.txt I am using statiic DB btw. I tried everything added as silk item, gold price. I spent like 3-4 days on this just for 1 avatar i want the pain to be over. All database side works fine client doesn't.

RefPackageItem
Code:
1	15	86444	PACKAGE_ITEM_MALL_AVATAR_M_DAY_DEATHASSASSIN_HAT	0	EXPAND_TERM_ALL	SN_ITEM_MALL_AVATAR_M_DAY_DEATHASSASSIN_HAT	SN_ITEM_MALL_AVATAR_M_DAY_DEATHASSASSIN_HAT_TT_DESC	item\Avatar\mall_avatar_m_day_deathassassin_hat.ddj	-1	XXX	-1	xxx	-1	xxx	-1	xxx
1	15	86445	PACKAGE_ITEM_MALL_AVATAR_W_DAY_DEATHASSASSIN_HAT	0	EXPAND_TERM_ALL	SN_ITEM_MALL_AVATAR_W_DAY_DEATHASSASSIN_HAT	SN_ITEM_MALL_AVATAR_W_DAY_DEATHASSASSIN_HAT_TT_DESC	item\Avatar\mall_avatar_w_day_deathassassin_hat.ddj	-1	XXX	-1	xxx	-1	xxx	-1	xxx
1	15	86446	PACKAGE_ITEM_MALL_AVATAR_M_DAY_DEATHASSASSIN	0	EXPAND_TERM_ALL	SN_ITEM_MALL_AVATAR_M_DAY_DEATHASSASSIN	SN_ITEM_MALL_AVATAR_M_DAY_DEATHASSASSIN_TT_DESC	item\Avatar\mall_avatar_m_day_deathassassin.ddj	-1	XXX	-1	xxx	-1	xxx	-1	xxx
1	15	86447	PACKAGE_ITEM_MALL_AVATAR_W_DAY_DEATHASSASSIN	0	EXPAND_TERM_ALL	SN_ITEM_MALL_AVATAR_W_DAY_DEATHASSASSIN	SN_ITEM_MALL_AVATAR_W_DAY_DEATHASSASSIN_TT_DESC	item\Avatar\mall_avatar_w_day_deathassassin.ddj	-1	XXX	-1	xxx	-1	xxx	-1	xxx
1	15	86448	PACKAGE_ITEM_MALL_AVATAR_M_DEATHASSASSIN_ATTACH	0	EXPAND_TERM_ALL	SN_ITEM_MALL_AVATAR_M_DEATHASSASSIN_ATTACH	SN_ITEM_MALL_AVATAR_M_DEATHASSASSIN_ATTACH_TT_DESC	item\Avatar\mall_avatar_m_day_deathassassin_attach.ddj	-1	XXX	-1	xxx	-1	xxx	-1	xxx
1	15	86449	PACKAGE_ITEM_MALL_AVATAR_W_DEATHASSASSIN_ATTACH	0	EXPAND_TERM_ALL	SN_ITEM_MALL_AVATAR_W_DEATHASSASSIN_ATTACH	SN_ITEM_MALL_AVATAR_W_DEATHASSASSIN_ATTACH_TT_DESC	item\Avatar\mall_avatar_w_day_deathassassin_attach.ddj	-1	XXX	-1	xxx	-1	xxx	-1	xxx
RefPricePolicyOfItem
Code:
1	15	PACKAGE_ITEM_MALL_AVATAR_M_DAY_DEATHASSASSIN_HAT	1	0	1	-1	xxx	-1	xxx	-1	xxx	-1	xxx
1	15	PACKAGE_ITEM_MALL_AVATAR_W_DAY_DEATHASSASSIN_HAT	1	0	1	-1	xxx	-1	xxx	-1	xxx	-1	xxx
1	15	PACKAGE_ITEM_MALL_AVATAR_M_DAY_DEATHASSASSIN	1	0	1	-1	xxx	-1	xxx	-1	xxx	-1	xxx
1	15	PACKAGE_ITEM_MALL_AVATAR_W_DAY_DEATHASSASSIN	1	0	1	-1	xxx	-1	xxx	-1	xxx	-1	xxx
1	15	PACKAGE_ITEM_MALL_AVATAR_M_DEATHASSASSIN_ATTACH	1	0	1	-1	xxx	-1	xxx	-1	xxx	-1	xxx
1	15	PACKAGE_ITEM_MALL_AVATAR_W_DEATHASSASSIN_ATTACH	1	0	1	-1	xxx	-1	xxx	-1	xxx	-1	xxx
RefScrapPackageofItem

Code:
1	15	PACKAGE_ITEM_MALL_AVATAR_M_DAY_DEATHASSASSIN_HAT	ITEM_MALL_AVATAR_M_DAY_DEATHASSASSIN_HAT	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	-1	xxx	-1	xxx	-1	xxx	-1	xxx	88957
1	15	PACKAGE_ITEM_MALL_AVATAR_W_DAY_DEATHASSASSIN_HAT	ITEM_MALL_AVATAR_W_DAY_DEATHASSASSIN_HAT	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	-1	xxx	-1	xxx	-1	xxx	-1	xxx	88958
1	15	PACKAGE_ITEM_MALL_AVATAR_M_DAY_DEATHASSASSIN	ITEM_MALL_AVATAR_M_DAY_DEATHASSASSIN	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	-1	xxx	-1	xxx	-1	xxx	-1	xxx	88959
1	15	PACKAGE_ITEM_MALL_AVATAR_W_DAY_DEATHASSASSIN	ITEM_MALL_AVATAR_W_DAY_DEATHASSASSIN	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	-1	xxx	-1	xxx	-1	xxx	-1	xxx	88960
1	15	PACKAGE_ITEM_MALL_AVATAR_M_DEATHASSASSIN_ATTACH	ITEM_MALL_AVATAR_M_DEATHASSASSIN_ATTACH	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	-1	xxx	-1	xxx	-1	xxx	-1	xxx	88961
1	15	PACKAGE_ITEM_MALL_AVATAR_W_DEATHASSASSIN_ATTACH	ITEM_MALL_AVATAR_W_DEATHASSASSIN_ATTACH	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	-1	xxx	-1	xxx	-1	xxx	-1	xxx	88962
RefShopGoods

Code:
1	15	STORE_ITEMMALL_TAB2	PACKAGE_ITEM_MALL_AVATAR_M_DAY_DEATHASSASSIN_HAT	0	-1	xxx	-1	xxx	-1	xxx	-1	xxx
1	15	STORE_ITEMMALL_TAB2	PACKAGE_ITEM_MALL_AVATAR_W_DAY_DEATHASSASSIN_HAT	1	-1	xxx	-1	xxx	-1	xxx	-1	xxx
1	15	STORE_ITEMMALL_TAB1	PACKAGE_ITEM_MALL_AVATAR_M_DAY_DEATHASSASSIN	0	-1	xxx	-1	xxx	-1	xxx	-1	xxx
1	15	STORE_ITEMMALL_TAB1	PACKAGE_ITEM_MALL_AVATAR_W_DAY_DEATHASSASSIN	1	-1	xxx	-1	xxx	-1	xxx	-1	xxx
1	15	STORE_ITEMMALL_TAB3	PACKAGE_ITEM_MALL_AVATAR_M_DEATHASSASSIN_ATTACH	0	-1	xxx	-1	xxx	-1	xxx	-1	xxx
1	15	STORE_ITEMMALL_TAB3	PACKAGE_ITEM_MALL_AVATAR_W_DEATHASSASSIN_ATTACH	1	-1	xxx	-1	xxx	-1	xxx	-1	xxx
gofik123 is offline  
Old 07/01/2014, 22:52   #2
 
SkillsGoPewPew's Avatar
 
elite*gold: 275
Join Date: May 2014
Posts: 1,417
Received Thanks: 1,156
Make sure that the NPC,tabgroups and tabs(including mappings) are all in the client.check if you don't have duplicates IDs in ScrapofPackageItem,PackageItem or other items on the same slots of those tabs.
Also check if the items are present in the itemdata.
if you are still having problems post the following files or send them to me in a PM
refmappingshopgroup.txt
refmappingshopwithtab.txt
refpackageitem.txt
refpricepolicyofitem.txt
refshop.txt
refscrapofpackageitem.txt
refshopgroup.txt
refshopgoods.txt
refshoptab.txt
refshoptabgroup.txt
+ the itemdata and characterdata where the items and npc are located

Always here to help.
SkillsGoPewPew is offline  
Thanks
1 User
Old 07/01/2014, 23:55   #3
 
elite*gold: 0
Join Date: Nov 2007
Posts: 251
Received Thanks: 16
I will check it all after breakfast!!

Edit/

NPCPos.txt is that where i was suppose to put the NPC location from Tab_RefNest?

Edit/

I will try send it to you i give up i made a notepad on what i put database side. I uploaded the files and linked you with scan etc in PM. Thank you for your time

Quote:
This should do it:

You have duplicate tab IDs in refshoptab
Change them in both client and database
only the client crashes from that issue, the server doesn't check for duplicate IDs in _RefShopTab because the table was originally designed with a constraint
oXo™ Thank you for solving my problem i will leave the solution here for people that have this kind of problem once again thank you for your help +1 for oXo
gofik123 is offline  
Old 07/02/2014, 13:35   #4
 
SkillsGoPewPew's Avatar
 
elite*gold: 275
Join Date: May 2014
Posts: 1,417
Received Thanks: 1,156
No problem, if there is something to help anyone with i'd be glad to do it.

#Reuqesting close, problem fixed.
SkillsGoPewPew is offline  
Reply


Similar Threads Similar Threads
Adding Custom Tags
04/12/2013 - Flyff Private Server - 0 Replies
Hi elitepvpers I am having an bit of trouble adding custom Tags next to the name. for example test this is my MoverRender.cpp
Adding new custom NPC
03/24/2013 - Flyff Private Server - 0 Replies
Hi elitepvers, I am having some trouble adding new custom npc's in flaris. This is what i have done i will show only 1 npc file: defineObj.h MI_NPC_DONWEA 1697 file: PropMover.txt
problem adding avatar/npc item etc.
07/03/2012 - SRO Private Server - 0 Replies
Am I the only1 who tries to add vigor/wolf to npc, avatar and so on ... make everything right, and when I try to open my client, sro_client simply crash, I have fallowed alot of tutorials instructions none of them work, everytime i change refshopgods and those 3 other ones that just simply happen, could any1 tall me a solution, some1 said i needed to use TAB instead of SPACE while adding it to the txt, but it didnt work.
[HELP]Adding Custom Gears
01/04/2012 - Shaiya Private Server - 1 Replies
hey all i want to know if any of u can teach me how to add custom gears lapises and that stuff on server i tryed sheditor but i didnt understand a thing can any1 help :rtfm::rtfm::rtfm::rtfm::rtfm:
Adding more custom glows
10/04/2011 - SRO Private Server - 1 Replies
I have a few ideas on adding a custom glow for +11 or 13 and etc. The problem is not modifying current colors and textures. More so on adding the actual coding into the itemtypenumber file which the 4 different sections of numbers stands for +3,+5,+7,+9 ... I've been trying to recognize the pattern but it's hard to tell to set the next one up for +11. Has anyone successfully added another + of there own. If so how. Don't forget. I'm not trying to replace a current glow with another...



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


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.