good job man
something wron with
when compiler it errorcase ClientPackets.BURY:// Burying
addSkillXP(4, Prayer);
doAnimation(830, 0);
break;
|
Description: Base of bone burying
Difficulty: Ugh 2?
Assumed Knowledge: C&p
Tested Server: Cellkyborg's 474.
Files/Classes Modified: ClientPackets, RSPlayer
Procedure
Step 1: Open up your Clientpackets and add this.
Code:public static final int BURY = 89;
Step 2: Now open up RSPlayer.java, look forCode:case ClientPackets.PING:// ping break;
Step 3: Under it add(Yes i know Animation ID is wrong.).Code:case ClientPackets.BURY:// Burying addSkillXP(4, 5); doAnimation(830, 0); break;
Step 4:Declare this also somewhere in RSPlayer.Code:public void addSkillXP(double amount, int skill) { playerXP[skill] += amount; setSkillLevelXP(skill, playerLevel[skill], playerXP[skill]); }
Enjoy(all bones will give 4xp as this is base)
Credits: All done by me(markkevin)
good job man
something wron with
when compiler it errorcase ClientPackets.BURY:// Burying
addSkillXP(4, Prayer);
doAnimation(830, 0);
break;
Thanks for comments.
good job, this will help making bases for herbalore aswell i guess nice one
compile error
Code:src\net\cellkyborg\RSInstances\RSPlayer.java:697: cannot find symbol symbol : variable Prayer location: class net.cellkyborg.RSInstances.RSPlayer addSkillXP(4000, Prayer); ^ Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: src\net\cellkyborg\RSInstances\RSPlayer.java uses unchecked or unsafe oper ations. Note: Recompile with -Xlint:unchecked for details. 1 error .\src\net\cellkyborg\RSInstances\RSPlayer.java:697: cannot find symbol symbol : variable Prayer location: class net.cellkyborg.RSInstances.RSPlayer addSkillXP(4000, Prayer); ^ Note: .\src\net\cellkyborg\RSInstances\RSPlayer.java uses unchecked or unsafe op erations. Note: Recompile with -Xlint:unchecked for details. 1 error Druk op een toets om door te gaan. . .
Replace the Prayer with 5 then.
nice mate (H)
Thanks.
Made it simpler for those who got errors with addSkillXP(4, Prayer); . =)
i fixed the error replace
case ClientPackets.BURY:// Burying
addSkillXP(4, Prayer);
doAnimation(827, 0);
break;
With
case ClientPackets.BURY:// Burying
addSkillXP(4, playerLevel[5]);
doAnimation(827, 0);
break;
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |