Jump to content

Search the Community

Showing results for tags 'shop'.



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 214 results

  1. I made a shop and i can buy and sell at the right prices but the listed price in the shop interface is wrong. Does any one know how i can fix this? [ATTACH=CONFIG]9976[/ATTACH]
  2. [center][img]http://i.imgur.com/0T33Az5.png[/img][/Center] [b]Notes:[/b] [img]http://i.imgur.com/4UGu9Yo.png[/img] This is a long-term project. [img]http://i.imgur.com/4UGu9Yo.png[/img] Please don't forget to vote on our current poll. [img]http://i.imgur.com/4UGu9Yo.png[/img] I apologize for any grammatical errors. [img]http://i.imgur.com/4UGu9Yo.png[/img] If you have any feedback about our progress, please let us know. :) [b]Introduction:[/b] Avarrocka is expected to be a new revolution in terms of RSPS. Avarrocka is an advanced server that rivals all others. We will provide the community with an interactive, friendly, and professional team of staff members. This is nothing like before. As we're based on Rune-Source, we plan on providing nothing but quality work for all who follow us. [b]Team:[/b] The official team consists of two parts(development & management). Development [list] [*]Artem - Game Developer [*]Rob - Game Developer [*]IYAOYAS - Game Developer [/list] Management [list] [*]John - Community Manager [*]Andrew - Community Manager [/list] [b]Avarrocka I, II & III Explanation:[/b] [img]http://i.imgur.com/4UGu9Yo.png[/img] [b]Avarrocka I[/b] - This was where it all began. Our primary focus was client-sided work. Our team took the client apart piece by piece and rebuilt it with a few innovative features. Our goal was providing efficiency and increased power. The client now boasts plenty of interesting features like an advanced error detection system, game-frame component listener, threaded cache loader system, an advanced rendering loop system and much more. [img]http://i.imgur.com/4UGu9Yo.png[/img] [b]Avarrocka II[/b] - This is the current stage of our development. Now, our focus is on game content rather than visual appeal. The server is based off of Rune-Source, and we plan to go far with it. We focus on bringing all skills and an advanced combat system, as well as some interesting custom content. Avarrocka is proud to have a storyline to work a large portion of our game's content off of, while still providing a game that players can create their own legacy with. [img]http://i.imgur.com/4UGu9Yo.png[/img] [b]Avarrocka III[/b] - This stage is our goal. This stage is highly anticipated by Avarrocka's developers. At this stage, Avarrocka will boast a functional and beautiful website, a community forum, game webclient, and of course highscores. Our own unique and epic trailer will be launched as well, and our team will be doing everything we can to get the word out. Our goal is to see a steady playerbase of 100 players - [i]within the first month[/i]. Do you think it's possible for us? Watch our introduction to the game [url=http://www.youtube.com/watch?v=fn7WFwZt6VI]here[/url]! [b]Beta Testing ( Estimated Time: March 10 )[/b] Beta testing will be open for all. However, Avarrocka is in search for those few who would report any bug found during our beta testing. Their time won't go unappreciated, and at the end of Beta testing awaits an exclusive gift. The gift will be given to those who show exceptional effort to provide a steady flow of quality bug reports and suggestions during this testing phase. [b]Current list:[/b] - Artem543 - Clawz Fury - Flame_ - ox Random xi - Bubletan - AtomicInt_ - Arham 4 - Sk8rdude461 - KroniKz_ - Munien - furyking50 - Null Amount - Loveandpower - noland2131 - Ambokile - angelfallen - supernova_ - scape-JAVA - TheIronDoorProject [img]http://i.imgur.com/J0GmiSu.gif[/img] [b]Please Note that:[/b] these images aren't in high quality. The colors might be off the original gameplay. This being said, the image quality was reduced to have a more fluid internet browsing(memory reduced). [b]Development Progress:[/b] [list] [*][color=red]Haven't started yet.[/color] [*][color=orange]Currently in progress.[/color] [*][color=green]Finished[/color] [/list] [img]http://i.imgur.com/qgWE7EH.png[/img][list] [*][b]Melee[/b][list] [*][color=green]Combat Formulas ( Accuracy and Max Hit )[/color] [img]http://i.imgur.com/yZo9dFS.gif[/img] [*][color=green]Correct Animations, Delays.[/color] [*][color=orange]Special Attacks[/color][list] [*][color=red]Dragon dagger[/color] [*][color=red]Abyssal whip[/color] [*][color=red]Dragon longsword[/color] [*][color=red]Dragon mace[/color] [*][color=red]Barrelchest anchor[/color] [*][color=red]Granite maul[/color] [*][color=red]Dragon mace[/color] [*][color=green]Armadyl Godsword[/color] [*][color=red]Bandos Godsword[/color] [*][color=red]Zamorak Godsword[/color] [*][color=red]Saradomin Godsword[/color] [*][color=red]Saradomin sword[/color] [*][color=red]Guthan's special[/color] [*][color=red]Dharok's special[/color] [*][color=red]Torag's special[/color] [*][color=red]Verac's special[/color] [*][color=red]Dragon claws[/color][/list] [*][b]Ranged[/b][list] [*][color=red]Accuracy/Max hit Formula[/color] [img]http://i.imgur.com/xVAuoSp.gif[/img] [*][color=red]Ava's accumulator[/color] [*][color=red]Ammo dropping in combat[/color] [*][color=red]Weapons[/color] [*][color=red]Bows[/color] [*][color=red]Crossbows[/color] [*][color=red]Darts[/color] [*][color=red]Throwing knives[/color] [*][color=red]Throwing axes[/color] [*][color=red]Chinchompas[/color] [*][color=red]Javelins[/color] [*][color=red]Seercull[/color] [*][color=red]Dark bow[/color] [*][color=red]Crystal bow[/color] [*][color=red]Toktz-xil-ul[/color] [*][color=red]Special Attacks[/color][list] [*][color=red]Ruby Bolt[/color] [*][color=red]Diamond Bolt[/color] [*][color=red]Emerald Bolt[/color] [*][color=red]Dragon Bolt[/color] [*][color=red]Onyx Bolt[/color] [*][color=red]Karil's special[/color] [*][color=red]Magic bows[/color] [*][color=red]Seercull[/color] [*][color=red]Darkbow[/color][/list][/list] [*][b]Magic[/b][list] [*][color=green]Auto-casting[/color] [img]http://i.imgur.com/gkNCVxp.gif[/img] [*][color=red]Defensive casting[/color] [*][color=green]Accuracy/Max hit Formula[/color] [*][color=red]Special Attacks[/color] [*][color=red]Ahrim's special[/color] [*][color=red]Staff of light special[/color] [*][color=red]Spells[/color][list] [*][color=red]Basic combat spells[/color] [*][color=red]Vengeance[/color] [*][color=red]Vengeance other[/color] [*][color=red]All Ancient Magic effects[/color] [*][color=red]God Staff Spells/Charge[/color] [*][color=red]Crumble Undead[/color] [*][color=red]Iban Blast[/color] [*][color=red]Magic Dart[/color] [*][color=red]Entangle/Bind[/color] [*][color=red]Tele-block[/color][/list][/list] [*][b]Miscellaneous[/b][list] [*][color=red]Determining killer[/color] [*][color=red]Food[/color] [*][color=red]Potions[/color] [*][color=red]Attack styles[/color] [*][color=red]Entity based[/color] [*][color=red]Mob vs Mob combat[/color] [*][color=red]Multi-combat areas[/color] [*][color=red]Projectiles[/color] [*][color=red]NPC sizes for combat[/color] [/list][/list] [img]http://i.imgur.com/HeSWRr2.png[/img] [list] [*][b]Prayer[/b][list] [*][color=red]Burying bones[/color] [*][color=red]Bones on altar[/color] [*][color=red]Prayer bonus effects drain[/color][/list] [*][b]Runecraft[/b][list] [*][color=red]Crafting runes[/color] [*][color=red]Multipliers[/color] [*][color=red]Pouches[/color][/list] [*][b]Agility[/b][list] [*][color=red]Gnome Course[/color] [*][color=red]Wildness Course[/color] [*][color=red]Barbarian Course[/color] [*][color=red]Apel Tool Course[/color] [*][color=red]Brihavem Course[/color][/list] [*][b]Herblore[/b][list] [*][color=red]Herb Cleaning[/color] [*][color=red]Herb identifying[/color] [*][color=red]Mixing unfinished potions[/color] [*][color=red]Mixing finished potions[/color] [*][color=red]Tars Creation[/color] [*][color=red]Grinding[/color][/list] [*][b]Thieving[/b][list] [*][color=red]Picking pockets[/color] [*][color=red]Thieving stalls[/color] [*][color=red]Chest lockpicking[/color] [*][color=red]Door lockpicking[/color] [*][color=red]Stunning[/color][/list] [*][b]Crafting[/b][list] [*][color=red]Gem Cutting[/color] [*][color=red]Hide Tanning[/color] [*][color=red]Leather Crafting[/color] [*][color=red]Glass Blowing[/color] [*][color=red]Jewellry Moulding[/color] [*][color=red]Spinning[/color] [*][color=red]Stringing Amulets and Necklaces[/color] [*][color=red]Pottery[/color][/list] [*][b]Fletching[/b][list] [*][color=red]Log carving[/color] [*][color=red]Add Strings to unfinished items[/color] [*][color=red]Ammo creation[/color][/list] [*][b]Slaying[/b][list] [*][color=red]Task Receiving[/color] [*][color=red]Experience on death[/color] [*][color=red]Task levels - Easy, Medium, Hard and Elite[/color] [*][color=red]Multi masters support[/color] [*][color=red]Stores - Points and Required items[/color] [*][color=red]All Monsters spawned around the map[/color] [*][color=red]Masters[/color][list] [*][color=red]Duradel[/color] [*][color=red]Mazchna[/color] [*][color=red]Vannaka[/color] [*][color=red]Chaeldar[/color] [*][color=red]Sumona[/color] [*][color=red]Kuradal[/color][/list][/list] [*][b]Mining[/b][list] [*][color=red]Mining all rocks[/color] [*][color=red]Success formula with tools[/color] [*][color=red]Prospecting[/color] [*][color=red]Rock golem random[/color] [*][color=red]Mining gems[/color] [*][color=red]Pickaxe breaking[/color][/list] [*][b]Smithing[/b][list] [*][color=red]Ore Smelting[/color] [*][color=red]Anvil Smithing[/color] [*][color=red]Misc Items[/color][list] [*][color=red]DFS[/color] [*][color=red]Godsword blade[/color] [*][color=red]Godswords[/color] [*][color=red]Dragon Sq Shield[/color][/list][/list] [*][b]Fishing[/b][list] [*][color=red]Small Net fishing[/color] [*][color=red]Rod fishing[/color] [*][color=red]Fly fishing[/color] [*][color=red]Cage fishing[/color] [*][color=red]Big Net fishing[/color] [*][color=red]Harpoon fishing[/color] [*][color=red]Troll random event[/color] [*][color=red]Whirlpool event[/color][/list] [*][b]Cooking[/b][list] [*][color=red]Item Cooking ( Can be cooked on range / fire )[/color] [*][color=red]Item on Item, such as chocolate bar on cake = Chocolate cake[/color] [*][color=red]Burning Chance, with working cook gloves and depends on your cook level[/color][/list] [*][b]Firemaking[/b][list] [*][color=red]Making fires[/color] [*][color=red]Clipped[/color] [*][color=red]Can't make on fires on other fires[/color][/list] [*][b]Woodcutting[/b][list] [*][color=green]Cutting trees[/color] [*][color=green]Success formula with axes[/color] [*][color=green]Adding and removing stumps[/color][/list] [img]http://i.imgur.com/onMVie8.gif[/img] [img]http://i.imgur.com/oEGRfRh.gif[/img] [img]http://i.imgur.com/VZPai5J.png[/img] [/list][list][*][b]Barrows[/b][list] [*][color=red]Digging[/color] [*][color=red]Barrows battles[/color] [*][color=red]Reward[/color][/list] [*][b]Warriors Guild[/b][list] [*][color=red]Animated armour[/color] [*][color=red]Token removal for cyclops[/color] [*][color=red]Cyclops definitions[/color] [*][color=red]Defender dropping[/color][/list] [*][b]Duel Arena[/b][list] [*][color=red]Every rule working[/color] [*][color=red]Staking items[/color] [*][color=red]Utilizes every dueling arena, finds an arena based on players dueling in each one[/color] [*][color=red]Second staking interface stacks items correctly[/color] [*][color=red]Duels can tie[/color] [*][color=red]Obstacle arenas and non-obstacle arenas[/color] [*][color=red]Checks inventory space to make sure you have space to make a stake[/color][/list] [*][b]TzHarr Fight Cave[/b][list] [*][color=red]63 waves[/color] [*][color=red]Fight cape reward[/color] [*][color=red]Wave saving[/color] [*][color=red]Combat definitions for NPCs[/color][/list] [*][b]TzHarr Fight Pits[/b][list] [*][color=red]Waiting lobby[/color] [*][color=red]Random starting positions (clipped)[/color] [*][color=red]Free-for-all[/color] [*][color=red]Winner can stay in the arena[/color][/list] [*][b]Pest Control[/b][list][/list] [*][b]Castle Wars[/b][list][/list] [/list] [img]http://i.imgur.com/fJwhrvC.png[/img][list] [*][color=green]Banking[/color][/list] [img]http://i.imgur.com/7t8XpWB.gif[/img] [list][*][color=green]Trading[/color][/list] [img]http://i.imgur.com/7xKYJr1.gif[/img] [list][*][color=red]Shoping[/color] [*][color=green]Fast switching[/color][/list] [img]http://i.imgur.com/KUZqQfb.gif[/img] [list][*][color=green]Skilling orbs[/color][/list] [img]http://i.imgur.com/lJqFs3s.gif[/img] [list][*][color=red]Random events[/color] [*][color=red]Sounds[/color] [*][color=red]Songs[/color] [*][color=red]server sided definitions[/color] [/list] [u]Previews:[/u] [center][url]http://www.youtube.com/watch?v=fn7WFwZt6VI[/url] [img]http://i.imgur.com/quJSZ1c.gif[/img] [img]http://i.imgur.com/lEvtRQh.png[/img] [img]http://i.imgur.com/18APGeE.png[/img] [img]http://i.imgur.com/ktixTa9.gif[/img] [img]http://i.imgur.com/IJ2n0gm.png[/img] [img]http://i.imgur.com/cdBgPJl.png[/img] [IMG]http://i.imgur.com/lpM3IhM.png[/img] [IMG]http://i.imgur.com/4DtAlAL.png[/img][/center] [img]http://i.imgur.com/TA2bauR.png[/img] [img]http://i.imgur.com/oD0XVw2.png[/img] [img]http://i.imgur.com/g0PTBLZ.png[/img] [img]http://i.imgur.com/VvhAdD3.png[/img] [img]http://i.imgur.com/2y1zwAL.png[/img] [img]http://i.imgur.com/FcGRiv3.png[/img] [img]http://i.imgur.com/vR8XGVC.png[/img] [img]http://i.imgur.com/ARc0WMX.png[/img] [img]http://i.imgur.com/RwyQwNV.png[/img] [img]http://i.imgur.com/XPNfkAr.png[/img] [img]http://i.imgur.com/wYNPSZX.png[/img] [img]http://i.imgur.com/hkInyAL.png[/img] [img]http://i.imgur.com/qTFmtPN.png[/img] [img]http://i.imgur.com/aZzDh9Q.png[/img] [img]http://i.imgur.com/qDpBjuK.png[/img] [img]http://i.imgur.com/1Wysv5M.png[/img] [img]http://i.imgur.com/WM06FXN.png[/img] [img]http://i.imgur.com/aZzDh9Q.png[/img] [img]http://i.imgur.com/FAjgS7Z.png[/img] [img]http://i.imgur.com/U1P13GX.png[/img] [img]http://i.imgur.com/AwKY198.png[/img] [img]http://i.imgur.com/TGOGyWC.png[/img] [img]http://i.imgur.com/FDI2tSP.png[/img] [img]http://i.imgur.com/yOXxPvP.png[/img] [img]http://i.imgur.com/5nfMn1N.png[/img] [b][u]Wondering what the community thinks?[/u][b] [i]Post your comments and they will be added in this section...[/i]
  3. Hey can some one please tell me what file i go to too change the prices of my items in my pkp shop eg. D claws are 500 and i want to change them to 300 or something how do i do this? Thanks.
  4. Hello there, I've added a new shop where you need to pay with tokens. I already added a new slot (slot4). It does show you need to pay tokens and it does value in tokens. but when you click on buy item, it does not buy it. This is my shopassistant.java the shopid is 17, the tokens are dragon tokens, 7478 is the token id [code] } if(c.myShopId == 17) { if (c.playerItemsN[Slot4] >= TotPrice2) { if (c.getItems().freeSlots() > 0) { buyDelay = System.currentTimeMillis(); c.getItems().deleteItem(7478, c.getItems().getItemSlot(7478), TotPrice2); c.getItems().addItem(itemID, 1); Server.shopHandler.ShopItemsN[c.myShopId][fromSlot] -= 1; Server.shopHandler.ShopItemsDelay[c.myShopId][fromSlot] = 0; if ((fromSlot + 1) > Server.shopHandler.ShopItemsStandard[c.myShopId]) { Server.shopHandler.ShopItems[c.myShopId][fromSlot] = 0; } } else { c.sendMessage("You don't have enough space in your inventory."); break; } } else { c.sendMessage("You don't have enough Dragon tokens."); break; }[/code] This is also in the file [code] if (c.myShopId == 17) { c.sendMessage(c.getItems().getItemName(removeId)+": currently costs " + getSpecialItemValue(removeId) + " Dragon Token."); return; } [/code] and [code] if (c.myShopId == 17) { handleOtherShop(itemID); return false; }[/code] and like i said, i made a slot4 [code] if(Slot4 == -1 && c.myShopId == 17) { c.sendMessage("You don't have enough dragon tokens."); break; }[/code] [code] Slot4 = c.getItems().getItemSlot(7478);[/code] Can someone help me and explain what i am doing wrong? It would help me out alot, i've been trying to fix this for ages! Thanks
  5. raivorots

    Shop

    hi guys what i need to do to can make shop from Rewards trader its dungeoneering shop but in this npc didnt have trade option what code i need for shop option becouse for Rewards trader have shop????
  6. I can buy the items in the donor shop for donator points but when i sell the item back to the shop it gives me gps.How can i fix this? HELP! THX! :D
  7. I can buy the items in the donor shop for donator points but when i sell the item back to the shop it gives me gps.How can i fix this? HELP! THX! :D
  8. hello since i am got a decend coder in the last 3-4 years i am try to share some whit ya :D to help new coders out note: this is a 317(pi) server this means it codes differn't than a delta or any other regular 317 server now what i am gonna help whit. 1.how to added a shop and tradeble. now let's start of whit to make a shop. what you gonna need first. spawn.config. now openup ur spawn.config. can easy be found whit "search"in the right corner if u did open it u get something like this. [CODE]// spawnX spawnY height walk maxhit attack defence description [/CODE] that's the basic. spawnX and spawnY and Height is the location most times high = 0 the other one dsn't matter for a shop. now code this. spawn = 2830 3097 3499 0 0 0 0 0 shop this means u spawn the npc 2830 on location 3097 3499 and high 0 like i said the other ones dsn't matter. now u spawned a npc!! now let's see you got a npc great now save ur spawn config and compile to look if u did all good if not u get some sort error. now let's go to the next part to make ur shop. we need to make them able to trade since nothing will happen now. now go to ur "actionhandeler." (srry if i typed wrong) now if did take a small look on ur spawn.config there where more shops added (normally) let's say there is :P now u did open up ur actionhandeler now press "ctrl-f "together" u get a search box up than typ "case 520" (alwais added in a normal base) now u see something like this, [CODE]break; case 520: c.getShops().openShop(1); break;[/CODE] now typ this urself or copy it. than u get it like this, [CODE]break; case 520: c.getShops().openShop(1); break; case 2839: c.getShops().openShop(**);[/CODE] the ** are for the shop id so u need to make a shop in ur shops file. now press - and spare the action handler for later. search for "shops' and open it. now u see a lot of things like this, [CODE]shop = 1 ibuyall 1 1] [/CODE] now the 1 1 = that is buys evrything but u cant buy anything from it. now after the 1 1 can added anything like this. [CODE]shop = 2 shop1 1 14484 1 11694 1[/CODE] alwais use "TAB" as space between the numbers else it wont work. the 14484 = dragon claws itemid the 1 after is how much the shop sells of it. now u got that than u see before it "shop = 2" now let's say u want that one for u spawned npc. than save ur shops file and go back to ur actionhandler. there u had ** chance that ** into 2 so it looks like this, case 2839: c.getShops().openShop(2);[/CODE] than save this one to. now time to compile and try it out and than click on ur npc (some npc have 2 options try both it only works for 1 of the options so if luckly if u left click it opens else right click than second option. Note: be 100% sure u dont spawn a npc that's already spawned since it will do what is already handled double npc handlings give a error. hope you liked this guide sorry for bad english but hope it whas able to fellow also any problems post it below. also tell how i can improve my guides to help you make it more easy to read and more easy to understand still hope u can make ur shops gonna make a new guide how to make a pkp shop. so before u read that than read this first :D
  9. Problems : 1) Prices in the pkp shop and the donator shop 2) I had donator points but I couldn't buy anything from the shop 3) I have voting points but I cant buy anything from the shop too 4) The shopkepper man who sells food and potions , we can sell him anything Posting pictures :) [ATTACH=CONFIG]9185[/ATTACH][ATTACH=CONFIG]9186[/ATTACH][ATTACH=CONFIG]9187[/ATTACH]
  10. Help how to fix sell in a shop 718 [ATTACH=CONFIG]8905[/ATTACH] help!.
  11. I want the most rs gold I can get for my money, without being scammed, must be fast. Anything you guys recommend? Thanks in advance.
  12. Nick

    Custom Shop.

    [U][/U][B]Don't mind everything else below![/B] Basically, I have every thing needed set up, unpackedshops, NPCHandler, packedshops, etc. I have the NPC correct, but the shop doesn't open. I tried multiple NPCs and shops ID but the shop never shows up. :c
  13. hey guys! when i try to sell something in the shop it will only sell 1. [img]http://i.imgflip.com/1y2ec.gif[/img] its for sell 5/10 my problem. can any help? my server run.bat gives this error when i click on sell 10 5 or 1 [CODE] [12-6-13 23:33]: java.lang.ArrayIndexOutOfBoundsException: 101 [12-6-13 23:33]: at server.org.world.shop.ShopAssistant.addShopItem(ShopA ssistant.java:315) [12-6-13 23:33]: at server.org.world.shop.ShopAssistant.sellItem(ShopAssi stant.java:292) [12-6-13 23:33]: at server.org.engine.character.banking.BankAll.processPa cket(BankAll.java:25) [12-6-13 23:33]: at server.org.engine.character.packets.PacketHandler.pro cessPacket(PacketHandler.java:139) [12-6-13 23:33]: at server.org.engine.character.Client.processQueuedPacke ts(Client.java:845) [12-6-13 23:33]: at server.org.engine.character.PlayerHandler.process(Pla yerHandler.java:145) [12-6-13 23:33]: at server.org.Server.main(Server.java:151) [/code] thnx
  14. Ace Hood

    718 Shop dupe

    I tried this [url]http://www.****************/runescape-development/rs-503-client-server/snippets/480345-718-shop-dupe-fix.html[/url] but then I got [URL=http://s1049.photobucket.com/user/Sunny5125/media/Capture87878_zps87093093.png.html][IMG]http://i1049.photobucket.com/albums/s393/Sunny5125/Capture87878_zps87093093.png[/IMG][/URL] any suggsetions? Link is to Rune server
  15. Hi i got a few troubles within my 718 source, when you start playing the client. you can go to all the shops, even adding new shops works, adding new new npc's that function as shops works also. but now we come to the point i made a new price for tokkul, tokkul costs 100mill [ATTACH=CONFIG]8838[/ATTACH][ATTACH=CONFIG]8837[/ATTACH][ATTACH=CONFIG]8839[/ATTACH] thats good. but as you can see in picture 1, tokkul is buyable. and once you bought it picture 2 i looked how much the shopkeeper wants to buy tokkul back, it was 76923076 but that is wrong. i want that if you buy it for 100mill, it sells for 100mill. so that its equal and picture 3 is that the shop doesnt even want to buy it back. it shows the sellback price. but its not sellable there O.o if any 1 could help me with this is wud be gratefull ^^
  16. i need the id of npcs polypore dungeon shop i didn't find it plz help me
  17. Using Rune-Evo 742 source here, and I'm wondering how I delete items from a shop and how to change their prices. Any help appreciated be noob friendly.
  18. [b]Hello guys, this is my first tutorial here, I hope to do as much as possible to help. Ok, let's start. [color=red][size=3]Information[/color][/size] Files changed: Spawn-config.cfg (or auto-respawn.cfg in any sources), ActionHandler.java, and ClickingButtons.java. Difficulty: 1/10 (Copy, Search and Paste) [color=red][size=5]Step 1[/color][/size] Go into Spawn-config.cfg and create a new NPC (This NPC that will open the Shop). [code]spawn = 607 2475 3440 0 0 0 0 0 Agil Ticket Exchange[/code] You can change the ID for your choice. [color=red][size=5]Step 2[/color][/size] Now go at ActionHandler.java and search for: [code]switch(npcType) {[/code] Under this add: [code]case [color=blue]607[/color]: c.getPA().showInterface(8292); break;[/code] Note: If you changed the NPC ID at Spawn-config.cfg, change the "[color=blue]607[/color]" for the ID you put. [color=red][size=5]Step 3[/color][/size] Now go into ClickingButtons.java and search for: [code]switch (actionButtonId){[/code] Under this add: [code] case 32189: if (c.getItems().playerHasItem(2996, 800)) { c.getItems().deleteItem(2996, 800); c.getItems().addItem(2997, 1); } else { c.sendMessage("You need at least 800 Agility Ticket to buy this item."); return; } break; case 32190: if (c.getItems().playerHasItem(2996, 3)) { c.getItems().deleteItem(2996, 3); c.getItems().addItem(2998, 1); } else { c.sendMessage("You need at least 3 Agility Ticket to buy this item."); return; } break; case 32195: if (c.getItems().playerHasItem(2996, 1)) { c.getItems().deleteItem2(2996, 1); c.getPA().addSkillXP(1000, c.playerAgility); c.sendMessage("You Exchange the Ticket and gain 1000 Exp in Agility!"); } else { c.sendMessage("You need at least 1 Agility Ticket to buy this experience."); return; } break; case 32197: if (c.getItems().playerHasItem(2996, 10)) { c.getItems().deleteItem2(2996, 10); c.getPA().addSkillXP(10000, c.playerAgility); c.sendMessage("You Exchange the Ticket and gain 10000 Exp in Agility!"); } else { c.sendMessage("You need at least 10 Agility Tickets to buy this experience."); return; } break; case 32198: if (c.getItems().playerHasItem(2996, 25)) { c.getItems().deleteItem2(2996, 25); c.getPA().addSkillXP(25000, c.playerAgility); c.sendMessage("You Exchange the Ticket and gain 25000 Exp in Agility!"); } else { c.sendMessage("You need at least 25 Agility Tickets to buy this experience."); return; } break; case 32199: if (c.getItems().playerHasItem(2996, 100)) { c.getItems().deleteItem2(2996, 100); c.getPA().addSkillXP(1000000, c.playerAgility); c.sendMessage("You Exchange the Ticket and gain 100k Exp in Agility!"); } else { c.sendMessage("You need at least 100 Agility Tickets to buy this experience."); return; } break; case 32200: if (c.getItems().playerHasItem(2996, 1000)) { c.getItems().deleteItem2(2996, 1000); c.getPA().addSkillXP(10000000, c.playerAgility); c.sendMessage("You Exchange the Ticket and gain 1M Exp in Agility!"); } else { c.sendMessage("You need at least 1000 Agility Tickets to buy this experience."); return; } break; case 32201: if (c.getItems().playerHasItem(2996, 10)) { c.getItems().deleteItem(2996, 10); c.getItems().addItem(3000, 1); } else { c.sendMessage("You need at least 10 Agility Ticket to buy this item."); return; } break;[/code] [color=red][size=5]Finish![/color][/size] That codes should work. If you get errors post or send me a message. Please, leave your opinion below :). I made it myself these codes, you will not find them anywhere else.[/b]
  19. Avalux

    Shop Currency Help

    Edit: To all those in the future whom experience the same problem, be sure to edit the item you want in your shop in your price.txt file. :rolleyes: FIXED Hi, I'm basically trying to make a shop require Agility Arena Tickets instead of coins to purchase items. The problem is that even though I have the correct amount of tickets, I cannot buy the item. These are the relevant parts of code in my shophandler.java [code=] if (c.myShopId == 20) { c.sendMessage(c.getItems().getItemName(removeId) + ": currently costs " + getSpecialItemValue(removeId) + " Donator Tickets.");[/code] [code] int Slot6 = 0;// Donator Tickets[/code] [code] Slot6 = c.getItems().getItemSlot(2996);[/code] [code] if (Slot6 == -1 && c.myShopId == 20) { c.sendMessage("You don't have enough Donator Tickets."); break; }[/code] [code] } else if (c.myShopId == 20) { if (c.playerItemsN[Slot6] >= TotPrice2) { if (c.getItems().freeSlots() > 0) { buyDelay = System.currentTimeMillis(); c.getItems().deleteItem(2996, c.getItems().getItemSlot(2996), TotPrice2); c.getItems().addItem(itemID, 1); ShopHandler.ShopItemsN[c.myShopId][fromSlot] -= 1; ShopHandler.ShopItemsDelay[c.myShopId][fromSlot] = 0; if ((fromSlot + 1) > ShopHandler.ShopItemsStandard[c.myShopId]) { ShopHandler.ShopItems[c.myShopId][fromSlot] = 0; } } else { c.sendMessage("You don't have enough space in your inventory."); break; } } else { c.sendMessage("You don't have enough Donator Tickets."); break; }[/code] If you could provide any insight to what I'm doing wrong or what I'm missing it'd be very much appreciated. Thank you.
  20. I tried changing the spawnpoint of my NPC which sells the PK items, but now this comes up when I try to run my server. [IMG]http://i.imgur.com/oHMQSpm.png[/IMG] Please help!
  21. mather201

    Shop sell 0 gp

    Please help with me shop sell [ATTACH=CONFIG]8499[/ATTACH] Maybe better ScreenShot [url]http://oi43.tinypic.com/14v19gj.jpg[/url] Help me what is the problem Skype Name : Mather201
  22. TurmoilPvp

    Vote Shop Help

    Hello, my vote shop allows me to buy items with both vote points and coins. How do I remove the paying with coins feature?
  23. [center]Hello, I'm using a PvPscapez 667/728 Source and I ran into a bug with the shops. I'm fairly new to this so if someone could help me out, that would be brilliant. When I run the server this error pops up: [ATTACH=CONFIG]8284[/ATTACH] The server can still run and allow people to log on but if you attempt to trade to the shopkeepers this happens: [ATTACH=CONFIG]8283[/ATTACH] I don't know how to fix this but it's in ShopsHandler.Java based on the error, this is ShopsHandler.Java: [/center] [code]package com.rs.utils; import java.io.BufferedReader; import java.io.DataOutputStream; import java.io.File; import java.io.FileOutputStream; import java.io.FileReader; import java.io.IOException; import java.io.RandomAccessFile; import java.nio.ByteBuffer; import java.nio.channels.FileChannel; import java.nio.channels.FileChannel.MapMode; import java.util.HashMap; import com.rs.game.item.Item; import com.rs.game.player.Player; import com.rs.game.player.content.Shop; public class ShopsHandler { private static final HashMap<Integer, Shop> handledShops = new HashMap<Integer, Shop>(); private static final String PACKED_PATH = "data/items/packedShops.s"; private static final String UNPACKED_PATH = "data/items/unpackedShops.txt"; public static void init() { if (new File(PACKED_PATH).exists()) loadPackedShops(); else loadUnpackedShops(); } private static void loadUnpackedShops() { Logger.log("ShopsHandler", "Packing shops..."); try { BufferedReader in = new BufferedReader( new FileReader(UNPACKED_PATH)); DataOutputStream out = new DataOutputStream(new FileOutputStream( PACKED_PATH)); while (true) { String line = in.readLine(); if (line == null) break; if (line.startsWith("//")) continue; String[] splitedLine = line.split(" - ", 3); if (splitedLine.length != 3) throw new RuntimeException("Invalid list for shop line: " + line); String[] splitedInform = splitedLine[0].split(" ", 3); if (splitedInform.length != 3) throw new RuntimeException("Invalid list for shop line: " + line); String[] splitedItems = splitedLine[2].split(" "); int key = Integer.valueOf(splitedInform[0]); int money = Integer.valueOf(splitedInform[1]); boolean generalStore = Boolean.valueOf(splitedInform[2]); Item[] items = new Item[splitedItems.length / 2]; int count = 0; for (int i = 0; i < items.length; i++) items[i] = new Item(Integer.valueOf(splitedItems[count++]), Integer.valueOf(splitedItems[count++])); out.writeInt(key); writeAlexString(out, splitedLine[1]); out.writeShort(money); out.writeBoolean(generalStore); out.writeByte(items.length); for (Item item : items) { out.writeShort(item.getId()); out.writeInt(item.getAmount()); } addShop(key, new Shop(splitedLine[1], money, items, generalStore, key)); } in.close(); out.close(); } catch (Throwable e) { Logger.handle(e); } } private static void loadPackedShops() { try { RandomAccessFile in = new RandomAccessFile(PACKED_PATH, "r"); FileChannel channel = in.getChannel(); ByteBuffer buffer = channel.map(MapMode.READ_ONLY, 0, channel.size()); while (buffer.hasRemaining()) { int key = buffer.getInt(); String name = readAlexString(buffer); int money = buffer.getShort() & 0xffff; boolean generalStore = buffer.get() == 1; Item[] items = new Item[buffer.get() & 0xff]; for (int i = 0; i < items.length; i++) items[i] = new Item(buffer.getShort() & 0xffff, buffer.getInt()); addShop(key, new Shop(name, money, items, generalStore, key)); } channel.close(); in.close(); } catch (Throwable e) { Logger.handle(e); } } public static String readAlexString(ByteBuffer buffer) { int count = buffer.get() & 0xfff; byte[] bytes = new byte[count]; buffer.get(bytes, 0, count); return new String(bytes); } public static void writeAlexString(DataOutputStream out, String string) throws IOException { byte[] bytes = string.getBytes(); out.writeByte(bytes.length); out.write(bytes); } public static void restoreShops() { for (Shop shop : handledShops.values()) shop.restoreItems(); } public static boolean openShop(Player player, int key) { Shop shop = getShop(key); if (shop == null) return false; shop.addPlayer(player); return true; } public static Shop getShop(int key) { return handledShops.get(key); } public static void addShop(int key, Shop shop) { handledShops.put(key, shop); } } [/code] [center]If someone could show me how to fix it or reply with a fixed code that would be awesome, thanks to all. -Justin[/center]
  24. I have a 317 server and I want to make a donator shop i have tried doing it already but cant do i so i really need someone to come on teamviwer with me and show me how to do it add me on Skype damon.walton2 PLEASE HELP ME :(
  25. Hey guys i need help with my custom shop, i have used santa (1552) and i want him to be a shop when somebody talks to him, how would i do that, somebody please help me. Thanks Telfordd
×