OpenKore / OpenKore/openkore

pickupitems.txt and drop command not working

Open
#3,972 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
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

https://eu.4game.com/roprime/

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.

Image

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.

Image
Image

Another try:

Image

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.