-
[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 :/
-
Re: [Release]Open Shop anywhere
Quote:
Originally Posted by
Supiangel
Already released by XERIXE :/
yes, I have seen this post or here in RZ or in other part but I see this thread somewhere.
-
Re: [Release]Open Shop anywhere
Quote:
Originally Posted by
Shagakrath
yes, I have seen this post or here in RZ or in other part but I see this thread somewhere.
Err... This was released by Xerixe in RZ ._.
-
Re: [Release]Open Shop anywhere
This opens a npc, not necessarily shop.
-
Re: [Release]Open Shop anywhere
It opens a npc and shops then too anyways good job :P
-
Re: [Release]Open Shop anywhere
hmm, this looks quite samiliar to xerxies command that he released
-
Re: [Release]Open Shop anywhere
Released in a different name. You just changed the command name and the NPCID thing. Already released
-
Re: [Release]Open Shop anywhere
-
Re: [Release]Open Shop anywhere
Even though... Many people didnt have and many people have never heard of this. So this basicly get the command to more servers. I guess
-
Re: [Release]Open Shop anywhere
Quote:
Originally Posted by
xazerrx
Lol then you would have declared npcid as an integer for nothing. Here is a correct one :
Code:
} else if (splitted[0].equals("@fredrick")) {
int npcid = Integer.parseInt(splitted[1]);
npcid = 9030000;
NPCScriptManager npc = NPCScriptManager.getInstance();
npc.start(c, npcid);
Example used above was for fredrick.
Edited examplenpc to fredick, so that people would understand.
And yea, using @-npcname- wud be easier and better
nice release tho
-
Re: [Release]Open Shop anywhere