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

Help!!

Status
Not open for further replies.

ownerluke22

Newcomer
Joined
Nov 18, 2009
Sythe Gold
0
Messages
1
i am on the allstar scape v2 source and when i go to shops a couple of them freeze up when i try to open them such as the pure shop held by the ghost! Any suggestions on what to do?!?!?
 
i am on the allstar scape v2 source and when i go to shops a couple of them freeze up when i try to open them such as the pure shop held by the ghost! Any suggestions on what to do?!?!?

i think the problem is that there is problems with the shop id, either it has been coded wrong, or the same shop id has been coded more than once


open up shops.cfg

and press ctrl+f and search for the shops name

you will see something like this

Code:
shop = 10       pure shop

there will be numbers on the same line but they are pretty irrelevant to making the shop work at the moment

take note of the shop number and name

now open client.java

press ctrl+f and search the name of the shops npc

you will see something similar to this

Code:
else if (NPCID == 111) {
                                // ghost
                                PutNPCCoords = true;
                                WanneShop = 10; // pure shop
                        }


how to make sure this will correctly open your shop

Code:
else if (NPCID == 111) {

the NPCID == must be the correct npc for the person your trading to open your shop

Code:
PutNPCCoords = true;

leave this as is it aslong as thats what is says

Code:
WanneShop = 10; // pure shop


ok the number after wanneshop = MUST be the same number as you have in the shops.cfg else it wont open the shop

the shop name after the // can be anything you wish, its basically just for searching with ctrl+f and so you reember which shop is which


after you have done all the save, and recompile your server and stuff and try the shop, if it still freezes this means there are to shops with the same number, so you will need to go into shops.cfg and client.java and change the shop numbers to one that has no already been used, and this should fix your problem
 
Status
Not open for further replies.
Runescape Gamblingrunescape gambling
Back
Top