Well i've tried to code Chaos altar to go to my prayers with Ss and Turm and others.
Well i get errors when i try add it.
I got it from my old source cos the source i currently have didnt have it in.
ActionHandler.java
Code:
case 411:
if(c.altarPrayed == 0) {
c.altarPrayed = 1;
c.setSidebarInterface(5, 22500);
c.startAnimation(645);
c.sendMessage("You sense a surge of power flow through your body!");
c.getCombat().resetPrayers();
} else {
c.altarPrayed = 0;
c.setSidebarInterface(5, 5608);
c.startAnimation(645);
c.sendMessage("You sense a surge of purity flow through your body!");
c.getCurse().resetCurse();
}
break;
Code:
src\server\model\players\ActionHandler.java:175: error: cannot find symbol
if(c.altarPrayed == 0) {
^
symbol: variable altarPrayed
location: variable c of type Client
src\server\model\players\ActionHandler.java:176: error: cannot find symbol
c.altarPrayed = 1;
^
symbol: variable altarPrayed
location: variable c of type Client
src\server\model\players\ActionHandler.java:182: error: cannot find symbol
c.altarPrayed = 0;
^
symbol: variable altarPrayed
location: variable c of type Client
src\server\model\players\ActionHandler.java:186: error: cannot find symbol
c.getCurse().resetCurse();
^
symbol: method getCurse()
location: variable c of type Client
Note: src\server\world\map\I.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
4 errors
Press any key to continue . . .