Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Fix for SavedLocationType (XiuzSource V62)

Initiate Mage
Joined
Mar 17, 2018
Messages
3
Reaction score
0
Hey, When I trying to use the main portal of the free-market, I got errors on the bat like:
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 :)
 
Back
Top