Knights and Dragons Game Guide

16 Oct

Knights and Dragons beginners guide:

A note to readers: This will be my first post about Knights and Dragons: an rpg game developed by Gree for both iOS and Android devices. Aside from building web pages we also enjoy playing this cool game so I’m re-posting some of the guides I have found in the internet.

IMPORTANT: After installing the game, follow the pre-game tutorial first then used these referral code XBG-RBQ-NDN after.

1. Follow on-screen tutorial first, you can start playing after the on-game tutorial.

2. Go through the Quests! Don’t get to crazy or impatient. Don’t spend real $$$ unless you have extra to spare The game starts slow with lots of Quests. If you play regularly for about a week, you will be just fine. In fact, follow this beginners guide and you will rank in events after your first week Remember to use your “Special Blow” in defeating bosses and minions to get your materials for making armor. You can get great stuff as you just follow the tutorial and quest. Once you finish the Tutorial, you will enter one of a million codes out there. They all give you the same bonus armor to start. It’s good armor too. I would appreciate if you use this code: WBB-FHH-GVV

3. Save Your Gems! Once you are to about level 30+ or so, you will get the game enough to know how to wisely use them. Don’t go buying dumb chests. They are usually a rip off unless you are lucky!

4. Armor! Keep it simple! Yep, its all about the armor and enhancing it. Don’t stress it. Focus on getting 3 main sets fully enhanced. Don’t go willy nilly trying to enhance a bunch of armor. Getting 3-4 sets of Rare plus(+) version (1 gold stars) upgraded to a high level as a first priority will put you in a good position to start ranking well in events. Then you can focus on getting better armor. But remember. 3 main sets first priority! Also, have differing elements for those armors. The link below will tell you the 4 armors to first focus on getting in their + versions.
FUSING: This link will set you on the best path: HERE IS THE LINK -READ IT ALL – SO DANG HELPFUL!!!
Also THIS LINK takes you to a comprehensive spreadsheet of all the armors: KNIGHTS AND DRAGONS ARMOR LINK

5. Want some free Gems? You can easily get about 20+ free Gems just going to the: Menu > Shop > Scroll to the right and select Get Free Gems. From that point just complete a few of the quick free offers like downloading games and uninstall, surveys with a garbage email account, etc. I got about 30 free gems doing this. Great time waster while waiting for health and $$$ to regen.

6. Get some powerful friends. Its quite easy to do in fact. Juts go to: Arena > Leaderboard > Scroll to top players. From here just click on one profile after another and request them (Add Friend) as friends. Only a few will accept but you will eventually get great allies.

7. Enhancing Armor: I just keep farming the Relic Ruins monsters using as many special blows as I can to farm materials for armor making. Getting 4 sets of your Rare+ Armors to level 15 is pretty easy schmeezy doing this. The Stone Slabs will let you make Stonescale Plate Mail and using these and basic earth armor will make enhancing a breeze. FYI: Enhancing armor with an armor of the same element gives bonus points. Meaning…Using earth armor to enhance earth armor is best, etc etc.

8. Gold Strategy: Training Fields After about level 25 or so, you will probably already know this. Just make sure that sooner than later you start using Training Fields as your Gold generators for all your spots. Ignoring the Quests that make you start building dumb buildings like Dungeons can be good. After you get 3-4 Fountains, then make all guard towers. Yes, delay the buildings quests for now. Then as soon as you can get your first 2 training grounds. Then BOOM it goes fast from there! Clearing ground and getting through the quests is grueling. It takes about a week of consistent play. BUT…once you get a couple training fields up, it starts happening fast.

SUPER TIP! There is always a weekly special summon Boss Fight that gives you special goodies. YOu run into this bosses just fighting minions. Every time you defeat, it will reappear stronger next time. If you don’t win, it resets the health after 2 hours. Blah!!!So HOW can a beginner even think of getting past level 6? Well you could spend money on Dark Prince Chance Chests to try and get “Nemesis Armor” that gives you 3x Damage. Nope. Here is the Tip: Make sure you have 5 or so friend slots open. Go back to Arena > Leaderboard > Go to Top of Leaderboard. At this point scroll down and “Add Friend” to anyone showing they have that weeks Nemesis Armor equipped! Hopefully a few will accept you. Then when you fight the Boss and “Hire Friend” you can use them and WHAM! You can easily get past level 10 and probably to the next reward tier of 15 wins over the week if you are at about level 30 personally. Good luck and happy hunting!

Again please use these code: XBG-RBQ-NDN

 

How to play Knights and Dragons like a Boss. (Things I Wish I Knew When I Was A Noob) by Radlonghammer

 

Firstly, this guide was written by Radlonghammer and I am merely placing it in a thread for everyone to refer to for everyone’s convenience. None of this was written by me.  Also, thanks to Slevinn who gave the idea to have a thread that contained a guide to help new players.

Things I wish I knew when I was a Noob

EARLY STAGE GOLD PRODUCTION (Important at L1-30)

Leveling quickly in K&D takes time and gold. Let’s talk gold:

Many of us look back on the 75 gold from a Level 2 Fountain as laughable. Still, that 75 gold builds VERY quickly, and at early levels, provides the gold needed for the investments appropriate for the early stages of the game. The key here is volume, build as many of them as your gold and space allow. 8 L2 Fountains will collectively produce 600 gold every few minutes. As long as you’re checking in on the game every few minutes, this is a great way to rack up gold early.

The flip side to this is that fountains stink at developing your gold stash when you’re AWAY from the game. At the early levels, L1 guard towers are the way to go. Guard towers build gold more slowly than fountains, but they don’t stop collecting until after 12 hours. If you’re going to bed for the night, sell off those fountains and build guard towers in their place. When you’re going to be checking the game every several minutes (just got off work or out of school and have some game playing time, etc), sell the towers and replace them with fountains. This will momentarily seem to set you back on gold, but you’ll gain much more in the long run.

The moment you’re racking up gold faster than you spend it is the time to start considering Taverns. Taverns build gold nearly as fast as fountains, and max out nearly as high as towers. A L1 tower takes 4 hours to build 1900 gold, and keeps you from having to take the time to tear down fountains to build towers, and is a great compromise in the early levels.

From here, it’s time to start building training fields, and unlocking the more expensive castle expansions. Do this as early as you can without sacrificing your ability to craft and enhance your armors. If you have 80,000 gold, for example, you should probably go ahead and drop 50,000 on a training field, and leave 30,000 for armor-related expenses. That Training field will repay you more quickly than you think.

The importance of building the early stage (inexpensive) castle expansions can not be understated. Do this AS SOON as you can afford to. Don’t wait to have a big pile of gold saved up, and NEVER leave an expansion slot empty if you can afford to fill it.

WHILE YOU WERE SLEEPING (Important at all levels)

Any time you’re going to be away from the game for a chunk of hours (going to bed, headed to work, etc…) it’s critical to quick leveling that you make sure the game is WORKING FOR YOU when you’re away from it.

Here are some things you should always do before you put the game down for a significant chunk of time:

1) Use up ALL of your hit points: Whether you’re farming materials, or trying to unlock the next stage, take this time to do some battling. If you die in the middle of a battle, just let the monsters heal (don’t spend gems to continue) by simply X-ing out of the battle. When you come back to the game, the battle will still be active, and all of your knights will have healed, even if they were dead when you began the stage! This is a great way to clear tough bosses, gain experience points, and help the speed at which you level.

2) Put the construction crew to work: This is the time to get expansions and building with long crafting times going. You won’t be tempted to spend gems on the speed-up process, and when you come back, your expansion or building will be ready, and you’ll be a happy, quickly-leveling Knight

3) ABC Baby. Always be Crafting: Some armors take a long time to craft. Get these going before your head hits the pillow.

4) Put your Energy to good use: Use up any Arena Energy (for Arena Events) and any Epic Boss energy if appropriate. If you have at least 8 Epic energy, and can kill the boss with 3 of your knights and two friends, don’t let that energy go to waste. Use it up so you can hit it again in the morning when you wake up to maxed Epic energy again!

5) Get the most out of your friends: You can hire 10 friends per day. If you’ve used less than 10, and your friend hiring abilities will reset while you’re going to be away from the game, try to go ahead and use up any you have left. Once you’ve hired the first friend for the day, the other nine become a “use it or lose it” proposition for the next 24 hours. Try not to “lose it” too often. This is important to leveling quickly.

THE MIRACLE OF RESURRECTION (Important at all levels.)

PAY ATTENTION TO YOUR LEVEL BAR!!! One of the cool little feature of K&D is the fact that leveling up restores all of your hit points to maximum level, even when you’re in the middle of a stage! If you’re not exploiting this, you’re not leveling as fast as you could be.

You should always take note of how much experience clearing a level brings. For example, let’s say you just cleared Cold Rock Crags at the Valor stage, and noticed that doing so rewarded you with about 1/8 of an inch of experience on the Level bar, But took almost everything you had in terms of hit points to do so, and didn’t level you up in the process. If you have 3/16 of an inch to hit the next level, the right play might be farming lower level stages until you KNOW FOR SURE, that you will level in the second to final stage of Cold Rock Crags. That way, you’ve ensured that you will level, and retained the maximum possible amount of Hit Points for other endeavors.

ALWAYS make the most of this feature. It is a KEY STRATEGIC COMPONENT in leveling quickly! It is also as important when farming the Ceberus at The Haunted Citadel (for Infernal Lord Armor) and the Dark Prince at The Kingdom of Darkness (for Dark Prince’s Armor) at the later stages of the game!

REAL KNIGHTS GO ON QUESTS

Keep up with your quests. Not only do they teach you the fundamentals of the game, but they also come with rewards. The small amount of gold (maybe 200) and the small amount of experience (maybe 80) rewarded by a quest seems insignificant at the early levels. Most quests, however, have multiple levels. Completion of one typically unlocks another, with higher, more productive rewards.

The experience and gold from quests are important to rapid leveling, but quests also reward other cool stuff, like gems! And, sometimes the best thing that comes out of a quest is THE NEXT QUEST. Quests are almost never a waste of time!

KNOW THY ELEMENTS (Important at all levels)

All armors in K&D are based upon the five elements; Earth, Water, Fire, Air, and Spirit. Each element has an opposing element against which it is strong, and gets a corresponding stat bonus. Commit these element advantages to memory AS SOON AS YOU CAN, and equip armors accordingly. If you have trouble committing these advantages to memory, try thinking about it like this:

It takes a darned long time for the waves to erode the shore, so: Earth beats Water!
You deal with a fire by drowning it, so: Water beats Fire!
The strongest man among us becomes weak when he is burned out, so: Fire beats Spirit!
With enough dedication, a properly motivated man can move the Earth, so: Spirit beats Earth!
The rain always falls in the direction that the wind blows it, so: Air beats Water!

MARCHING ORDERS / BRINGING UP THE REAR (Important at all levels)

When starting to play, your main knight is always placed, by default, in the starting position for any fight. This might be correct, but it also might not. Your main Knight will always have the best stats. Sometimes this will mean it’s best to put him in your weakest armor, thereby equalizing all 3 Knights, and sometimes it will mean putting him in your BEST armor, and last in line, where you need the hardest hits against the stage boss.

Obviously, this relates to the above point about matching the strongest elements against each other. Simply put, PAY ATTENTION. Bring the maximum damage where it will have the maximum benefit. You’ll get the most experience out of the hit points you have to spend, and will level faster!

Further, if you can expend all of your allies hit points, while retaining a few for your main knight, your main knight will be good to go again once all of your allies are at max power. This will cut down significantly on the time before you can face a tough stage again!

STATS TRUMPS STARS (Important at all levels)

This one has been covered many times in these forums, but it’s so wildly important that I’m going to try to explain it in my own way. Every last one of us has made the mistake, early in the game, of wasting time and gold crafting and enhancing armors that aren’t worth it in the long run, or are inappropriate for those early-mid level stages of the game, and the lesson we learned cost us the ability to level as quickly as possible. If you can avoid this mistake, you’ll level faster than we did.

Never spend resources on leveling an armor before taking the time to understand what that armor will eventually be capable of. Consult the following spreadsheet for a comprehensive list of all armor stats:

https://docs.google.com/spreadsheet/…2IxT1RNZVlvalE

Using this resource will prevent you from overestimating an armor the first time you see it. Just because something is new to you, and seems cool to have gained, doesn’t mean it’s not trash. We all wasted our time on an Embersteel or a Monk’s Vestments, etc. Don’t repeat our mistakes!

DON’T BE A CHASER (Important Levels 1-70)

There’s a time to chase the best armors in the game, but doing so too early will stunt your leveling ability by causing you to inefficiently spend your resources. Get the “Big Four” L50 dual element armors as quickly as you can, but don’t be in a hurry to get the L70s and level them quite yet. That time will come, but it comes later than you might think.

THE PLUS MATTERS (Important at all levels)

Don’t spend any time/money leveling a non plus version of an armor beyond what it takes to unlock the plus version. Doing so is a waste of time, gold, and craftable elements. Once you have your mono element armors (Stonescale, Seafoam, DragonFlame, Mystic, and Wing Warriors) to level 10, STOP enhancing them, craft the + version, and level the + version instead. This will momentarily set you back in armor strength, but it’s an important investment that will pay off later.

Do the same with your “Big Four” L50 armors. Don’t level a non-plus version of this armor beyond the L15 it takes to unlock the + version. Craft the plus as soon as you can, and level it instead. That one step back takes you 3 steps forward.

THE BIG FOUR MID-GAME ARMORS YOU CAN’T LIVE WITHOUT (Important L20-70):

Get these L50 dual-element armors to plus version AS SOON AS YOU CAN, and dedicate your resources to maxing them out to level 50. They will serve you, and your ability to quickly level, for a VERY long time:

Atlantean Avenger Plus (Air/Water)
Crius Armor Pus (Earth/Air)
Hydra Hunters Mail Plus (Fire/Water)
Living Flame Armor (Fire/Spirit)

FIRST FUSIONS (Important L15-30):

All of the above armors can be reliably fused through the combination of easily crafted tier 1(basic) or tier 2 (mono element L30) armors. Your first efforts at fusion should probably be the following:

Atlantean Avenger = Slot 1: Basic Air Slot 2:Basic Water*

Living Flame Armor = Slot 1: Basic Fire Slot 2: Basic Spirit*

Hydra Hunters Mail = Slot 1: Basic Fire Slot 2: Basic Water.*

Crius Armor = Slot 1: Wing Warrior, Slot 2: Stonescale Plate Mail

* It should be noted that these basic armor fusions seem to have a higher failure rate than the Tier 2 Mono combos. If you happen to have, for example, Seafoam Armor (for slot one) and a Wing Warrior Armor (for slot two), this combo will more reliably create Atlantean Avenger than the fusion of the Basics. Same goes for Living Flame and Hydra out of Tier 2 monos. The spreadsheet linked above contains all this info in great detail.

By fusing these armors before you’re even able to craft them through elements allows you to level them to L15 BEFORE you can craft them. Consequently, the moment you have the materials to craft them, you’re crafting the plus version! This is HUGE, and will save you tons of time in leveling further!

BEATING THE EPIC BOSS

To gain enough material to craft the armor that the Epic boss drops is easy, cracking the boss at L15 will do it. To gain enough material to craft the plus version is MUCH tougher, you have to achieve approximately Boss Level 43!

There has been a great deal of discussion on this board suggesting that if you can’t beat the Epic Boss enough times to gain the plus version of the boss armor, that fighting the boss at all is a waste of time. I’m not sure I agree.

It’s easy to think of the Boss Armor as the only reward for fighting the boss, but I want to suggest that there are other factors that make taking a stab or three at the boss well worth the time.

Consider the current Epic Boss as I write this, “Dragon of the Deep.” Now, suppose you are in the Level 55-75 range that would allow you, depending on your friends list, to kill up to approximately the Level 35 Boss. This is frustratingly close to, and frustratingly far away from the 43 kills necessary to score the plus level Boss Armor, but DO NOT lose sight of what you DID gain along the way.

In this weeks case, you gained 18 Wing Warrior Armors (9000 gold value and 9 hours time value), 13 Snakeskin Armors (39,000 gold value and 26 hours time value), 3 silver keys, 4 gold keys, 4 gems, and some pretty meaningful piles of gold and experience.

In other words, at the levels where you can NOT beat the Boss 43 times, the rewards for trying and missing are still tasty enough to make it worth trying. DO NOT get so caught up in the desire for instant gratification that you screw yourself out of this goodness!

I repeat, all credits go to Radlonghammer for making this guide.

Edit a google prettified code and display it again

9 Jul

cover

Like many of us web developers, there comes a time you have to paste a code snippet on a blog post or reply with it on a forum threads. The old way of displaying code on an html document is to wrap it inside a <pre> or <code> tag.

Pretty much easy eh? But what if you want to highlight your codes just like your editor does with your hard labored piece of code, the answer is simple: use google-code-prettify. It’s a syntax highlighting of code snippets in a web page. A Javascript module and CSS file that allows syntax highlighting of source code in an html page.

There are a lot of techniques to this but my favorite is to wrap your code with an <xmp> tag with a class of “prettify”. I know this is a depreciated tag, you can use <pre> tag if you like but to speed things up I will use <xmp>, because it will escape my html characters on the fly. Further reading about <xmp> tag here.

Before prettified:

img1

Prettified:

img2

To setup: just wrap your code snippet with the <xmp> tag and always close a tag with </xmp>.(Why? Because the loch ness monster might see it and it will eat you alive if you wont do that.) This javascript module will look for a the prettyprint class and add spans of goodness to your code. 🙂 For detailed setup instructions visit here.

But wait! How about the editing of the code on an actual web page? Don’t worry guys we got you covered.

Bonus part:

Aside from this source: https://google-code-prettify.googlecode.com/svn/loader/run_prettify.js , you might want to add this source: https://google-code-prettify.googlecode.com/svn/loader/prettify.js , we will be needing this on our javascript to fire prettyPrint() function again after we edit our code live. Add them to your head tag.

You can view actual code here: http://jsfiddle.net/janduds/AtLG9/

Gracias!

How to get vimeo info using php?

27 Feb

There are certain a lot of ways on getting vimeo info, and here are some of those.

In this case want to get the info using vimeo api. The key component here is to parse the api url with php curl.

Ready.. Start.. Code!..

First we create a function to extract the vimeo id from the vimeo share link. Ex: ‘http://developer.vimeo.com/&#8217; with a regexp from this stackoverflow post.

function get_vimeo_id($url) {
     $regexstr = '#http://(?:\w+.)?vimeo.com/(?:video/|moogaloop\.swf\?clip_id=)(\w+)#i';
     preg_match($regexstr,$url, $matches);
     return $matches[1];
}
Then we will use php curl to extract the video information using api. You can learn more about that on their vimeo developer api website.
// use the returned value from our get_vimeo_function
// you can do it like this
/*
$sample_link = 'http://developer.vimeo.com/'
if(get_vimeo_id($sample_link))
   $id = get_vimeo_id($sample_link);
*/

// then create a function to extract vimeo info
function get_vimeo_info($id) {
    if (!function_exists('curl_init')):
       die('CURL is not installed!');
    else:
        $cr = curl_init();
        curl_setopt($cr, CURLOPT_URL, "http://vimeo.com/api/v2/video/$id.php"); // the vimeo simple api with php output
        curl_setopt($cr, CURLOPT_HEADER, 0);
        curl_setopt($cr, CURLOPT_RETURNTRANSFER, true);
        curl_setopt($cr, CURLOPT_TIMEOUT, 10);
        $output = unserialize(curl_exec($cr));
        $output = $output[0];
        curl_close($cr);
        return $output;
    endif;
}
Credits to devlopers from this post and this.

Let’s do coding.

27 Feb

Image

Hey <you>! Yes <you>! We welcome <you> to our very first article. This blog is all about the fun things of being a web developer and how to make the web a better place.

You can find code snippets and ways to help <you> reach your awesome goal. We will post instructional articles as simple as possible saving you and us from severe brain damage. (chuckle…) This is a fun and collaborative place so feel free to comment if <you> find our articles helpful. Thank you and have a great day <you>!

Ready.. Start.. Code..