Jump to content

[atcommand]Delete dropped items instantly


clydelion

Recommended Posts


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  754
  • Reputation:   186
  • Joined:  05/22/12
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  326
  • Reputation:   47
  • Joined:  04/01/12
  • Last Seen:  

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)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  120
  • Topics Per Day:  0.03
  • Content Count:  295
  • Reputation:   6
  • Joined:  12/02/11
  • Last Seen:  

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

Link to comment
Share on other sites

  • 4 weeks later...

  • Group:  Members
  • Topic Count:  152
  • Topics Per Day:  0.03
  • Content Count:  569
  • Reputation:   11
  • Joined:  11/24/11
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  754
  • Reputation:   186
  • Joined:  05/22/12
  • Last Seen:  

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;

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  754
  • Reputation:   186
  • Joined:  05/22/12
  • Last Seen:  

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?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  68
  • Topics Per Day:  0.02
  • Content Count:  436
  • Reputation:   31
  • Joined:  02/19/12
  • Last Seen:  

there is a. @cleanmap command

in the latest rathena svn.. :D

just like that.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  754
  • Reputation:   186
  • Joined:  05/22/12
  • Last Seen:  

This is for players. To delete items with ease.

Link to comment
Share on other sites

  • 2 months later...

  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.03
  • Content Count:  647
  • Reputation:   16
  • Joined:  11/21/11
  • Last Seen:  

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

Link to comment
Share on other sites

  • 3 months later...

  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

how do i install at 3ecam ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  754
  • Reputation:   186
  • Joined:  05/22/12
  • Last Seen:  

Diff it manually. /hmm

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

i try to install with torquiose but its cannot :(

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  754
  • Reputation:   186
  • Joined:  05/22/12
  • Last Seen:  

That's why I said manually diff it. Or try this diff

dropautodelete_3ceam.diff

Link to comment
Share on other sites

  • 2 months later...

  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

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?

Link to comment
Share on other sites

  • 7 years later...

  • Group:  Members
  • Topic Count:  123
  • Topics Per Day:  0.05
  • Content Count:  478
  • Reputation:   14
  • Joined:  11/30/17
  • Last Seen:  

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

Link to comment
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...