XDaast
8 years agoRising Adventurer
Petui's Scripts
Recently petui's scripts Wavy, Repair Time at Death, and Real POI Analyser stopped working. Petui uses some regular expressions that seem to no longer jive:
This is in Wavy:
I'm wondering if anyone can contribute to solving the issues with these scripts.
You can find the original source code for the scripts here: https://openuserjs.org/users/petui/scripts.
This is in Wavy:
if (typeof webfrontend.gui.region.RegionCityInfo.prototype.getObject !== 'function') {
source = webfrontend.gui.region.RegionCityInfo.prototype.setObject.toString();
var objectMemberName = PerforceChangelist >= 448942 && PerforceChangelist < 451851 ? source.match(/function \((+)\)\{.+(+)=\1\.object;+this\.(+)=\2;/)
: source.match(/function \((+)(?:,+)?\)\{.+this\.(+)=\1;/);
/**
* @returns {ClientLib.Vis.Region.RegionObject}
*/
webfrontend.gui.region.RegionCityInfo.prototype.getObject = function() {
return this;
};
}
I'm wondering if anyone can contribute to solving the issues with these scripts.
You can find the original source code for the scripts here: https://openuserjs.org/users/petui/scripts.