pickupitems.txt and drop command not working
Nobody has claimed this yet.
- Dominant language
- Perl
- Stars
- 1.5k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Openkore version git
version git:63d265c_2025-02-10 ctime:2025_03_11
XKore Mode
Empty, XKore 0
RO Server Name
euRO prime
Link to RO server
Result
In pickupitems.txt, my config is Wolf Claw -1 and Red Herb -1. The console shows the log "Auto-dropping item", but the item doesn't drop.
I created an automacro to do the same thing, but the drop command doesn't work either.
My macro:
automacro leaveItem {
inventory "Wolf Claw" >= 20
timeout 10
call {
log "Dropando item..."
$sItemName = Wolf Claw
$gItem = @inventory($sItemName)
log "O id é: $gItem"
do drop $gItem 1
log "DROPEI"
}
}
The output is working, but the line do drop $gItem 1 doesn't work.
Another try:
Relevant Log Output
Expected Result
The item should be dropped.
How to Reproduce
Use the same configuration or command that I mentioned.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue using pickupitems.txt with the Wolf Claw and Red Herb entries, then try the automacro's drop command. Trace the drop command handling from the command entry point and compare it with the automatic pickup-item drop path; done means both configurations successfully remove the item from inventory.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- perl
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100