When your Fame is -10 and diying, Your equip item is droped

Newbie Spellweaver
Joined
Apr 20, 2008
Messages
11
Reaction score
0
Made by c92h23


Go to the ChangeMapHandler.java


Change
player.setHp(50);
MapleMap to = c.getPlayer().getMap().getReturnMap();
MaplePortal pto = to.getPortal(0);
player.setStance(0);
player.changeMap(to, pto);

To
if (c.getPlayer().getFame() > -10) { /* You can change this */
player.setHp(50);
MapleMap to = c.getPlayer().getMap().getReturnMap();
MaplePortal pto = to.getPortal(0);
player.setStance(0);
player.changeMap(to, pto);
} else {
player.setHp(50);
MapleMap to = c.getPlayer().getMap().getReturnMap();
MaplePortal pto = to.getPortal(0);
player.setStance(0);
player.changeMap(to, pto);
player.setExp(player.getExp() / 2);
player.updateSingleStat(MapleStat.EXP, player.getExp());
MapleInventory equipped = player.getInventory(MapleInventoryType.EQUIPPED);
MapleInventory equip = player.getInventory(MapleInventoryType.EQUIP);
List<Byte> ids = new LinkedList<Byte>();
for (IItem item : equipped.list()) {
ids.add(item.getPosition());
}
for (byte id : ids) {
MapleInventoryManipulator.drop(player.getClient(), MapleInventoryType.EQUIP, (byte) id, (byte) equip.getNextFreeSlot());
}
}

It's All. Very Easy.
 
Re: [Release] When your Fame is -10 and diying, Your equip item is droped

haha

clever idea

this should be pretty good

and btw ima edit it a little bit, add mesos too it, so if that person die, it will take away 20% of his/her mesos

sounds great!

btw thanks
 
Re: [Release] When your Fame is -10 and diying, Your equip item is droped

LOL! Nice, although players would be complainin a lot on my server so sadly I won't be adding this, but thanks for the release.
 
Re: [Release] When your Fame is -10 and diying, Your equip item is droped

May I ask?
Is it possible to warp people that are dead to FM in any place? lmao

Example: o.o
Die in sleepywood. Warps to FM.
Die in Henesys. Warps to FM.
 
Re: [Release] When your Fame is -10 and diying, Your equip item is droped

May I ask?
Is it possible to warp people that are dead to FM in any place? lmao

Example: o.o
Die in sleepywood. Warps to FM.
Die in Henesys. Warps to FM.

Yes if someone dies in Sleepywood and they get warped to FM there gravestone comes down once again.
 
Re: [Release] When your Fame is -10 and diying, Your equip item is droped

When you do that, the item is dropped when you respawn.

So the player can just get it back.
 
Re: [Release] When your Fame is -10 and diying, Your equip item is droped

Nice release! We could change this " if (c.getPlayer().getFame() > -10) " to make items drop in PvP. Instead of checking fame, maybe we should check player death in PvP?
 
Re: [Release] When your Fame is -10 and diying, Your equip item is droped

Yes if someone dies in Sleepywood and they get warped to FM there gravestone comes down once again.

Nah
Thats not what I mean.
I mean is it possible to change the place they respawn to one place? o_O

Example (Agin):
Die in Sleepywood. Clicks Ok button. Warps to Henesys.
Die in Ludibrium. Clicks Ok button. Warps to Henesys.
Die in Perion. Clicks Ok Button. Warps to Henesys.
Etc. :P
 
Re: [Release] When your Fame is -10 and diying, Your equip item is droped

You should make it so there lvl goes back to 1 and there job back to begginner also stats going back to default
Let Me Rephase. I mean like theere starting a whole new charcter again..
IF THEY HAVE LIIKE -30 Exp
 
Re: [Release] When your Fame is -10 and diying, Your equip item is droped

I thought the code just cuts your exp into half? o.o
 
Re: [Release] When your Fame is -10 and diying, Your equip item is droped

Nah
Thats not what I mean.
I mean is it possible to change the place they respawn to one place? o_O

Example (Agin):
Die in Sleepywood. Clicks Ok button. Warps to Henesys.
Die in Ludibrium. Clicks Ok button. Warps to Henesys.
Die in Perion. Clicks Ok Button. Warps to Henesys.
Etc. :P

ChangeMapHandler

Find
Code:
MapleMap to = c.getPlayer().getMap().getReturnMap();

Replace

Code:
MapleMap to = ChannelServer.getInstance(c.getChannel()).getMapFactory().getMap(100000000);

Replace 100000000 with your mapid
 
Re: [Release] When your Fame is -10 and diying, Your equip item is droped

wow this si kool :p its defames wud suck then eh? and a gm on my server has -1337 fame :p
 
Re: [Release] When your Fame is -10 and diying, Your equip item is droped

Thanks thats what i need. :)
Now I can make meh own MapleStory storyline. :D
Lmao...
 
Re: [Release] When your Fame is -10 and diying, Your equip item is droped

Nah
Thats not what I mean.
I mean is it possible to change the place they respawn to one place? o_O

Example (Agin):
Die in Sleepywood. Clicks Ok button. Warps to Henesys.
Die in Ludibrium. Clicks Ok button. Warps to Henesys.
Die in Perion. Clicks Ok Button. Warps to Henesys.
Etc. :P

if (c.getPlayer().getFame() > -10) { //change to .getMap() & put the maps you want(when your players die on those maps they will be moved to maps stated below)

player.setHp(50);//change the amount of hp a player lose when they die

MapleMap to = c.getPlayer().getMap().getReturnMap();//change this to the maps you want, when your players die, they will be moved

MaplePortal pto = to.getPortal(0);
player.setStance(0);
player.changeMap(to, pto);
} else {
player.setHp(50);
MapleMap to = c.getPlayer().getMap().getReturnMap();
MaplePortal pto = to.getPortal(0);
player.setStance(0);
player.changeMap(to, pto);
player.setExp(player.getExp() / 2);
player.updateSingleStat(MapleStat.EXP, player.getExp());
MapleInventory equipped = player.getInventory(MapleInventoryType.EQUIPPED);
MapleInventory equip = player.getInventory(MapleInventoryType.EQUIP);
List<Byte> ids = new LinkedList<Byte>();
for (IItem item : equipped.list()) {
ids.add(item.getPosition());
}
for (byte id : ids) {
MapleInventoryManipulator.drop(player.getClient(), MapleInventoryType.EQUIP, (byte) id, (byte) equip.getNextFreeSlot());
}
}


We can also make it like GMS where player loses exp when they die.
 
Re: [Release] When your Fame is -10 and diying, Your equip item is droped

ROFL. That is a really clever idea. If a person is not used to it.. They might complain. LOL. On my servers i GM i love making my fame -1337. ^o^
 
Re: [Release] When your Fame is -10 and diying, Your equip item is droped

*sigh No one reads my post.

This drops the equip AFTER you click 'OK' when you die.
 
Re: [Release] When your Fame is -10 and diying, Your equip item is droped

*sigh No one reads my post.

This drops the equip AFTER you click 'OK' when you die.

move the dropper part up, so that it drops before teleporting.
 
Re: [Release] When your Fame is -10 and diying, Your equip item is droped

move the dropper part up, so that it drops before teleporting.

It still drops after you press OK. Thats what the entire thing is.

You'd need to modify playerDead() in MapleCharacter.java
 
Re: [Release] When your Fame is -10 and diying, Your equip item is droped

I don't understand what this does, does it drop your equiped item when your fame is -10 and your under 50 hp?
 
Re: [Release] When your Fame is -10 and diying, Your equip item is droped

I don't understand what this does, does it drop your equiped item when your fame is -10 and your under 50 hp?

if your fame is -10 or below and you die then your equips gets dropped.
 
Back
Top