[Fix]How to fix FM warp to not get back to Perion | Random Sources

Results 1 to 10 of 10
  1. #1
    Registered Euden is offline
    MemberRank
    Nov 2008 Join Date
    GermanyLocation
    14Posts

    [Fix]How to fix FM warp to not get back to Perion | Random Sources


    RaGEZONE Recommends

    RaGEZONE Recommends

    So here, cuz some ppl said they got the bug, that when they want to go back from FM to where they were before, they get teleported to Perion.

    To fix this, first of all, look for the EnterMTSHandler.java under net.server.handerls.channel and search within this for:
    Code:
    chr.changeMap(910000000);
    this is the command tpo bring ppl to the fm.

    so know to save their old postition before they goto the fm change it to this:
    Code:
    c.getPlayer().saveLocation("FREE_MARKET");
    chr.changeMap(910000000);
    Your saveLocation command could be a bit different whitin these two: ("blabla")

    so ok, now it saves where they were before. but when a noob presses the trade button once more when he is already at the fm, he has to leave twice and will get still back to perion.

    to fix this we have to check if a user is already at tha fm or not:
    Code:
    if(c.getPlayer().getMapId() == 910000000){
    chr.dropMessage("You're already at the FreeMarket, Noob!");
    }
    So the full code will look like this:
    Code:
    		if(c.getPlayer().getMapId() == 910000000){
                                chr.dropMessage("You're already at the FreeMarket, Noob!");
                            } else {
                                c.getPlayer().saveLocation("FREE_MARKET");
                                chr.changeMap(910000000);
                            }
    i tested this way with OrpheusMS repack, but it has to work with other sources and repacks, too

    'nd sorry for my bad grammar, hope i could help anyway, Euden
    Last edited by Piggy; 09-09-12 at 04:22 AM. Reason: added [Fix] tags and changed title


  2. #2
    CSG sunnyboy is offline
    The OmegaRank
    Mar 2010 Join Date
    6,178Posts

    Re: Howta fix FM warp to not get back to Perion | Random Sources

    Too bad they removed MTS button in v117. qq

  3. #3
    Registered Euden is offline
    MemberRank
    Nov 2008 Join Date
    GermanyLocation
    14Posts

    Re: Howta fix FM warp to not get back to Perion | Random Sources

    Oh, i didnt know that. but developer cas make an@fm command with the same source :) so it will still work because nexon is too lazy to remove old codes from the wz's

  4. #4
    Dream: Pro Coder :) standeman is offline
    True MemberRank
    Mar 2010 Join Date
    The NetherlandsLocation
    418Posts

    Re: Howta fix FM warp to not get back to Perion | Random Sources

    Quote Originally Posted by sunnyboy184 View Post
    Too bad they removed MTS button in v117. qq
    Why do you need to post critic about any post ?

  5. #5
    CSG sunnyboy is offline
    The OmegaRank
    Mar 2010 Join Date
    6,178Posts

    Re: Howta fix FM warp to not get back to Perion | Random Sources

    Quote Originally Posted by standeman View Post
    Why do you need to post critic about any post ?
    I never knew my post was critizing his post. l0l. All I mentioned was " Too bad there's no FM button in v117" Now, shoo to your lame ps.

  6. #6
    Account Inactive realyaseen is offline
    InactiveRank
    Sep 2012 Join Date
    4Posts

    Re: Howta fix FM warp to not get back to Perion | Random Sources

    Quote Originally Posted by standeman View Post
    Why do you need to post critic about any post ?
    Give sunny some slack, He was not even criticizing him

  7. #7
    Registered Euden is offline
    MemberRank
    Nov 2008 Join Date
    GermanyLocation
    14Posts

    Re: [Fix]How to fix FM warp to not get back to Perion | Random Sources

    true story, bro. and i hav same oppinion like sunny

  8. #8
    Account Upgraded | Title Enabled! davidling is offline
    True MemberRank
    Jul 2011 Join Date
    450Posts

    Re: [Fix]How to fix FM warp to not get back to Perion | Random Sources

    teleport to perion when trying warp to fm?

    maybe the "Murial" is working? haha

  9. #9
    Account Inactive realyaseen is offline
    InactiveRank
    Sep 2012 Join Date
    4Posts

    Re: [Fix]How to fix FM warp to not get back to Perion | Random Sources

    Quote Originally Posted by davidling View Post
    teleport to perion when trying warp to fm?

    maybe the "Murial" is working? haha
    It was fake

  10. #10
    Registered Euden is offline
    MemberRank
    Nov 2008 Join Date
    GermanyLocation
    14Posts

    Re: [Fix]How to fix FM warp to not get back to Perion | Random Sources

    Quote Originally Posted by davidling View Post
    teleport to perion when trying warp to fm?

    maybe the "Murial" is working? haha
    If ya dunno believe me, dl orpheus ms repack, click trade, and then leave the fm: you will be in perion.




Advertisement