Using 2 scripts together, nearly there, having trouble.

Hey all thanks for viewing, so straight into it.
 
I'm new here so have only just signed up to ask for support or any help i can get, i began starting a game and then realized i wanted more features, i browsed here and found a lot of scripts that where amazing, so i used these scripts and put them in my project.
 
all the scripts work fine but i am struggling to adjust 1 or 2, so that they work together. i will explain what i am trying to do, and also i will link my DEMO for you to test, all of the scripts are taken from this page so i cant allow commercial use if you do like what is made as i did not write the scripts but contacting the makers would be a good idea, i have just combined them all to work...kinda
 
----What I Have in detail----
I am using a crafting system made by Venka, which was based of GubiD's crafting system. The system is great, but there was things i felt needed adjustments, so i changed them. -  Link to script
I am also using the Yanfly Ace save engine as i love the layout and the fact it can display up to 6 Variables as well as other details on the save/load screen. - Link to script
 
-----Problem-----
1. When I chop a tree down or mine some Ore in the game, I am receiving the XP for that skill, but I cant get it to tell me if I have levelled up. It tells me so on fishing, cooking, smithing and alchemy but not when i level up my woodwork or mining.
 
2. Issue 2 is as i staed above the Yanfly save system uses variables to display its information on the save screen eg. if Variable 2 is called Smithing Level, it will display the words Smithing level on the save screen and a number, this number is always 0, and sometimes the numbers go crazy when i do certain things, is there a way i can link the level of the crafting script to the level shown on the save file script?
 
So i fixed my 2 issues, but have come across another issue, 3 of the crafting table events (Alchemy, Cooking and Blacksmith) are run directly from a script, all they say are : Script:craft(2)
 
So i have been browsing the Scripts and found nothing at all that will allow me to link that script so when i gain a level i can update a Variable by 1 each time. i am using Variables for the other crafting items but that is done through the event itself using : 
 

Spoiler
@>Conditional Branch: [Axe] in Inventory @>Play SE: 'Crossbow', 80, 80 @>Wait: 30 frame(s) @>Play SE: 'Crossbow', 80, 80 @>Wait: 30 frame(s) @>Play SE: 'Crossbow', 80, 80 @>Wait: 30 frame(s) @>Change Items: [Lumber], +1 @>Script: $craft[6].gain_exp(4) @>Condition Branch: Script: $game_variables[6] <$craft[6].level @Text: -,-, Dark, Middle : :\c[29]You gained a Lumberjack level! @>Control Variables: [0006:Wood Cutting Level] +=1 @> : Branch End @>Control Switches: [0093:Training Tree 1] = ON @>: Else @>Text:-,-, Normal, Bottom : :You need an axe to cut down this tree. @>: Branch End@>
 
This may actually be easy but i am slowly learning scripting and so far i feel i am doing pretty well, but i have hit a brickwall and it getting me down, i have spent the last 2 days browsing the web for something similar, watching tutorials on youtube of many other things and still nothing 🙁
 
SCREENSHOTS:

Spoiler
 
Download Demo I appreciate any help that can come my way. like i said i have hit this stage now and i am lost so its keep playing around or play the waiting game and cross my fingers someone can help

Thank you!
Please provide links to the pages where you got the scripts from.

It sounds as if you configured something wrong and have several functions on one variable - you can only have one function on a variable, so you need to find out what else changes the variable (other scripts, other events.

This tutorial should also help in bughunting: How to use a script - RMVX Ace Tutorials - RPG Maker Forums
Please provide links to the pages where you got the scripts from.

It sounds as if you configured something wrong and have several functions on one variable - you can only have one function on a variable, so you need to find out what else changes the variable (other scripts, other events.

This tutorial should also help in bughunting: How to use a script - RMVX Ace Tutorials - RPG Maker Forums
Thank you for your reply i have added links to the 2 scripts being used that i feel may be interfering with each other.

Also i will spend the next half hour looking into that link you have sent me and see what else i can learn.
I made a code snippet that will update variables 1,2,3 automatically when level up.

Put this below all the crafting scripts.

Spoiler
#==============================================================================
# ■ Game_Craft_Info
#==============================================================================
class Game_Craft_Info

  #----------------------------------------------------------------------------
  # ○ alias method: level_up
  #----------------------------------------------------------------------------
  alias moogle_x_level_up_craft level_up
  def level_up
    moogle_x_level_up_craft
    case @craft_id
    when 1
    $game_variables[1] = @level
    when 2
    $game_variables[3] = @level
    when 3
    $game_variables[2] = @level
    end
  end
  #----------------------------------------------------------------------------
  # ○ alias method: level_down
  #----------------------------------------------------------------------------
  alias moogle_x_level_down_craft level_down
  def level_down
    moogle_x_level_down_craft
    case @craft_id
    when 1
    $game_variables[1] = @level
    when 2
    $game_variables[3] = @level
    when 3
    $game_variables[2] = @level
    end
  end

end
I made a code snippet that will update variables 1,2,3 automatically when level up.

Put this below all the crafting scripts.

Spoiler
#==============================================================================

# ■ Game_Craft_Info

#==============================================================================

class Game_Craft_Info

  #----------------------------------------------------------------------------

  # ○ alias method: level_up

  #----------------------------------------------------------------------------

  alias moogle_x_level_up_craft level_up

  def level_up

    moogle_x_level_up_craft

    case @craft_id

    when 1

    $game_variables[1] = @level

    when 2

    $game_variables[3] = @level

    when 3

    $game_variables[2] = @level

    end

  end

  #----------------------------------------------------------------------------

  # ○ alias method: level_down

  #----------------------------------------------------------------------------

  alias moogle_x_level_down_craft level_down

  def level_down

    moogle_x_level_down_craft

    case @craft_id

    when 1

    $game_variables[1] = @level

    when 2

    $game_variables[3] = @level

    when 3

    $game_variables[2] = @level

    end

  end

end
You Moogle_X are a legend! That is perfect, exactly what i been trying to do and works Exactly how i wanted to have it.

I appreciate the time you took to do this for.

I cant thank you enough, Much Appreciated  😉 🤘  

This Thread has been Solved as far as I am concerned Moogle_X has solved my issue. you may now close the thread!
If you would like a thread closed, please Report your opening post (the report button is bottom right, near the multiquote button) and ask for it to be closed.  The mod for the forum might not see your post, but will see your report.

Thanks.
If you would like a thread closed, please Report your opening post (the report button is bottom right, near the multiquote button) and ask for it to be closed.  The mod for the forum might not see your post, but will see your report.

Thanks.
Reported, thanks for the help.
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/using-2-scripts-together-nearly-there-having-trouble.43798/