Wednesday, April 8, 2015

The Purge

Want to get the Shiny Starters? Shiny Zorua? Shiny legendary dogs? Shiny Mew? or any other shiny pokemon in the game? Adopt them today using SnD coins! Click here for more info.

Visit the PTD: Pokemon Center - a place to trade pokemon, get your Daily Code, adopt Pokemon, view your items and change your avatar!


Welcome to the Sam and Dan Games Developer Blog!

PTD2 Trainer Pass! Get it today!

A great way to support us while getting amazing rewards!

So let's talk about what you get:
  • Increased chance for Shiny/Shadow pokemon to appear in the wild
  • No ads while you play the game
  • Get a copy of shiny giveaway pokemon automatically every week
  • Faster Breeding - Breed with only one visit instead of 2, essentially breed something everyday!
  • Faster Leveling - Get twice the experience on every battle!
  • Giveaways for pass holders only
You get all of this for only $1.99! One time payment! Get it today!

The Purge
Why can't I play the game? What is this purge that Sam keeps talking about in Twitter? Is my account going to be purged? Will you purge my account? Those are the questions on everybody's mind.

I'm here to answer. For years now the PTD1 and 2 database (where all the user accounts, pokemon, trading information are stored) has been pilling up without any sort of maintenance done on them. The result is databases FULL of data that is no longer used and all it does is slow everything down.

A week ago the servers just couldn't handle it anymore and strange problems started occurring in the game. After talking to my webhost's support team. They told me the problem resided in my side, it was not a hardware issue, and so the PURGE started.

Over 6 months ago I created a code that will write down everybody who logged in ptd2 and stored it in a list. The purpose was that after 6 months we would purge out any other inactive accounts. After talking it over with Dan we decided to also save accounts that had bought the trainer pass or had snd coins (even if they hadn't played for 6 months.)

This would ensure that players that are active can have an even faster experience and all server problems can be resolved a lot quicker.

However one does not simply purge millions upon millions of pokemon in one day. It is a process that takes planning and more importantly TIME.

So I set about creating a script that would automate the whole process. My first attempt could only delete 10 accounts every 20 seconds. We have 7 million account! Lets do the math!

First lets figure out how many attempts it would take if you only do 10 at a time. So 7million divided by 10 = 700,000. That's 700,000 attempts at 20 seconds per attempt. How many seconds is that?

700,000 times 20 = 14,000,000 seconds! Now how many days is that? 14,000,000 seconds / 60 (seconds per minute) /60 (minutes per hour)/24 (hours per day) = about 162 days!

So at that rate the whole purge would take about 162 days!!!!!!

So I worked on making the whole thing faster, instead of deleting a whole account at once I would go thru each database and delete each one individually. This turned out to be a much faster method (can handle over 3000 entries per 10 seconds and many times even more!), but it will still take some time.

So what I will do is update you on how many databases are left to purge that way we can keep track and see how close we are getting. Please not that some databases are smaller than others so some will go a lot faster, some might take a whole day.

So please bare with me and give a moment of silence to all the purge pokemon. Thank you!

Until then I will be working on Designing Champions TD, that means figuring the game out so that we have a clear idea of how long it will take to finish. My hope is that we can finish Champions in 6 months! What do you think?

PTD 2 - Trainer VS Complete!
  • Pick your avatar (100%) - from the ones you have unlocked
  • See more opponent info (100%) - See their wins and their trainer ID
  • Win Streak Mechanic (100%) - Win 7 battles before losing 3 to win a random TM from 10!
  • Win Streak TM Rewards (100%) - Win one of the following Hone Claws, Dragon Claw, Psyshock, Calm Mind, Toxic, Bulk Up, Venoshock, Sunny Day, Rain Dance, Earthquake
Purge Progress Complete!

(Most PTD2 Data is finished, except for trading data which will be last and shouldn't take very long, because all data is held at one server I can't re enable PTD2 until everything is done.)

Complete PTD1 Pokemon Storage Database 5 - about 25 million entries
Complete PTD1 Pokemon Storage Database 6
Complete PTD1 Pokemon Storage Database 7
Complete PTD1 Pokemon Storage Database 8
Complete PTD1 Pokemon Storage Database 9
Complete PTD1 Player's Items Database
Complete PTD1 Player's Achievements Database - about 200k entries
Complete PTD1 Player's Game Corner Database - about 546k entries
Complete PTD1 Player's Daily Codes Database - about 549k entries
Complete PTD1 Player's Pokedex Database - about 4 million entries
Complete PTD Player Account's Database - about 7 million entries
Complete PTD1 Trading Center Database - about 211k entries
Complete PTD2 Trading Center Database - about 600k entries

I'll be updating this during the day as the process moves from database to database. Thank you for your support!

Monday, March 30, 2015

Champions TD is evolving! Trainer VS: Picking your avatar, wins streak!

Want to get the Shiny Starters? Shiny Zorua? Shiny legendary dogs? Shiny Mew? or any other shiny pokemon in the game? Adopt them today using SnD coins! Click here for more info.

Visit the PTD: Pokemon Center - a place to trade pokemon, get your Daily Code, adopt Pokemon, view your items and change your avatar!

Welcome to the Sam and Dan Games Developer Blog!

PTD2 Trainer Pass! Get it today!

A great way to support us while getting amazing rewards!

So let's talk about what you get:
  • Increased chance for Shiny/Shadow pokemon to appear in the wild
  • No ads while you play the game
  • Get a copy of shiny giveaway pokemon automatically every week
  • Faster Breeding - Breed with only one visit instead of 2, essentially breed something everyday!
  • Faster Leveling - Get twice the experience on every battle!
  • Giveaways for pass holders only
You get all of this for only $1.99! One time payment! Get it today!

Champions TD is evolving!
These past few weeks I've been really thinking about what Champions TD is becoming and where it is headed. Game Design is such that it is an evolving living thing. Game change direction all the time. Mostly in secret where only developers see but here at Sam and Dan Games we try to be really open about our process so that you are involved in it.

Also I'm looking at how the game performs in different platforms. We want to release the game for mobile devices and so the performance of the game is important.

In an effort to really focus the game and give more meaning to individual units the game will have some big changes.

  • New Valor System (Unit Upgrade system) - This Valor system will work like the resources in most Tower Defense game. You start off with some amount of Valor each level and you use it to temporarily upgrade units for that level. As you defeat enemies you will earn more Valor that you can use to further level up your units. Very similar to how you would upgrade a "tower" in most tower defense games.
  • Only 5 units can be used on a level - Similar to PTD1 and 2 you will only be able to bring in a certain amount of units to a level. This is to increase the strategy involved in who you bring, make each unit much more important and to make performance much better.
  • Tent will only hold one unit/levels will have more tents - Each tent will only hold one unit and so you will usually have 5 tents each level.
  • You will only have 1 of each class of unit (but can keep the ones you have!) - You will no longer be able to get an infinite amount of Bandits, you will only unlock one unit as you play the levels. For example you can have multiple healers but only one timothy or only one Cave Mystic. In the future I will add different types of healers that you will be able to use. Including some hybrids. After some thought and your feedback I think it will be okay to still have some units be able to be recruited more than once. Thanks for the feedback!
  • Player Activated Moves - Some units will have attacks that will be player activated and aimed. An example is the Yeti's Avalanche move.
  • More Skin Selections when creating your character - Finally got around to adding more skin variations for your character.
Due to all these changes most levels will change. You will be able to keep your units and the items you have collected so far.

Trainer VS: Picking your avatar, win streaks!
For Trainer VS I will be adding the ability to pick from avatars that you have unlocked, I will also add a new win streak mechanic. Win a number of fights before losing 3 times. If you lose 3 times then the win amount resets and you start over. If reach the goal then you will win new TMs for your account.

Weekly Progress

Champs TD - Evolving

  • Valor System (0%)
  • Only 5 Units per level (0%)
  • Tent will only hold 1 unit (0%)
  • Only 1 of each unit/Unlock units by beating levels (0%)
  • Player Activated Moves (0%)
  • New starting levels to unlock units and better tutorial (0%)
  • New Graphics for menus and UI components (50%)
  • More Skin Variations when creating your character (100%)
  • More Hair Colors for the existing styles (100%)
  • Human characters will now have a shirt on when you remove their chest piece (100%)
PTD 2 - Trainer VS Moved to next blog

  • Pick your avatar (0%)
  • See more opponent info (0%) - See their wins and their trainer ID
  • Win Streak Mechanic (0%)
  • Win Streak TM Rewards (0%)
That's what I'm working on this week if you have any questions or comments please please please contact me by email, twitter or in the blog comments. Thanks!

Wednesday, March 18, 2015

Still getting it done! Champions TD game fixes!

Want to get the Shiny Starters? Shiny Zorua? Shiny legendary dogs? Shiny Mew? or any other shiny pokemon in the game? Adopt them today using SnD coins! Click here for more info.

Visit the PTD: Pokemon Center - a place to trade pokemon, get your Daily Code, adopt Pokemon, view your items and change your avatar!

Welcome to the Sam and Dan Games Developer Blog!

PTD2 Trainer Pass! Get it today!

A great way to support us while getting amazing rewards!

So let's talk about what you get:
  • Increased chance for Shiny/Shadow pokemon to appear in the wild
  • No ads while you play the game
  • Get a copy of shiny giveaway pokemon automatically every week
  • Faster Breeding - Breed with only one visit instead of 2, essentially breed something everyday!
  • Faster Leveling - Get twice the experience on every battle!
  • Giveaways for pass holders only
You get all of this for only $1.99! One time payment! Get it today!

Auction House and Champions Item Variety

Game Fixes
Thanks to some great fans (who am I kidding you are all great!) we've managed to find some pesky bugs that I want to fix plus some changes to some abilities for units.

Drag Flag Colors - Right now you always see a blue flag when you drag a tent flag. I'm making it so it will show the proper color and remove the massive confusion this causes.

Summoned Units Not Taking Level Lives - The Lacky that the Bandit Boss summons is very weak and so he dies pretty quickly. This change makes it so you won't lose a level life when a summoned minnion like the lacky dies.

Changing attacks to be more viable for player - When I design enemies I make sure their attacks are appropriately strong but slow enough to give you time to dodge the attack. Once you recruit an enemy their attack becomes part of your arsenal, and while very strong they are too slow for actual play and so I will make these slow attacks be faster but only when you play the unit, the enemies themselves will still have their version.

There are other changes that will happen but these are the ones that I'm focused on this week along with the Auction House and Item Variety.

Weekly Progress

Champions TD - Item Variety and Auction House  Released!


Same item but different stats under the new item variety system
  • Game Fixes (100%)
    • Drag Flag Colors (100%)
    • Summoned Units Not Taking Level Lives (100%)
    • Changing Attacks to be more viable for player minions (100%)
  • Item Variety (100%)
    • Creating Item Level System (100%)
      • Prefixes (100%)
    • Dealing with current gear (100%)
    • Apply to Auction House (100%)
    • Made Selling prices consistent based on item rating (100%)
    • Item comparison screen will now compare the item's rating to each other (100%)
  • Auction House (100%)
    • Add Check Sum for sending and receiving (100%)
    • Money Text Stuff (100%)
    • Others (100%)
    • Transferring Items/Currency over to Auction Box and back to account (100%)
      • Creating Auctions from Game (100%)
      • Sending Money from Game (100%)
      • Receive Items and Money from Auction House Storage (100%)
That's what we have for this week, as always, let me know what you think!