• Log in or sign up for an account here: https://www.sythe.org/login

::bandos mini game!!!

Status
Not open for further replies.

zanox96

Member
Joined
Sep 15, 2008
Sythe Gold
0
Messages
27
Search for

CODE
int Player = npcs[NPCID].StartKilling;
In NPChandler.java

Under the end of it, add this

CODE
if (npcs[NPCID].npcType == 53) { int Player = npcs[NPCID].StartKilling; client ppl = (client) server.playerHandler.players[Player]; ppl.teleportToX = 3372; ppl.teleportToY = 3251; } if (npcs[NPCID].npcType == 54) { int Player = npcs[NPCID].StartKilling; client ppl = (client) server.playerHandler.players[Player]; ppl.teleportToX = 3374; ppl.teleportToY = 3234; ppl.addItem(391, 27); ppl.sendMessage(" Please don't make a mess, I do have to clean up.."); } if (npcs[NPCID].npcType == 84) { int Player = npcs[NPCID].StartKilling; client ppl = (client) server.playerHandler.players[Player]; ppl.teleportToX = 3340; ppl.teleportToY = 3233; } if (npcs[NPCID].npcType == 1203) { int Player = npcs[NPCID].StartKilling; client ppl = (client) server.playerHandler.players[Player]; ppl.teleportToX = CHANGE TO YOUR HOME COORDS; ppl.teleportToY = CHANGE TO YOUR HOME COORDS; ppl.addItem(15348, 1); ppl.addItem(15349, 1); ppl.addItem(15350, 1); ppl.sendMessage("You killed them... Take this reward"); ppl.sendMessage("Minigame made by Q of silab forums"); }

Now go to autospawn.cfg and add this (make sure you space it correctly)

CODE
spawn = 53 3340 3251 0 0 0 0 0 1 dragonminispawn = 53 3345 3251 0 0 0 0 0 1 dragonminispawn = 54 3380 3247 0 0 0 0 0 1 dragonminispawn = 54 3367 3254 0 0 0 0 0 1 dragonminispawn = 84 3369 3232 0 0 0 0 0 1 dragonminispawn = 84 3375 3232 0 0 0 0 0 1 dragonminispawn = 1203 3343 3229 0 0 0 0 0 1 dragonminispawn = 1203 3336 3234 0 0 0 0 0 1 dragonmini

Now add this command


CODE
} else if (command.equalsIgnoreCase("Bandosmini")) { if (teleblock == true) { sendMessage("A magical force stops you from teleporting."); // made by Q } else { teleportToX = 3341; teleportToY = 3251; sendMessage( "You think you can kill my minions? Ha! Good luck!"); }

And there you have it. A simple minigame to earn bandos. Full credits to Q, dont forget to change the coords in the part with NPCHandler.
 
u would be that dick who spammed my server then
 
its not hard to stop a spammer... ban hi ip u dont it aint hard
 
Status
Not open for further replies.
Runescape Gamblingrunescape gambling
Back
Top