Hey Guys So i Started To make a script to drop items (Fish) at Barbarian fishing spot.
how i can make it right click the fish?
i've tried this:
HoldMouse(x, y, 1)i've tried changing the numbers but it dosnt drop
any ideas?
Note im still a noob![]()
Hey Guys So i Started To make a script to drop items (Fish) at Barbarian fishing spot.
how i can make it right click the fish?
i've tried this:
HoldMouse(x, y, 1)i've tried changing the numbers but it dosnt drop
any ideas?
Note im still a noob![]()
You could use the good ole InvMouse. Just have it move to every inventory slot other than where your bait is located, right click, and select drop. Probably the easiest way to go unless you are going to take the time to learn DTMs and other techniques right now.
Simba Code:(*
InvMouse
~~~~~~~~
.. code-block:: pascal
function InvMouse(InvSlot, Action: Byte) : boolean;
A combined MouseItem & MMouseItem, will hopefully replace both
procedures one day. Usage is like SRL's MouseBox, Action determines what to do:
- 1: Leftclick
- 2: Rightclick
- 3: Move mouse to item
.. note::
by EvilChicken!
Example:
.. code-block:: pascal
if InvMouse(1, rightClick) then
WaitOption('eposit', 500);
*)
- My Scripts (Beginning to Update to SRL 6) -
There are already 6 SRL functions for droping ,look into inventory.simba
Tuts: Run script from another script || [Lape] Exceeding limits of VariantInvoke()
Plugins: Fast multi-layer objects finding || Multithreading in tabs|| Optimised motion detection || ETL - paint on any window||Magic Keyboard (Simba's DirectX input + input in background to any normal window)
Snippets: [RS] Ultimate Loot Grabber || ShowPalette() || APPA JS Interface
Say you want to Drop the First Inventory slot you would do
InvSlotx Would be a number between 1 and 28, depending on witch slot you want to drop.Simba Code:Procedure DropInvSlot(InvSlotx: Integer);
begin
InvMouse(InvSlotx, RIGHT_MOUSE);
WaitOption('rop', 300);
end;
It could be as simple as that.
Add that procedure into your script and use it like
WellahSimba Code:DropInvSlot(InPutInvSlotHere);![]()
Simply a GOD beast...
My Tutorials
There are currently 1 users browsing this thread. (0 members and 1 guests)