[Release]Open Shop anywhere
I just modified the !opennpc from Moogra a bit i believe it works havent tested
Code:
} else if (splitted[0].equals("@opennpc")) {
NPCScriptManager npc = NPCScriptManager.getInstance();
npc.start(c, NPCID);
import net.sf.odinms.scripting.npc.NPCScriptManager;
Just edit the NPCID
*Edited with thanks to xazerrx
*Edit Cant make it work tested on my server
*Edit make it work remember this is only for scripted NPC's
Theres also this i believe it opens shops
Code:
} else if (splitted[0].equals("@misc")) {
MapleShopFactory sfact = MapleShopFactory.getInstance();
MapleShop shop = sfact.getShop(Change to ShopID);
shop.sendShop(c);
Re: [Release]Open Shop anywhere
Re: [Release]Open Shop anywhere
i believe some servers had got it working.
Re: [Release]Open Shop anywhere
Re: [Release]Open Shop anywhere
awesome i was looking for this. thanks SOOO much =D
Re: [Release]Open Shop anywhere
Re: [Release]Open Shop anywhere
Quote:
Originally Posted by
KillShadow05
awesome i was looking for this. thanks SOOO much =D
Your welcome
Re: [Release]Open Shop anywhere
Hey mg.. hack any servers lately?
Haha im jk.
How have ya been?
Message me, dont wanna go offtopic on the forum.
Thanks again stuffa i tried looking for this for about a week haha xD
Re: [Release]Open Shop anywhere
Well its been in front of ya the whole time its in Moogra just with !opennpcs
Re: [Release]Open Shop anywhere
Lol then you would have declared npcid as an integer for nothing. Here is a correct one :
Code:
} else if (splitted[0].equals("@examplenpc")) {
int npcid = Integer.parseInt(splitted[1]);
npcid = 9030000;
NPCScriptManager npc = NPCScriptManager.getInstance();
npc.start(c, npcid);
Example used above was for fredrick.
Re: [Release]Open Shop anywhere
Ya ok sry i messed up wasnt sure
But it always good to learn by mistakes
Re: [Release]Open Shop anywhere
I thought that xerxire released something like this
Re: [Release]Open Shop anywhere
Quote:
Originally Posted by
xblackcat
I thought that xerxire released something like this
Yea didnt he? Anyways Nice Job
Re: [Release]Open Shop anywhere
yes, I have see that some private servers has the shopwith a little command too.
Re: [Release]Open Shop anywhere
Already released by XERIXE :/