Used the script to make this train, and it worked great. Thanks for putting this together!
Comment has been collapsed.
Thanks for the nifty script. Instead of "Anotha One," I renamed that button as "MOAR" I also edited the description to read
Reverse Auto-Trainer??!!
Make da whoooole train in reverse order, automagically :D
Comment has been collapsed.
You mean instead of invite only to be whitelist/group only?
Yes, you should be able to. I will look into adding that xP
For now, follow these instructions:
Change this line
$("div[data-checkbox-value='invite_only']").trigger("click");
to this
$("div[data-checkbox-value='groups']").trigger("click");
Then get the group ID by mousing over the checkbox next to the group name, Right Click, Inspect Element (On chrome at least). You should see something that looks like this
<div data-group-id="485124627" class="formgroup formgroup--steam">
Copy that group ID then add this line after the one you changed before
$("div[data-group-id='(The group ID you copied)']").trigger("click");
Then use the script as you would usually xP
Sorry for the late response :(
Comment has been collapsed.
i was wondering if it would be possible to add a option to disable the runtime hours question and instead go off the selected end time upon creating the train for each individual giveaway?
maybe something like "timeOpen:false" in the config to have it go off selected time instead.
or if it's easier to just pull a few lines of code which ones do i remove?
Comment has been collapsed.
That's actually a good idea, and I will work in adding that!
In the meantime, you can do it yourself!
Necessary edits:
Replace
var timeOpen = parseInt(sessionStorage.getItem("timeOpen"));
With
var timeOpen = sessionStorage.getItem("timeOpen");
Replace
timeOpen = parseInt(prompt("It appears you haven't set up a train yet!\nHow long (In hours) would you like the giveaways to be open for?")*3600000);
With
timeOpen = $("input[name='end_time']").val();
Replace
$("input[name='end_time']").val(formatTime(Date.now()+timeOpen));
With
$("input[name='end_time']").val(timeOpen);
Once you've finished all of those, the end time on all GA's should be set to the one you used for the first one!
Sorry for the late reply, didn't check my acct this morning.
Comment has been collapsed.
Hello joonatoona,
I have a suggestion. Place the button CHOOO CHOOOOOOO somewhere to the top part of the page.
It is quite annoying when I always have to scroll the pages to the bottom when I want to confirm the process even if all the fields are at the top.
Comment has been collapsed.
But I don't want to use a config directly in the code because an update would rewrite it. I think the button at the bottom cannot be better for anyone, can be? What is the point of it there? Or maybe the button would be even better below the cd-key field.
Comment has been collapsed.
I've noticed that trains made with your script use html accesskeys so that you can go to the next 'cart' using ALT+.
How is this done? I've looked at the script and I can't see anything adding that.
I'd love to be able to add this to the train I am working on.
A random example of accesskey code below:
<a href="https://www.steamgifts.com/giveaway/xxxxx/" accesskey=".">NEXT</a>
<a href="https://www.steamgifts.com/giveaway/xxxxx/" accesskey=">" target="_blank"></a>
Thanks!
Comment has been collapsed.
Edit: just saw that I never explained here that the effect was cause by a userscript I have installed: Add Prev/Next Accesskeys.
Comment has been collapsed.
I should have known of this in December... DOH!! xD
Comment has been collapsed.
have a ump, cause i just decided to use this :)
and i love this:
Make da whoooole train automagically
Comment has been collapsed.
When I click on CHOOCHOO it takes me back to the start and I keep having to change my date and stuff
what am I doing wrong?
Comment has been collapsed.
25 Comments - Last post 1 hour ago by UnrealBattousai
5 Comments - Last post 1 hour ago by Golwar
81 Comments - Last post 1 hour ago by popocho
8,437 Comments - Last post 2 hours ago by VicViperV
41 Comments - Last post 3 hours ago by pawelt
1,367 Comments - Last post 21 hours ago by thatotherone6
102 Comments - Last post 21 hours ago by BlazeHaze
18 Comments - Last post 33 seconds ago by RePlayBe
56 Comments - Last post 11 minutes ago by Loosecannon16
77 Comments - Last post 20 minutes ago by Jarlaxe
16 Comments - Last post 25 minutes ago by MoonQueen3
6,761 Comments - Last post 30 minutes ago by tugrulgultekin
348 Comments - Last post 30 minutes ago by TheGr3atUnknown
270 Comments - Last post 1 hour ago by davidpfarrell
An auto-trainer??!! (SGChooChoo)
Read (Or scroll) all the way to the bottom for a MiniTrain ;P
I really wanted to make a train, but couldn't find a good script to do it I never do anything manually, so I decided to write one. This script lets you automagically set up most of the GA.
Usage:
Notes:
Download HERE
(Script which I used some functions from HERE)
Automagically add next/previous linksDone!Take over the world!!!JKAdd configTicket for the train! ALL ABOARD ;P (0+, 48 hours)
Comment has been collapsed.