Register for your free account! | Forgot your password?

You last visited: Today at 17:36

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

Advertisement



Add item to npc

Discussion on Add item to npc within the SRO Private Server forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2012
Posts: 570
Received Thanks: 192
Add item to npc

Hello I successfully added it to Data Base but it sucks on client sided :
-It shows the item;I buy the item , I get disconnect and when I relog,the item is the edited one.
Any help ?The sword is the avatar

Also how can I edit the text of :
JuliaRocks* is offline  
Thanks
1 User
Old 12/15/2012, 10:39   #2
 
elite*gold: 38
Join Date: Nov 2008
Posts: 795
Received Thanks: 680
TitleStringCode = "SN_QEV_CH_EVENT_KISAENG_090714"
TextStringCode = "SN_NOTICE_EVENT_KISAENG_110221"

Textevent.txt search for -->SN_QEV_CH_EVENT_KISAENG_090714 & SN_NOTICE_EVENT_KISAENG_110221

You may tell us what you did in the database?Or show us the line so we can help
Veteran1337 is offline  
Thanks
1 User
Old 12/15/2012, 10:46   #3
 
elite*gold: 0
Join Date: Aug 2012
Posts: 570
Received Thanks: 192
Quote:
Originally Posted by Veteran1337 View Post
TitleStringCode = "SN_QEV_CH_EVENT_KISAENG_090714"
TextStringCode = "SN_NOTICE_EVENT_KISAENG_110221"

Textevent.txt search for -->SN_QEV_CH_EVENT_KISAENG_090714 & SN_NOTICE_EVENT_KISAENG_110221

You may tell us what you did in the database?Or show us the line so we can help
PHP Code:
1    15    84037    PACKAGE_ITEM_MALL_AVATAR_M_ANGEL_WING    0    EXPAND_TERM_ALL        SN_ITEM_MALL_AVATAR_M_ANGEL_WING_DRESS    SN_ITEM_MALL_AVATAR_M_ANGEL_WING_DRESS_TT_DESC    item\Avatar\mall_avatar_m_angel_wing_dress.ddj    -1    xxx    -1    xxx    -1    xxx    -1    xxx    
1    15    PACKAGE_ITEM_MALL_AVATAR_M_ANGEL_WING_DRESS    ITEM_MALL_AVATAR_M_ANGEL_WING_DRESS    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    
-1    xxx    -1    xxx    -1    xxx    -1    xxx    9999
1    15    PACKAGE_ITEM_MALL_AVATAR_M_ANGEL_WING_DRESS    1    0    9000    
-1    xxx    -1    xxx    -1    xxx    -1    xxx
1    15    STORE_WC_SMITH_TAB1    PACKAGE_ITEM_MALL_AVATAR_M_ANGEL_WING_DRESS    0    
-1    xxx    -1    xxx    -1    xxx    -1    xxx 
After the edit :c
JuliaRocks* is offline  
Old 12/15/2012, 14:09   #4
 
Dark_User's Avatar
 
elite*gold: 0
Join Date: Sep 2012
Posts: 135
Received Thanks: 67
about sword check the refscrap in ur media pk2 also the db see if the 2 are the same and i guess there's the problem
Dark_User is offline  
Thanks
1 User
Old 12/15/2012, 14:21   #5
 
elite*gold: 0
Join Date: Aug 2007
Posts: 337
Received Thanks: 146
You have probably written the text at the wrong place, replace the text with the once next to it. As you can see, the event text is now just a "0".
djfisring is offline  
Thanks
1 User
Old 12/15/2012, 14:23   #6
 
elite*gold: 200
Join Date: Nov 2008
Posts: 1,263
Received Thanks: 679
Quote:
Originally Posted by JuliaRocks* View Post
After the edit :c
change some '0' to the text in the same line after your texts.
flozz is offline  
Old 12/15/2012, 15:34   #7
 
Snow*'s Avatar
 
elite*gold: 1
Join Date: Nov 2011
Posts: 2,532
Received Thanks: 1,429
Quote:
Originally Posted by flozz View Post
change some '0' to the text in the same line after your texts.
server_dep\stilkroad\event\event_interface.txt

add what you want in this line TextStringCode = "I mean in here."

Also to switch for the next line just add /n xD.
Snow* is offline  
Thanks
1 User
Old 12/16/2012, 00:52   #8
 
Lyso7's Avatar
 
elite*gold: 0
Join Date: Oct 2012
Posts: 206
Received Thanks: 48
you always asking for help in wrong section
Lyso7 is offline  
Thanks
1 User
Old 12/16/2012, 01:05   #9
 
Snow*'s Avatar
 
elite*gold: 1
Join Date: Nov 2011
Posts: 2,532
Received Thanks: 1,429
Quote:
Originally Posted by Lyso7 View Post
you always asking for help in wrong section
be helpful and gt*o
Snow* is offline  
Old 12/16/2012, 04:01   #10
 
Lyso7's Avatar
 
elite*gold: 0
Join Date: Oct 2012
Posts: 206
Received Thanks: 48
Quote:
Originally Posted by SnowStorm1 View Post
be helpful and gt*o
you mean
HELP MEEEEEEEEE OR BB ?
no thanks -_-
Lyso7 is offline  
Old 12/16/2012, 09:12   #11
 
elite*gold: 0
Join Date: Aug 2012
Posts: 570
Received Thanks: 192
Quote:
Originally Posted by Lyso7 View Post
you always asking for help in wrong section
And?
Is this bothering your eyes?
Can't you sleep at night?
JuliaRocks* is offline  
Old 12/16/2012, 10:32   #12
 
IceAmStiel's Avatar
 
elite*gold: 0
Join Date: Jul 2011
Posts: 1,058
Received Thanks: 1,118
Such a disconnect issue can be caused by the following situation - the item of the slot you've purchased visually in the client differs from the item on the slot in the database.
I've tried that earlier, if you return a different item than the one you've purchased in the client you are thrown out by a disconnect.

You should check your shop-tables for duplicated entries or messed up records in general - also you should extract the shop textfiles for the client from the database, just to be sure
IceAmStiel is offline  
Reply


Similar Threads Similar Threads
[HowTo]Item verkaufen -> Yang bekommen, Käufer bekommt kein Item!
12/16/2012 - Metin2 Guides & Templates - 22 Replies
Hallo, Ich weiß einer von euch kennt das bestimmt es wurde eine Item gekauft aus dem Laden ihr habt Bezahlt und ihr habt den Item nicht... ich werde euch sagen wie das ganze Funktioniert. Ihr braucht ein "Lag Switch", dafür gibt es viele Tutorials wie ihr das macht. Um ein Lag Switch zu Bauen braucht ihr: • 1x Lan Kabel • Messer • Schalter • Brain
[Suche] Komplette item.eix/epk, icon.eix/epk, item proto und item list
12/25/2010 - Metin2 Private Server - 6 Replies
Hey =) Wie die Überschrift schon sagt, suche ich eine komplette item.eix/epk, icon.eix/epk, item proto und item list am liebsten noch von den Waffen von .darki und den ganzen neuen Rüstungen/Schilden/Helmen, da ich überhaupt nicht weiß wie man dass zB mit der item proto macht und wenn ich sie einfach nur ersetze, wie zB durch die "Waffen" item proto von .darki sind die ganzen neuen Rüstungen weg .... Ich hoffe irgendjemand könnte das machen, weil es bestimmt nicht nur für mich hilfreich ist...



All times are GMT +2. The time now is 17:36.


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