Rate Selection System

Page 1 of 7 1234567 LastLast
Results 1 to 15 of 99
  1. #1
    Yuki Zygon is offline
    MemberRank
    Aug 2008 Join Date
    IllinoisLocation
    1,208Posts

    Rate Selection System

    This is a system that stores data in the SQL to determine the player's selected rates among three options (it's stored in 'characters' table). Default will only remain until a person has leveled up to 2 or logged in after the player has reached level 10. This way it avoids getting tied up with the Maple Administrator message that opens when you log on a new character. The NPC used is editable in any manner. (Rebirths aren't tied into the process, it's just an idea for a restriction for having higher rates)

    Tested and works 100%.

    Screen Shot of NPC:


    Mediafire: http://www.mediafire.com/?2lzniololyi

    I wanna hear the flames please.

    Edit: I tried making the instructions as noob friendly as possible.
    Edit 2: Revision 1 added (Fixed a couple of errors and optimized code)
    Last edited by Zygon; 08-03-10 at 03:47 AM.


  2. #2
    may web.very maple.pls. iAkira is offline
    MemberRank
    Aug 2009 Join Date
    somewhere..Location
    2,378Posts

    Re: Rate Selection System

    Dam nice for v62 or v75?

  3. #3
    Yuki Zygon is offline
    MemberRank
    Aug 2008 Join Date
    IllinoisLocation
    1,208Posts

    Re: Rate Selection System

    Quote Originally Posted by iAkira View Post
    Dam nice for v62 or v75?
    Either, doesn't matter.

  4. #4
    Valued Member Red Tape is offline
    MemberRank
    Oct 2009 Join Date
    141Posts

    Re: Rate Selection System

    hm, I wonder what one they will choose...

  5. #5
    Yuki Zygon is offline
    MemberRank
    Aug 2008 Join Date
    IllinoisLocation
    1,208Posts

    Re: Rate Selection System

    Quote Originally Posted by Red Tape View Post
    hm, I wonder what one they will choose...
    I don't really care, I just made it because some people like lower rates than others. Of course you can omit higher rated people from the rankings.

  6. #6
    Account Upgraded | Title Enabled! Ducky is offline
    MemberRank
    Sep 2009 Join Date
    Corn CityLocation
    261Posts

    Re: Rate Selection System

    Quote Originally Posted by Red Tape View Post
    hm, I wonder what one they will choose...
    High Rates Duh....

    and dam nice for a second world, where characters have a little more freedom.ahhhhh beautiful Maple Democracy(hahaha)

  7. #7
    Valued Member Red Tape is offline
    MemberRank
    Oct 2009 Join Date
    141Posts

    Re: Rate Selection System

    Quote Originally Posted by Zygon View Post
    I don't really care, I just made it because some people like lower rates than others. Of course you can omit higher rated people from the rankings.
    Wait, if you were making this, why did Kevin ask me how to check if rateselection is null on msn?

  8. #8
    Yuki Zygon is offline
    MemberRank
    Aug 2008 Join Date
    IllinoisLocation
    1,208Posts

    Re: Rate Selection System

    Quote Originally Posted by Red Tape View Post
    Wait, if you were making this, why did Kevin ask me how to check if rateselection is null on msn?
    Because this was originally made for his server, but I quit the day I finished and let him have it.

  9. #9
    Valued Member Red Tape is offline
    MemberRank
    Oct 2009 Join Date
    141Posts

    Re: Rate Selection System

    Quote Originally Posted by Zygon View Post
    Because this was originally made for his server, but I quit the day I finished and let him have it.
    he asked me like 20 min ago o.0

  10. #10
    Yuki Zygon is offline
    MemberRank
    Aug 2008 Join Date
    IllinoisLocation
    1,208Posts

    Re: Rate Selection System

    Quote Originally Posted by Red Tape View Post
    he asked me like 20 min ago o.0
    This is the same thing I gave him except with a few modifications.
    I quit his server as a developer a couple days ago and I decided to release this today.

  11. #11
    Valued Member tsunayoshi is offline
    MemberRank
    Aug 2009 Join Date
    100Posts

    Re: Rate Selection System

    zygon reply me in private message

  12. #12
    Account Upgraded | Title Enabled! X-Tasis is offline
    MemberRank
    Feb 2009 Join Date
    1,192Posts

    Re: Rate Selection System

    A few suggestions:

    It's better just to do
    private int[] rates;
    and then do
    int[] chosenrates = {exprate, mesorate, droprate };
    this.rates = chosenrates;

    public void getSelectedRates() {return rates;}
    instead of making a new object each time

    and no point of doing this
    player.hasSelectedRates() == false

  13. #13
    Yuki Zygon is offline
    MemberRank
    Aug 2008 Join Date
    IllinoisLocation
    1,208Posts

    Re: Rate Selection System

    Quote Originally Posted by X-Tasis View Post
    A few suggestions:

    It's better just to do
    private int[] rates;
    and then do
    int[] chosenrates = {exprate, mesorate, droprate };
    this.rates = chosenrates;

    public void getSelectedRates() {return rates;}
    instead of making a new object each time

    and no point of doing this
    player.hasSelectedRates() == false
    Thank you for the suggestions, I'll note that for future releases.

  14. #14
    Proficient Member ItsKevin is offline
    MemberRank
    Aug 2009 Join Date
    Austin, TexasLocation
    171Posts

    Re: Rate Selection System

    Nice release Zygon....

  15. #15
    Yuki Zygon is offline
    MemberRank
    Aug 2008 Join Date
    IllinoisLocation
    1,208Posts

    Re: Rate Selection System

    Quote Originally Posted by ItsKevin View Post
    Nice release Zygon....
    Thank you.



Page 1 of 7 1234567 LastLast

Advertisement