You need to enable logging, debugging, error popups in order to determine what the errors are and where in the code they come from so that you can try to fix them.
Again, please be aware that this mod includes features and code directly copied from the Warlords expansion pack, so using it...