Kong VBS AutoRater
-migrated-
Re: [Sticky] Kong VBS AutoRater Posted on: 02/05/2010 6:48pm
Quote Post
System Bot
Yes, when you launch it downloads the contents of http://www.kongregate.com/games?sort=newest to newgames.txt. It then parses the file for html links with "play now". It takes the link and looks in "alreadyrated.txt" to see if it has already visited the game. If it hasn't, it navigates ie to it and checks to see if you have already rated it. If not, it rates and logs the game url to alreadyrated.txt. Once all of the games have been vistited in newgames.txt it re-d/ls a new list of games to newgames.txt from http://www.kongregate.com/games?pdis=qj ... st&srid=15 and repeats. Next time from http://www.kongregate.com/games?pdis=qj ... st&srid=30 and repeats. And so on. Will repeat until max rating is reached.

You can view the source in notepad and read exactly what it is doing.

This post was imported from an account that no longer exists!
Previous Name: Anonymous
Re: [Sticky] Kong VBS AutoRater Posted on: 02/05/2010 8:00pm
Quote Post
Sorry praetor but this isnt working for me. It goes and loads the pages and everything but it doesnt rate any games. Is there anything i need to be sure i do to make it work right?
Re: [Sticky] Kong VBS AutoRater Posted on: 02/05/2010 9:21pm
Quote Post
I get the "Max rating reached", even though there's only 2 games in the "alreadyrated" file.

So what's wrong?
Re: [Sticky] Kong VBS AutoRater Posted on: 02/05/2010 11:15pm
Quote Post
System Bot
I have been running it every day for a week and haven't seen this yet. I picked arbitrary timers that work well for my computer and Internet speed. It rates the game and then waits 2 seconds. If the rating did not register it stops rating (thinking that Kong rejected the rating due to max rating reached). If the click to rate is still trying to register, you may need to increase this timer.

Try to increase this line to 5000 and see if it still happens.

Wscript.Sleep 2000 <- this one

If IE.Document.getElementByID("below_game_star_ratings_block").childNodes.item(0).childNodes.item(0).firstchild.nodeValue = "Currently 0.0/5 Stars." Then
MsgBox "Max Rating Reached"
Wscript.Quit
End If

This post was imported from an account that no longer exists!
Previous Name: Anonymous
Re: [Sticky] Kong VBS AutoRater Posted on: 02/06/2010 9:49am
Quote Post
Quote from: "praetor"
I have been running it every day for a week and haven't seen this yet. I picked arbitrary timers that work well for my computer and Internet speed. It rates the game and then waits 2 seconds. If the rating did not register it stops rating (thinking that Kong rejected the rating due to max rating reached). If the click to rate is still trying to register, you may need to increase this timer.

Try to increase this line to 5000 and see if it still happens.

Wscript.Sleep 2000 <- this one

If IE.Document.getElementByID("below_game_star_ratings_block").childNodes.item(0).childNodes.item(0).firstchild.nodeValue = "Currently 0.0/5 Stars." Then
MsgBox "Max Rating Reached"
Wscript.Quit
End If



Where should I find the "Wscript.Sleep 2000" code?
It's not in the newgames note....
Re: [Sticky] Kong VBS AutoRater Posted on: 02/06/2010 3:42pm
Quote Post
For me, the games that I have already rated are not being registered under the "alreadyrated" text document and tends to revisit those games occasionally. How can I fix this?
Re: [Sticky] Kong VBS AutoRater Posted on: 02/06/2010 4:30pm
Quote Post
System Bot
Quote from: "lol xD"
Where should I find the "Wscript.Sleep 2000" code?
It's not in the newgames note....

Open the vbs with notepad


Quote from: "LoneWolfX2"
For me, the games that I have already rated are not being registered under the "alreadyrated" text document and tends to revisit those games occasionally. How can I fix this?

If YOU have rated the games, it still needs to visit the page. It is not magic. It should make note of the game url once it visits it and not re-visit it.

This post was imported from an account that no longer exists!
Previous Name: Anonymous
Re: [Sticky] Kong VBS AutoRater Posted on: 02/07/2010 1:18am
Quote Post
PERFECT!!! works great for me (broken image removed) easy way to rate without having to go through 50 games myself! easy 50 points everyday (broken image removed)
Re: [Sticky] Kong VBS AutoRater Posted on: 02/07/2010 1:32pm
Quote Post
It won't work for me :/
It's probably because of my shity IE (it's IE8 tough, but it sucks)...
Re: [Sticky] Kong VBS AutoRater Posted on: 02/07/2010 7:48pm
Quote Post
Awesome, finally decided to try it. It works perfectly with TheWorld (3.0). For some reason, it uses TheWorld instead of IE8, though. Oh well. Works for me.
Edit: Well that's not good. It rates in condescending order from newest to oldest. It's similar to the old rater that got Kong to limit rates per day (It's in reverse.) Are you sure it's safe to be doing it like this?
Re: [Sticky] Kong VBS AutoRater Posted on: 02/07/2010 10:02pm
Quote Post
Is there a way to keep IE logged into Kong? I left it for a day on the task scheduler, and it logged in, but Kong didn't stay logged in. Is there a way to keep Kong logged in or to automatically login (perhaps putting a field in the vbs with the username and password?)





Tookie

Re: [Sticky] Kong VBS AutoRater Posted on: 02/07/2010 11:45pm
Quote Post
System Bot
Quote from: "tookie"
Is there a way to keep IE logged into Kong? I left it for a day on the task scheduler, and it logged in, but Kong didn't stay logged in. Is there a way to keep Kong logged in or to automatically login (perhaps putting a field in the vbs with the username and password?)


Check out v1.2. You have to edit it with your user/pass, but it will login to Kong for you.

This post was imported from an account that no longer exists!
Previous Name: Anonymous
Re: [Sticky] Kong VBS AutoRater Posted on: 02/08/2010 8:53am
Quote Post
Checked~. Though I won't run it now for the risk of being caught (The first few hours of a monday are really good times to find hackers, especially this idiot who decided to get 120 points in some 20 minutes.)
I can tell those anal retentive people that this program wont "Try to steal your username and password or make your microwave explode or crash your stock or anything that it isn't supposed to do". Anyone who can read English should be able to tell that there is no code that links said username/pass to anything except Kong.
By the way, for those other strange people, don't remove the quotation marks surrounding your username and password. It's supposed to be "ExampleName" and "ExamplePass", else it won't work.
Re: [Sticky] Kong VBS AutoRater Posted on: 02/08/2010 5:23pm
Quote Post
If you're having problems with the page not opening for any reason when this program is loaded up, then go to task manager (ctrl-shift-esc) and end the process (or processes) wscript.exe as this is the one that the vbscript uses. Close that down and try again (broken image removed)





Tookie

Re: [Sticky] Kong VBS AutoRater Posted on: 04/28/2010 8:21am
Quote Post
I've failed to get this working with IE8 on XP SP3- it appears to work, goes to all the pages, waits, but there's no auto rating happening on the pages, I've tried changing the timings as advised, but it still fails to work. Works a treat with Vista though.





Tookie