Jump to content
  • 0
B7aR

open item_proto error

Question

Posted (edited)

 

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)

Share this post


Link to post

4 answers to this question

Recommended Posts

  • 0

cd /usr/game

search for cores file then db folder

then conf.txt

(path may differ)

Share this post


Link to post
  • 0

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

Share this post


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 ^^

Share this post


Link to post
  • 0

thnx alot bro

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

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