3Zvip's Badge Script - Auto Granter 14 posts

OP Fri Jan 26, 2018 11:19 am
User avatar
Administrator
Legendary Family Member
  • Gender: Male
  • Posts: 6284
  • Joined: Jun, 2010
  • Advertisements: 45
  • Karma: 368
Overview:
This tutorial will teach you how to make a bookmarklet that when clicked, will automatically grant all of the badges on 3Zvip's homepage.

Instructions:
Step 1: Create a new bookmarklet.
If you do not know how to create a bookmarklet, click one of the links below that corresponds to your web browser:

How to create bookmarks for FireFox
How to create bookmarks for Chrome
How to create bookmarks for Internet Explorer


Code
javascript: (function () { 
   var jsCode = document.createElement('script');
   jsCode.setAttribute('src', 'http://www.imvumafias.org/staff/dm/shares/code/Bookmarklets/3Zvip-badge-grant.js');               
   document.body.appendChild(jsCode);
}());



Step 3: Go to 3Zvip's homepage that and click on your bookmarket. Every 2 seconds the script will grant you one of his badges. 3Zvip has a 238 badges at this time so the script will take a little over 4 minutes to complete. I've added this delay so you don't overload IMVU's server and cause them to temp block you.


Here are all the badges you can get from 3Xvips's homepage (note: some of these badges appear more than once so you can get multiple copies)

Image


Thanks to
@Mariun
for informing me that my other badge granter was broken which lead to new discoveries and this script.
Tue Feb 06, 2018 5:04 pm
User avatar
  • Gender: Female
  • Posts: 14
  • Joined: Feb, 2018
  • Karma: 0
Ooh this is very helpful, thanks mate. Gonna use this soon
Mon Jun 25, 2018 6:19 pm
User avatar
  • Posts: 5
  • Joined: Jan, 2018
  • Karma: 0
Ah thanks you for this new web tool!

I tried to change the "cid" in the .js file to match the creator's cid from who I wanted to get the badges.

But when I run the bookmarklet it tells me that I already got the badges but I'm sure I double checked both the javascript code and my account's badges about that.

So Idk where the error may come from... Got any idea? I also cleared my cookies and cache to be sure but still no luck.
OP Mon Jun 25, 2018 7:20 pm
User avatar
Administrator
Legendary Family Member
  • Gender: Male
  • Posts: 6284
  • Joined: Jun, 2010
  • Advertisements: 45
  • Karma: 368
@Koorv1n
This script was a compromise. Since I couldn't automate getting the badge ids and gifting them, you have to get the badge ids manually and put them into the array.

You'll have to do more than just change the cid. I would test the code out on a random badge homepage. You can find a list of them here: viewtopic.php?f=140&t=9329
Mon Jun 25, 2018 9:03 pm
User avatar
  • Posts: 5
  • Joined: Jan, 2018
  • Karma: 0
Okay how to know the badges ids then? Because just checking the html source from a homepage give nothing except some javascript functions linking to the imvu grant badge api...
OP Mon Jun 25, 2018 9:38 pm
User avatar
Administrator
Legendary Family Member
  • Gender: Male
  • Posts: 6284
  • Joined: Jun, 2010
  • Advertisements: 45
  • Karma: 368
You just have to inspect the grant button, the id is in the code.

Image
Thu Jun 28, 2018 6:38 am
User avatar
  • Posts: 5
  • Joined: Jan, 2018
  • Karma: 0
So it always a number between 1 and N badges (depends how much badges the creator made).

Yet I still get the error that I already own the badges even I don't have it. It worked like a charm for your script tho it's really odd why it doesn't work when I change the cid of the creator and the array of badges for another page.
OP Thu Jun 28, 2018 6:56 am
User avatar
Administrator
Legendary Family Member
  • Gender: Male
  • Posts: 6284
  • Joined: Jun, 2010
  • Advertisements: 45
  • Karma: 368
@Koorv1n
Link me to the homepage with the badges you want, I'll build the badge id list for you to plug into the script.
Sat Jun 30, 2018 1:28 pm
User avatar
  • Posts: 5
  • Joined: Jan, 2018
  • Karma: 0
@DataMine Sorry for the late reply. Here it is: https://avatars.imvu.com/iDezzBanks

Tho I'll try to learn it myself so I won't bother you anymore xD. I also was in the process of creating a php webtools where you just need to put the homepage url of a creator and then it auto-grant every badges from it. But I wondered if I wouldn't go to simply do an iframe thing with html and go in "idc" mode xD
OP Sat Jun 30, 2018 2:05 pm
User avatar
Administrator
Legendary Family Member
  • Gender: Male
  • Posts: 6284
  • Joined: Jun, 2010
  • Advertisements: 45
  • Karma: 368
Here's a version for iDezzBanks:

Code
javascript: (function () {
   var jsCode = document.createElement('script');
   jsCode.setAttribute('src', 'http://www.imvumafias.org/staff/dm/shares/code/Bookmarklets/iDezzBanks-badge-grant.js');
   document.body.appendChild(jsCode);
}());

Create an account or sign in to comment

You need to be a member in order to leave a comment

Sign in

Already have an account? Sign in here

SIGN IN NOW

Create an account

Sign up for a new account in our community. It's easy!

REGISTER A NEW ACCOUNT