Lay horse by saddle cloth number

Servants, just tap your bell to call them.
Post Reply
cjw
Posts: 6
Joined: Thu Aug 18, 2022 8:51 pm

i'd like to be able to press i.e Number pad 6 and it lays horse saddle cloth 6 at the best available price. 0r Press Number Pad 2 and it lays horse saddle 2 and so on.

it seems to fall over when say i.e horse saddle cloth 3 is scratched or I sort ladder order/one click in odds order.

Is this possible via rules editor or will i need VBA to sort this via a spreadsheet?

Thanks.

CJW
User avatar
Euler
Posts: 22943
Joined: Wed Nov 10, 2010 1:39 pm
Location: Bet Angel HQ

Use the keyboard shortcuts to trigger a servant.

This will mean you can assign a keystroke to pretty much any action.
cjw
Posts: 6
Joined: Thu Aug 18, 2022 8:51 pm

That part I have no problem with. What context option do I select i.e in the list of options there appears to be no select via saddle cloth number?

I have selected betfair order option and works perfectly if there is no scratching's or its not sorted in order of fav odds .. Then it becomes a raffle what horse is laying. I've also noticed that when its laying the wrong horse the servant light appears on the correct runner. which gives me hope i can do this with vba coding??

Can i upload one example ?
User avatar
jamesedwards
Posts: 1194
Joined: Wed Nov 21, 2018 6:16 pm

cjw wrote:
Mon Aug 29, 2022 7:54 pm
That part I have no problem with. What context option do I select i.e in the list of options there appears to be no select via saddle cloth number?

I have selected betfair order option and works perfectly if there is no scratching's or its not sorted in order of fav odds .. Then it becomes a raffle what horse is laying. I've also noticed that when its laying the wrong horse the servant light appears on the correct runner. which gives me hope i can do this with vba coding??

Can i upload one example ?
'Saddle cloth' is a stored value variable in Guardian under 'store a value as text'.
cjw
Posts: 6
Joined: Thu Aug 18, 2022 8:51 pm

Thanks James. That sounds promising can anyone give me some quick advice how I can draw on that to do what i need to do please?
User avatar
Dabbla
Posts: 537
Joined: Wed Apr 15, 2009 1:50 pm

Here’s the first one, you just need to copy this file and follow the sequence, Saddle 2 . Change the condition to 2 and so on. You would then add them to a hot key.
You would probably be best to make the (Saddle all) rule in to a guardian file and run it in guardian, otherwise it has to trigger every time and you don’t really need that.

The file will lay £2 at the reverse price, you will also need to change that.

31/08/2022 08:35:46: [AS 40] : Automation Servant ( (A) Saddle 1 ) Started
31/08/2022 08:35:46: [AS 40] : Store Text Value (Shared) for Naval College: SADDLE_ALL = 5
31/08/2022 08:35:46: [AS 40] : Store Text Value (Shared) for Lions Dream: SADDLE_ALL = 2
31/08/2022 08:35:46: [AS 40] : Store Text Value (Shared) for Treble Joy: SADDLE_ALL = 7
31/08/2022 08:35:46: [AS 40] : Store Text Value (Shared) for Star Legend: SADDLE_ALL = 6
31/08/2022 08:35:46: [AS 40] : Store Text Value (Shared) for Golden Glance: SADDLE_ALL = 9
31/08/2022 08:35:46: [AS 40] : Store Text Value (Shared) for Zulu Hours: SADDLE_ALL = 4
31/08/2022 08:35:46: [AS 40] : Store Text Value (Shared) for Wannabe Brave: SADDLE_ALL = 8
31/08/2022 08:35:46: [AS 40] : Store Text Value (Shared) for Storm Arcadio: SADDLE_ALL = 1
31/08/2022 08:35:46: [AS 40] : Store Text Value (Shared) for The Last Tango: SADDLE_ALL = 3
31/08/2022 08:35:46: [AS 40] : Automation Servant ( (A) Saddle 1 ) Stopped.
31/08/2022 08:35:46: [AS 40] : £ 2.00 Lay bet placed on Storm Arcadio at 150. Entirely unmatched when it initially reached the market. Ref: 279001149035
(A) Saddle 1.baf
You do not have the required permissions to view the files attached to this post.
cjw
Posts: 6
Joined: Thu Aug 18, 2022 8:51 pm

Cheers Dabla,

your a gentleman and ill try it out tonight

Thankyou
User avatar
megarain
Posts: 1842
Joined: Thu May 16, 2013 1:26 pm
Contact:

Be careful when u test the above.

I copied the exact file into guardian, and applying the rules file to a race, immediately sends a lay on horse number 1.

My understanding of how to access the saddle_cloth stored data is making my head hurt - both as a servant and in guardian.

I would suggest u test in practice or greatly amend the conditions while testing.

Good luck
cjw
Posts: 6
Joined: Thu Aug 18, 2022 8:51 pm

Thanks Dabla! works perfectly much appreciated
Post Reply

Return to “Bet Angel - Servants”