Jump to content
clydelion

[atcommand]Delete dropped items instantly

Recommended Posts

This modification works like Dark-RO's @garbage. When a character is in this state, all items he'll drop gets deleted instantly.

I have provided 2 downloads, for rAthena and 3CeAM based servers.

rAthena: dropautodelete.diff

3CeAM: dropautodelete_3ceam.diff

  • MVP 1

Share this post


Link to post
Share on other sites

does this notify you before dropping some important items (eg. cards, rare items)?

if you mistakenly drop your for ex. thanatos card then it's gone and can't get it back anymore (the command must notify you if dropping items like these even for once)

Share this post


Link to post
Share on other sites

you can edit your item on item_trade 1: Item can't be drop

Share this post


Link to post
Share on other sites

recompile error

c:\documents and settings\digit\desktop\rathena-svn 16357\src\map\atcommand.c(8619): error C2039: 'dropautodelete' : is not a member of '<unnamed-tag>'
	  c:\documents and settings\digit\desktop\rathena-svn 16357\src\map\pc.h(102) : see declaration of '<unnamed-tag>'
c:\documents and settings\digit\desktop\rathena-svn 16357\src\map\atcommand.c(8619): error C2039: 'dropautodelete' : is not a member of '<unnamed-tag>'
	  c:\documents and settings\digit\desktop\rathena-svn 16357\src\map\pc.h(102) : see declaration of '<unnamed-tag>'
c:\documents and settings\digit\desktop\rathena-svn 16357\src\map\atcommand.c(8621): error C2039: 'dropautodelete' : is not a member of '<unnamed-tag>'
	  c:\documents and settings\digit\desktop\rathena-svn 16357\src\map\pc.h(102) : see declaration of '<unnamed-tag>'
 battle.c

Share this post


Link to post
Share on other sites

You forgot to diff the pc.h part

Index: src/map/pc.h
===================================================================
--- src/map/pc.h (revision 16213)
+++ src/map/pc.h (working copy)
@@ -146,6 +146,7 @@
  struct guild *gmaster_flag;
  unsigned int prevend : 1;//used to flag wheather you've spent 40sp to open the vending or not.
  unsigned int warping : 1;//states whether you're in the middle of a warp processing
+  unsigned int dropautodelete  : 1; //autodelete dropped items. thus, nothing can be seen by you nor other players.
 } state;
 struct {
  unsigned char no_weapon_damage, no_magic_damage, no_misc_damage;

Share this post


Link to post
Share on other sites

there is a bug here. sometimes it happens. when your character is overwieght at 90% when you drop some item then you pickup it. the item is missing.

post-1381-0-78692600-1342260470_thumb.jpg

post-1381-0-16284800-1342260480_thumb.jpg

post-1381-0-08389000-1342260490_thumb.jpg

Share this post


Link to post
Share on other sites

Hmmm. I don't think your problem is connected to this mod. It didn't touch the pickup function, only drop. Maybe one of your mods?

Share this post


Link to post
Share on other sites

opps sorry.i forgot i modified the pickup functions. btw its working now.

Share this post


Link to post
Share on other sites

there is a. @cleanmap command

in the latest rathena svn.. :D

just like that.

Share this post


Link to post
Share on other sites

This is for players. To delete items with ease.

Share this post


Link to post
Share on other sites

@Clydelion, how about if you put restricted items to be dropped in this mod, no need to edit in item_trade.

Share this post


Link to post
Share on other sites

how can i set this to automatically by default the item will be automatically deleted. but when you use @dropautodelete the item drop will be back to normal?

Share this post


Link to post
Share on other sites

it work but has bugged once the command is active the dropped item would be deleted but after command is deactivated and try to drop again the item would be duplicated

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.