Fix for 5-Star Equip Scrolls For Lithium.

Results 1 to 13 of 13
  1. #1
    Account Upgraded | Title Enabled! Lowsir is offline
    True MemberRank
    Mar 2011 Join Date
    1,022Posts

    happy Fix for 5-Star Equip Scrolls For Lithium.


    RaGEZONE Recommends

    RaGEZONE Recommends

    This is a extremely easy fix. But I always wondered why most servers do not fix this problem.
    Anyways this is the fix for the 5 Star scrolls.
    All you have to do is change one line in MapleItemInformationProvider.java.
    The Line is 770.
    And you have to change this:
    PHP Code:
    for (int i 0< (scrollId.getItemId() == 2049305 : (scrollId.getItemId() == 2049304 1)); i++) { 
    To this:

    PHP Code:
     for (int i 0<  (scrollId.getItemId() == 2049308 : (scrollId.getItemId() == 2049305 : (scrollId.getItemId() == 2049304 1))); i++) { 
    And It will work. It has been tested. I guess there is other ids but I used that one because I remembered it. Uh. Like if your going to use it I guess and uh. Yeah!


  2. #2
    Account Upgraded | Title Enabled! Yaseen is offline
    True MemberRank
    Nov 2011 Join Date
    /index.phpLocation
    430Posts

    Re: Fix for 5-Star Equip Scrolls For Lithium.

    Sorry but what exactly does this fix? I haven't really taken a look at the source thoroughly/looked at your fix that well.
    Spoiler:

  3. #3
    Account Inactive xloserxj is offline
    InactiveRank
    Jun 2011 Join Date
    62Posts

    Re: Fix for 5-Star Equip Scrolls For Lithium.

    Quote Originally Posted by Yaseen View Post
    Sorry but what exactly does this fix? I haven't really taken a look at the source thoroughly/looked at your fix that well.
    It fixes the 5 Star equip enhancement scroll to give an item 5 stars upon passing the scroll

  4. #4
    Account Upgraded | Title Enabled! Lowsir is offline
    True MemberRank
    Mar 2011 Join Date
    1,022Posts

    Re: Fix for 5-Star Equip Scrolls For Lithium.

    Quote Originally Posted by Yaseen View Post
    Sorry but what exactly does this fix? I haven't really taken a look at the source thoroughly/looked at your fix that well.
    5 star Equip Enhancement Scrolls. They do not work normally.

  5. #5
    ~永遠の美~ Utsukushi is offline
    True MemberRank
    Apr 2011 Join Date
    AustraliaLocation
    804Posts

    Re: Fix for 5-Star Equip Scrolls For Lithium.

    I will keep my EES xD. Screw the 5 start equipment scroll but anyway good release

  6. #6
    I'm The God pauljeki is offline
    True MemberRank
    Oct 2011 Join Date
    IsraelLocation
    736Posts

    Re: Fix for 5-Star Equip Scrolls For Lithium.

    Well if you won't have this fix. you cant get to 100% source lol.

  7. #7
    ~永遠の美~ Utsukushi is offline
    True MemberRank
    Apr 2011 Join Date
    AustraliaLocation
    804Posts

    Re: Fix for 5-Star Equip Scrolls For Lithium.

    Quote Originally Posted by pauljeki View Post
    Well if you won't have this fix. you cant get to 100% source lol.
    Fine I will do it :D Because you are better than me in coding xD i listen to you

  8. #8
    Alpha Member Moogra is offline
    Alpha MaleRank
    Jul 2008 Join Date
    1,805Posts

    Re: Fix for 5-Star Equip Scrolls For Lithium.

    lol I hope you guys realize this isn't how 5 star scrolls actually work. They actually set the item to have exactly 5 stars (and only work if they have under 5 stars to begin with). This goes for 3 and 4 star EE scrolls too.

    Quote Originally Posted by pauljeki View Post
    Well if you won't have this fix. you cant get to 100% source lol.
    lol

  9. #9
    Account Upgraded | Title Enabled! Lowsir is offline
    True MemberRank
    Mar 2011 Join Date
    1,022Posts

    Re: Fix for 5-Star Equip Scrolls For Lithium.

    Quote Originally Posted by Moogra View Post
    lol I hope you guys realize this isn't how 5 star scrolls actually work. They actually set the item to have exactly 5 stars (and only work if they have under 5 stars to begin with). This goes for 3 and 4 star EE scrolls too.


    lol
    You confused me with: They actually set the item to have exactly 5 stars (and only work if they have under 5 stars to begin with).
    So your saying that It is supposed to SET a item to have 5 stars and not give it them?

  10. #10
    Alpha Member Moogra is offline
    Alpha MaleRank
    Jul 2008 Join Date
    1,805Posts

    Re: Fix for 5-Star Equip Scrolls For Lithium.

    Yes, have you ever used one on GMS?
    3 star EE only works if you have < 3 stars and then it scrolls it until it has 3 stars.

  11. #11
    Account Upgraded | Title Enabled! Lowsir is offline
    True MemberRank
    Mar 2011 Join Date
    1,022Posts

    Re: Fix for 5-Star Equip Scrolls For Lithium.

    Quote Originally Posted by Moogra View Post
    Yes, have you ever used one on GMS?
    3 star EE only works if you have < 3 stars and then it scrolls it until it has 3 stars.
    Oh...Never had one in GMS for thanks for telling be that but..It's kinda weird in the WZ files the thing that has the amount of adding stars is called "ForceUpgrade" so I'm really confused about that.

  12. #12
    Account Upgraded | Title Enabled! KerningCity is offline
    True MemberRank
    Jan 2012 Join Date
    294Posts

    Re: Fix for 5-Star Equip Scrolls For Lithium.

    Quote Originally Posted by TestMS View Post
    This is a extremely easy fix. But I always wondered why most servers do not fix this problem.
    Anyways this is the fix for the 5 Star scrolls.
    All you have to do is change one line in MapleItemInformationProvider.java.
    The Line is 770.
    And you have to change this:
    PHP Code:
    for (int i 0< (scrollId.getItemId() == 2049305 : (scrollId.getItemId() == 2049304 1)); i++) { 
    To this:

    PHP Code:
     for (int i 0<  (scrollId.getItemId() == 2049308 : (scrollId.getItemId() == 2049305 : (scrollId.getItemId() == 2049304 1))); i++) { 
    And It will work. It has been tested. I guess there is other ids but I used that one because I remembered it. Uh. Like if your going to use it I guess and uh. Yeah!
    Thanks a lot for this fix! Gonna pop it in right now and see if it works, I'm pretty sure I know exactly what this if for.

  13. #13
    Account Upgraded | Title Enabled! Joakim432710 is offline
    True MemberRank
    Oct 2008 Join Date
    224Posts

    Re: Fix for 5-Star Equip Scrolls For Lithium.

    Do note if you want to apply the fix above and use the XML Chance data, you need to port it into wz_itemdata and add the chance column in the database. After that, rest is just messing with the import function to capture the chance column aswell.




Advertisement