• Log in or sign up for an account here: https://www.sythe.org/login

SMRDll - Autoing Functions - BETA

Govind

The One Musketeer

Highly Respected
Mudkips
Retired Administrator
Joined
Apr 22, 2005
Sythe Gold
23
Messages
7,825
Le Monkey
PHP Shit Show 2k26
Potamus
Prove it!
Sythe Awards 2011 Winner
Tier 1 Prizebox
Tortoise Penis
Trole
UWotM8?
Wait, do you not have an Archer rank?
http://www.uploadyour.info/download.php?filename=smrdll18597.dll

Rename it to SMRDll.dll after downloading it and copy it to your \Microsoft Visual Studio\VB98\ folder (or wherever you store your VB6 projects.

This is the exports.def file:
Code:
EXPORTS
    RandSleep @1 
    ;Private Declare Sub RandSleep Lib "SMRDll.dll" (ByVal min as Long, ByVal max as Long)
    ;Sleeps for a random millisecond time between min and max
    SendKeysEx @2 
    ;Private Declare Sub SendKeysEx Lib "SMRDll.dll" (ByVal keys as String, ByVal times as Long, ByVal ms_wait as Long)
    ; Sends keys for the amount of times specified and sleeps for ms_wait milliseconds between each run
    Random @3 
    ;Private Declare Function Random (ByVal min as Long, ByVal max as Long) As Long 
    ;Returns a random Long between min and max
    CoinToss @4
    ;Private Declare Function CoinToss Lib "SMRDll.dll" () As Long
    ;Returns either 1 or 0 randomly
    FindColor @5 ;BETA FUNCTION - NOT GUARANTEED TO WORK 100%
    ;Private Declare Function FindColor Lib "SMRDLL.dll" (ByVal RGBColor as Long, ByVal screenheight as Long, ByVal screenwidth as Long) As Long
    ;Searches for the specified color within the specified screenheight/width.  A better working function will be included in a later release
    ;Returns 1 if the color is found and moves the mouse to the pixel where the color is first found, and returns 0 and does not move the mouse if the color is not found.

Please test this and tell me how it goes, and suggest improvements :)
 
Valentine's Singing Competition Winner
Sythe Awards 2015 Winner
Sythe Awards 2016 Winner
Sythe Awards 2020 Winner
Member of the Month Winner
MushyMuncher
Gohan has AIDS
Extreme Homosex
World War 3
I'm LAAAAAAAME
Discord Verified
Off Topic Participant
Mind posting how to actually use this in projects for noobs like Blupig?
 
Le Monkey
PHP Shit Show 2k26
Potamus
Prove it!
Sythe Awards 2011 Winner
Tier 1 Prizebox
Tortoise Penis
Trole
UWotM8?
Wait, do you not have an Archer rank?
Read the comments in the exports.def file - the function declaration and what they do is described there. If you don't know how to declare DLL functions then I can explain it further.
 
Valentine's Singing Competition Winner
Sythe Awards 2015 Winner
Sythe Awards 2016 Winner
Sythe Awards 2020 Winner
Member of the Month Winner
MushyMuncher
Gohan has AIDS
Extreme Homosex
World War 3
I'm LAAAAAAAME
Discord Verified
Off Topic Participant
Alright, got it...Kinda tired when I asked that ;3
 
Code:
 ;Private Declare Function FindColor Lib "SMRDLL.dll" (ByVal RGBColor as Long, ByVal screenheight as Long, ByVal screenwidth as Long) As Long
Just thought I'd mention you might want to rethink naming your first variable in this function. The reason for that being that a long color is in the "Hex" format and not in the "RGB" format which consists of 3 numbers corresponding to the amounts of Red, Green, and Blue respectively.

This has no effect on the function itself but I am pointing it out as it could easily cause confusion. Nice stuff anyway.:)
 
Le Monkey
PHP Shit Show 2k26
Potamus
Prove it!
Sythe Awards 2011 Winner
Tier 1 Prizebox
Tortoise Penis
Trole
UWotM8?
Wait, do you not have an Archer rank?
Thanks, I'll probably fix the naming conventions later.
 
Valentine's Singing Competition Winner
Sythe Awards 2015 Winner
Sythe Awards 2016 Winner
Sythe Awards 2020 Winner
Member of the Month Winner
MushyMuncher
Gohan has AIDS
Extreme Homosex
World War 3
I'm LAAAAAAAME
Discord Verified
Off Topic Participant
What functions are you expecting in newer versions (if you make them ;o)?
 
Le Monkey
PHP Shit Show 2k26
Potamus
Prove it!
Sythe Awards 2011 Winner
Tier 1 Prizebox
Tortoise Penis
Trole
UWotM8?
Wait, do you not have an Archer rank?
Whatever is suggested when I have time.
 
Runescape Gamblingrunescape gambling
Back
Top