3Zvip's Badge Script - Auto Granter

DataMine
by DataMine · 18 posts
6 years ago in Javascript
Posted 6 years ago · Author
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', 'https://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.
Posted 6 years ago
Ooh this is very helpful, thanks mate. Gonna use this soon
Posted 5 years ago
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.
Posted 5 years ago · Author
@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
Posted 5 years ago
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...
Posted 5 years ago
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.
Posted 5 years ago · Author
@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.
Posted 5 years ago
@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
Posted 5 years ago · Author
Here's a version for iDezzBanks:

Code
javascript: (function () {
   var jsCode = document.createElement('script');
   jsCode.setAttribute('src', 'https://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
Select a forum Protection     Help & Support     Introductions     Mafia News     IMVU News General Discussion     IMVU Lounge        IMVU Series / Roleplaying        Social Games     Mafia Market     Mafia Tools        Premium IMVU Tools        Off Topic Tools     Off Topic     Contests Creator Corner     Graphics Design        Photoshop        GIMP     Basic Creator Help     Catalog And Product Showcase     3D Meshing        3Ds Max        Sketchup        Blender Gangsters with Connections     White Hat Activities        Google Hacking        Trackers Programming Corner     Coding        Python        .Net (C#, VB, etc)        Flash        JAVA        Autoit        Batch        HTML & CSS        Javascript        PHP        Other        IMVU Homepage Codes           General           About me Panel           Messages Panel           Special Someone Panel           Visitors Panel           New Products Panel           Rankings Panel           Wishlist Panel           My Badges Panel           Outfits Panel           Url Panel           Groups Panel           Slideshow Panel           My Room Panel           Sandbox panel           Layouts     Help & Requests Free Credits     Approved Methods     Submit Methods Free Money     Approved Methods     Submit Methods Adult Corner     Get Mafia AP Here     AP Lounge        AP Social Games        Casual Dating Tips     IMVU Slave Market & Escorts