LeGend NOOB!
Posts : 18 Join date : 2009-05-09 Age : 31 Location : California
| Subject: [RELEASE] GUILD CONTROLLER Sat May 09, 2009 5:39 pm | |
| this release is the guild controller that teleports you to random spots, have fun you can change the coords too >.<[/B] ( goes in client.cs ) NPC DIALOG - Code:
-
if (CurrentNPC == 600) // Guild Controller { SendPacket(General.MyPackets.NPCSay("Would you like to enter Guild Wars? Soon if you die you will have to wait!")); // NPC Dialog SendPacket(General.MyPackets.NPCLink("Oh Yes Please!", 1)); // Your Respond ( Also Control 1) SendPacket(General.MyPackets.NPCLink("No No No, It's Too Scary!", 255)); // Your Respond ( Also Makes you Exit the NPC Dialog because of 255) SendPacket(General.MyPackets.NPCSetFace(30)); // Sets the face << vital to make npc work SendPacket(General.MyPackets.NPCFinish()); // completes the npc << vital to make npc work } NPC DO - Code:
-
if (CurrentNPC == 600) // Guild Controller Do { if (Control == 1) // What it does for your Respond { Random R = new Random(); // New Random int Nr = R.Next(1, 10); // "Randomally" Picks a number 1-10 if (Nr == 1) //Random Spot 1 { MyChar.Teleport(1038, 351, 341); } if (Nr == 2) //Random Spot 2 { MyChar.Teleport(1038, 335, 345); } if (Nr == 3) //Random Spot 3 { MyChar.Teleport(1038, 309, 369); } if (Nr == 4) //Random Spot 4 { MyChar.Teleport(1038, 283, 340); } if (Nr == 5) //Random Spot 5 { MyChar.Teleport(1038, 310, 327); } if (Nr == 6) //Random Spot 6 { MyChar.Teleport(1038, 318, 297); } if (Nr == 7) //Random Spot 7 { MyChar.Teleport(1038, 347, 309); } if (Nr == 8) //Random Spot 8 { MyChar.Teleport(1038, 337, 320); } if (Nr == 9) //Random Spot 9 { MyChar.Teleport(1038, 309, 293); } if (Nr == 10) //Random Spot 10 { MyChar.Teleport(1038, 371, 300); } } } | |
|