A preserved archive of the Logical Gamers community forums, 2009-2025. The original threads and posts, served read-only. Registration, posting and private messages are gone for good.

[Public Release] Recolor.me Bot + UserDataLookup

4.3k views · started by Kitsune ·
#1
[Public Release] Recolor.me Bot + UserDataLookup
Since the developers over at Recolor made the horrible decision of not capping polls i decided to make another Recolor bot.
Should generate more than 60 bits a minute.



1.0 Preview:

Download: https://mega.co.nz/#!548g0CaR!kq2byb50nOlm0p7Dd0WhCBQoGgcB0hynGGTJ7U5wRsc

Current Version: 1.2

***Changes in 1.2

+Added a poster bot, if the bot throws an error your account does not have posting access.
+Increased the speed of the poll bot by half a second. (Should now generate more than 60 bits a minute)
+Added runtime timer for poll bot.

More updates to come, will probably introduce error handling in the future.

User Data Lookup:
Preview:
Download: https://mega.co.nz/#!tkMWxAoR!_cMIQxSd7tzQYHEQG5DA5Za0LFmO4GYeXXXkAHuXatY
#2
Using this since I had an account and haven't logged in since the day I made it. Will be running 24/7, gonna post when I get my halo :p
#3
Looks pretty good. Purple GUI not really my cup of tea personally though, lol.

Also it's a tad redundant to have a feature in the bot that grabs IDs (even though it seems as though the ID is necessary to get data on the user).

Since the function is in your program that gets user IDs from a specified user, you could just make your program require the username then it could do the user ID conversion stuff in the background.

Good job on this, though.
#5
I wasn't really trying to go for a super appealing GUI, i was just bored with the standard shades of gray.
Although i do see what you mean lol.
Might update the GUI later.

@TU
Yeah i thought it's a bit redundant as well, but i personally like getting the data through user IDs. I just added the ID grabber for easier use if someone else wanted to use it. Overall though the User Data Lookup does need a little bit more work on it.


Thanks for the feedback guys!
If i get bored i'll probably update the GUIs in the future since they seem to be the biggest outstanding problem.
#6
Amenze wrote:
Using this since I had an account and haven't logged in since the day I made it. Will be running 24/7, gonna post when I get my halo :p


I will be doing the same.

Thanks Kitsune!
#7
It seems they switched everything to HTTPS so my bot no longer works, and if i try fixing it,it may be a while
That being said i've disabled the bot via server side, you should now get an invalid file error.
Also the user data lookup is now obsolete as well.
#8
Just use XML HTTP requests (supports HTTPS) or anything other HTTP library that supports SSL.
#9
its fixed yet?
#10
Gtgtgt213 wrote:
its fixed yet?

Nope but i have been looking into it though, with unintelligible's suggestion.
For right now though user scripts would probably be better, that or iMacros scripts to automate junk.
#11
I found this code through a quick google search (assuming you're using VB.NET):

Dim strResponse, xmlhttp, xmlDom, returnVal
Dim strMessage

Set xmlhttp = CreateObject("Microsoft.XMLHTTP")
xmlhttp.open "POST", "http://mysite.com?environmentId=Development", false

xmlhttp.SetRequestHeader "Content-Type", "application/x-www-form-urlencoded"
xmlhttp.SetRequestHeader "Accept", "image/gif, image/jpeg, image/pjpeg, image/pjpeg, application/x-shockwave-flash, */*"
xmlhttp.SetRequestHeader "Accept-Language", "en-us"
xmlhttp.SetRequestHeader "Accept-Encoding", "gzip, deflate"

'Send the request synchronously by converting the encoding the message to be sent
xmlhttp.send "message=" & escape(strMessage)

'If the state of the request is 4 then get the response and parse it
If xmlhttp.readyState = 4 Then
'Get the response and set it to a string
strResponse = xmlhttp.responseText

'Create DOM object reference and parse the xml string
Set xmlDom = CreateObject("Msxml2.DOMDocument")
xmlDom.loadxml(strResponse)
'Echo if any error while parsing
If xmlDom.parseerror.errorcode <> 0 Then
Wscript.echo "Reason for the error:" & xmlDom.parseerror.reason
Else
retVal = xmlDom.text
Wscript.echo "Reason for the error:" & retVal
End If
End If


Apparently that is a working example of an XMLHTTP request with VB. IMO, kind of sloppy code that may be missing a couple of things but gives you an idea of how to use XMLHTTP with Visual Basic.

Now here is an example from some code I personally wrote a long time ago that needed to interact with an HTTPS url (this is AutoIt):

Global $oWinHTTP = ObjCreate("Microsoft.XMLHTTP") ; Initialize XMLHTTP object

; Functions
Func _HTTPRequest(ByRef $oWinHTTP, $sMethod, $sURL, $sData = "", $sReferer = "http://google.com")
$oWinHTTP.Open($sMethod, $sURL, False)
$oWinHTTP.SetRequestHeader("User-Agent", "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5")
;$oWinHTTP.SetRequestHeader("Connection", "keep-alive")
$oWinHTTP.SetRequestHeader("Referer", $sReferer)
If $sMethod == "POST" Then $oWinHTTP.SetRequestHeader("Content-Type", "application/x-www-form-urlencoded")
$oWinHTTP.Send($sData)
Return $oWinHTTP.ResponseText
EndFunc


That's pretty much the foundation of how to make a web request using XMLHTTP.

Example in the context of code (logging into HTTPS url):

Func _Login($sUsername, $sPassword)
Local $sResponse

$sResponse = _HTTPRequest($oWinHTTP, "GET", "https://secure.xgenstudios.com/ballistick/payment.php?username=" & $sUsername & "&key="& _MD5($sPassword) & "&pass=1")

Return StringInStr($sResponse, 'Logged in as')
EndFunc


Really easy stuff. That's what makes AutoIt/VB great, because they're really simple languages.

Hope it helped.
#12
Holy crap, thanks for this!
I'll have to start messing with it when i have time.

EDIT:
So actually if i just change the encoding my HTTP Wrapper uses to UTF8 it changes it to XML requests... It works fine for HTTPS :D
Bot re-enabled via server side, bot should auto-update to version 1.3 on startup!
#13
I've actually only just joined the site, I may try this! Not much to lose if I get caught either way, and it'll kill my boredom. Thank you! <3

EDIT - It won't let me log in ;-;
#14
Louphoria wrote:
I've actually only just joined the site, I may try this! Not much to lose if I get caught either way, and it'll kill my boredom. Thank you! <3

EDIT - It won't let me log in ;-;

Logs in fine for me, ill message you.
#15
So the bot needs a bit of work, as some things on recolor have changed.
I might just recode the bot from scratch.
We'll see what i do later when i have time, as i am saying this i'm getting ready for work lol
#16
I loved using this bot I was shown while polls were unlimited!

Do you have any plans to write up auto Quads players, since the "Daily item" is unlimited now, so you can earn all the mini game prizes through that?
or possibly the alternative which is just the "Minigame challenge" which is just random generated minigames that have to be solved?

These are just ideas I'm throwing out there, and I have a gutt feeling they'd actually be rather difficult to write up.
#17
When I open the file, it goes through "Checking File" I get an error every time.
#18
how do you play this game?