Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

@storage

Custom Title Activated
Loyal Member
Joined
Apr 29, 2008
Messages
1,297
Reaction score
509
This is a simple release.
I bet you could figure out what it does.
Lol.

Add this to your CommandProcessor.java
Code:
                        } else if (splitted[0].equals("@storage")) {
                                c.getPlayer().getStorage().sendStorage(c, 2080005);

And this to the imports if you dont have

Code:
import net.sf.odinms.server.MapleStorage;
 
Experienced Elementalist
Joined
Apr 3, 2008
Messages
262
Reaction score
0
Re: [Release]@storage

nice rofl stops me from walking ty
 
Newbie Spellweaver
Joined
Feb 10, 2008
Messages
28
Reaction score
0
Re: [Release]@storage

This is a simple release.
I bet you could figure out what it does.
Lol.

Add this to your CommandProcessor.java
Code:
                        } else if (splitted[0].equals("@storage")) {
                                c.getPlayer().getStorage().sendStorage(c, 2080005);

And this to the imports if you dont have

Code:
import net.sf.odinms.server.MapleStorage;


is this code for everyone, or just GM's?
 
Newbie Spellweaver
Joined
Jan 8, 2007
Messages
41
Reaction score
0
Re: [Release]@storage

Nice release. Probably will help servers that start off with 48 Storage Slots :)
60th post....

~Brad
 
Newbie Spellweaver
Joined
May 29, 2008
Messages
39
Reaction score
0
Re: [Release]@storage

max storage slot are 48???
nice release^^
 
Custom Title Activated
Loyal Member
Joined
Apr 29, 2008
Messages
1,297
Reaction score
509
Re: [Release]@storage

@ commands are for players
If you want it for gm's
Then change it to !storage
 
Junior Spellweaver
Joined
Jul 6, 2008
Messages
104
Reaction score
15
Re: [Release]@storage

Hmm, Sorry for the noob question but is it possible to maike an command to show an NPC Dialog? o_0

Im trying to find an way for it to do that so players can have easy access to certain NPCs.
 
Custom Title Activated
Loyal Member
Joined
Apr 29, 2008
Messages
1,297
Reaction score
509
Re: [Release]@storage

Haikou, i think i know what you mean
I have it in my server
Add me on msn
KillerCharizard@hotmail.com

And thanks for the comments =)
 
Legendary Battlemage
Loyal Member
Joined
Dec 7, 2007
Messages
622
Reaction score
11
Re: [Release]@storage

Thx Mate Will Be Useful =P
 
Newbie Spellweaver
Joined
Jun 1, 2008
Messages
83
Reaction score
0
Re: [Release]@storage

hey u know how to make @commands working in new command system? lol
 
Custom Title Activated
Loyal Member
Joined
Apr 29, 2008
Messages
1,297
Reaction score
509
Re: [Release]@storage

Yea i know..
I thought of Ragnarok when i made this XD
Lol
 
Master Summoner
Joined
May 31, 2008
Messages
524
Reaction score
1
Re: [Release]@storage

Did I put this right?
Code:
                          player.updateSingleStat(MapleStat.DEX, player.getDex());
                }
                    //LUCK
                }else if (splitted[0].equals("@luk")) {
                   int up;
                    up = Integer.parseInt(splitted[1]);
                    if ( player.getRemainingAp() < up ||  player.getRemainingAp() < 0 || player.getLuk() >= 31000 || up < 0) {
                        mc.dropMessage("Insufficient AP or above the 31000 limit");
                    } else if ( player.getRemainingAp() > 0) {
                          player.setLuk(player.getLuk() + up);
                             player.setRemainingAp(player.getRemainingAp() - up);
                           player.updateSingleStat(MapleStat.AVAILABLEAP, player.getRemainingAp());
                          player.updateSingleStat(MapleStat.LUK, player.getLuk());
                }
                        } else if (splitted[0].equals("@storage")) {
                                c.getPlayer().getStorage().sendStorage(c, 2080005);
                }
			 else if (splitted[0].equals("!clock")) {
				player.getMap().broadcastMessage(MaplePacketCreator.getClock(getOptionalIntArg(splitted, 1, 60)));

		}	else if (splitted[0].equals("@exp")) {
                             int expfix;
				expfix = c.getPlayer().getExp();
                               if (expfix < 0) {
                                      c.getPlayer().gainExp(-expfix, false, false);
				      player.updateSingleStat(MapleStat.EXP, player.getExp()); }
mc.dropMessage("You don't have negative exp.");
 
Custom Title Activated
Loyal Member
Joined
Apr 29, 2008
Messages
1,297
Reaction score
509
Re: [Release]@storage

Yea you did.
Why?
 
Mythic Archon
Loyal Member
Joined
Jul 23, 2008
Messages
796
Reaction score
56
Re: [Release]@storage

That's sad you know. Don't ask if you put it right. Yes, it is right
 
Master Summoner
Joined
May 31, 2008
Messages
524
Reaction score
1
Re: [Release]@storage

Well, I just wanted to check... I'm still learning the concepts about Java...
 
Back
Top