Jump to content
  • 0

Need help with storing the skill info of player


Some0ne

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  1.00
  • Content Count:  1
  • Reputation:   0
  • Joined:  04/24/25
  • Last Seen:  

Hello, I was working on a job change script that functions similar to the job system in FFXIV. The main idea is that the script stores the data about the current class (level, skill tree, etc) in the sql db, and retrieval another set of class data. The rest of the data is relatively easy to handle, but I can't find where the data about the skill tree (such as which skill is allocated and what level the skill is at) is stored, can anybody help me out ?

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  215
  • Reputation:   95
  • Joined:  06/02/12
  • Last Seen:  

Hello, the data is stored on sql database table skill.

You can use script command getskilllist.

/doc/script_commands.txt#L3662

*getskilllist({<char_id>});

This command sets a bunch of arrays with a complete list of skills the
invoking character has. Here's what you get:

@skilllist_id[]   - skill ids.
@skilllist_lv[]   - skill levels.
@skilllist_flag[] - see 'skill' for the meaning of skill flags.
@skilllist_count  - number of skills in the above arrays.

 

Link to comment
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...