ive made a
super simple super stripped down version of RTB because i found it jarring that this does not support RTB prefs. this bothered me so much that i actually had to post to these forums about it because i didnt see anyone else do this
https://www.mediafire.com/?mgzg8jau364k496what this does:mods that still use RTBR_ServerControl_Hook.cs and RTBR_InfoTips_Hook.cs will still go to rtb/hooks/serverControl.cs and rtb/hooks/infoTips.cs however these files have been changed to do orbs things:
rtb/hooks/serverControl.cs will execute orbs/hooks/serverControl.cs and will add the function RTB_registerPref
- all RTB_registerPref does now is call ORBS_registerPref with the same values
rtb/hooks/infoTips.cs will execute orbs/hooks/infoTips.cs and will add the function RTB_addInfoTip
- all RTB_addInfoTip does now is call ORBS_addInfoTip with the same values
(also why does orbs have the "old" hook files?)
some prefs are set just incase old rtb addons use them for some weird reason:
$RTB::RTBR_ServerControl_Hook
$RTB::RTBR_InfoTips_Hook
$RTB::Hooks::ServerControl
$RTB::Hooks::InfoTips
it even loads the prefs you had on RTB for these mods if config/server/rtb/modPrefs.cs exists. (it is loaded before orb's version of the file just incase you already have the same prefs in orbs)
so theoretically this should allow legacy RTB prefs and tips to show up in oRBs, and save along with it as well if i understood modPrefs.cs correctly.
please tell me if i screwed up or you find some weird bug. i only tested the prefs and that was with an unedited duplorcator that used RTB prefs.