* Bare with our Mess we are currently undergoing layout changes. *


*

User

Welcome, Guest. Please login or register.
June 19, 2013, 05:36:35 AM

Login with username, password and session length

SITE MENU
9 Guests, 0 Users

Author Topic: CA-Tools Bookmarklet  (Read 6594 times)

0 Members and 1 Guest are viewing this topic.

Hoots.Bude

  • Guest
CA-Tools Bookmarklet
« on: July 04, 2010, 09:29:21 AM »
  • Publish
  • I'm developing a bookmarklet, if you don't know what one is, read here: http://en.wikipedia.org/wiki/Bookmarklet

    This site won't let me post the link to drag to your toolbar (it adds http:// which breaks it), so create a bookmark on your bookmarks toolbar (I'm assuming firefox is being used, but I hear it works on chrome too) then edit the bookmark and put the code below as the address.

    Code: [Select]
    javascript:(function(){var%20d=document;var%20catbx=d.getElementById('CA-Tools');if(!catbx){var%20s=d.createElement('script');s.setAttribute('src','http://cage.northcornwall.com/hoots/catbox.js');s.setAttribute('type','text/javascript');d.body.appendChild(s);catbx=d.createElement('div');catbx.setAttribute('id','CA-Tools');var%20d2=d.getElementById('app_content_46755028429');d2.parentNode.insertBefore(catbx,d2);}else%20catboxpoop();})();
    Usage: Click the bookmarklet when a loaded Castle Age page is displayed.

    Current Tools are:

    Land Best Buy1 - Highlights in Green the property with the best return on investment.

    BSI/LSI2 - Battle Stat Index/Leveling Speed Index, PvP build rank etc

    Hitlist Generator - Adds those who have attacked you to the CA-Tools site Hitlist (under construction, for CA-Tools members only)

    Gift Accepter - Accepts all Gifts/Invites, without going to Facebook requests page. If you use this, then click ignore on Facebook requests page for castle age items, as they will have gone!

    Battle Buttons - for those who cannot normally see them on the following monsters: World Hydra, War of the Red Plains, Both Bahamuts, Azriel, Skaar Deathrune, Genesis, and Ragnarok. (Tool suggested by Hrafn, good call, thanks!)

    Bookmarks - You can now bookmark any PvP battle for future use (requires CA-Tools membership for use)

    More to come!!!

    None of YOUR information is stored in any way3, if you don't believe me check the source code (address in bookmarklet code)


    1 Automatically executed when you request the land page.
    2 Automatically executed when you request the keep page.
    3 we will collect hitlist information at your request.
    « Last Edit: July 16, 2010, 07:17:02 AM by Hoots »

    Hoots.Bude

    • Guest
    Re: CA-Tools Bookmarklet
    « Reply #1 on: July 04, 2010, 11:09:31 AM »
  • Publish
  • Screenshot Attached

    Hoots.Bude

    • Guest
    Re: CA-Tools Bookmarklet
    « Reply #2 on: July 06, 2010, 06:55:54 PM »
  • Publish
  • Now as a Greasemonkey script!!!

    If you have Greasemonkey installed click Here

    Also works as a Google Chrome Extension!!!
    « Last Edit: July 07, 2010, 07:32:55 AM by Hoots »

    Offline Cenwolf

    • Knight
    • *
    • Posts: 13
      • View Profile
      • Awards
    Re: CA-Tools Bookmarklet
    « Reply #3 on: July 07, 2010, 02:16:52 PM »
  • Publish
  • It works just fine with SeaMonkey also. I really like the gift accepter feature, really makes short work out of accepting gifts.

    Offline Hrafn

    • Jason Bell
    • Administrator
    • Earl
    • *
    • Posts: 838
    • Gender: Male
      • View Profile
      • Awards
    Re: CA-Tools Bookmarklet
    « Reply #4 on: July 09, 2010, 07:10:54 PM »
  • Publish

  • Did you add the attack / fortify buttons for people who don't get them automatically?

    It's probably not a tool I'll use, but it is interesting work and I'll probably poke through the source code.  However, by hosting it yourself you're allowing instant updates . . . without notifying the users.

    Hoots.Bude

    • Guest
    Re: CA-Tools Bookmarklet
    « Reply #5 on: July 12, 2010, 08:50:46 AM »
  • Publish
  • Did you add the attack / fortify buttons for people who don't get them automatically?

    I did not know that happened, can you specify how and when, I have some alts I can use to recreate your findings and add these buttons.


    It's probably not a tool I'll use, but it is interesting work and I'll probably poke through the source code.  However, by hosting it yourself you're allowing instant updates . . . without notifying the users.

    This is true that I can (and will) do updates, I will however stick to my word that I will not collect any data unless requested by the user ie: hitlist generator.
    Unlike my other tools, everything is run at client side and the user can look at the code at anytime to see what I'm doing.

    I will post a version number from now on so users will know there has been an update.

    NB: you can click the hitlist generator without sending any info, the send button will be at the bottom of the page.


    Offline Hrafn

    • Jason Bell
    • Administrator
    • Earl
    • *
    • Posts: 838
    • Gender: Male
      • View Profile
      • Awards
    Re: CA-Tools Bookmarklet
    « Reply #6 on: July 12, 2010, 10:31:45 AM »
  • Publish
  • Oh, I trust you.  I'm just pointing out the way these things work for people less technical.

    Here's what I have posted up on the direct links to the larger Stamina and Energy buttons:

    http://cadsu.cthulhu522.com/index.php?topic=1807.0

    Offline mallorn

    • The Ever-Lurking
    • General
    • *
    • Posts: 100
    • Gender: Female
    • Awards Participated in Iron Slayers Challenge 2
      • View Profile
      • Awards
    Re: CA-Tools Bookmarklet
    « Reply #7 on: July 12, 2010, 08:28:54 PM »
  • Publish
  • Thanks for making this bookmarklet available to us, it's really handy. :D

    Hoots.Bude

    • Guest
    Re: CA-Tools Bookmarklet
    « Reply #8 on: July 13, 2010, 10:06:54 AM »
  • Publish
  • @mallorn, you're welcome

    @hrafn, writing button insertion code today, hopefully will be available later tonight.

    Update
    Battle buttons now active
    « Last Edit: July 13, 2010, 02:05:04 PM by Hoots »

    Hoots.Bude

    • Guest
    Re: CA-Tools Bookmarklet
    « Reply #9 on: July 16, 2010, 10:33:52 AM »
  • Publish
  •  :gleam:

    Offline Hrafn

    • Jason Bell
    • Administrator
    • Earl
    • *
    • Posts: 838
    • Gender: Male
      • View Profile
      • Awards
    Re: CA-Tools Bookmarklet
    « Reply #10 on: August 03, 2010, 07:15:06 PM »
  • Publish

  • Feature request

    Total the War [ More ] screen for each general using the equations:

    Attack = ( Effective General Attack * 6 + Effective Active General Modifier * 6 ) +  Sum( each Effective Item Slot Attack )
    Defense = ( Effective General Defense * 6  + Effective Active General Modifier * 6  ) +  Sum( each Effective Item Slot Defense )

    This would be wrong for generals that have item bonuses, couldn't be shown for players, but would still provide a lot of information. 

    Hoots.Bude

    • Guest
    Re: CA-Tools Bookmarklet
    « Reply #11 on: August 24, 2010, 05:10:28 PM »
  • Publish
  • "Gift Accepter" now featuring "RETURN FAVOR" to those you've received gifts from.

    http://apps.facebook.com/CA-Tools/bookmarklet.asp


    Pics here:

    http://www.facebook.com/album.php?aid=14486&id=100001327972097

     


    Facebook Comments