Now you can find IDs IN THE GAME without the need of a GM handbook! Just use the !search command!
NOTE NOTE NOTE NOTE: If you are looking for something with spaces, use % instead of a space
FOR EXAMPLE YOU WANT TO LOOK FOR BLUE SNAIL SO YOU WOULD TYPE Blue%snail
!search <name>
Once you do so, it will give you a list of names and IDs. Punch in the ID and you're good to go!
Okay here is how to do it: (Sorry no patch! but feel free to make your own and share it)
Open net.sf.odinms.client.messages.CommandProcessor.java
Find
Add after:Code:import org.slf4j.LoggerFactory;
Find:Code:import java.net.URL; import java.net.URLConnection; import java.io.BufferedReader; import java.io.IOException; import java.net.MalformedURLException; import java.io.InputStreamReader;
Add After:Code:else if (splitted[0].equals("!fullhp")) { player.setHp(player.getMaxHp()); player.updateSingleStat(MapleStat.HP, player.getMaxHp()); player.setMp(player.getMaxMp()); player.updateSingleStat(MapleStat.MP, player.getMaxMp()); }
And that's it!Code:else if (splitted[0].equals("!search")) { try { URL url; URLConnection urlConn; BufferedReader dis; url = new URL("http://www.mapletip.com/search_java.php?search_value=" + splitted[1] + "&check=true"); urlConn = url.openConnection(); urlConn.setDoInput(true); urlConn.setUseCaches(false); dis = new BufferedReader(new InputStreamReader(urlConn.getInputStream())); String s; while ((s = dis.readLine()) != null) { mc.dropMessage(s); } dis.close(); } catch (MalformedURLException mue) {} catch (IOException ioe) {} }
Have fun everyone
NOTE NOTE NOTE NOTE: If you are looking for something with spaces, use % instead of a space
FOR EXAMPLE YOU WANT TO LOOK FOR BLUE SNAIL SO YOU WOULD TYPE Blue%snail




![[Release] search <name> method. NO MORE GM HANDBOOK!](http://ragezone.com/hyper728.png)


