I have a problem with core/bank.simba depositing feature.
If i use
It fails to deposit item to bank if theres only one of that item.Code:Deposit(3, 28, True);
Example: I have one iron bar in the 5th inventory slot it fails to deposit it.
I have a problem with core/bank.simba depositing feature.
If i use
It fails to deposit item to bank if theres only one of that item.Code:Deposit(3, 28, True);
Example: I have one iron bar in the 5th inventory slot it fails to deposit it.
Doesn't that go Deposit (Row, Column, Amount); ?
Current Project: Retired
Simba Code:(*
Deposit
~~~~~~~
.. code-block:: pascal
Procedure Deposit(SlotFrom, SlotTo: Integer; vType: Variant);
Deposits from Slot to ToSlot.
vType True = Deposit All. vType False = Deposit one by one.
Any integer is deposit with Deposit X. (except for 5 and 10)
.. note::
Author: WT-Fakawi/PPLSUQBAWLZ/Stupid3ooo/Town
Last Modified: Unknown
Example:
.. code-block:: pascal
Deposit(1, 28, True);
*)
If you only want to deposit one item, you'll have to set the variant to false
This isn't correct. Setting vType to True will click on the "Deposit Bag" or whatever if you do Deposit(1, 28, True);, but if SlotFrom and SlotTo aren't 1 and 28, respectively, it will go through SlotFrom to SlotTo, right clicking and selecting the Deposit-All option for that item. Otherwise, it will do Deposit-X, and deposit the integer value of vType.
I remember that it worked for me that way... Like if i had one iron bar in 3rd slot and from 4th to 28th had iron ores, it banked my items but now it doesn't.
If i set it False then it deposits all stuff one by one which is pretty stupid.
You can make the function you need yourself. It's pretty simple.
There are currently 1 users browsing this thread. (0 members and 1 guests)