Jump to content

item_proto error


Go to solution Solved by Asentrix,

Recommended Posts

 

Hello all

I have a problem with the item_proto when I add a new line for armor

As follows


90020    신풍+9    ITEM_ARMOR    ARMOR_BODY    MASK_ITEM_EQUIPMENT_ARMOR    MASK_EQUIPMENT_ARMOR_BODY    2    ANTI_MUSA | ANTI_SURA | ANTI_MUDANG | ANTI_WOLFMAN    ITEM_TUNABLE    WEAR_BODY    NONE    120000    515000    0    0    10    LEVEL    120    LEVEL    0    APPLY_MOV_SPEED    -6    APPLY_KILL_HP_RECOVER    20    APPLY_RESIST_HUMAN    15    0    204    0    31    0    118    100    3    0


Note that he copied from one of the lines of armor.

I only changed the code for the same code listed in the item-name

I tried the dumb with the item_proto and the item-name before the editing and it works well

I tried adding the line immediately after the armor lines and the same problem

Is there something wrong with the line itself or the file in general?

I attached the item_proto below

 

This is the hidden content, please

 


Image for illustration

 

p_1672cpceo1.jpg

 

 

-------------------------------------------------------------------------

 

One last thing ... How can I convert item-proto  from text to Navi-cat

 

thnx all

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 8
  • Good 5
  • Love 1
  • Love 2
Link to comment
Share on other sites

there's nothing wrong in your modification

for me I think it's somehow related to encoding (because of notepad++)

 

can you try and edit the item_proto by normal notepad? (not ++) and tell us the result? (just to make sure what's causing the problem)

 

 

Quote

One last thing ... How can I convert item-proto  from text to Navi-cat

seems like you're using marty's sama source, 

 

  1. PROTO_FROM_DB = 1/0 // enable/disable item/mob proto loading from db (otherwise, .txt)
  2. MIRROR2DB = 1/0 // convert .txt protos to .sql ones

you can adjust it from these 2 options at DB/Conf.txt

Link to comment
Share on other sites

8 hours ago, Asentrix said:

seems like you're using marty's sama source, 

 

  1. PROTO_FROM_DB = 1/0 // enable/disable item/mob proto loading from db (otherwise, .txt)
  2. MIRROR2DB = 1/0 // convert .txt protos to .sql ones

you can adjust it from these 2 options at DB/Conf.txt

 

Yes, Marty  sama
  But can you explain more about that part? Where is this path ^^

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.