Master Level Overhaul
PostPosted: Fri Sep 19, 2014 7:53 pm
Currently Working on redoing the Master Level system pulling it out of hardcoded scripted mlnpc that I made years ago that has been dragged through all hell and back...
Progress Thus far -
transferred eMLLine into GameGlobals
created eMLLine to Name lookup
Created mlChoiceA and mlChoiceB in CharacterClassBase that is controlled in each of the PlayerClasses
Updated gameplayer to have MLLine as eMLLine and public facing. DB still holds int to keep constant.
Created GameMLNPC off of the old MLNPC
removed hard coding of ML lines based off class ID numbers. Pulls from class mlchoice a and b.
Added Respec into handling with respec token.
Modified all ML spec lines to handle properly with UI update/removal (issues where ability line was showing up on non casters preventing correct removal and causing MAJOR exploits)
Issues/Downsides -
Still handles off token system. No quest/xp handling in place at this time.
Breaks old scripts of MLNPC as eMLLine change in GamePlayer. May break custom scripts due to this.
Hardcoded to have 10 Spell Lines for each line. 1 through 10. Removes old line adds new line at each ML Level change or respec.
This seemed to be the best method without adding issues... Should match up to current MLNPC dbs with little to no changes.
Currently under major testing due to the dozens of updates scripts.
Posted to allow input in case something should be addressed prior creating a patch for DOL SVN.
Progress Thus far -
transferred eMLLine into GameGlobals
created eMLLine to Name lookup
Created mlChoiceA and mlChoiceB in CharacterClassBase that is controlled in each of the PlayerClasses
Updated gameplayer to have MLLine as eMLLine and public facing. DB still holds int to keep constant.
Created GameMLNPC off of the old MLNPC
removed hard coding of ML lines based off class ID numbers. Pulls from class mlchoice a and b.
Added Respec into handling with respec token.
Modified all ML spec lines to handle properly with UI update/removal (issues where ability line was showing up on non casters preventing correct removal and causing MAJOR exploits)
Issues/Downsides -
Still handles off token system. No quest/xp handling in place at this time.
Breaks old scripts of MLNPC as eMLLine change in GamePlayer. May break custom scripts due to this.
Hardcoded to have 10 Spell Lines for each line. 1 through 10. Removes old line adds new line at each ML Level change or respec.
This seemed to be the best method without adding issues... Should match up to current MLNPC dbs with little to no changes.
Currently under major testing due to the dozens of updates scripts.
Posted to allow input in case something should be addressed prior creating a patch for DOL SVN.