You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is reproducible without changes to the C++ code in this repository
Steps to reproduce (include any configuration/script required to reproduce)
Download/compile/run the latest version of TFS without performing any changes and create a God
Drop your backpack, put a helmet on and say /i dark helmet (or try to spawn any other item)
Expected behaviour
The item should drop to the ground when there is no space, note that without capacity this works properly
Actual behaviour
The item is not dropped on the map
Environment
Used Docker image provided in this repository
Reproduction environment
Simply use the Docker image provided in this repository
Notes
This is an issue with the player:addItem method. It doesn't matter if you pass dropOnMap as true which is the default anyways
Does work with insufficient cap
Commit I tested this on is 24508912
UPDATE: Temporary workaround
Comment these lines in iologindata.cpp
if (!player->inventory[CONST_SLOT_STORE_INBOX]) {
player->internalAddThing(CONST_SLOT_STORE_INBOX, Item::CreateItem(ITEM_STORE_INBOX));
}
If you have already created players you will need to delete item 26052 from all off them. Also, not sure if this might cause issues in modern clients, but yeah...
The text was updated successfully, but these errors were encountered:
Before creating an issue, please ensure:
support matter (use https://otland.net/forums/support.16/ for support)
Steps to reproduce (include any configuration/script required to reproduce)
/i dark helmet
(or try to spawn any other item)Expected behaviour
The item should drop to the ground when there is no space, note that without capacity this works properly
Actual behaviour
The item is not dropped on the map
Environment
Used Docker image provided in this repository
Reproduction environment
Simply use the Docker image provided in this repository
Notes
player:addItem
method. It doesn't matter if you passdropOnMap
astrue
which is the default anyways24508912
UPDATE: Temporary workaround
Comment these lines in
iologindata.cpp
If you have already created players you will need to delete item
26052
from all off them. Also, not sure if this might cause issues in modern clients, but yeah...The text was updated successfully, but these errors were encountered: