PDA

View Full Version : [REQ] Interfaces [REQ]



Hash
August 29th, 2011, 17:29
As you may know, i'm working on a project. I'm doing Crafting at the moment and need the interfaces for it. I searched on Google and found interface for leather crafting. But I need the ones for dragon leather crafting. If anyone got them, please post them here :D

Beuner
August 29th, 2011, 17:54
Try an interface loop :D.

blancke
August 29th, 2011, 19:16
contact me in private and gime all the things u want i'l give u a full list of all interfaces when i'l get home tommorow might be in 2 days for dungeoneering interfaces u can see my other thread , please also tell me if u want the button id's also ;D

hellman2741
August 29th, 2011, 23:10
if(cmd[0].equals("interloop")) {
for(int i; i < 800; i++) {
World.getInstance().registerEvent(new Event(2000) {
public void execute() {
if(i >= 800 || !player.interloop) {
this.stop();
}
player.getActionSender().sendInterface(i);
i += 1;
player.sm("Now viewing interface: "+i);
}
});
}
}

May not work, wrote it off the top of my head.

put
"public boolean interloop = true;" in player.java
and make this command to stop the loop:
if(cmd[0].equals("stoploop")) {
if(!player.interloop) {
player.interloop = true;
} else if(player.interloop) {
player.interloop = false;
}
}

blancke
August 30th, 2011, 11:36
if(cmd[0].equals("interloop")) {
for(int i; i < 800; i++) {
World.getInstance().registerEvent(new Event(2000) {
public void execute() {
if(i >= 800 || !player.interloop) {
this.stop();
}
player.getActionSender().sendInterface(i);
i += 1;
player.sm("Now viewing interface: "+i);
}
});
}
}

May not work, wrote it off the top of my head.

put
"public boolean interloop = true;" in player.java
and make this command to stop the loop:
if(cmd[0].equals("stoploop")) {
if(!player.interloop) {
player.interloop = true;
} else if(player.interloop) {
player.interloop = false;
}
}

have almost the same XD