Some simple changes to the server that will allow items to be dropped when trashing them from the inventory. This changes the event that trashes items so that it first drops the items onto the ground and then removes them from the players inventory as normal. While its not as good as restoring the trade functions for all items, its a much quicker and easier change that can be made to allow the exchange of any item.
Notes
Download: View attachment add_item_drops_2100.zip - This contains all of the java files that have been modified.
Unzip the folder into the folder named "odore" (or whatever the equivalent is for the top level), the folder should look like:
It should overwrite 2 files, CMDeleteItem.java and DeadBody.java. If you prefer not to overwrite your existing files, see the diffs below and apply the changes individually.
The changes to CMDeleteItem.java can be found below:
The changes to DeadBody.java can be found below:
You must be registered to see links
You must be registered to see links
Notes
- The name of the items container on the ground is the name of the original owners class. Probably should be something else or not there.
- There's a built-in 5 second delay between dropping it and when its available to be picked up by other players. Change the 5000 to something else if you'd like a different time delay or no time delay.
Download: View attachment add_item_drops_2100.zip - This contains all of the java files that have been modified.
Unzip the folder into the folder named "odore" (or whatever the equivalent is for the top level), the folder should look like:
You must be registered to see links
It should overwrite 2 files, CMDeleteItem.java and DeadBody.java. If you prefer not to overwrite your existing files, see the diffs below and apply the changes individually.
The changes to CMDeleteItem.java can be found below:
You must be registered to see links
The changes to DeadBody.java can be found below:
You must be registered to see links
You must be registered to see links
Attachments
You must be registered for see attachments list