Page 1 of 1

Insert Item in Player's Inventory

Posted: 07 Oct 2018, 13:56
by SpawN
Can it be possible to increase the number of items sent to the player at a time? For example, up to 1000.It is not very convenient to repeat the same action when a character needs to be given 1000 or more items.

Re: Insert Item in Player's Inventory

Posted: 07 Oct 2018, 18:10
by Stealthinger
Please use server console for give more than 100 items.
This helpful command for little management inventory items.

Code: Select all

ch_3.player.inventoryAddItem(…);
Will be used in RCON menu (Execute command)

Re: Insert Item in Player's Inventory

Posted: 07 Oct 2018, 18:35
by Stealthinger
ch_[CharID].player.inventoryAddItem([ObjectTypeID], [Quantity], [Quality], [Durability], [Created Durability]);

Example:

Code: Select all

ch_3.player.inventoryAddItem(256,28,50,5000,5000);
Give to Character with ID=3 Item with ID=256 (Charocoal) Quantity 28 Quality 50 Durability 5000 Created Durability 5000

Re: Insert Item in Player's Inventory

Posted: 08 Oct 2018, 10:53
by 8blocks
you can use the console to do each and every RCON function, but isn't the purpose of the UI to avoid complicated console commands..?

Re: Insert Item in Player's Inventory

Posted: 08 Oct 2018, 15:50
by Nyuton
I noted this for the next update. However, will most likely have to replace the slider with something else then, cause you can't really select a quantity precisely in steps of one with a giant range of 1 - 1000 on a few-hundred-pixel wide slider.