[Release] Ring Command

Results 1 to 25 of 25
  1. #1
    Member JdeeCanada is offline
    MemberRank
    Aug 2008 Join Date
    CanadaLocation
    57Posts

    [Release] Ring Command

    Keep the release forum alive!

    Code:
    else if (splitted[0].equals("@ring")) {
                mc.dropMessage("It should go like : @ring <ringid> <partner>");
                mc.dropMessage("Ring ID's available are :");
                mc.dropMessage("1112001 - Ring : Crush"); 
                mc.dropMessage("1112002 - Ring : Cloud"); 
                mc.dropMessage("1112003 - Ring : Cupid"); 
                mc.dropMessage("1112005 - Ring : Venus Fireworks"); 
                mc.dropMessage("1112006 - Ring : Crossed Hearts"); 
                mc.dropMessage("1112800 - Friendship Ring : Clover");
                mc.dropMessage("1112801 - Friendship Ring : Flower Petal");
                mc.dropMessage("1112802 - Friendship Ring : Star");
                mc.dropMessage("Creating a ring will cost 50,000,000 mesos!");
                int itemId = Integer.parseInt(splitted[1]);
                String partnerName = splitted[2];
                int partnerId = MapleCharacter.getIdByName(partnerName, 0);
                if (c.getPlayer().getMeso() < 50000000) { //Change the price if you want
                mc.dropMessage("Creating a ring will cost 50,000,000 mesos!");
                } else {
    				if (itemId < 111200 || itemId > 1120000 || (itemId > 
    
    1112006 && itemId < 1112800) || itemId == 1112808 || (itemId > 4031358 && itemId < 
    
    40313640) || itemId == 1112809) {
    					mc.dropMessage("Invalid ID.");
                } else {
                int[] ret = MapleRing.createRing(c, itemId, c.getPlayer().getId(), c.getPlayer
    
    ().getName(), partnerId, partnerName);
                c.getPlayer().gainMeso(-50000000, true); 
                if (ret[0] == -1 || ret[1] == -1) {
                    mc.dropMessage("Error.");
                    mc.dropMessage("Make sure the person you are attempting to create a ring with is 
    
    online.");
                }
    			}
    			} 
    			}
    It bocks most of the wedding rings that can get stuck in your inventory..


  2. #2
    Account Upgraded | Title Enabled! Shagakrath is offline
    MemberRank
    May 2008 Join Date
    Maplestory WorldLocation
    1,007Posts

    Re: [Release] Ring Command

    Sup Jdee! nice I think I just have the command !rings

  3. #3
    Member JdeeCanada is offline
    MemberRank
    Aug 2008 Join Date
    CanadaLocation
    57Posts

    Re: [Release] Ring Command

    How do you know me?!

  4. #4
    Burn the land, HydroBenZ is offline
    MemberRank
    Aug 2008 Join Date
    2,710Posts

    Re: [Release] Ring Command

    Nice one.

  5. #5
    Account Upgraded | Title Enabled! Miwi is offline
    MemberRank
    Oct 2008 Join Date
    BannedLocation
    281Posts

    Re: [Release] Ring Command

    Faster than my ass :P

  6. #6
    Alpha Member xelkin is offline
    MemberRank
    Jul 2008 Join Date
    New YorkLocation
    1,522Posts

    Re: [Release] Ring Command

    Ahh this there already is a ting command on acEvolutions thread...

  7. #7
    Member JdeeCanada is offline
    MemberRank
    Aug 2008 Join Date
    CanadaLocation
    57Posts

    Re: [Release] Ring Command

    I released this on his thread..

  8. #8
    Account Upgraded | Title Enabled! Miwi is offline
    MemberRank
    Oct 2008 Join Date
    BannedLocation
    281Posts

    Re: [Release] Ring Command

    DAM mmit ur too fast

  9. #9
    Alpha Member xelkin is offline
    MemberRank
    Jul 2008 Join Date
    New YorkLocation
    1,522Posts

    Re: [Release] Ring Command

    lol so if its on his thread whats the use of having another thread for it?

  10. #10
    Member JdeeCanada is offline
    MemberRank
    Aug 2008 Join Date
    CanadaLocation
    57Posts

    Re: [Release] Ring Command

    He released a !ring one..
    Doesn't take mesos/lists the ring ids/blocks wedding rings.

    I just posted on his thread.

  11. #11
    Account Upgraded | Title Enabled! chuayaowei is offline
    MemberRank
    Jul 2008 Join Date
    SingaporeLocation
    1,410Posts

    Re: [Release] Ring Command

    Nice job. Thanks

  12. #12
    Account Upgraded | Title Enabled! lanka1 is offline
    MemberRank
    Sep 2008 Join Date
    USLocation
    383Posts

    Re: [Release] Ring Command

    proo ;]

  13. #13
    Account Upgraded | Title Enabled! arberb is offline
    MemberRank
    Nov 2006 Join Date
    722Posts

    Re: [Release] Ring Command

    THIS IS BROKEN.
    Use
    else if (splitted[0].equals("@ring")) {
    mc.dropMessage("It should go like : @ring <ringid> <partner>");
    mc.dropMessage("Ring ID's available are :");
    mc.dropMessage("1112001 - Ring : Crush");
    mc.dropMessage("1112002 - Ring : Cloud");
    mc.dropMessage("1112003 - Ring : Cupid");
    mc.dropMessage("1112005 - Ring : Venus Fireworks");
    mc.dropMessage("1112006 - Ring : Crossed Hearts");
    mc.dropMessage("1112800 - Friendship Ring : Clover");
    mc.dropMessage("1112801 - Friendship Ring : Flower Petal");
    mc.dropMessage("1112802 - Friendship Ring : Star");
    mc.dropMessage("Creating a ring will cost 50,000,000 mesos!");
    int itemId = Integer.parseInt(splitted[1]);
    String partnerName = splitted[2];
    int partnerId = MapleCharacter.getIdByName(partnerName, 0);
    if (c.getPlayer().getMeso() < 50000000) { //Change the price if you want
    mc.dropMessage("Creating a ring will cost 50,000,000 mesos!");
    } else {
    if (itemId < 111200 || itemId > 1120000 || (itemId >

    1112006 && itemId < 1112800) || itemId == 1112808 || (itemId > 4031358 && itemId <

    40313640) || itemId == 1112809) {
    mc.dropMessage("Invalid ID.");
    } else {
    int[] ret = MapleRing.createRing(c, itemId, c.getPlayer().getId(), c.getPlayer

    ().getName(), partnerId, partnerName);
    c.getPlayer().gainMeso(-50000000, true);
    if (ret[0] == -1 || ret[1] == -1) {
    mc.dropMessage("Error.");
    mc.dropMessage("Make sure the person you are attempting to create a ring with is online.");
    }
    }
    }
    }
    anyone with any v56+ servers
    you will have to do this
    Where your Commands are
    else if (splitted[0].equals("@ring")) {
    mc.dropMessage("It should go like : @ring <ringid> <partner>");
    mc.dropMessage("Ring ID's available are :");
    mc.dropMessage("1112001 - Ring : Crush");
    mc.dropMessage("1112002 - Ring : Cloud");
    mc.dropMessage("1112003 - Ring : Cupid");
    mc.dropMessage("1112005 - Ring : Venus Fireworks");
    mc.dropMessage("1112006 - Ring : Crossed Hearts");
    mc.dropMessage("1112800 - Friendship Ring : Clover");
    mc.dropMessage("1112801 - Friendship Ring : Flower Petal");
    mc.dropMessage("1112802 - Friendship Ring : Star");
    mc.dropMessage("Creating a ring will cost 50,000,000 mesos!");
    int itemId = Integer.parseInt(splitted[1]);
    String partnerName = splitted[2];
    int partnerId = MapleCharacter.getIdByName(partnerName, 0);
    if (c.getPlayer().getMeso() < 50000000) { //Change the price if you want
    mc.dropMessage("Creating a ring will cost 50,000,000 mesos!");
    } else {
    if (itemId < 111200 || itemId > 1120000 || (itemId >

    1112006 && itemId < 1112800) || itemId == 1112808 || (itemId > 4031358 && itemId <

    40313640) || itemId == 1112809) {
    mc.dropMessage("Invalid ID.");
    } else {
    int[] ret = MapleRing.createRing(c, itemId, c.getPlayer().getId(), c.getPlayer

    ().getName(), partnerId, partnerName);
    c.getPlayer().gainMeso(-50000000, true);
    if (ret[0] == -1 || ret[1] == -1) {
    mc.dropMessage("Error.");
    mc.dropMessage("Make sure the person you are attempting to create a ring with is online.");
    }
    }
    }
    }
    & Put it under: return new CommandDefinition[] {
    new CommandDefinition("ring", "", "Ring Commands", 0),

  14. #14
    Apprentice ahlongg is offline
    MemberRank
    Sep 2008 Join Date
    24Posts

    Re: [Release] Ring Command

    Quote Originally Posted by JdeeCanada View Post
    Keep the release forum alive!

    Code:
    else if (splitted[0].equals("@ring")) {
                mc.dropMessage("It should go like : @ring <ringid> <partner>");
                mc.dropMessage("Ring ID's available are :");
                mc.dropMessage("1112001 - Ring : Crush"); 
                mc.dropMessage("1112002 - Ring : Cloud"); 
                mc.dropMessage("1112003 - Ring : Cupid"); 
                mc.dropMessage("1112005 - Ring : Venus Fireworks"); 
                mc.dropMessage("1112006 - Ring : Crossed Hearts"); 
                mc.dropMessage("1112800 - Friendship Ring : Clover");
                mc.dropMessage("1112801 - Friendship Ring : Flower Petal");
                mc.dropMessage("1112802 - Friendship Ring : Star");
                mc.dropMessage("Creating a ring will cost 50,000,000 mesos!");
                int itemId = Integer.parseInt(splitted[1]);
                String partnerName = splitted[2];
                int partnerId = MapleCharacter.getIdByName(partnerName, 0);
                if (c.getPlayer().getMeso() < 50000000) { //Change the price if you want
                mc.dropMessage("Creating a ring will cost 50,000,000 mesos!");
                } else {
    				if (itemId < 111200 || itemId > 1120000 || (itemId > 
    
    1112006 && itemId < 1112800) || itemId == 1112808 || (itemId > 4031358 && itemId < 
    
    40313640) || itemId == 1112809) {
    					mc.dropMessage("Invalid ID.");
                } else {
                int[] ret = MapleRing.createRing(c, itemId, c.getPlayer().getId(), c.getPlayer
    
    ().getName(), partnerId, partnerName);
                c.getPlayer().gainMeso(-50000000, true); 
                if (ret[0] == -1 || ret[1] == -1) {
                    mc.dropMessage("Error.");
                    mc.dropMessage("Make sure the person you are attempting to create a ring with is 
    
    online.");
                }
    			}
    			} 
    			}
    It bocks most of the wedding rings that can get stuck in your inventory..

    sry about my noobness can anyone tell me what this does? and put where ? thx for ur help :D nice release anyway

  15. #15
    Account Upgraded | Title Enabled! arberb is offline
    MemberRank
    Nov 2006 Join Date
    722Posts

    Re: [Release] Ring Command

    Quote Originally Posted by ahlongg View Post
    sry about my noobness can anyone tell me what this does? and put where ? thx for ur help :D nice release anyway
    That makes it public to everyone if you have the new command system(flowision, projectms, arberms) and such has it.

  16. #16
    Apprentice ahlongg is offline
    MemberRank
    Sep 2008 Join Date
    24Posts

    Re: [Release] Ring Command

    Quote Originally Posted by arberb View Post
    That makes it public to everyone if you have the new command system(flowision, projectms, arberms) and such has it.
    huh = = what u mean make it public to everyone? o.o

  17. #17
    Enthusiast quick is offline
    MemberRank
    Aug 2008 Join Date
    29Posts

    Re: [Release] Ring Command

    Quote Originally Posted by ahlongg View Post
    sry about my noobness can anyone tell me what this does? and put where ? thx for ur help :D nice release anyway
    Put it in your commandprocessor.java. If you don't know how to compile, go to the tutorial section and you should see a section on how to compile. It makes it public to everybody because they used the @ function.

  18. #18
    Apprentice ahlongg is offline
    MemberRank
    Sep 2008 Join Date
    24Posts

    Re: [Release] Ring Command

    oic :D thx man ... but i think my ms got liao :D i just thinking how to make without hamachi.. some tut too chim i see liao i stun lols = =

  19. #19
    Account Upgraded | Title Enabled! keane6 is offline
    MemberRank
    Aug 2008 Join Date
    Great BiteLocation
    731Posts

    Re: [Release] Ring Command

    nice job but has been released before :3

  20. #20
    Account Upgraded | Title Enabled! Miwi is offline
    MemberRank
    Oct 2008 Join Date
    BannedLocation
    281Posts

    Re: [Release] Ring Command

    Ace released a better one :P

  21. #21
    Account Upgraded | Title Enabled! Bosco Wong is offline
    MemberRank
    Jun 2008 Join Date
    SingaporeLocation
    278Posts

    Re: [Release] Ring Command

    Thank For Releasing^^

  22. #22
    Omega ihatehaxor is offline
    MemberRank
    Apr 2008 Join Date
    JerseyLocation
    5,461Posts

    Re: [Release] Ring Command

    nice release.
    But isnt there a ring command already?

  23. #23
    Enthusiast makeutus is offline
    MemberRank
    Aug 2008 Join Date
    43Posts

    Re: [Release] Ring Command

    Wow, you can create ANY item with this, UNSAFE!
    I know im bumping, this is an WARNING ! DONT USE IT.

  24. #24
    Account Upgraded | Title Enabled! ~Justin~ is offline
    MemberRank
    Jul 2008 Join Date
    Up Your Buttt ALocation
    905Posts

    Re: [Release] Ring Command

    Quote Originally Posted by makeutus View Post
    Wow, you can create ANY item with this, UNSAFE!
    I know im bumping, this is an WARNING ! DONT USE IT.
    Omg. Fuck off you fucking noob.

  25. #25
    Account Upgraded | Title Enabled! blitzbleed12 is offline
    MemberRank
    Aug 2008 Join Date
    FyreStory™Location
    206Posts

    Re: [Release] Ring Command

    thx :3



Advertisement