Jump to content
  • 0
kalabasa

Adding additional script on item through import file not working

Question

Hi There again! i am trying to add some bonus script on an item eg. cyclops eye 

db/pre-re/item_db.yml -< i am using this directory i am assuming that this is an import file am i correct?t

this is inside of my item_db.yml

Header:
  Type: ITEM_DB
  Version: 1 
  
 Body: 
   - Id: 5135
    Script: |
      bonus bMaxSP,50; bonus bFlee,50;

then i @reloaditemdb  tons of error pops up on my mapserver.bat

and also this is a newly fresh clone atm

 

Capture.PNG

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0
2 hours ago, kalabasa said:

db/pre-re/item_db.yml -< i am using this directory i am assuming that this is an import file am i correct?

Not quite..

Use db/import/item_db.yml instead.

Share this post


Link to post
Share on other sites
  • 0
5 minutes ago, Akkarin said:

Not quite..

Use db/import/item_db.yml instead.

okay let me do a quick test 

Share this post


Link to post
Share on other sites
  • 0

okay this time i put the whole this time have a look this is the last two entry on my item_db.yml import 

# Non-kRO Eden Group Mark effect
#=============================================================
#  - Id: 22508
#    AegisName: Para_Team_Mark_
#    Name: Eden Group Mark
#    Type: Delayconsume
#    Script: |
#      unitskilluseid getcharid(3),"AL_TELEPORT",3;

#  - Id: 5135
#    AegisName: Cyclops_Visor
#    Name: Cyclop's Eye
#    Type: Armor
#    Weight: 200
#    Jobs:
#      All: true
#      Novice: false
#      SuperNovice: false
#    Locations:
#      Head_Mid: true
#    EquipLevelMin: 75
#    View: 207
#    Script: |
#     bonus bMaxSP,50; bonus bFlee,50;

Capture.PNG

Share this post


Link to post
Share on other sites
  • 0

Anything with a hash (#) infront of it is a comment and won't be read by the server. The error is suggesting you've got something wrong on line 493, second character from the left.

Share this post


Link to post
Share on other sites
  • 0
On 11/22/2020 at 3:58 PM, Akkarin said:

Anything with a hash (#) infront of it is a comment and won't be read by the server. The error is suggesting you've got something wrong on line 493, second character from the left.

my line 493 is total empty o.o 

got it working already. some of the text are needed to be align

 

Edited by kalabasa

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.