Hey, When I trying to use the main portal of the free-market, I got errors on the bat like:
So to fix it we need go to scripts\portal\market00.js.
And below:
Add this:
This will fix your errors and the portal last position you got.
Bye
PHP:
Exception during processing packet: net.sf.odinms.net.channel.handler.ChangeMapSpecialHandler: ReferenceError: "SavedLocationType" is not defined
So to fix it we need go to scripts\portal\market00.js.
And below:
PHP:
var returnMap = pi.getPlayer().saveLocation(SavedLocationType.FREE_MARKET);
Add this:
PHP:
var SavedLocationType = Packages.net.sf.odinms.server.maps.SavedLocationType;
This will fix your errors and the portal last position you got.
Bye