OdinMS Patch: GM Command !papulatus

So Sabriena and the gang talked me into setting up a MapleStory private server, and I’ve used it as an excuse to learn Java (ew) because that’s what OdinMS is written in. Here’s the first thing I managed to hack together that works, a GM command for summoning Papulatus:

In the file src\net\sf\odinms\client\messages\CommandProcessor.java around Line 900 or so, look for this:

			} else {
				mc.dropMessage("GM Command " + splitted[0] + " does not exist");
			}

That’s the tail end of where the GM commands are listed, so just before it, paste this:

                        } else if (splitted[0].equals("!papulatus")){
		                MapleMonster mob0 = MapleLifeFactory.getMonster(8500000);
                                c.getPlayer().getMap().spawnMonsterOnGroudBelow(mob0, c.getPlayer().getPosition());
                                c.getPlayer().getMap().broadcastMessage(MaplePacketCreator.serverNotice(0, "The crack in the dimension seals up, and Papulatus appears!"));

Java really doesn’t seem all that hard to comprehend, coming from C, so we’ll see how long this lasts.

Montpelier, IN 47359, USA

Published:


Modified:


Filed under:


Location:

Montpelier, IN 47359, USA

Navigation: Older Entry Newer Entry