Could the UOFeatureEnable settings in servspecopt.cfg be changed to "real" settings and not bit patterns?
For example here's a partial list of them as they currently exist:
Code: Select all
# 0x01 unknown1 (that is added by me because there is a missing 0 bit : ) )
# 0x02 = send config/req logout (IGR?)
# 0x04 = single character (siege)
# 0x08 = enable npcpopup menus
# 0x10 = unknown2
# 0x20 = enable common AOS features (tooltip thing/fight system book, but
# not AOS monsters/map/skills (0xB9 controls))
Code: Select all
UnknownSetting1=
SendConfigReq=
SingleCharSiege=
EnablePopupMenus=
UnknownSetting2=
EnableAoSFetures=
Code: Select all
# Values can be T2A for The Second Age, R for Renaissance, TD for Third Dawn, LBR for Lord Blackthorne's Revenge,
# AoS for Age of Shadows, SE for Samurai Empire, ML for , Mondain's Legacy, SA for Stygian Abyss,
# HS for High Seas, and ToL for Time of Legends
SuppotedUOExp=
Then surface these settings with a new function in PolSys, GetUOFeatures() that would return a struct containing the above settings or maybe as object members of Polcore?
This would accomplish at least two things, make the settings in servspecopt.cfg a little less geeky and make these settings easily readable from scripts. Those two things would make POL a little easier to setup for those editing the files directly and not using the POL Configurator and would also allow for easier customizing packages and scripts based upon these settings being readily available through one simple function call rather than having to create a script that reads servspecopt.cfg and goes through the bit conversion to obtain these values. It also does one more thing. It allows specifying more expansions that don't have a bit value assigned to them.