In installer/class_installer.php
// Figure out which version this belongs to
$nextstep = $versions["$currentversion"];
if (!is_array($steps["$nextstep"]))
{
die('Error in upgrade.');
}
I // commented out the die bit. Then (of course?) another problem pops-up
Advanced Hack Installer could not find the file 'upgrade' within the requested directory.
Please contact the hack author.
One may assume that this refers to upgrade350x.php files. So it had to select upgrade3505.php in my case, but it can't get that info. So, just make a copy of upgrade3505.php, call it upgrade.php and upload that. Run the installer again and it will go to
This script will update your RPG Integration Hack to version .
Press the 'Next Step' button to proceed.
Click proceed
* Altered Table: 0nvb3_rpg_ibots
* Altered Table: 0nvb3_rpg_monster_battles
* Altered Table: 0nvb3_rpg_user
Click proceed, the product.XML is imported. Click proceed.
Updated Setting: Version Number successfully.
Click proceed
You have now successfully upgraded the RPG Integration Hack to version ..
We hope you will enjoy using all the new features in the RPG Integration Hack as much as we have enjoyed writing them.
The RPG Integration Hack offers a level of forum and user integration both you and your members will enjoy for countless hours into the future, and new things are always in development.
What are you waiting for, go to your AdminCP and start configuring the hack!
And the things that weren't there are now installed -> seems to work fine.
So, our problem seems to be that the installer can't figure out our current version. Comment out the PHP die in installer/class_installer.php and modify the filename of your required upgrade350x.php file to upgrade.php and upload that to installer/hacks/rpg_integr_hack
Code:
// if (!is_array($steps["$nextstep"]))
// {
// die('Error in upgrade.');
// }
Then just run the installation.