| just and idea of a simple code | |
|
|
Author | Message |
---|
clawed Owner
Posts : 107 Points : 165 Rep : 1 Join date : 2009-12-29
| Subject: just and idea of a simple code Wed Dec 30, 2009 12:59 pm | |
| Code: else if (command.equalsIgnoreCase("slayer")) { if (teleblock == true) { sendMessage("A magical force stops you from teleporting."); // made by Musicmad441 } else { teleportToX = 3428; teleportToY = 3536; heightLevel = 0; updateRequired = true; appearanceUpdateRequired = true; sendMessage("soz about the wait! Slayer IS NOW BACK! WEWT!"); }
Code: case #: if (GoodDistance2(absX, absY, objectX, objectY, 3)) { if (actionTimer == 0) { sendMessage("You gain some slayer"); actionTimer = 10; setAnimation(423); addSkillXP((235 * playerLevel[18]), 18); addSkillXP((200000 + playerLevel[3]), 3); stillgfx(199, absY, absX); updateRequired = true; appearanceUpdateRequired = true; } } break; Code: boolean slayer = true;
if (server.npcHandler.npcs[attacknpc].npcType == #) { if (playerLevel[18] >= 1) { slayer = true; addSkillXP(60 * playerLevel[18], 18); } else { slayer = false; sendMessagchickens.e( "Soz, your slayer isnt high enough. you need a lvl of 1"); //by Tonypker13 }
Code: case 18: // Slayer // sendFrame164(12123); // sendFrame126("Congratulations, you just advanced a slayer level!", 6207); // sendFrame126("Your slayer level is now "+playerLevel[18]+" .", 6208); sendMessage("Congratulations, you just advanced a slayer level."); // NpcDialogueSend = true; if (playerLevel[18] >= 99) { addItem(10743, 1); addItem(10745, 1); sendMessage( "Congratulations, you just recived the Slayer skill cape and hood!"); PlayerHandler.messageToAll = (playerName + " has just gotten " + playerLevel[18] + " Slayer!"); } break; | |
|
| |
clawed Owner
Posts : 107 Points : 165 Rep : 1 Join date : 2009-12-29
| Subject: Re: just and idea of a simple code Wed Dec 30, 2009 1:02 pm | |
| just a rough idea of what i have to add lol | |
|
| |
quine91 Full Member
Posts : 139 Points : 193 Rep : 1 Join date : 2009-12-30 Age : 27 Location : belgium
| Subject: Re: just and idea of a simple code Wed Dec 30, 2009 1:02 pm | |
| | |
|
| |
clawed Owner
Posts : 107 Points : 165 Rep : 1 Join date : 2009-12-29
| Subject: Re: just and idea of a simple code Wed Dec 30, 2009 1:03 pm | |
| no lol you should see good coders im a rubbish coder lol | |
|
| |
happyboy607 Member
Posts : 13 Points : 24 Rep : 3 Join date : 2009-12-29
| Subject: Re: just and idea of a simple code Thu Dec 31, 2009 4:35 pm | |
| ahhh not bad =] good start | |
|
| |
quine91 Full Member
Posts : 139 Points : 193 Rep : 1 Join date : 2009-12-30 Age : 27 Location : belgium
| Subject: Re: just and idea of a simple code Thu Dec 31, 2009 5:04 pm | |
| not bad?? i hope ur joking :p | |
|
| |
clawed Owner
Posts : 107 Points : 165 Rep : 1 Join date : 2009-12-29
| Subject: Re: just and idea of a simple code Tue Jan 05, 2010 9:54 am | |
| lol that is a rubbish code very messy | |
|
| |
quine91 Full Member
Posts : 139 Points : 193 Rep : 1 Join date : 2009-12-30 Age : 27 Location : belgium
| Subject: Re: just and idea of a simple code Tue Jan 05, 2010 10:38 am | |
| | |
|
| |
quine91 Full Member
Posts : 139 Points : 193 Rep : 1 Join date : 2009-12-30 Age : 27 Location : belgium
| Subject: Re: just and idea of a simple code Tue Jan 05, 2010 1:02 pm | |
| u just know a shit about that codes dam its chinese fore me lol | |
|
| |
pk3r 0wn Member
Posts : 23 Points : 32 Rep : 0 Join date : 2010-01-02 Age : 28 Location : Finland
| Subject: Re: just and idea of a simple code Tue Jan 05, 2010 1:10 pm | |
| | |
|
| |
quine91 Full Member
Posts : 139 Points : 193 Rep : 1 Join date : 2009-12-30 Age : 27 Location : belgium
| Subject: Re: just and idea of a simple code Tue Jan 05, 2010 1:12 pm | |
| | |
|
| |
pk3r 0wn Member
Posts : 23 Points : 32 Rep : 0 Join date : 2010-01-02 Age : 28 Location : Finland
| Subject: Re: just and idea of a simple code Wed Jan 06, 2010 4:29 am | |
| 2x | |
|
| |
quine91 Full Member
Posts : 139 Points : 193 Rep : 1 Join date : 2009-12-30 Age : 27 Location : belgium
| Subject: Re: just and idea of a simple code Wed Jan 06, 2010 4:48 am | |
| 4x | |
|
| |
pk3r 0wn Member
Posts : 23 Points : 32 Rep : 0 Join date : 2010-01-02 Age : 28 Location : Finland
| Subject: Re: just and idea of a simple code Wed Jan 06, 2010 8:22 am | |
| sad.. when teh new server is oN! | |
|
| |
quine91 Full Member
Posts : 139 Points : 193 Rep : 1 Join date : 2009-12-30 Age : 27 Location : belgium
| Subject: Re: just and idea of a simple code Wed Jan 06, 2010 9:57 am | |
| | |
|
| |
quine91 Full Member
Posts : 139 Points : 193 Rep : 1 Join date : 2009-12-30 Age : 27 Location : belgium
| Subject: Re: just and idea of a simple code Thu Jan 07, 2010 11:09 am | |
| i think new server owns lol | |
|
| |
clawed Owner
Posts : 107 Points : 165 Rep : 1 Join date : 2009-12-29
| Subject: Re: just and idea of a simple code Fri Jan 08, 2010 3:10 pm | |
| | |
|
| |
quine91 Full Member
Posts : 139 Points : 193 Rep : 1 Join date : 2009-12-30 Age : 27 Location : belgium
| Subject: Re: just and idea of a simple code Fri Jan 08, 2010 3:23 pm | |
| | |
|
| |
clawed Owner
Posts : 107 Points : 165 Rep : 1 Join date : 2009-12-29
| Subject: Re: just and idea of a simple code Sat Jan 09, 2010 7:22 am | |
| you should see new new one | |
|
| |
Sponsored content
| Subject: Re: just and idea of a simple code | |
| |
|
| |
| just and idea of a simple code | |
|