CasperUpdate: Difference between revisions
Line 121: | Line 121: | ||
Your full API key is a 40-character long code which will look something like this: | Your full API key is a 40-character long code which will look something like this: | ||
1ff379c6a13eb414877b8734781244dbb594e56d | |||
Look for the following line: | Look for the following line: | ||
<lsl>string APIKey = "";</lsl> | |||
string APIKey = ""; | You need to place your key between the " characters. So, in this case, it will end up look like this: | ||
<lsl>string APIKey = "1ff379c6a13eb414877b8734781244dbb594e56d";</lsl></div> | |||
</li> | |||
<li><div>'''Add your Product Update Key''' | |||
You can find this key by going to the '''Products'' section on the website, clicking '''Edit''' next to the product you're currently working with, and scrolling down to "Update Key". Click the "Generate Key" button, and then copy the key into the script. | |||
In my case, | |||
<lsl>string ProductUpdateKey = "";</lsl> | |||
becomes | |||
<lsl>string ProductUpdateKey = "dd6ba159a09d3ceea613b5b7c80c01966557204b";</lsl> | |||
</div> | |||
</li> | |||
<li><div>'''Set the version''' | |||
The "Version" parameter should be set to the same version that you set on the product's entry in the website. | |||
For example, | |||
<lsl>string Version = "";</lsl> | |||
might become | |||
<lsl>string Version = "1.0 BETA";</lsl> | |||
</div> | |||
</li> | |||
<li><div>'''Save the script''' | |||
Click "Save" at the bottom of the script. After a few seconds, you should see "Save complete" at the bottom of the window. If you see something else, check that you have made the edits exactly as described above. | |||
</div> | |||
</li> | </li> | ||
=== Test! === | === Test! === |
Revision as of 15:37, 24 June 2015
CasperUpdate is a system which allows creators to make self-updating products. Once a product is sold to the customer, the product will check for an update every time it is rezzed (or at specific intervals). If an update is found, the customer is asked if they wish to proceed with the update.
CasperUpdate is scheduled to be released in July, 2015 and is currently in public BETA.
Despite being tightly integrated with CasperVend, CasperUpdate is a standalone product and does not require CasperVend to function.
Features
- Completely networked and automated.
- No notecards to edit
- Unintrusive - unlike competing systems, CasperUpdate allows customers to suppress further update notifications.
- No-copy support - CasperUpdate can securely distribute updates for your no-copy products.
- Efficient - Just a single script powers our DropBox (Compared to HippoUpdate's 28 script server).
- Fast - Updates are delivered in a flash.
- Unlimited number of products supported - Not "almost" limitless, *actually* limitless.
- Any version format supported, including minor releases, code names and sub-versions.
- Full statistics and reporting of updates delivered, including CSV export.
- CasperVend integration - keep track of which products have been rezzed by the customer
- Communications fully encrypted with SSL
- A fully redundant, reliable network, proven by the success of CasperVend
- Free updates for life
Instructions
CasperUpdate tightly integrates with CasperVend, and uses the CasperVend website.
If you have already set up your products in CasperVend, please skip to "Drop the CasperUpdate script into your object".
Set up your account
- Before you begin, rez the CasperUpdate crate and touch it to unpack.
- Choose a suitable location to rez your DropBox. Your DropBox must stay rezzed at all times, so choose somewhere that it can stay.
- Rez the DropBox in your chosen location. The DropBox will be named something like "CasperTech DropBox vX.XX".
- Touch the DropBox, which will bring up a blue dialog.
- From the blue menu, choose "Admin". This will then show you a dialog menu asking you to visit a URL. Click "Go to URL".
- Once you have loaded the website, you may be asked to choose a password. Do this now. If you have previously created an account, you will be asked to enter your password.
- Once successfully logged in, you should be presented with a page titled "Vendors", and you will see a few details about your DropBox.
DO NOT open the crate manually, or your purchase may not be registered. If touching the crate does nothing, check that scripts are enabled on the parcel you are on. |
If you don't get a blue pop-up dialog when you touch your dropbox, make sure your chosen location has scripts enabled. |
If you don't get a "Go to URL" dialog, you may have yourself muted (it sounds silly, but this is a very common problem). Please check your viewer's block list. |
Add items to your DropBox
- Switch back to Second Life, and right-click the dropbox that you rezzed in the previous section. Choose "Edit".
- Switch to the "contents" tab in the edit window. You should see just a single script, called something like "CasperTech DropBox"
- Drag items from your inventory to the dropbox contents window. These items will be the ones which will be delivered to your customers when they claim an update.
- After a few seconds, your DropBox will upload its contents to our servers. Wait until the dropbox shows "Box is live".
Be careful not to drag any items over which show (no transfer) next to them. These will not work, as the items cannot be sent to your customers. |
Add products
- If you have closed the website, touch the DropBox again and choose "Admin", and follow the link it gives you.
- Once the site is open and you've logged in (if necessary), choose "Products" from the menu on the left. Repeat the following steps for each product that you wish to use with CasperUpdate.
- Click "List new product" at the top of the page.
- Fill out the information about your product.
Drop the CasperUpdate script into your object
Repeat the following steps for each product that you wish to use with CasperUpdate.
- Rez the product on the ground.
- Right click the product, go to "Edit", then switch to the "Contents" tab.
- After reading the warning below, drag the "CasperUpdate vX.X" script into your object.
- Leave the object rezzed and continue with the following steps
Make sure you use the correct script! DO NOT drag the "CasperUpdate No-Copy Protector" script into your object yet! This may destroy your object! |
Set Permissions
Make certain that you set the correct permissions for both your object and the script inside. Not doing so may result in people being able to obtain your products without paying. |
For objects with COPY permissions
For objects with COPY permissions, you MUST set:
- The "CasperUpdate vX.XX" script permissions to "No Modify". If your object is "No Transfer", you MUST also set the script to No Transfer.
The object permissions don't matter for Copy products.
For objects with NO COPY permissions
For objects with NO COPY permissions, you MUST set:
- The "CasperUpdate vX.XX" script permissions to "No Modify" and "No Copy".
- The OBJECT permissions to "No Modify".
Once you have finished editing the script (as described below), and you have confirmed that the script is running, and you have taken a backup copy of your object.. and only then.. drop the "CasperUpdate No-Copy Protector" script into your object. LEAVE THE PERMISSIONS FOR THIS SCRIPT AS THEY ARE.
Edit the script and set options
Inside each of the products, you should now have (at least) a "CasperUpdate v#.##" script. Double click the script in order to open the script editor window.
- Add your API key
On the website, click the "Overview" button around the top left of the page.
In the "API Configuration" box, you should see a line which reads "Full API Key".
Your full API key is a 40-character long code which will look something like this:
1ff379c6a13eb414877b8734781244dbb594e56d
Look for the following line: <lsl>string APIKey = "";</lsl>
You need to place your key between the " characters. So, in this case, it will end up look like this:
<lsl>string APIKey = "1ff379c6a13eb414877b8734781244dbb594e56d";</lsl> - Add your Product Update Key
You can find this key by going to the Products section on the website, clicking Edit' next to the product you're currently working with, and scrolling down to "Update Key". Click the "Generate Key" button, and then copy the key into the script.
In my case,
<lsl>string ProductUpdateKey = "";</lsl>
becomes
<lsl>string ProductUpdateKey = "dd6ba159a09d3ceea613b5b7c80c01966557204b";</lsl>
- Set the version
The "Version" parameter should be set to the same version that you set on the product's entry in the website.
For example,
<lsl>string Version = "";</lsl>
might become
<lsl>string Version = "1.0 BETA";</lsl>
- Save the script
Click "Save" at the bottom of the script. After a few seconds, you should see "Save complete" at the bottom of the window. If you see something else, check that you have made the edits exactly as described above.