You have to delete packedshops.s
Code:else if (npc.getId() == x) ShopsHandler.openShop(player, x);
|
Hi there
I'm editing a 718 server with eclipse and i don't know how to get an npc to open a shop.. I've looked up loads of tutorials but none have helped me
also, how do you get an npc to face a certain direction, all the ones i spawn face northwest and it's quite annoying..
i've created all my shops in unpackedShops.txt and it won't work for some reason, my console never comes up with "packing shops"..
if anyone could help me with these problems then i will be forever in your debt
cheers
You have to delete packedshops.s
Code:else if (npc.getId() == x) ShopsHandler.openShop(player, x);
oh and whenever i try to trade an npc now, it won't trade, none of them work anymore, they used to before i messed around with unpackedShops... someone please help me
where do i put that code??
packedshops.s isn't even there, i think the code has a problem with packing the shops.. any ideas? D:
thanks so much man you're a legend, quick question how do i change the facing position of the npc i wanna spawn? D:
soz for triple post lol
http://www.rune-server.org/runescape...direction.html
Should use google some time bud.
tried that bro but i don't have NPCSpawning.java for some reason..
NPC.java, processNPC method:
Direction ints are in the thread Datbeastmayne linked.Code:if (id == NPCID){ setDirection(DIRECTION_INT); }
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |