I'm half glancing at this, but:
Quote:
I need to get this saved information setup
instanced_saved_info table
to this setup to restore saved info back
character_skills
|
the above needs at least fields names to make any remote sense..
Perhaps clarify what you're after, and the use case. for example:
When a player enters a zone, info is taken from X and stored into instanced_saved_info.
When a player exits, info is taken from instanced_saved_info and placed back into X.
A part of me thinks you want the above, another part thinks you're doing some sort of temporary snapshot of a player and emulating a shroud system, making them level 30 and giving them rigged spells while in an instance.
Depending on your use case, you may be going down a much darker rabbit hole than you need to.
the tl;dr answer is going to be, a lot of messy scripts iterating pivots to restore data back.