Package smart.updater

Examples of smart.updater.RSField


   
    return bytes == 1 && booleans == 1 && ints == 4;
  }
 
  public SearchResult run(RSClient data, HashMap<String, ClassGen> classes) {
    RSField myplayer = data.getProperField("MyPlayer");
    RSField pixelX = data.getProperField("PixelX");
    RSField pixelY = data.getProperField("PixelY");
        for (Entry<String, ClassGen> c : classes.entrySet()) {
            for (Method m : c.getValue().getMethods()) {
              ClassGen cg = new ClassGen(c.getValue().getJavaClass());
              ConstantPoolGen cpg = c.getValue().getConstantPool();
              MethodGen gen = new MethodGen(m, c.getValue().getClassName(), cpg);
View Full Code Here


public class LoopCycleStatus extends Search{

  @Override
  public SearchResult run(RSClient data, HashMap<String, ClassGen> classes) {
    RSField loopcycle = data.getProperField("LoopCycle");
    RSClass player = data.getProperClass("Player");
    RSClass character = data.getProperClass("Character");
    if(loopcycle == null)
      return SearchResult.Failure;
    for(Entry<String, ClassGen> c : classes.entrySet()){
View Full Code Here

public class PlayerName extends Search{

  @Override
  public SearchResult run(RSClient data, HashMap<String, ClassGen> classes) {
    RSClass player = data.getProperClass("Player");
    RSField myplayer = data.getProperField("MyPlayer");
    for(Entry<String, ClassGen> c : classes.entrySet()){
      ClassGen cg = new ClassGen(c.getValue().getJavaClass());
      ConstantPoolGen cpg = cg.getConstantPool();
      int count = 0;
      for(Method m : cg.getMethods()){
View Full Code Here

              if (il == null) {
                 continue;
              }
              InstructionSearcher iS = new InstructionSearcher(il, cpg);
            MethodSearcher mS = new MethodSearcher(m, cg, cpg);
            RSField menuOpCount = data.getProperField("MenuOptionCount");
            if (m.isStatic() && m.isFinal() && m.getReturnType().equals(Type.VOID) && mS.getArgCount() == 11 &&
                mS.getTypeCount("int")>= 3 && mS.hasField(menuOpCount.path)) {
                if(iS.nextFieldInstructionOf(menuOpCount.path)!=null){
                  FieldInstruction i = null;
                  i = (FieldInstruction)iS.prevGETSTATIC();
View Full Code Here

TOP

Related Classes of smart.updater.RSField

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.