Jump to content

Utility: Job Stone, A flexiable job change system


Recommended Posts


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

Summary

A flexiable job change script that is heavily inspired by the job system of final fantasy 14. This script allows the creation of diffrerent job templet, and allows player to freely change their job . 

Player can swap the following data based on the templet:

  • Job
  • Status
  • Base level/Job level
  • Skill tree (the script will remember which skill is allocated and what lvl it is)
  • Unspent points

The script menu

image.png.1b820f9f504163a82e19dc0af4ff19b2.png

There are three main function of the script.

  1. Change Class:
    • Use this to swap to different class templet.
    • It will not saved the current job info before swaping, if the player does not save their current job first, they might lost their skill, level, status, .etc.
  2. Store current class
    • Use this to saved the current job.
    • Every job can only have one templet (Each job_id can only have one entry in the db). If the current job level/base level is lower than the stored one, the system will give a warning and asks the user if they wish to overwrite.
  3. Change to novice
    • Change the player into a 1/1 novice with
    • Give the player the ability to muti class by making them novice, so they can choos other class
    • The system will also grant a 24h 300% exp buff to the player, to help them level up faster (this can be changed if you don't want it)

Download

https://github.com/Someguy324/JobStone

Importance

The download file only contains the function it self, if you want to use it, you need to implement it youself (Adding it to a npc, or a item).

This is my first script, and it is mainly used by mysel on a local server. I do not guarantee it will be bug free, or have great security.

Additionaly, the way I implement skill tree storage is really junky ( every templets have their skill tree stored as individual entry in the db, EVERY ALLOCATED SKILL IS A ENTRY).

So, PLEASE BE CAUTIOUS if you want to used it on a public server.

You are welcom to modify my code in any way you want, I write some comment beside the code, so it might be easier understand how the code work.

Please report any bug down below, I will take a look when I'm free

jb_changer.txt

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
Reply to this topic...

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