JudoMS v117.2 Source

Page 9 of 25 FirstFirst 123456789101112131415161719 ... LastLast
Results 121 to 135 of 370
  1. #121
    Novice Penny Goh is offline
    MemberRank
    Jun 2014 Join Date
    2Posts

    Re: JudoMS v117.2 Source

    Quote Originally Posted by JudoMS View Post
    Thanks and if you need help, just post it here :)
    Okay will do.

  2. #122
    Account Upgraded | Title Enabled! BlessTheKnife is offline
    MemberRank
    Sep 2009 Join Date
    554Posts

    Re: JudoMS v117.2 Source

    How can I fix the Skill maxing so it doesnt give you every single skill in the game, because it makes the characters too OP and have a bunch of random skills, it's pretty irritating.

  3. #123
    Member JudoMS is offline
    MemberRank
    Feb 2014 Join Date
    255.255.255.255Location
    97Posts

    Re: JudoMS v117.2 Source

    Quote Originally Posted by Postalityjr View Post
    How can I fix the Skill maxing so it doesnt give you every single skill in the game, because it makes the characters too OP and have a bunch of random skills, it's pretty irritating.
    I don't think it can be fixed but you can remove the Skill Maxing command from the Starter Pack NPC if I remembered correctly

  4. #124
    C# developer xStr0nGx is offline
    MemberRank
    Dec 2013 Join Date
    UnknownLocation
    659Posts

    Re: JudoMS v117.2 Source

    Quote Originally Posted by JudoMS View Post
    I don't think it can be fixed but you can remove the Skill Maxing command from the Starter Pack NPC if I remembered correctly
    Re-writing this function will do the trick.

  5. #125
    Member bucackao is offline
    MemberRank
    May 2014 Join Date
    60Posts

    Re: JudoMS v117.2 Source

    how to remove str stats after rebirths? after rb it give you extra str which cause negative stats.

  6. #126
    Member JudoMS is offline
    MemberRank
    Feb 2014 Join Date
    255.255.255.255Location
    97Posts

    Re: JudoMS v117.2 Source

    Quote Originally Posted by bucackao View Post
    how to remove str stats after rebirths? after rb it give you extra str which cause negative stats.
    You will get negative stats if you have more than 32767. Each rebirth will gives you 42 or 50 stats if I remembered correctly.

  7. #127
    C# developer xStr0nGx is offline
    MemberRank
    Dec 2013 Join Date
    UnknownLocation
    659Posts

    Re: JudoMS v117.2 Source

    Quote Originally Posted by JudoMS View Post
    You will get negative stats if you have more than 32767. Each rebirth will gives you 42 or 50 stats if I remembered correctly.
    therefore, he should do something like this:

    foreach (Stat stat in Stats)
    if (stat.value() + toAdd > 32767 || stat.value() + toAdd < 0)
    stat.setValue(32767);
    (C# example)

  8. #128
    Account Upgraded | Title Enabled! AristoCat is offline
    MemberRank
    Apr 2012 Join Date
    947Posts

    Re: JudoMS v117.2 Source

    Quote Originally Posted by xStr0nGx View Post
    therefore, he should do something like this:



    (C# example)
    stst.value? stat.setvalue? you call this c#?

  9. #129
    C# developer xStr0nGx is offline
    MemberRank
    Dec 2013 Join Date
    UnknownLocation
    659Posts

    Re: JudoMS v117.2 Source

    Quote Originally Posted by AristoCat View Post
    stst.value? stat.setvalue? you call this c#?
    Nope,

    but I call that part a C# code:
    foreach (Stat stat in Stats)
    so that pretty much makes the other lines of the code to become a valid C# syntax.
    Last edited by xStr0nGx; 11-06-14 at 02:46 AM.

  10. #130
    Member bucackao is offline
    MemberRank
    May 2014 Join Date
    60Posts

    Re: JudoMS v117.2 Source

    Quote Originally Posted by xStr0nGx View Post
    therefore, he should do something like this:



    (C# example)
    I dont get it can you explain more please? :P

  11. #131
    C# developer xStr0nGx is offline
    MemberRank
    Dec 2013 Join Date
    UnknownLocation
    659Posts

    Re: JudoMS v117.2 Source

    Quote Originally Posted by bucackao View Post
    I dont get it can you explain more please? :P
    foreach stat in maplecharacter.stats
    if (stat > 32767 OR stat < 0)
    stat.SETVALUE(32767)
    it's pretty clear that way ^ ..

  12. #132
    Member bucackao is offline
    MemberRank
    May 2014 Join Date
    60Posts

    Re: JudoMS v117.2 Source

    Quote Originally Posted by xStr0nGx View Post
    it's pretty clear that way ^ ..
    still don't get it, sorry im new to these things ><'

  13. #133
    C# developer xStr0nGx is offline
    MemberRank
    Dec 2013 Join Date
    UnknownLocation
    659Posts

    Re: JudoMS v117.2 Source

    Quote Originally Posted by bucackao View Post
    still don't get it, sorry im new to these things ><'
    But... that's English.......

    You can take an example from what I wrote above and try to fix it on your own...

    If you still can't do that, quote me again and i'll provide you the code (but not before you try!) :)

  14. #134
    Member bucackao is offline
    MemberRank
    May 2014 Join Date
    60Posts

    Re: JudoMS v117.2 Source

    Quote Originally Posted by xStr0nGx View Post
    But... that's English.......

    You can take an example from what I wrote above and try to fix it on your own...

    If you still can't do that, quote me again and i'll provide you the code (but not before you try!) :)
    i did tried even before my last post and is still trying but still cant figure it out.

  15. #135
    C# developer xStr0nGx is offline
    MemberRank
    Dec 2013 Join Date
    UnknownLocation
    659Posts

    Re: JudoMS v117.2 Source

    Quote Originally Posted by bucackao View Post
    i did tried even before my last post and is still trying but still cant figure it out.
    Replace your doReborn function with this:


    public void doReborn(int job) {
    if (getReborns() < 5) {
    this.reborns += 1;
    setLevel((short) 12); // = 11
    setExp(0);
    setJob(job);
    updateSingleStat(MapleStat.LEVEL, 1);
    updateSingleStat(MapleStat.JOB, job);
    updateSingleStat(MapleStat.EXP, 0);
    //Add stats
    int toAdd = 4;
    int index = 0;
    List<Integer> PStats = new ArrayList();
    PStats.add(getStat().str);
    PStats.add(getStat().dex);
    PStats.add(getStat().luk);
    PStats.add(getStat().int_);
    for (int stat : PStats) {
    index++;
    if (stat + toAdd < 32767 && stat + toAdd > 0) {
    updateSingleStat((index == 1 ? MapleStat.STR : index == 2 ? MapleStat.DEX : index == 3
    ? MapleStat.LUK : MapleStat.INT), toAdd);
    }
    }
    updateSingleStat(MapleStat.AVAILABLEAP, this.remainingAp);
    PStats.clear();
    } else {
    dropMessage(6, "You have reached the maximum possible reborns (5).");
    }
    }

    Enjoy and better luck next time!
    Last edited by xStr0nGx; 11-06-14 at 02:25 PM.



Advertisement