I was wondering what I would need to know to save to the database? I have modified my script so that you can access a 7th character stat. I even have it so I can change the value in the Debug window. But I have no way of making the changes permanent. I was told to look into Seph's Virtual Database before but I haven't been able to figure it out properly and don't want to wait till he updates with a simpler version as im working on a project thats not my own.
If anyone isn't sure what exactly im doing code wise Iim doing things like this.
If anyone isn't sure what exactly im doing code wise Iim doing things like this.
Code:
if Input.repeat?(Input::Z)
# Play cursor SE
$game_system.se_play($data_system.cursor_se)
# Increase lbase Stamina by 1 or 10
if $data_actors[current_id + 1] != nil
if Input.press?(Input::A)
@actor_temp[current_id + 1].parameters[6, @right_window.char_lvl[current_id]] += 10
else
@actor_temp[current_id + 1].parameters[6, @right_window.char_lvl[current_id]] += 1
end
# Maximum limit check
if @actor_temp[current_id + 1].parameters[6, @right_window.char_lvl[current_id]] > 99
@actor_temp[current_id + 1].parameters[6, @right_window.char_lvl[current_id]] = 99
end
end
@right_window.refresh
return
end