SRL Archive - SRL Bugs

SRL Bank


t4q

2013-01-19 09:11:21

I have a problem with core/bank.simba depositing feature.
If i use
Deposit(3, 28, True);
It fails to deposit item to bank if theres only one of that item.
Example: I have one iron bar in the 5th inventory slot it fails to deposit it.

Gucci

2013-01-19 11:31:40

Doesn't that go Deposit (Row, Column, Amount); ?

The Killer

2013-01-19 13:58:56

From: Gucci
Doesn't that go Deposit (Row, Column, Amount); ?


Yes, Amount is a variant which can be a boolean. Try force updating srl?

tehq

2013-01-19 14:22:58

(*
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

i luffs yeww

2013-01-19 15:03:45

From: tehq
(*
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.

t4q

2013-01-19 16:31:47

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.

i luffs yeww

2013-01-19 17:03:30

You can make the function you need yourself. It's pretty simple.