Jump to content

Search the Community

Showing results for tags 'friendly'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • RuneLocus
    • News & Announcements
    • Information Booth
    • Website Support
    • Introductions
    • Chat
    • Forum Games
  • RuneScape Development
    • RSPS General
    • RuneScape Private Server (RS2)
    • RuneScape Private Server (503+)
    • RuneScape Private Server (EoC 742+)
  • Other
    • Digital Art
    • Gaming
    • Webdevelopment
    • Computers
  • Marketplace
    • RuneScape Market
    • RSPS Market
    • Others Market
    • Freelance Middleman Services
  • Super Secret Club's Topics

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Found 18 results

  1. SnowRSPS is a Custom 07 Runescape remake private server Online 24.7 since 2012, We were known as *Snow317* for years, but now we own all Snow names, and will continue to Grow! Join us Anytime. SnowPS.org | Snow317.com | Snowscape.net | SnowRSPS.com - 1000+ Custom Items - 20+ Bosses - AutoDonations Site: https://snowps.org Free to play! JOIN OUR DISCORD: https://discord.gg/rGWUtXV
  2. Hds

    PkOwnage

    PkOwnage Home Join us on the PkOwnage Discord! PkOwnage Discord! Download now #178 Data - Vote System & Vote4Donor - Highscores & PvP Hiscores - Double Points and XP Weekends - Fullscreen - Custom GWD Raids - Raids - Inferno - Player Owned Shops - Player Profiles - Killstreaks - Welfare 'Premade' PK Sets - Preloading sets - GE PVP - Clan Wars Safe PK - Minigames - Achievements - 25+ Bosses - 50+ Pets - All Skills Working - Clue Scrolls - Imbue Scrolls - All 3 Ironman Modes - Looting bag - Superior Slayer Monsters - Duo Slayer - Inferno Caves - Shift Click Dropping - Ring of Suffering Charges - Tons of Content - Join us today today for the adventure of a life time!! Features splashscreen: PkOwnage not only offers a great PKing experience but also includes a huge variety of bosses, great variety of Mini-games and not forgetting lots of Achievements, Challenges and more for you to face along the way to build your character and become a PkOwnage Legend! - PkOwnage Server Features - #178 OSRS Data Netty 4.1.8. Edgeville OR GE PK - Optional Home! Optional Combat xp gaining commands - Master, Pure, Zerk etc. Welfare Premade sets for Login & PK. PVP Tournament. Pre-loading sets, gear up and save your set up, then reload quickly when you need it! XP lock/unlock - Pure's can keep their stats with no worries! PKP System with Killstreaks! Ingame top 10 Pker Hiscores! Double Points & Double XP Weekends. Optional, Skiller friendly Daily Tasking System. All skills working - Get your Max capes, there's an Exclusive max cape area! Motherlode Mine. Custom GWD Raid. Superior Slayer Encounters. Duo Slayer System. Working Ring of Suffering. All Raid Items work, Amulet of the Damned, Salve Amulet, Chinchompas & More! OSRS Orbs, Money Pouch & XP Counter. Bank Tabs, Searching & Deposit inv/worn. Lots of Optional settings to toggle. Shift Click Dropping. Re-sizable / Full screen mode. Clan chat, Help Chat & Clan Wars. Interactive Kill Feed & Entity Feed. NPC Kills Tracker & Points tracker. Lots of Achievements & Rewards System. Refer a Friend System. Pets Rewarding System, Some Boss pets talking/animated! K'ril, kree, chaos ele, graardor and zilyana pet! 50+ Pets! All OSRS Pets to collect! Three Optional Iron man Modes - Normal, Ultimate and Hardcore. Working Looting Bag. Player Profiles - Spy and compete with friends! Lots of Shops & Player Owned Shops. Boss points, Barrows points, Slayer Points & More! Teleport Interface with tons of areas to explore. 25+ Bosses to defeat including the Wilderness Bosses, Demonic Gorillas, Cerberus, Zulrah, Thermonuclear, GWD, Kraken, KBD & More! Mini-games such as Pest control, Dueling Arena, Fight caves, Barrows, Weapon Game, Nightmare Zone, Full Raids! TzHaar Expansion - Mor Ul Rek & Inferno caves! Lots of Dungeons to explore such as Nieve's Slayer Cave, Fremennik Slayer Cave and more! ::commands - This will tell you every command that you as a Player will need to know! Friendly Owner, I will help you as best I can when I can when I'm not sleeping or busy!
  3. I've programmed PI 317's on Windows computers more than a year ago. I admit I'm not an experience "coder" but I'm not looking to leech, more of just a hobby. But now I have a Macbook Air OS X Yosemite V 10.10.1, and found that Java is slightly different on Mac apposed to Windows. I've downloaded several source/clients from the download section and no luck. One client would run but source wouldn't, and vise versa. Perhaps I'm doing something wrong(wouldn't doubt it) but I did read on a guide not all RSPS are compatible with Mac. So I wanted to know if anybody knew of any "Mac Friendly" source/clients, along with some tips/guides for Java on the Mac. Thanks for reading, Chris.
  4. When we're talking about websites this one question always seems to pop up no matter what type of website you're working on. Time and time again people ask the same question "How To Make A Website SEO Friendly?" and time and time again they give up on SEO as they think it's too hard. I'm going to give you the basics of Search Engine Optimization and why it's extremely important for your Runescape Private Server. [B]What’s SEO? [/B] SEO is the abbreviated version of Search Engine Optimization. When people refer to SEO they’re most likely talking about Search Engine Optimization. SEO is the process of positively affecting the rank of a web page on search engines. e.g (Google, Bing, Yahoo). This is most commonly done to increase the amount of visitors a web page receives. The better the SEO is on the given website the more likely the website will show up for a certain term e.g (Runescape Private Server). Every website owner is aiming for the number one spot for the terms they want to rank for. It’s important you optimize the website in the right way as if a rsps came up number one when someone types in pizza places they’re going to have an issue. They may get visitors but the visitors won’t be interested in the product the rsps is offering . This brings us to our next point which is keywords. [B]Keywords[/B] A keyword is basically a term that someone will type into Google. For instance, when people are looking for a Runescape Private Server they’ll type of 317 rps, this is known as a keyword. A keyword can be a word, a sentence, two sentences and so on. The more common the keyword the harder it is to rank for the given keyword. When you’re looking at potential keywords you want to target Google the given keyword and scout out the competition. When you’re trying to rank for lets say “Connect an RSPS to a website” you would use something called keyword stuffing which is outlined below. [B]Keyword Stuffing [/B] Keyword stuffing is when you use the keyword you’re targeting multiple times in one document. If you’re using the keyword too much Google will pick up on that and may not rank the given document, if you use it too little then Google may not find the document at all. You need to make sure that you’re using the keyword in a natural way so that way you’re ranked for the keyword but we don’t get penalized for it. This is called Keyword density. [B]Why does my RSPS need SEO? [/B] When people are creating an RSPS they usually look towards traditional forms of advertising such as buying ads on websites and paying for spots. An up side about SEO is that it's completely free to do. Not only will it help you get more visitors but it gives you a better chance for survival in the long run as not only will you have players coming in from toplists but also from Google. Do you see the big picture yet? [B]How do I get started? [/B] When you're getting started on making your website or RSPS SEO friendly I would start by downloading a SEO plugin if you're using a CMS or forums software. You do this by typing in this in your websites HTML. Include this code in the header. [CODE]<meta name="description" content="This is what will show up in the description of your website for search results. Edit this"> [/CODE] If you're wondering why we didn't include meta keywords it's because in the newest Google update they stopped using them to determine ranking, this makes them nearly useless to use. [B]Conclusion[/B] I hope we didn't give you too much information at once! If you have any comments or suggestions on this article we'd be glad to hear them in the comments below.
  5. Hello ppl from runelocus how can i add don points in my server! Step by step tut Plz!
  6. Hello RuneLocus, I am looking for a developer for my recent project known as Keldrim. This is a 718 server based on the Matrix source. I need a talented developer who can create content and fix current content without the need for tutorials. Unfortunately this cannot be a paid position at first, however once the server has a fair few donations, payment will be given on monthly intervals. Payments will be affected by the amount of donations each month. If you would like to apply for the position, please use the application format provided below: [code]Name: Age: Years of Experience: Free time hours: Extra:[/code] Thank-you all very much and I look forward to any applications! - Tillian
  7. [B]Download Jarmaker here: [URL="http://uppit.com/hlys0mj1o9ag/JARMaker.zip"]http://uppit.com/hlys0mj1o9ag/JARMaker.zip[/URL] NOTE: THIS WORKS ON ALL REVISIONS! 1) Once you download JARMAKER Open it. For your Output Directory, put where you want the jar file to be sent. For this tut i will use C:\718+ Client For Output jar File, Put it as to what you want your .jar to be called, I am using tutorial.jar For Input Directory, put the link in your clients 'bin' folder, with the class files in it. Then click 'manifest template' And In 'Main class' Put 'Loader' (for 718) Then choose Create JAR Once the Jar has It should look like this [img]http://img835.imageshack.us/img835/2163/createjartut.png[/img] Signing your JAR Click on the JAR Signer tab in Jar Maker. 1)Your Output directory should be the same as it was for when you were making the JARRED Client 2)For Input Jar File: you can leave Grab from JAR Maker checked, or you can un check it and rename the jar. (Suggest Leaving it checked) 3)For Jarsigner Location you need to put in the link to your jarsigner.exe file in your Java Version Bin folder(For Java 7 u 9 Update it is: C:\Program Files\Java\jdk1.7.0_09\bin\jarsigner.exe) (Just rename that jdk to what ever your jdk is) 4)Click Generate Keystore. 5)For Keytool Location put the link to your keytool.exe file in your Java Version Bin folder(For Java Update 7 Version 09 it is: C:\Program Files\Java\jdk1.7.0_09\bin\keytool.exe) 6)For Output Keystore File put where you want the keystore to go, I will use C:\718+ Client\Keystore.dat 7)For your Keystore Alias, put whatever you want, I will use Tutorial, but it doesnt matter 8)For Public Key and Private key, put something you will remember for your keystore. I am using 123456 9)Leave Validity Days 0. 10)For Keystore Identities, do whatever you want. 11)Hit Generate Keystore 12)For your Keystore File, link it to the keystore you just made. 13)For Keystore Authentication fill in the data you set for your keystore, it has to be correct! Now finish by clicking Sign Jar! [img]http://img11.imageshack.us/img11/9356/lasttut.png[/img] Hope this helped![/B]
  8. [CENTER][ATTACH=CONFIG]7242[/ATTACH][/CENTER] [B][U][CENTER][FONT=Arial Black][SIZE=6]ORIGINPK IS BACK[/SIZE][/FONT][/CENTER][/U][/B] [video=youtube;gl8lkhPOCJI]http://www.youtube.com/watch?v=gl8lkhPOCJI[/video] [B][U]Forums & Client[/U][/B] [URL="http://www.originpk.com"]http://www.originpk.com[/URL] [B][SIZE=3]Hi, And welcome to ORIGINPK! We are a dedicated RSPS, With instant pking, no lag and OLD SCHOOL bounty hunter 95% working! We have reached number 8 before on the Runelocus top list, With over 500 votes in 2 days after the reset! We have had many staff members but at the moment we are short, as we have been down for 3 months! Like All good private servers we have FAIR prices on our donations! And the best part, the gear Isn't overpowered BUT it has its own perks! (for example; full torva = $45, not planning on having buyers for a while but the defence ISNT the highest, but has good attack and strength bonuses) We are trying to build the playerbase back up, hopefully to the same QUALITY as our last playerbase. (This means FRIENDLY staff and players)[/SIZE][/B] [B][U][SIZE=5]THE SPAWNING[/SIZE][/U][/B] [SIZE=3]As you may have noticed we DO have spawning on our server. But it is LIMITED. This means that certain items (such as barrows armour, any ID's above 11000 and 99% of PROD gear can NOT be spawned)[/SIZE] [SIZE=4][B][U]Features of Bounty hunter[/U][/B][/SIZE] 2x Points for the kill 3x points for target kill! We look forward to you joining us at OriginPK! And hope you have an excellent PK experience! [B][U]Screenshots[/U][/B] [img]http://img16.imageshack.us/img16/3267/b6c922ca548a42f5bc7b6fb.png[/img] [img]http://i.imgur.com/KAoU3YO.png[/img] [img]http://i.imgur.com/MNsrfIo.png[/img] [img]http://i.imgur.com/kixG6HI.png[/img] [img]http://i.imgur.com/lsKlVfW.png[/img] [img]http://i.imgur.com/jVECJyQ.png[/img] [img]http://i.imgur.com/8lyzIWk.png[/img]
  9. [B]Hey guys check out my server![/B] [SIZE=5][COLOR="#FF0000"][CENTER][B]Website:[/B][/CENTER][/COLOR][/SIZE] [CENTER][SIZE=3]www.ProjectPkers.com[/SIZE][/CENTER] [COLOR="#FF0000"][CENTER][SIZE=5][B]Download:[/B][/SIZE][/CENTER][/COLOR] [CENTER][url]https://dl.dropbox.com/u/73183432/Project-pkers.jar[/url] [/CENTER] [SIZE=5][COLOR="#FF0000"][CENTER][B]Pictures:[/B][/CENTER][/COLOR][/SIZE] [CENTER][IMG]http://img832.imageshack.us/img832/2204/1z4wpaf.png[/IMG] [IMG]http://imageshack.us/a/img521/7361/teleh.png[/IMG] [IMG]http://imageshack.us/a/img145/1715/sarac.png[/IMG] [IMG]http://imageshack.us/a/img542/4043/qbdg.png[/IMG] [IMG]http://imageshack.us/a/img507/1697/nexd.png[/IMG] [IMG]http://imageshack.us/a/img405/9965/bandosg.png[/IMG] [IMG]http://imageshack.us/a/img571/6895/12167mc.png[/IMG][/CENTER] [SIZE=5][COLOR="#FF0000"][CENTER][B]Video:[/B][/CENTER][/COLOR][/SIZE] [CENTER][video=youtube;fUAiZ9jW8tA]http://www.youtube.com/watch?v=fUAiZ9jW8tA[/video][/CENTER] [COLOR="#FF0000"][SIZE=5]Some Features: [/SIZE][/COLOR] [B]Gilded Altar Squeal of Fortune Money Pouch (Shop and trade Support) Clan Wars Safe and Risk portal for fun fights. Duel Arena with Staking. Glacors with fire spell weekness. Loyalty Shop FightCaves/Fight Kiln Queen Black Dragon Barrows Frost Dragons Slayer Tower with all floors (including slayer task system) Polypore Dungeon Corporeal Beast Kalphite Queen Bork Tormented Demons Godwars (Zaros/Nex, Bandos, Armadyl, Zamorak, Saradomin)[/B] [COLOR="#0000CD"][SIZE=6]And alot more![/SIZE][/COLOR]
  10. [B][SIZE=5][COLOR="#FF8C00"][CENTER]Website[/CENTER][/COLOR][/SIZE][/B] [CENTER][SIZE=3]www.projectpkers.com[/SIZE][/CENTER] [B][SIZE=5][COLOR="#FF8C00"][CENTER]Youtube Video![/CENTER][/COLOR][/SIZE][/B] [CENTER][video=youtube;fUAiZ9jW8tA]http://www.youtube.com/watch?v=fUAiZ9jW8tA[/video][/CENTER] [SIZE=5][COLOR="#FF0000"]Download link:[/COLOR][/SIZE] [url]https://dl.dropbox.com/u/73183432/projectpkers.jar[/url] [B][SIZE=3][COLOR="#0000CD"]Whatever you could think of this server has so what are you waiting on come join us today we are currently hosting double xp[/COLOR][/SIZE][/B]
  11. This is our brand new rsps, its a 317 solitude source. Why would you join us? Download: [url]http://www.mediafire.com/?lwz54b9e5wavy69[/url] Webclient: [url]http://axelrsps.webs.com/[/url] Forums: axelrsps.niceboard.com [CENTER]We have a vps, means that we are 24/7 All skills fully working but construction. Very easy to make money. No dupes 95% curses(soulsplit is a little bit glitched) You can sell item in your own shop that people then can buy Many ways to make money Special drops from monsters Custom training, not only boring rock crabs Slayer 100% working, you can choose between easy,medium,hard and elite(Elite is bosses Friendly staff Daily drop partys, Hide N seek and contests Come join us :) We are in need of some staff, following positions Forum Mod, Ingame Mod and a Gfx Designer[/CENTER] Some pictures [url]http://www.upload.ee/image/2606373/funpk.PNG[/url] [url]http://www.upload.ee/image/2606370/trainingteles.PNG[/url] [url]http://www.upload.ee/image/2606375/dung.PNG[/url] Thanks to drama for taking the pics :) [CENTER]***Thanks to solitude for releasing this source***[/CENTER]
  12. Hello there. Since delta doesn't have working herblore and herblore is definitely one of the easiest skills to add, I thought I would make my own class for it. This class is much cleaner since you don't have to deal with hundreds of messy if statements. Instead it has methods that make and decant the potions. I'll be explaining all of my code and the class is full of comments. Here is the class: [CODE]public class Herblore { client c; //unidHerb ID, identifiedHerbId, level req, exp int[][] unidHerbInfo = { //Guam {199,249,1,3}, //Marrentill {201,251,5,4}, //Tarromin {203,253,11,5}, //Harralander {205,255,20,6}, //Ranarr {207,257,25,8}, //Toadflax {3049,2998,30,8}, //Irit leaf {209,259,40,9}, //Avantoe {211,261,48,10}, //Kwuarm {213,263,54,11}, //Snapdragon {3051,3000,59,12}, //Cadantine {215,265,65,13}, //Lantadyme {2485,2481,67,13}, //Dwarf weed {217,267,70,14}, //Torstol {219,269,75,15}}; //identifiedHerbID, 1dosepotID, 2dosepotID, 3dosepotID, 4dosepotID, secondary ingredient, level req, exp int[][] herbInfo = { //Guam - attack pot {249,125,123,121,2428,1,25}, //Marrentill - antipoision {251,179,177,175,2446,5,38}, //Tarromin - str pot {253,119,117,115,113,12,50}, //Harralander - restore pot {255,131,129,127,2430,22,63}, //Ranarr - prayer pot {257,143,141,139,2434,38,88}, //Avantoe - super energy {261,3022,3020,3018,3016,40,100}, //Irit leaf - super attack {259,149,147,145,2436,45,100}, //Kwuarm - super str {263,161,159,157,2440,55,125}, //Snapdragon - super restore {3000,3030,3028,3026,3024,63,143}, //Cadantine - super def {265,167,165,163,2442,66,155}, //Lantadyme - antifire {2481,2458,2456,2454,2452,69,158}, //Dwarf weed - range pot {267,173,171,169,2444,72,163}, //Torstol - zamorak brew {269,193,191,189,2450,78,175}, //Toadflax - saradomin brew {2998,6691,6689,6687,6685,81,180} }; public Herblore(client c){ this.c = c; } //making the actual potion public void makePot(int itemUsed, int itemUsedOn){ boolean item1IsHerb = isHerb(itemUsed); boolean item2IsHerb = isHerb(itemUsedOn); //finding the herb index so you know which array in 'herbInfo' to use int herbIndex = -1; if(item1IsHerb){ herbIndex = getHerbIndex(itemUsed); } if(item2IsHerb){ herbIndex = getHerbIndex(itemUsedOn); } //if the first item is a herb and the second is water, or vice versa if((isHerb(itemUsed) && itemUsedOn == 227) || (itemUsed == 227 && isHerb(itemUsedOn))){ //make sure the player has the required level to make the pot if(c.playerLevel[15]>=herbInfo[herbIndex][5]){ c.setAnimation(1652); c.deleteItem(itemUsed,c.getItemSlot(itemUsed), 1); c.deleteItem(itemUsedOn, c.getItemSlot(itemUsedOn), 1); c.addItem(herbInfo[herbIndex][3], 1); c.addSkillXP(herbInfo[herbIndex][5], 15); c.sM("You make the potion."); }else{ c.sM("You must have a Herblore level of "+herbInfo[herbIndex][5]+" to make this potion."); } //if the items being used are pots }else if(getDose(itemUsed)>0 && getDose(itemUsedOn)>0){ int dose1 = getDose(itemUsed), index = -1, dose2 = getDose(itemUsedOn); for(int i = 0; i < herbInfo.length; i++){ if(itemUsed==herbInfo[i][dose1]){ index = i; } } if(itemUsedOn==herbInfo[index][dose2]){ decant(dose1, dose2, index); } } } //decants the potions used. Parameters are the dose of the first pot, //the dose of the second potion, and the index //of the herbInfo array where the potion is public void decant(int dose1, int dose2, int index){ int pot = dose1+dose2, itemUsed = herbInfo[index][dose1], itemUsedOn = herbInfo[index][dose2]; if(pot > 4){ //if the player tries to use a 3 dose pot on another 3 dose pot if(dose1==dose2){ c.deleteItem(itemUsed, c.getItemSlot(itemUsed), 1); c.deleteItem(itemUsedOn, c.getItemSlot(itemUsedOn), 1); c.addItem(herbInfo[index][dose1+1], 1); c.addItem(herbInfo[index][dose2-1], 1); c.sM("You mix the two potions."); }else{ //if the player uses a 3 dose pot on a 2 dose c.deleteItem(itemUsed, c.getItemSlot(itemUsed), 1); c.deleteItem(itemUsedOn, c.getItemSlot(itemUsedOn), 1); //if the first pot is 3 and the second is 2 if(dose1 > dose2){ c.addItem(herbInfo[index][dose1+1], 1); c.addItem(herbInfo[index][dose2-1], 1); }else{ //if the first is 2 and the second is 3 c.addItem(herbInfo[index][dose2+1], 1); c.addItem(herbInfo[index][dose1-1], 1); } } } if(pot <= 4 && pot > 0){ c.deleteItem(itemUsed, c.getItemSlot(itemUsed), 1); c.deleteItem(itemUsedOn, c.getItemSlot(itemUsedOn), 1); c.addItem(herbInfo[index][pot], 1); c.addItem(229, 1); c.sM("You mix the potions into "+pot+" doses."); } } public void identify(int item){ //checking whether the herb is unidentified if(isUnid(item)){ int index = 0; //finding which herb to use for(int i = 0; i < unidHerbInfo.length; i++){ if(item == unidHerbInfo[i][0]) index = i; } //checking whether the player has the req level to identify the herb //if so, delete the unid, add the identified herb, give the player herblore xp, //and send the message "you identify the herb" if(c.playerLevel[15]>=unidHerbInfo[index][2]){ c.deleteItem(item, 1); c.addItem(unidHerbInfo[index][1], 1); c.addSkillXP(unidHerbInfo[index][3], 15); c.sM("You identify the herb."); }else{ c.sM("You must have a Herblore level of " + unidHerbInfo[index][2] + "to identify this herb."); } } } //determines whether the item is a potion. If it is, return the dose public int getDose(int item){ String itemName = c.getItemName(item); if(itemName.contains("(3)")) return 3; else if(itemName.contains("(2)")) return 2; else if(itemName.contains("(1)")) return 1; else return -1; } //checking if the item is an identified herb public boolean isHerb(int item){ for(int i = 0; i < herbInfo.length; i++){ if(item == herbInfo[i][0]) return true; } return false; } //checking if the item is an UNidentified herb public boolean isUnid(int item){ for(int i = 0; i < unidHerbInfo.length; i++){ if(item == unidHerbInfo[i][0]){ return true; } } return false; } //gets the herb-array so we know which index to use to get the exp, level req, etc public int getHerbIndex(int herb){ for(int i = 0; i < herbInfo.length; i++){ if(herb == herbInfo[i][0]){ return i; } } return -1; } }[/CODE] You want to make a new document, paste the above code in there, and save it as Herblore.java. Next thing you want to do is go to your client.java class and anywhere you see variables being declared, copy and paste this under it (make sure it's at the top of the class and not inside a method): [CODE]Herblore herblore = new Herblore(this);[/CODE]. The herblore class takes an instance of the client class as its parameter so that's what the this is for ([B]this[/B] class, which is client). Next what you want to do is press ctrl+f and type "case 53" inside. Look for this: [CODE]// Use item on item int usedWithSlot = inStream.readUnsignedWord(); int itemUsedSlot = inStream.readUnsignedWordA(); // int useWith = inStream.readUnsignedWordBigEndianA(); int interface1284 = inStream.readUnsignedWord(); // int itemUsed = inStream.readSignedWordBigEndian(); int interfacek = inStream.readUnsignedWord(); // usedWithSlot += 1; // itemUsedSlot += 1; int useWith = playerItems[usedWithSlot] - 1; int itemUsed = playerItems[itemUsedSlot] - 1; if (!playerHasItem(itemUsed) || !playerHasItem(useWith)) { break; } int otherItem = playerItems[usedWithSlot] - 1; // println("itemUsed=" + itemUsed + ", usedWithSlot=" + usedWithSlot // + ", otherItem=" + otherItem);[/CODE] it should be the very first text under case 53. Right under that last line, paste this: [CODE]Herblore.makePot(itemUsed, useWith);[/CODE] This will take every item used and check to see if it's a herb and/or vial of water. If it is, makePot will be put to use. Now, the last thing you want to do is go to potions.java and right under this: [CODE]if (c.playerHasItem(item)) { switch (item) {[/CODE] paste this: [CODE]case 199: case 201: case 203: case 205: case 207: case 209: case 211: case 213: case 215: case 217: case 219: case 2485: case 3049: case 3051: c.herblore.identify(item); break;[/CODE] This tells it if the item being left clicked is an unidentified herb, call herblore.identify(). [CENTER][B]EXPLANATION[/B][/CENTER] Ok, so first thing is the two multi-dimensional arrays [CODE]unidHerbInfo[][] herbInfo[][][/CODE] The first one, as you can probably guess, stores multiple arrays with information in this order: {unidentified herb ID, identified herb ID, level required, exp gained} The second stores information in this order: {identified herb ID, 1 dose potion ID, 2 dose potion ID, 3 dose potion ID, 4 dose potion ID, level required, exp gained} the potion ID's are for decanting later, and also so we know what herb makes what potion. We then have the constructor: [CODE]public Herblore(client c){ this.c = c; }[/CODE] and it takes an instance of the client class as it's parameter, so it's basically just getting a copy of the player passed to it. Now we come to our first instance method: [CODE]public void makePot(int itemUsed, int itemUsedOn)[/CODE] This method makes a potion if one item is a herb and the other is a vial of water, or it decants potions if the two items used are potions. it declares two local variables, item1IsHerb and item2IsHerb. This just calls the method isHerb to determine if the itemUsed is an herb, then it checks if the itemUsedOn is an herb. Note: if they are both herbs, the method does nothing. It then gets the herbIndex for the herb so it knows which array to get the value of the potion from when it makes the potion. [CODE]boolean item1IsHerb = isHerb(itemUsed); boolean item2IsHerb = isHerb(itemUsedOn); //finding the herb index so you know which array in 'herbInfo' to use int herbIndex = -1; if(item1IsHerb){ herbIndex = getHerbIndex(itemUsed); } if(item2IsHerb){ herbIndex = getHerbIndex(itemUsedOn); }[/CODE] now it makes the potion if one item is a herb and the other is a vial of water. The first thing it does it check to make the players herblore (stat 15) level is at least the level required for the herb (index 5 in every array of herbInfo). If the level is greater than or equal to the level required, set the potion making animation, delete the first item and the second item, replace it with the finished (3 dose) potion, que the text and exit the method. If the player doesn't have the required level, it prints the error message "You must have a Herblore level of x to make this potion". [CODE]//if the first item is a herb and the second is water, or vice versa if((isHerb(itemUsed) && itemUsedOn == 227) || (itemUsed == 227 && isHerb(itemUsedOn))){ //make sure the player has the required level to make the pot if(c.playerLevel[15]>=herbInfo[herbIndex][5]){ c.setAnimation(1652); c.deleteItem(itemUsed,c.getItemSlot(itemUsed), 1); c.deleteItem(itemUsedOn, c.getItemSlot(itemUsedOn), 1); c.addItem(herbInfo[herbIndex][3], 1); c.addSkillXP(herbInfo[herbIndex][5], 15); c.sM("You make the potion."); }else{ c.sM("You must have a Herblore level of "+herbInfo[herbIndex][5]+" to make this potion."); }[/CODE] now if the items used weren't herbs, it checks to see if the items were potions. If they are (the getDose method returns an integer, which is the dose of the potion), get their doses and find out which array to get information from. This part is to make sure that if they use two different potions on each other they won't decant. It then checks to see if both potions are the of the same type (two attack pots for example, as opposed to a str pot used on an att pot), if they are, call the decant method. [CODE]//if the items being used are pots }else if(getDose(itemUsed)>0 && getDose(itemUsedOn)>0){ int dose1 = getDose(itemUsed), index = -1, dose2 = getDose(itemUsedOn); for(int i = 0; i < herbInfo.length; i++){ if(itemUsed==herbInfo[i][dose1]){ index = i; } } if(itemUsedOn==herbInfo[index][dose2]){ decant(dose1, dose2, index); } } }[/CODE] now we have the decant() method. The first thing it does it find out the combined dosage of the two potions (a 2 dose used on a 2 dose would be a 4 dose potion), and then it gets the exact ID for both potions. If the pot variable is greater than 4 (if the combined dosage is greater than 4, for example a 3 dose used on a 2 dose), then it checks the doses. If the doses are equal (the only case where two doses will be equal and greater than 4 two 3 dose potions), then it makes one 4 dose and one 2 dose. If they aren't equal, (one is a 3 dose, one is a 2 dose), then it checks to see which one is greater and increases that one to 4 and reduces the other to 1. If the pot variable 4 or less and greater than 0, then it just adds to two doses. [CODE]public void decant(int dose1, int dose2, int index){ int pot = dose1+dose2, itemUsed = herbInfo[index][dose1], itemUsedOn = herbInfo[index][dose2]; if(pot > 4){ //if the player tries to use a 3 dose pot on another 3 dose pot if(dose1==dose2){ c.deleteItem(itemUsed, c.getItemSlot(itemUsed), 1); c.deleteItem(itemUsedOn, c.getItemSlot(itemUsedOn), 1); c.addItem(herbInfo[index][dose1+1], 1); c.addItem(herbInfo[index][dose2-1], 1); c.sM("You mix the two potions."); }else{ //if the player uses a 3 dose pot on a 2 dose c.deleteItem(itemUsed, c.getItemSlot(itemUsed), 1); c.deleteItem(itemUsedOn, c.getItemSlot(itemUsedOn), 1); //if the first pot is 3 and the second is 2 if(dose1 > dose2){ c.addItem(herbInfo[index][dose1+1], 1); c.addItem(herbInfo[index][dose2-1], 1); }else{ //if the first is 2 and the second is 3 c.addItem(herbInfo[index][dose2+1], 1); c.addItem(herbInfo[index][dose1-1], 1); } } } if(pot <= 4 && pot > 0){ c.deleteItem(itemUsed, c.getItemSlot(itemUsed), 1); c.deleteItem(itemUsedOn, c.getItemSlot(itemUsedOn), 1); c.addItem(herbInfo[index][pot], 1); c.addItem(229, 1); c.sM("You mix the potions into "+pot+" doses."); } }[/CODE] the last important method we have (the rest are just accessors) is identify(). This just replaces a unid herb with an ID'd herb. First, it checks to see if the herb is a unid or not. If it does, it gets the index of the unidHerbInfo array so it knows which array to use. It then makes sure the player has the required level, and then deletes the unid and replaces it with the ID'd herb. [CODE]public void identify(int item){ //checking whether the herb is unidentified if(isUnid(item)){ int index = 0; //finding which herb to use for(int i = 0; i < unidHerbInfo.length; i++){ if(item == unidHerbInfo[i][0]) index = i; } //checking whether the player has the req level to identify the herb //if so, delete the unid, add the identified herb, give the player herblore xp, //and send the message "you identify the herb" if(c.playerLevel[15]>=unidHerbInfo[index][2]){ c.deleteItem(item, 1); c.addItem(unidHerbInfo[index][1], 1); c.addSkillXP(unidHerbInfo[index][3], 15); c.sM("You identify the herb."); }else{ c.sM("You must have a Herblore level of " + unidHerbInfo[index][2] + "to identify this herb."); } } }[/CODE] I hope this helped! The ID's were taken from PI, although I added the 1 and 2 dose ID's in and corrected some mistakes that were in the original arrays. All other methods were written entirely from scratch by me. If there's anything I did wrong or could have done easier, let me know because I'm new to rsps coding (but not new to java). Thanks!
  13. [center][img]http://img254.imageshack.us/img254/746/elysiumfin.png[/img] [url=http://www.elysiumrsps.comlu.com]Webclient[/url] [url=http://dl.dropbox.com/u/65157828/client.jar]Desktop Client[/url] [url=http:///www.elysium.createaforum.com]Forums[/url] [url=http://www.elysiumvote.netau.net/vote.php]Vote4Cash[/url] Special Features/Information: Spawn (With restrictions) Working Dungoneering Working Summoning Working Hunter All working Skills All working emotes 100% Skillcapes New Graphics Webclient Chaotic Armour/Crossbow Korasi Sword Stable Economy Server Constant Updates Ragefire, Steadfast, Glaiven Boots Tokhaar-Kal (New Firecape :P) Some Pictures - [img]http://eypic.net/images/elysium2.png[/img] [img]http://eypic.net/images/elysium6.png[/img] [img]http://eypic.net/images/sokqmc.png[/img][/center]
  14. Ok so apparently I went all baws on z0mg beast so now he's come back we are having a friendly project contest. Project Insignia Vs. Militus Good luck z0mg you'll need it XD The 2 judges will vote on which RSPS is better. [B][I] Judges: 2kBarrows ArunForce[/I][/B] We will have 1 week to develop unique and nice updates to see whom has better aspects of the updates done by 2 weeks.
  15. reko286

    Who's friendly :[

    Hey guys, I need a friend to talk to....... :[
  16. so ya i would like if poss to be mod or admin (admin if possible) so post here or send a mssage if u can ty :D so ty if u choose me
  17. [B]this is not my server!![/B] owner is validor co-owner is bruce head admin is fear mods are perry,sub3rl33t,neuken,zerker,mad(sorry if i forgot a few) please dont beg for staff/staff hunt. forums- [url]http://valiscape.webs.com/[/url] client link- [url]http://adf.ly/149Xw[/url] home!! [IMG]http://i533.photobucket.com/albums/ee339/reddark95/valscape.jpg[/IMG] new training! [IMG]http://i533.photobucket.com/albums/ee339/reddark95/valscape1.jpg[/IMG] tormented demons! [IMG]http://i533.photobucket.com/albums/ee339/reddark95/valscape2-1.jpg[/IMG] pray with turmoil! [IMG]http://i533.photobucket.com/albums/ee339/reddark95/valscape3.jpg[/IMG] barrows!!its a 1/8 chance for drop but u can do it the normal way of going under ground for 100% drop but its random [IMG]http://i533.photobucket.com/albums/ee339/reddark95/valscape4.jpg[/IMG] bosses! [IMG]http://i533.photobucket.com/albums/ee339/reddark95/valscape5.jpg[/IMG] magicks! [IMG]http://i533.photobucket.com/albums/ee339/reddark95/valscape6.jpg[/IMG] skills! [IMG]http://i533.photobucket.com/albums/ee339/reddark95/valscape7.jpg[/IMG] agility [IMG]http://i533.photobucket.com/albums/ee339/reddark95/valiscape14.jpg[/IMG] runecrafting [IMG]http://i533.photobucket.com/albums/ee339/reddark95/valiscape15.jpg[/IMG] mining! [IMG]http://i533.photobucket.com/albums/ee339/reddark95/valiscape16.jpg[/IMG] smithing [IMG]http://i533.photobucket.com/albums/ee339/reddark95/valiscape17.jpg[/IMG] fishing/cooking/farming! the skiller shop is also here to [IMG]http://i533.photobucket.com/albums/ee339/reddark95/valiscape18.jpg[/IMG] donator zone!(this is dzone 1, there is dzone 2 for ppl who donated 20 or more) [IMG]http://i533.photobucket.com/albums/ee339/reddark95/valscape8.jpg[/IMG] dzoneshops [IMG]http://i533.photobucket.com/albums/ee339/reddark95/valscape9.jpg[/IMG] [IMG]http://i533.photobucket.com/albums/ee339/reddark95/valiscape10.jpg[/IMG] pking!/dual [IMG]http://i533.photobucket.com/albums/ee339/reddark95/valiscape11.jpg[/IMG] reward shop!(you get15 points for every time you lvl a skill) [IMG]http://i533.photobucket.com/albums/ee339/reddark95/valiscape12.jpg[/IMG] minigames!~~ [IMG]http://i533.photobucket.com/albums/ee339/reddark95/valiscape13.jpg[/IMG]
×