Hello again, before I continue I just wanna say I'm new java and MapleStory development in general.
So I made this command for GM's and basically what its supposed to do... is for the GM to type /jguild VictimsNameWhosGuildYouWantToJoin and it would make the victim send an invite to you for their guild or something along those lines.. lmao.
So.. I'm not even sure if this works because I have no one to test it with lol. So if you guys could tell me if it would work fine and what you think of my java thinking skills? ...
Like I said I'm not that good.. I'm horrible. This command probably doesn't make any sense but I gave it my best try. I will continue to learn! Also if you know how to fix it please give me ideas but don't spoon feed. Thank you.Code:case "jguild": { MapleCharacter victim = c.getWorldServer().getPlayerStorage().getCharacterByName(sub[1]); MapleGuild.sendInvite(victim.getClient(), player.getName()); player.getMap().removePlayer(c.getPlayer()); player.getMap().addPlayer(c.getPlayer()); player.message("Done."); break; }


Reply With Quote


