Jump to content
  • We need you!

    You must register to discover all the features of our community!

  • 0

item_proto error


B7aR
Go to solution Solved by Asentrix,

Question

 

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

 

https://www.mediafire.com/file/gqo32gjslat6pll/item_proto.txt/file

 


Image for illustration

 

p_1672cpceo1.jpg

 

 

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

 

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

 

thnx all

Edited by B7aR
.. (see edit history)
Link to post

4 answers to this question

Recommended Posts

  • 0
  • VIP

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 post
  • 0
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 post
Guest
This topic is now closed to further replies.


×
×
  • 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.