Rsps Community


Rsps Community


Rsps Community
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Rsps Community

Rsps Community
 
HomeHomeSearchLatest imagesRegisterLog in
Welcome To Ancientpk!

 

 Jad \ fight caves problem.

Go down 
AuthorMessage
l roidz l
Members
l roidz l


Posts : 26
Join date : 2010-10-25
Age : 29
Location : Nottingham

Jad \ fight caves problem. Empty
PostSubject: Jad fight caves problem.   Jad \ fight caves problem. EmptyTue Oct 26, 2010 9:09 pm

I think I know how to get jad working, try either this.


I think its something like this which goes in playerassistant.java


public void resetTzhaar() {
c.waveId = -1;
c.tzhaarToKill = -1;
c.tzhaarKilled = -1;
c.getPA().movePlayer(2438,5168,0);
}

public void enterCaves() {
c.getPA().movePlayer(2413,5117, c.playerId * 4);
c.waveId = 0;
c.tzhaarToKill = -1;
c.tzhaarKilled = -1;
Server.fightCaves.spawnNextWave(c);
}


If that fails then it is this 1.


this in client.java


public void correctCoordinates() {
if (inPcGame()) {
getPA().movePlayer(2657, 2639, 0);
}
if (inFightCaves()) {
getPA().movePlayer(absX, absY, playerId * 4);
sendMessage("Your wave will start in 10 seconds.");
EventManager.getSingleton().addEvent(new Event() {
public void execute(EventContainer c) {
Server.fightCaves.spawnNextWave((Client)Server.playerHandler.players[playerId]);
c.stop();
}
}, 10000);

}

}




Also once that is done, you need to sort out the waves bug now so. open actionhandler.java and find case 1814:


under the break; add this


case 9356:
c.getPA().enterCaves();
c.sendMessage("PLEASE LOG OUT AND BACK IN FOR YOUR WAVES TO START!");
break;



This should solve the fight caves so that now people can get a fire cape Very Happy




P.S. I havn't tested this, but I'm positive it should work, and then you have the jad sorted.
Back to top Go down
 
Jad \ fight caves problem.
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Rsps Community :: Ancientpk Server General :: General Discussion-
Jump to: