The dragon defender comes from the gear preset, it will buy the gear that was selected if it’s missing; Make a new gear preset with items owned by that account, preferably untradeables
How long has that mirror client (not the script runtime) been running? If that’s still running, could you check what the memory usage is in task manager for the mirror client and the attached osrs client?