An auto-trainer??!! (SGChooChoo)

Read (Or scroll) all the way to the bottom for a MiniTrain ;P

Make da whoooole train automagically :D


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:

  1. Download and install the script
  2. Open the new Giveaway page
  3. Enter the game and the key/gift
  4. Click the new button on the bottom that says CHOOO CHOOOOOOO
  5. Fill out all the information if you haven't already. This information will stay until you close the tab
  6. This should automagically take you to the confirm page. CHECK THAT ALL THE INFO IS CORRECT BEFORE CONFIRMING!!! MY SCRIPT IS STILL BETA!
  7. On the giveaway page there should be a button labeled "Anotha One" (Sorry, had to!). Click that to add a cart!
  8. Profit!

Notes:

  • Carts are in reverse order (1st cart is last, ect...)
  • In case I haven't said this enough, CHECK THAT ALL THE INFO IS CORRECT BEFORE CONFIRMING! I CANNOT BE HELD ACCOUNTABLE FOR ANY MISTAKES!!!
  • If you find a bug or have a feature to request, please let me know :D

Download HERE

(Script which I used some functions from HERE)


Planned Updates:
Automagically add next/previous links Done!
Take over the world!!! JK
Add config
Add GUI for config
Replace fugly popups with jQuery UI
Add more customization options

Ticket for the train! ALL ABOARD ;P (0+, 48 hours)


View attached image.
View attached image.
View attached image.
View attached image.
View attached image.
3 years ago*

Comment has been collapsed.

[Reserved]

3 years ago
Permalink

Comment has been collapsed.

Update: Added automagic links to previous gibs :D

3 years ago
Permalink

Comment has been collapsed.

THIS SCRIPT DOES WORK
I just managed to use all my giveaway slots debugging it. Got it right on the last one, but had to delete it bc I had no slots for a train :(

3 years ago
Permalink

Comment has been collapsed.

Edit: Added Train :D

3 years ago
Permalink

Comment has been collapsed.

Update: Added a button to create... Anotha One (Sorry :D) + Misc Bugfixes

3 years ago
Permalink

Comment has been collapsed.

Edit: Edited usage, added notes, and added planned updates.

3 years ago
Permalink

Comment has been collapsed.

Update: Fixed links opening in new tabs ;_;
Sorry!

3 years ago
Permalink

Comment has been collapsed.

Edit: Added method to move train button to top.

3 years ago
Permalink

Comment has been collapsed.

Edit: Added screenshots

3 years ago
Permalink

Comment has been collapsed.

Update: Edited some chaining functionality.

3 years ago
Permalink

Comment has been collapsed.

Update: Added config for all you scrubz who can't edit it manually ;P

3 years ago
Permalink

Comment has been collapsed.

Update: Fixed button not appearing

2 years ago
Permalink

Comment has been collapsed.

Edit: Added MiniTrain

2 years ago
Permalink

Comment has been collapsed.

if this doesn't work as expected, you should close the thread or remove the dl link.

3 years ago
Permalink

Comment has been collapsed.

No, it does now. I fixed it, but not in time to save me :(

3 years ago
Permalink

Comment has been collapsed.

Hmm, going through the train makes every giveaway open in a new tab. Would it be because the links are in https://steamgifts.com/ form instead of https://www.steamgifts.com/ ?

3 years ago
Permalink

Comment has been collapsed.

Oooooooh. I was wondering why it did that :D
Lemme fix :D

Edit:Fixed my train and the script. Thank you <3

3 years ago
Permalink

Comment has been collapsed.

Yup, that seems to have done it.

3 years ago
Permalink

Comment has been collapsed.

well done :D can't wait to try it next time I make a choochoo

3 years ago
Permalink

Comment has been collapsed.

Just one question: how come each time I click to go to the next cart, it opens a new tab?

3 years ago
Permalink

Comment has been collapsed.

Hmm, going through the train makes every giveaway open in a new tab. Would it be because the links are in https://steamgifts.com/ form instead of https://www.steamgifts.com/ ?

Bug. Fixing now.

3 years ago
Permalink

Comment has been collapsed.

cool. I'm actually helpful

View attached image.
3 years ago
Permalink

Comment has been collapsed.

Bump!

3 years ago
Permalink

Comment has been collapsed.

Bump

3 years ago
Permalink

Comment has been collapsed.

I already have them all but Well Done !!! the croud roars and waves lol

3 years ago
Permalink

Comment has been collapsed.

Will try the script once I got some keys to giveaway
For now, have a bump :D

3 years ago
Permalink

Comment has been collapsed.

Nice script, I won't use it because I like to have different level restrictions for the wagons on my trains and I tend to do weird things with the links in the descriptions. But good work!
Bump :)

3 years ago
Permalink

Comment has been collapsed.

The script can be easily edited so that it doesn't automatically click the create button :D

Just remove this line:

clickCreate();

3 years ago
Permalink

Comment has been collapsed.

But what about the pleasure of spending an hour or more creating and linking GAs? D:
I may give it a try when I do my next train in a month or two, currently out of games to give :P

3 years ago
Permalink

Comment has been collapsed.

Lel, I spend around 2 hours creating this script, all for making a 5 game train :D
An hour or more of manual linking sound like GREAT fun =P

3 years ago
Permalink

Comment has been collapsed.

Great...thanx!

3 years ago
Permalink

Comment has been collapsed.

bump

3 years ago
Permalink

Comment has been collapsed.

Awesome! BUMP!
Thanks!

3 years ago
Permalink

Comment has been collapsed.

Bump! I wish I could have seen this earlier

3 years ago
Permalink

Comment has been collapsed.

bump! very cool!

3 years ago
Permalink

Comment has been collapsed.

bump

3 years ago
Permalink

Comment has been collapsed.

Hopefully there are no BUMPS in the script, heheh. Ok that was lame, I admit.

3 years ago
Permalink

Comment has been collapsed.

Adds bit in script that bumps this thread whenever you install it ;P

3 years ago
Permalink

Comment has been collapsed.

Ohhh, then I have to install it multiple times :)))

3 years ago
Permalink

Comment has been collapsed.

There should be a bump button for threads like there is for trades ;_;

3 years ago
Permalink

Comment has been collapsed.

Agreed

3 years ago
Permalink

Comment has been collapsed.

More random trash because there isn't one.

3 years ago
Permalink

Comment has been collapsed.

Does someone already know which the group with Id = "1898" is? :/

3 years ago
Permalink

Comment has been collapsed.

thats the id for invite only. its not a group ;_;

3 years ago
Permalink

Comment has been collapsed.

Sure? The script doesn't seem to use the variable in its code. It was in the original script to let the user modify the applyGroup function to include specific groups :/

3 years ago
Permalink

Comment has been collapsed.

Thw var IS used in the applyGroup function. Just change the var to the group id u want..
In my defence I've spent less than an hour getting it to wbere it is now.
Im still working on this script

3 years ago
Permalink

Comment has been collapsed.

Thw var IS used in the applyGroup function. Just change the var to the group id u want..

function applyGroup() {
    $("div[data-checkbox-value='invite_only']").trigger("click");
}

Where? The function just checks the invite-only checkbox.
Also I don't understand why you don't mention the original authors of the script in which you based yours :/ You added some cool things

3 years ago*
Permalink

Comment has been collapsed.

Huh, I thought the original script did groups. This is the code from that:

function applyGroup() {
    $("div[data-checkbox-value='invite_only']").trigger("click");
}

Guess I need to add that too ;_;

3 years ago
Permalink

Comment has been collapsed.

yes, it would be nice to write the piece of code as a comment in the function, to be able to switch between private-group trains easily :D
Thanks for the work^^

3 years ago
Permalink

Comment has been collapsed.

Yeah, I'll add that feature after I finish derping around.

3 years ago
Permalink

Comment has been collapsed.

coincidentally: https://steamcommunity.com/groups/1898
...wonder if they were trying to do something sneaky...

3 years ago
Permalink

Comment has been collapsed.

lol It has nothing to do with the script or the steamgifts groupId (that is internal to the sg database) :/ Just a coincidence. 1898 was the year of the Spanish-American war, I wonder if they chose it because of that. That flag is the naval ensign of Russia

3 years ago
Permalink

Comment has been collapsed.

Wow, sounds like an awesome script!
Will definitely take a look the next time I make a train :)

3 years ago
Permalink

Comment has been collapsed.

pmub

3 years ago
Permalink

Comment has been collapsed.

Awesome! Bump!

3 years ago
Permalink

Comment has been collapsed.

Added to the SG Add-Ons Registry!

3 years ago
Permalink

Comment has been collapsed.

This seems like an awesome idea for people that want to do simple trains.

3 years ago
Permalink

Comment has been collapsed.

can we have a bump generator too :D

3 years ago
Permalink

Comment has been collapsed.

Sign in through Steam to add a comment.