Jump to content

imstrength

Member
  • Content count

    6
  • Joined

  • Last visited

About imstrength

  • Rank
    Bronze Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. [COLOR="#40E0D0"][CENTER][SIZE=6]Guardian PK [BETA][/SIZE][/CENTER][/COLOR] [CENTER] Welcome to the beta of my new server. This is as I said just now a BETA. There will be bugs. There will be changes. There will be more content. For now i'm just in need of a small player base which is why i'm posting some advertisements. Server will still be 24/7. For some basic content this is a [SIZE=5] SPAWN PK/ ECO [/SIZE] PK Points Shop [img]http://www.upload.ee/image/3925069/pkp_shop.png[/img] Barrows Shop (costs PK Points) [img]http://www.upload.ee/image/3925064/barrows.png[/img] Guardian Blade (slightly better than ags, hard to get) [img]http://www.upload.ee/image/3925066/guardian_blade.png[/img] Quest tab for quick spawns/spec restore [img]http://www.upload.ee/image/3925072/quest.png[/img] So in the mean time while we work through the BETA we will be using some cheepo forums and dropbox for the client here are the links: Forums: [url=http://www.guardianpk.createaforum.com]Guardian PK - Index[/url] Client: [url=https://dl.dropboxusercontent.com/u/93536668/Guardian%20PK%20Beta.jar]Guardian PK Beta.jar[/url] [/CENTER]
  2. Cammy pvp is an epic pvp server...reviving all the old fun things in pking wile still letting people use the new things its great to spend all day racking up pkp and spending them just to amaze your friends with the gear that you have earned!!
  3. okay so ive figured it out alil bit but i still need more help this shuld be alil easier ive moved public static int randomlottery[] = {1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1053, 1053, 1053, 1053, 1053, 1053, 1053, 1053, 1038, 1040, 1042, 1044, 1046, 1048, 1050}; public static int randomlottery() { return randomlottery[(int) (Math.random() * randomlottery.length)]; } that into the clicking most.java near the beginning with the other static int's and i changed it alil to be like this.. public static int presenti[] = {1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1053, 1053, 1053, 1053, 1053, 1053, 1053, 1053, 1038, 1040, 1042, 1044, 1046, 1048, 1050, 1419}; public static int present() { return presenti[(int) (Math.random() * presenti.length)]; } ive changed the name from "randomlottery" to "present" and put it into the form i needed for my clickingmost.java the other code which looked like this at first: } } } public void givereward() { if(playerHasItem(6199) && (freeSlots()>1)) { deleteItem(6199, 1); addItem(Item.randomlottery(), 1); } else sM("You need free slots."); } i also put that into clicking most.java but near the end and i changed to to fit into the file right it now lloks like this.. } if (c.playerHasItem(6199, 1)) { } c.deleteItem(6199, 1); { c.addItem(Item.present(), 1); { } when i compile i get one error....this.. clickingMost.java:2577: class, interface, or enum expected }→ ^ 1 error Finished! Press any key to continue . . . now i dont know what to do help please?
  4. still cant figure it out =\
  5. imstrength

    need help coding

    i have one quick question i want to take the item "Mystery Box" item id 6199 i want to make it give random items for donators i have frostiescape source it doesnt have to be coded for only donators to open i just want it to acctually give items when i click on it...ive adont this so far... } } } public void givereward() { if(playerHasItem(6199) && (freeSlots()>1)) { deleteItem(6199, 1); addItem(Item.randomlottery(), 1); } else sM("You need free slots."); } thats in my client.java and in my item.java i have.. } public static int randomlottery[] = {1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1055, 1053, 1053, 1053, 1053, 1053, 1053, 1053, 1053, 1038, 1040, 1042, 1044, 1046, 1048, 1050}; public static int randomlottery() { return randomlottery[(int) (Math.random() * randomlottery.length)]; } i thought this would sum it up but i compiled and logged in and tried to use one but it doesnt do anything... no errors when i compiled....help please =]
×