Same. How do you change the wait time on the boat?
Printable View
Another Question why cant my friends see eatch other in the game
why i cant go on the portals
They are in the same channel
Anyone can i use single virtual server to connect other ip play private server??
if create new npc to make it work do i need compile again?
edit:solve
OMG WHAT DOES THIS ERROR MEAN
Jun 5, 2008 11:50:07 AM net.sf.odinms.net.world.WorldServer main
SEVERE: Could not initialize RMI system
java.rmi.server.ExportException: Port already in use: 1099; nested exception is:
java.net.BindException: Address already in use: JVM_Bind
at sun.rmi.transport.tcp.TCPTransport.listen(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport.exportObject(Unknown Source)
at sun.rmi.transport.tcp.TCPEndpoint.exportObject(Unknown Source)
at sun.rmi.transport.LiveRef.exportObject(Unknown Source)
at sun.rmi.server.UnicastServerRef.exportObject(Unknown Source)
at sun.rmi.registry.RegistryImpl.setup(Unknown Source)
at sun.rmi.registry.RegistryImpl.<init>(Unknown Source)
at java.rmi.registry.LocateRegistry.createRegistry(Unknown Source)
at net.sf.odinms.net.world.WorldServer.main(WorldServer.java:90)
Caused by: java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.ServerSocket.bind(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at javax.rmi.ssl.SslRMIServerSocketFactory$1.<init>(Unknown Source)
at javax.rmi.ssl.SslRMIServerSocketFactory.createServerSocket(Unknown So
urce)
at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(Unknown Source)
... 9 more
Press any key to continue . . .
out of all the errors people posted...about 70% is because you guys didnt create a new folder to host this repack...all u guys did was replace the old sever files with this repack..which cause most of the errors..u guys need to start a FRESH and not just by replacing files..THIS REPACK WORKS 100% if u create a new folder and place them inside..you can compile..skills work..no -274xxxx error..no error 34...
OMG WHAT DOES THIS ERROR MEAN
Jun 5, 2008 11:50:07 AM net.sf.odinms.net.world.WorldServer main
SEVERE: Could not initialize RMI system
java.rmi.server.ExportException: Port already in use: 1099; nested exception is:
java.net.BindException: Address already in use: JVM_Bind
at sun.rmi.transport.tcp.TCPTransport.listen(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport.exportObject(Un known Source)
at sun.rmi.transport.tcp.TCPEndpoint.exportObject(Unk nown Source)
at sun.rmi.transport.LiveRef.exportObject(Unknown Source)
at sun.rmi.server.UnicastServerRef.exportObject(Unkno wn Source)
at sun.rmi.registry.RegistryImpl.setup(Unknown Source)
at sun.rmi.registry.RegistryImpl.<init>(Unknown Source)
at java.rmi.registry.LocateRegistry.createRegistry(Un known Source)
at net.sf.odinms.net.world.WorldServer.main(WorldServ er.java:90)
Caused by: java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.ServerSocket.bind(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at javax.rmi.ssl.SslRMIServerSocketFactory$1.<init>(U nknown Source)
at javax.rmi.ssl.SslRMIServerSocketFactory.createServ erSocket(Unknown So
urce)
at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket( Unknown Source)
... 9 more
Press any key to continue . . .
whats the code for red dragon?
dragon & saddle T_T
draco 1902002 saddle 1912000
i hope it helps
No This Fucking Repack Doesn't Work 100fucking%
When I Fucking Remove Autoban The Full Fucking Code Fucks Up You Fucking Made The Most Fucking Unclean Code There Fucking Is For Odinms Good Fuckingn Job
fuck ok i posted in ur prefies post. So please read that then add this onto it.
I Can login but not into the game im stuck at char selece like i let it sit for 45 mins clicking on my char but no luck any1 kno why?:poster_ss
Is weather (cash) working?
okz ryuko send me your script please i need
and 4th job skill (Night Lord) Skill Name (Shadow Shister) gives other players one error
4th job skill (Night Lord) Skill Name (Shadow Shister) gives other players one error
4th job skill (Night Lord) Skill Name (Shadow Shister) gives other players one error
dang.. people get error 38 still =/ and i used your repack, nothing changed :S is it a specific skil lthat's causing it?
does anyone have any working job changers for 1,2,3, and 4th jobs
can some1 fix all 4th job skills... like storm of arrow..it can be worked..but people cant see the orange circle light on ur bow.. and many more that's not working..
Was someone actually able to compile this thing?
Cuz Im getting 100 errors when i try.
u need to add all the files in dist folder in ur server folder to ur libraries compile....
hey woainih i have a question. On my other repack we rarely get error code 38's. Now's its been happening a bit more in the game :S is the files or the skills or the client? =/ causei haven't replaced anything on the new repack
nice one
Make a folder called wz if there isn't one already inside the server folder, and put all the .wzs files in there with v54 mob.wz
are you gonna make this support mobz.wz v55 model?
woainioh how I can make to cody change the 1\2\3\4 jobs please help me no one answer me
can you tell me the gm commands plz o.o
and how do u get the gm hat and the suitcase and stuff? cause !shop only has noob weapons
you will add the GM text chat box?
SEVERE: Error loading custom quest.
java.io.StreamCorruptedException: invalid stream header: EFBFBDEF
at java.io.ObjectInputStream.readStreamHeader(Unknown Source)
at java.io.ObjectInputStream.<init>(Unknown Source)
at net.sf.odinms.server.quest.MapleCustomQuest.<init>(MapleCustomQuest.j
ava:89)
at net.sf.odinms.server.quest.MapleQuest.getInstance(MapleQuest.java:141
)
at net.sf.odinms.client.MapleCharacter.loadCharFromDB(MapleCharacter.jav
a:316)
at net.sf.odinms.net.channel.handler.PlayerLoggedinHandler.handlePacket(
PlayerLoggedinHandler.java:59)
at net.sf.odinms.net.MapleServerHandler.messageReceived(MapleServerHandl
er.java:150)
at org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messa
geReceived(AbstractIoFilterChain.java:570)
at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageR
eceived(AbstractIoFilterChain.java:299)
at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(Abst
ractIoFilterChain.java:53)
at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.mess
ageReceived(AbstractIoFilterChain.java:648)
at org.apache.mina.filter.codec.support.SimpleProtocolDecoderOutput.flus
h(SimpleProtocolDecoderOutput.java:58)
at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(Prot
ocolCodecFilter.java:180)
at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageR
eceived(AbstractIoFilterChain.java:299)
at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(Abst
ractIoFilterChain.java:53)
at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.mess
ageReceived(AbstractIoFilterChain.java:648)
at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorF
ilter.java:220)
at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.
run(ExecutorFilter.java:264)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source
)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnabl
e.java:51)
at java.lang.Thread.run(Unknown Source)
lol i get this problem ...wads this anyway ?
Everything worked out for me..
and i edited the wrold.db to my ip and all
i dont noe what else is wrong..
but when i typed in admin/admin for id and pw
and click log in..it just froze there..
and after awhile it dcs...anyone noes whats wrong??
woainioh you have script (DUEY NPC) he give 2,3 and 4 job? i need please
wait..i find 1st !
The berhoder should work 100%, if the berhoder not buff or heal, please recast it...it should work!!!!!
DOWNLOAD:
Here the link:
Mediafire: http://www.mediafire.com/?o1wtynl3bxw
he gonna delte so if som1 want it here so best reapck use it my advice
Wow~
954!!
Very nice~
I compiled it twice fine btw.
Job advancer: http://pastebin.ca/1040103
Bowman for 4th job is messed up in it D:. I do not have my server name in it. Credits to Tryst.
The only problem I see is few commands and error 38.
for wich next re-pack?
:p
Is monster riding work?
someone can help me plssss,before i use the 947RP i still can login
after i use it i stuck on charater login page,double click,charater keep walking walking walking...(before is rev947)(repack cant login on charater login)
how can i fix it?
can help me?
i try deled the odinms in sql browser and create again,
also same...
this problem i asked it few day in here already, no ppl want care about it..
plss dont igone my reply,thx for reading,try help me fix it ty again...
frequent dc with the error code (reach the end of file). fix it thank you very much. and can some1 teach me how to change source without the old database(items,accounts,characters) being wiped off?
I cant do 4th job..
does anyone know how to fix the massive DC's can someone look into this issue?
if someone knows can u leave me a private message so i can see
@Ryuko...
I've been looking and searching for a nice repack. Due to my preserverance i found yours. Phew...finally...I've found a good and complete one! To be honest...i love it. <3
I just got questions?
1. I've added a "NX SHOP NPC" (Cody) which i think you've made it...
When i click cody...an option will pop-out what nx item should i choose..then ex. i choose hats...after that nothing is popping out my window to view the nx items...so i tried another NX Shop NPC w/c is coco. But it has the same problem...do you have any idea what to do? :ee:
2. How do you save an account? I mean when i dl'd yours i saw the one's you've made the admin and RAWR...hahaha
@offtopic
~Reita is one of the people who helps me with my problems...
but i was shocked why he got banned...
Thank you in advance for the people who's willing to help me...:)
Cant advance to 4th job, is this my problem or the repack? @_@
cant spawn siver slime o.o"
someone can help me plssss,before i use the 947RP i still can login
after i use it i stuck on charater login page,double click,charater keep walking walking walking...(before is rev947)(repack cant login on charater login)
how can i fix it?
can help me?
i try deled the odinms in sql browser and create again,
also same...
this problem i asked it few day in here already, no ppl want care about it..
plss dont igone my reply,thx for reading,try help me fix it ty again...
*Well...this happened to me...but i solved it...by using Ryukos re-pack. hihihi..:P
*Some people said that...execute this commands... i dunno how. haha :P
btw lanjiaoabc...your speaking skills in english is funny and cute! ^^ hahah...walking walking! GRR CUTE! :DCode:Quote:
ALTER TABLE `skills` ADD COLUMN `masterlevel` INTEGER UNSIGNED NOT NULL DEFAULT 0 AFTER `skilllevel`;
Quote:
ALTER TABLE `skills` CHANGE COLUMN `masterlevel` `masterlevel` INTEGER UNSIGNED NOT NULL DEFAULT 0;
Erm,4th job cant advance, manon & griffey didn't drop star or pen, i tried using scroll exchange, but when passed to 4th job instuc, he took & nothing happen.
Cant be clicked after that.
Finally i found this.. lol
By the way, does the horntail portal close automically the moment someone enters the reactor map and activate horntail? is there a command to temporary close the npc that leads you to the horntail's cave? The reactor is spawning too often and I would like to close it at certain time =/
ha well its not really my repack its the owner of this threads. I just executed the all the sqls then backed it all up into one. but yeah if you want i can turn the nx shop that i have into 1 big sql file if thats what you want
Oh Yeah and about Saving Characters: Did you execute the Query that woainioh posted on the first page? Execute that. and it might help.
BTW: I didnt make the cody npc. I made the first ever cody cash shop. but not the one you're talking about. Peoples Stole my Ideas =)
Also: This is the one that i use now
http://img356.imageshack.us/img356/9...shopks4.th.jpg
If thats what you wanted
hey anyone know why the holy charge not working?
Also 3 others skills causes mass dcs
BigBang
ShadowShifter
MonsterMagnet
I hope you can give me the details to solving it.
thx 1st ^^,sorry my language very bad(Malaysia people noob on english), i try it later~if cant then ask u againQuote:
Quote:
Originally Posted by lanjiaoabc
someone can help me plssss,before i use the 947RP i still can login
after i use it i stuck on charater login page,double click,charater keep walking walking walking...(before is rev947)(repack cant login on charater login)
how can i fix it?
can help me?
i try deled the odinms in sql browser and create again,
also same...
this problem i asked it few day in here already, no ppl want care about it..
plss dont igone my reply,thx for reading,try help me fix it ty again...
*Well...this happened to me...but i solved it...by using Ryukos re-pack. hihihi..:P
*Some people said that...execute this commands... i dunno how. haha :P
Code:
Quote:
ALTER TABLE `skills` ADD COLUMN `masterlevel` INTEGER UNSIGNED NOT NULL DEFAULT 0 AFTER `skilllevel`;
Quote:
ALTER TABLE `skills` CHANGE COLUMN `masterlevel` `masterlevel` INTEGER UNSIGNED NOT NULL DEFAULT 0;btw lanjiaoabc...your speaking skills in english is funny and cute! ^^ hahah...walking walking! GRR CUTE! :D
thankyou
woainioh could you add this in the next repack? i think it would be helpful for the people who are a high level and can afford them but dont wanna wait for the boat
http://www.odinms.de/forum/showthread.php?t=73070
Some Command not working ? like
!charinfo <- does not show anything
!spawn <monsterid> <count> <hp> <exp>
i type HP and Exp but nothing increase =.=
->The Clock in Elina harbour doesn't show time.And no SHIP ??
Dc when using NX skill Effect.
+Change Hair Style not working (i was talk to the NPC and chose the style i like then Ok but nothing happen)
+Yellow Smiles are not moving when summon ( only moving when u hit them )
- i cant create character ( when i try, i press ok and dont pass to character screen :/ )
- when i enter in ch apeear this on login:
http://img354.imageshack.us/img354/4...4tmpjx7yt0.jpg
=|
woot another release i didnt get
I'm having the same issue as [RL]KioN
also on my reg page it says
Help? =\Quote:
Field 'banreason' doesn't have a default value
Oh ok, thank you so much, worked.
So what's up with this character thing, my character admin isn't there when I log so I try to create a new character but no matter and i mean NO MATTER which name I use all it says is "you cannot use this name.please try again"
6th repack is already released
I have a bug report. All chars cant get over 999 stats. =]
woa can u add this in ur next repack
http://forum.ragezone.com/showthread.php?t=408910
theres a file u have to compile into the core for the npc to work.
resinate there is already an all in 1 job changer posted up on the modification section of the odin forums, no need to complie just add it and thats it.
Works like a charm
ok , thanks woa, but now i click on character and get dc :/
for those wanting 2nd, 3rd, 4th job all in 1 NPC does it for you, here's how.
No complying needed:
http://www.odinms.de/forum/showthread.php?t=67411
Now would someone PLEASE mind helping me out... I can't see my character on the character select and I've ran all the .sql files.
haha guys i have updated my commands to much more...something like !dcall !ellinia !kerning !(all towns name) !setfame !setexp !setplayerlevel
and lots of other commands...ill upload the files needed if u guys wan it but its in .java u gotta compile it urself..
hmm i failed to compile. Did anyone else have this problem? im trying to add this if it helps you guys solve it
http://www.odinms.de/forum/showthrea...hlight=rebirth
4 errors
2 warnings
BUILD FAILED (total time: 1 second)
So where do we get skillbooks? And why is Bell not working in the subway
Yes please post the skill book seller
heres my duey skill book shop. It has most working skills in it. i also removed the books for dcing skills (i.e. Big bang, and shadow shifter)
http://www.mediafire.com/?w3qzcbyjzjv
EDIT: Now if someone could help me with Compiling something that would be nice
Got my hopes up T_T
Heres my Rebirth NPC. Its Nana(H) In henesys.
http://www.mediafire.com/?qudyoxugp5m
Edit: i think he stole my npc script and ran =_=
how to fix players cant past character screen ?
Yep it work alright :D
http://i19.photobucket.com/albums/b1...aple0008-2.jpg
http://i19.photobucket.com/albums/b1.../Maple0009.jpg
heres the code for NPCScriptManager.java located at \src\net\sf\odinms\scripting\npc
Code:/*
This file is part of the OdinMS Maple Story Server
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
Matthias Butz <matze@odinms.de>
Jan Christian Meyer <vimes@odinms.de>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License version 3
as published by the Free Software Foundation. You may not use, modify
or distribute this program under any other version of the
GNU Affero General Public License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package net.sf.odinms.scripting.npc;
import java.util.LinkedList;
import java.util.List;
import net.sf.odinms.client.IItem;
import net.sf.odinms.client.Item;
import net.sf.odinms.client.MapleCharacter;
import net.sf.odinms.client.MapleClient;
import net.sf.odinms.client.MapleInventory;
import net.sf.odinms.client.MapleInventoryType;
import net.sf.odinms.client.MapleJob;
import net.sf.odinms.client.MapleStat;
import net.sf.odinms.client.SkillFactory;
import net.sf.odinms.scripting.AbstractPlayerInteraction;
import net.sf.odinms.scripting.event.EventManager;
import net.sf.odinms.server.MapleInventoryManipulator;
import net.sf.odinms.server.MapleItemInformationProvider;
import net.sf.odinms.server.MapleShopFactory;
import net.sf.odinms.server.quest.MapleQuest;
import net.sf.odinms.tools.MaplePacketCreator;
/**
*
* @author Matze
*/
public class NPCConversationManager extends AbstractPlayerInteraction {
private int npc;
private String getText;
public NPCConversationManager(MapleClient c, int npc) {
super(c);
this.npc = npc;
}
public void dispose() {
NPCScriptManager.getInstance().dispose(this);
}
public void sendNext(String text) {
getClient().getSession().write(MaplePacketCreator.getNPCTalk(npc, (byte) 0, text, "00 01"));
}
public void sendPrev(String text) {
getClient().getSession().write(MaplePacketCreator.getNPCTalk(npc, (byte) 0, text, "01 00"));
}
public void sendNextPrev(String text) {
getClient().getSession().write(MaplePacketCreator.getNPCTalk(npc, (byte) 0, text, "01 01"));
}
public void sendOk(String text) {
getClient().getSession().write(MaplePacketCreator.getNPCTalk(npc, (byte) 0, text, "00 00"));
}
public void sendYesNo(String text) {
getClient().getSession().write(MaplePacketCreator.getNPCTalk(npc, (byte) 1, text, ""));
}
public void sendAcceptDecline(String text) {
getClient().getSession().write(MaplePacketCreator.getNPCTalk(npc, (byte) 2, text, ""));
}
public void sendSimple(String text) {
getClient().getSession().write(MaplePacketCreator.getNPCTalk(npc, (byte) 5, text, ""));
}
public void sendStyle(String text, int styles[]) {
getClient().getSession().write(MaplePacketCreator.getNPCTalkStyle(npc, text, styles));
}
public void sendGetNumber(String text, int def, int min, int max) {
getClient().getSession().write(MaplePacketCreator.getNPCTalkNum(npc, text, def, min, max));
}
public void sendGetText(String text) {
getClient().getSession().write(MaplePacketCreator.getNPCTalkText(npc, text));
}
public void setGetText(String text) {
this.getText = text;
}
public String getText() {
return this.getText;
}
public void openShop(int id) {
MapleShopFactory.getInstance().getShop(id).sendShop(getClient());
}
public void changeJob(MapleJob job) {
getPlayer().changeJob(job);
}
public MapleJob getJob() {
return getPlayer().getJob();
}
public void startQuest(int id) {
MapleQuest.getInstance(id).start(getPlayer(), npc);
}
public void completeQuest(int id) {
MapleQuest.getInstance(id).complete(getPlayer(), npc);
}
public void forfeitQuest(int id) {
MapleQuest.getInstance(id).forfeit(getPlayer());
}
/**
* use getPlayer().getMeso() instead
* @return
*/
@Deprecated
public int getMeso() {
return getPlayer().getMeso();
}
public void gainMeso(int gain) {
getPlayer().gainMeso(gain, true, false, true);
}
public void gainExp(int gain) {
getPlayer().gainExp(gain, true, true);
}
public void setLevel(int level) {
getPlayer().setLevel(level);
getPlayer().updateSingleStat(MapleStat.LEVEL, Integer.valueOf(level));
}
public void setExp(int exp) {
getPlayer().updateSingleStat(MapleStat.EXP, Integer.valueOf(exp));
}
public int getNpc() {
return npc;
}
/**
* use getPlayer().getLevel() instead
* @return
*/
@Deprecated
public int getLevel() {
return getPlayer().getLevel();
}
public void unequipEverything() {
MapleInventory equipped = getChar().getInventory(MapleInventoryType.EQUIPPED);
MapleInventory equip = getChar().getInventory(MapleInventoryType.EQUIP);
List<Byte> ids = new LinkedList<Byte>();
for (IItem item : equipped.list()) {
ids.add(item.getPosition());
}
for (byte id : ids) {
MapleInventoryManipulator.unequip(getC(), id, equip.getNextFreeSlot());
}
}
public void teachSkill(int id, int level, int masterlevel) {
getPlayer().changeSkillLevel(SkillFactory.getSkill(id), level, masterlevel);
}
/**
* Use getPlayer() instead (for consistency with MapleClient)
* @return
*/
@Deprecated
public MapleCharacter getChar() {
return getPlayer();
}
public MapleClient getC() {
return getClient();
}
public void rechargeStars() {
MapleItemInformationProvider ii = MapleItemInformationProvider.getInstance();
IItem stars = getChar().getInventory(MapleInventoryType.USE).getItem((byte) 1);
if (ii.isThrowingStar(stars.getItemId())) {
stars.setQuantity(ii.getSlotMax(stars.getItemId()));
getC().getSession().write(MaplePacketCreator.updateInventorySlot(MapleInventoryType.USE, (Item) stars));
}
}
public EventManager getEventManager(String event) {
return getClient().getChannelServer().getEventSM().getEventManager(event);
}
public void updateJQ() {
getPlayer().updateJQ();
}
public boolean grabJQ () {
return getPlayer().grabJQ();
}
public void showEffect(String effect) {
getPlayer().getMap().broadcastMessage(MaplePacketCreator.showEffect(effect));
}
public void playSound(String sound) {
getClient().getPlayer().getMap().broadcastMessage(MaplePacketCreator.playSound(sound));
}
public void setHair(int hair) {
getPlayer().setHair(hair);
getPlayer().updateSingleStat(MapleStat.HAIR, hair);
getPlayer().equipChanged();
}
public void setFace(int face) {
getPlayer().setFace(face);
getPlayer().updateSingleStat(MapleStat.FACE, face);
getPlayer().equipChanged();
}
public void setFame(int fame) {
getPlayer().setFame(fame);
getPlayer().updateSingleStat(MapleStat.FAME, Integer.valueOf(fame));
}
public void gainFame(int fame) {
getPlayer().gainFame(fame);
}
public void setSkin(int color) {
getPlayer().setSkinColor(getPlayer().getSkinColor().getById(color));
getPlayer().updateSingleStat(MapleStat.SKIN, color);
getPlayer().equipChanged();
}
@Override
public String toString() {
return "Conversation with NPC: " + npc;
}
}
or
http://www.mediafire.com/?az0pxwfxa3j
replace in \src\net\sf\odinms\scripting\npc
and compile...
since ur helpful to other players i might as well be the same towards u ^_^ ..
edit: o ya btw theres a bad thing about this rebirth npc...they dont remove ur current skills from keyboard..players reborning can abuse the previous job skills lol
nice.... =]
Rebirth NPC Script:
Sorry the one i Posted was incorrect. It wouldnt set your exp back. But its all fixed now.Code:/*
@ Author : Snow
@
@ NPC = NAME
@ Map = MAP
@ NPC MapId = MAPID
@ Function = Rebirth Player
@
*/
var status = 0;
function start() {
status = -1;
action(1, 0, 0);
}
function action(mode, type, selection) {
if (mode == -1) {//ExitChat
cm.dispose();
}else if (mode == 0){//No
cm.sendOk("Ok, talk to me when your sure you want to #bRebirth#k.");
cm.dispose();
}else{ //Regular Talk
if (mode == 1)
status++;
else
status--;
if (status == 0) {
cm.sendYesNo("Welcome, great hero. You have been through a long and challenging road, and you have become immensely strong. If you bring me a Maple Coin,I can use my magic to increase your power even further, and surpass your limits! You will become a level 1 Beginner again, but you will keep your stats the same and all the Skill in you Hot Keys. Do you wish to be reborn?" );
}else if (status == 1) {
if(cm.getChar().getLevel() < 199){
cm.sendOk("Sorry, You have to be level 199 to rebirth.");
cm.dispose();
}else if (cm.haveItem(4001129) == false){
cm.sendOk("You did not bring me my Pocky D:");
cm.dispose();
}else{
cm.sendOk("#bGood-Job#k, you have qualified for a #eRebirth#n.");
}
}else if (status == 2) {
cm.getChar().setLevel(2);
cm.setExp(12)
cm.changeJob(net.sf.odinms.client.MapleJob.BEGINNER);
cm.gainItem(4001129,-1);
cm.setExp(12)
cm.sendNext("Enjoy your rebirth!(Note: You will have to Change Channels For the Full Effect to Take Place.");
cm.dispose();
}
}
}
It's 2.57pm