Wednesday, April 29, 2015

C&E Ideas

Ideas:
*Alliance-Status: The owner of the Alliance can change the "Status" of the alliance, and choose what the Tax is during that time, say the alliance is about to go into a Massive war, so the alliance status is set to "Tense-Time" and a certain tax is there, then Peace-Time, War-time, Arms-buildup, etc. And the whole thing to be fully customized.
*When performing Espionage, the cost of the Mission is changed dependent on how far the Nation is that your performing Espionage on.
*Espionage to be performed on Alliances themselves?
*Network Upgrades ~ Upgrade your Network to make it harder to be taken down, and possibly different upgrades for things like Discounts, etc.
*Espionage Statistics not Public Information to create Secrecy.
*Alliance Perks ~ Perks can be bought by the Leader / Heir of an Alliance that adds a boost to all members inside the Alliance, the boost is to be VERY subtle, very small changes, but still there.
*Continental Perks ~ Depending on what Continent your on, different perks are applied like +% of Food or -% in Military Strength, stuff like that.
*Large-Range Nation Searching
*Different Ranks in the Alliance pay different amount of Tax, Leader pays this %, Members pay this %, etc.
*Can only Recruit 1/3 of your Max Military Per Day, so an Army takes time to build up
*Choose what Currency your Nation goes by, and that is also Displayed, so instead of seeing $5000 you would see 4572.47 (If your Nation Currency became Euros) In this sense it would not only say your Nation Currency, but actually calculate your Balance based on that Currency.
*A City has a Infrastructure cap based on Land (Infra cannot go higher than land).
*Group Chat ~ So now you can do a Group Conversation instead of having to throw messages around everywhere to each person/nation

Let me know in the Comments what you think!

Thanks for reading, feel free to leave a Comment, and I'll see you in the next one! Stay awesome :)

Tuesday, April 28, 2015

C&E v0.011 & Network Idea

This latest Update finally brings Gameplay into the Equation, before now there was a Nation Page where it displayed the General Statistics of your Nation, but now there is more you can do, The primary addition being Cities, although Right now cities are useless and can't do anything besides just have a name, it is a great Base to add to the game for when I get around to bringing in the Heavy Features.

Added Features:
+Added Military Display (Shows you how many Military Units you have for: Soldiers, Tanks, Aircraft, Ships, Score)
+Added Statistics Page, showing how different Stats of the game (Currently displays how many nations have been created)
+Added Score (Does not yet have any value to it)
+Added Cities page (Does not yet do anything)
+Added TrackID feature (Now it tracks who your logged in as on all pages, not just the Nation page)
+Disabled Characters when logging in your Oasswird (Used to display your Password as you typed it, but now it does the whole ****** thing as you type).
+Added Google Analytics Tracking (So now I can see pageviews, and how many people are actually going on the website, etc.)
+Added Google Ads (Since it's a free-to-play game, my plan for keeping the Website alive is Advertisement, so I do want to request that when the game is released, you disable AdBlock when on the Website)
+Added Anti-AdBlock message (If you have AdBlock On, a message pops up asking you to Disable it)

Also just in case it was confusing in the last update (Well most likely it was since I didn't explain it what-so-ever) The Military Unit "Scorpion" is a new Unit that most of you would not be familiar with. Unless of course you were thinking of the Scorpion Vehicle from Halo, then you would have pictured images of Futuristic Warfare, No the Scorpion is not a Vehicle.

It's name Scorpion based off of a Show i watch on Amazon Called Scorpion. They are a bunch of High Intellectuals who solve Crimes through Computer Science, and Calculations.

So the Military Unit 'Scorpion' is basically like a Military Computer Hacker. They are used to Shutdown another Nations Network, Seeing their Recent Transactions, Messages sent, etc.).

I will also be working on a "Network" the Network ties your Nation to the World, basically without Network your Nation cannot Trade with other Nations, Send Messages, and War Range is Decreased 50%, as well as you cannot perform Espionage, and all units but Soldiers / Tanks become Unavailable. Let me know what you guys think of this new concept in the Comments!

Thanks for reading, feel free to leave a Comment, and I'll see you in the next one! Stay awesome :)

Monday, April 27, 2015

C&E v0.01

The Big V0.01 ! This update is Big enough where I am not going to even write about it...

.....

Okay Ill give a list.

Added Features:
+Added Military Units (Soldier, Tank, Aircraft, Ship, Scorpion, Atomic Bomb, Nuclear Missile, Ship)
+Increased Anti-Injection Security
+Broke the Login / View Nation page 9 times
+Increased User-Friendly Website Navigation
+Adjusted Coloring of all Tabs
-Removed more Useless Lines of Code
+Added some Useless Lines of Code, then realized they were useless and deleted them
+Began on Initial User Cities Tables in MySQL

This list is Amazing (in my opinion) as it represents a great jump in progress, with the addition of Military Units, a basic City system, Great new Website Features, and look, as well as getting rid of that terrible useless code. And to just putting icing on the Cake, an upgrade in the Anti-Hack system!

Hint:
An AMAZING Update coming Tomorrow :D

Thanks for reading, feel free to leave a Comment, and I'll see you in the next one! Stay awesome :)

Friday, April 24, 2015

C&E v0.009

Lots has been done and I'm very exited about it!

So this new Design thing is working out very well, it has made Individual editing of pages much easier, as well as templating them so I don't need to edit each page for minor changes. Most of what has been done has been Cleaning and New Design. I have reduced the lines of code to half what it was (Cleaned up the old, not needed code) and made everything just so much easier to deal with. This will result in much faster editing of the Game / Site and a lot better Overall look!

I have also worked on continuing the Anti-Hack system, due to creating more indexes and less custom .php names I have created a system where those looking for a vulnerability in the Websites MySQL Grabbing will now have to look beyond the Domain, for example if someone looking at the Original site saw website.net/blahnation?userID=5 they could easily grab that userID and inject them, but now all they see is website.net/nation/userID=5 , without the ? before a custom Php link makes it much harder for them to grab values, and will now have to go beyond just the link of the Webpage to find an Opening. (I even tested it myself by trying to hack my own Website, and being unable to do it as the person who designed the security system, means that this thing is working Great!)

Sorry that there was no special "Added Features" section, but a lot of this was work for future updates, and to make things look better, here, to make you happy:

Added Features:
+Better Look
+Better Coded
+Better Anti-Hack

There, now we are all happy :D

EDIT (Note):
I will be unable to do Updates this Weekend due to some IRL Complications, and being unable to use my Computer, also dealing with a glitch that causes you to switch user when you first log in, basically you login, it takes you to your Nation page, but then it switches you to User 0 (The first account ever signed up). So that will take some time to figure out and fix, (Tried for a few hours earlier)

Thanks for reading, feel free to leave a Comment, and I'll see you in the next one! Stay awesome :)

Thursday, April 23, 2015

C&E v0.008

So there has been a lot of progress, but there is also a big problem. Originally the Website was being coded for Localhost then gradually moved into MySQL, the result being a tangled mess of code linking to both Localhost and MySQL (Online), so I have pretty much had to redo most of what I have already written, the good news being that this will make future development easier, make the game look better, and harder to be hacked!

So far I have re-written the way Templates connect, and how Directories link to one another in terms of connecting, and made the whole thing a bit more organized. The result has been fantastic, and I want to share with you guys a quick screenshot:



As you can see there is no Nation Page, information, and it doesn't show you resources, but that's because I am re-doing the Visual Portion to make it fit the game better, the end result will be much better.

Again, I just made to be clear, I am not re-doing the game, Just cleaning up the code, and making it look better, and easier to edit.

Thanks for reading, feel free to leave a Comment, and I'll see you in the next one! Stay awesome :)

[FeedBack]

Tuesday, April 21, 2015

C&E v0.007


Added Features:
+When Searching for a Nation, if the Name is similar to what the Real Nation name is, you will still get the result, say you were searching for nation name 'kingdom' but just typed 'king' it would still pop up.

Glitches Found:
+Search Page rounds to the UserID, not the Nation Name, so the result is always the First nation ever created
+Resources / Cash don't update unless you Log out and Log back in
+If logged in and Visit the Main Website page you are told that the website is under maintenance.
+If already logged in and visit your Nation page, will display the first nation ever created unless you log out and back in

Idea: (Please Leave in Comments what you think of it)
Ability to Switch Theme (Normal | Basic) ~ Possibly others


So this update a lot of Bugs were found that are going to take a bit of time to fix, so expect the next one to be a big list of bug lists. Remember this is an MMO Browser-based the fact alone that it is an MMO means that a lot of this starting code is the "Structure" or base. Getting ready for the mass amount of Data that will be constantly transferring through the server.

Thanks for reading, feel free to leave a Comment, and I'll see you in the next one! Stay awesome :)

Monday, April 20, 2015

C&E v0.006 + Anti-Hack


Added Features:
+Icons for each Resource
+Fixed the Ammunition not displaying its amount
+Broke and fixed the Login / Signup a few more times
+Added PHP/MySQL Created Nation Pages, so you can view other nations now!
+Added the ability to search for other Nations (Right now its cap sensitive, and has to be exact, will do similar, and non-cap sensitive in the future)
+Added Anti-MySQL-Injection Precautions (Anti-hacking)

This new PHP/MySQL Nation Page system is great, every nation that registers will automatically render a page (Without having to force duplication) that allows you to view each others nations

http://someurlwillgohere.extension/Connections/nations.php?userId=0

Where the userID is, you would put their Nation ID and you would automatically go to their Nation Page, or you can go to the Search Page.

You register a nation called bob kingdom, it generates a UserID of 29.

You would search in the Search bar for "bob kingdo" it would give an error, you search for "bob kingdom" and it pops up with a link saying "View Nation" clicking that will direct you to

http://someurlwillgohere.extension/Connections/nations.php?userId=29

It is a great system because now Nations can interact with each other, and it doesn't take up a bunch of Space on the Database and Directories / Server.

I have also taken some precautions in adding Anti-Injections, like Cleaning the UserID, Names, Passwords, etc. So it will be harder for Hackers to steal Information or Overload the Server.

Basically to sum it up, New Icons, ability to search for nations, nation pages, and a basic Anti-Hack system.


Thanks for reading, feel free to leave a Comment, and I'll see you in the next one! Stay awesome :)

Sunday, April 19, 2015

C&E v0.005

Sorry for the Wait, been busy all weekend and wasn't able to work on it, so not too much done, but still a lot of Code written!

Added Features:
+When on Ban page, your given the Reason you were banned
+Website will re-direct you to a maintenance page if the website is in Maintenance (If I am doing an update big enough where a glitch could happen, so I don't want anyone on)
+Broke and Fixed Login / Signup system a few more times


Thanks for reading, feel free to leave a Comment, and I'll see you in the next one! Stay awesome :)

[FeedBack]

Friday, April 17, 2015

C&E Side Note

Since that last post, I have broken and fixed the Registration system 5 different times. Programming is very delicate, one space too many or one dot in the wrong spot, and the entire thing is Broken! This time it thought that everyone that Registered (And everyone who was already registered) was banned. So everytime someone signed up and logged in, they were immediately Banned. (Fixed now)! :D

EDIT2: After posting this I broke the Ban system 4 more times.

C&E v0.004

In this Update more good stuff was done! :)

I fixed the Registration form, so now users can sign up for the game and log in using the login page. And I fixed how the MySQL Database stores Data, also adding Registration Checking so now you can't have the same Username as someone else, or the same Nation Name. And you cannot leave a field blank.

Most of these lines of code are for tedious stuff like this, but all this is developing the base or "The Core" of the game, after this, adding features and such will be easier but for now the Main Base / Structure of the game has to be built to support those features. Plus doing it this way allows me to perform a "Template" format, meaning that when I make major changes I won't need to edit each page individually.

EDIT: Added User Ranks (Admin, Normal), Admins can ban Normal

Features:
+Ability to Register
+Added Security
+Added User Ranks
+Added ability for Normal Users to be Banned by Admns
+Added so accounts cannot have same Username or same Nation Name
+Registration fields cannot be left empty


Thanks for reading, feel free to leave a comment, and I'll see you in the next on! Stay awesome :)

Thursday, April 16, 2015

Going back to the Source

I have been too Pre-occupied by what the community wants and not focused on what games I want to create or build, or really on games at all. So once again, I am starting the Blog over. It's mainly because this blog doesn't make me happy like my old blogs did. My old blogs, what I really loved about them is that people were actually watching them and waiting for that next post. And the comments, I loved the comments so much, but if you look at this blog, all you see is dead posts, like I'm talking to myself. I'll let you guys know when the new blog is once I actually find a game project worth pursuing.

Wednesday, April 15, 2015

C&E V0.003

(Update 3 of Cause&Effect)

TOday was a very fantastic day, hell the day is only half way through but I have so much done I couldn't wait to post!

The Website is up (I fixed the loop), I also got some new Variables to store inside of the Database, new Resources and such like Oil, Plutonium, Uranium, Steel, Petrol, and others!
I also got them to display on the Homepage, and the Login System is fully Functioning! This may not sound like much, but I put together a estimate and I have roughly 3400 Lines of Code written so far.

Doing this all Securely (So its not easily hacked) And over a Database instead of locally takes up a lot of Code, but it will all be worth it in the end, because since I am transferring all this over a Database I will be able to make this game Multiplayer more easily.

(Somehow I broke the Registration page, and it own't send the Data to the Database, so right now all I have to do to login is a very Creative, advanced login default I set)
Username: AdminLogin
Password: AdminPassword

Thanks for reading, feel free to leave a Comment, and I'll see you in the next one! Stay awesome :)

Tuesday, April 14, 2015

C&E Update 2

Cause&Effect is going rather well, I figured out how to connect to a MySQL Database, so now there is a Register / Login system! Right now the Register will store your Leaders Name, Your Nation Name, your Login Name, Password, Email, what Rank you are (Banned, Normal, Admin) and how much Cash / Oil you have. But all you see on the actual website is your Login Name and the ability to Login / Register.

But thios is a great progress as I am finally able to create such a System for the first time! Sadly right now the website whenever you connect to it says "This Webpage has a Redirect Loop" which I am working on fixing right now, this game is Browser-based, similar to my other Browser game "Dead Valley".

Thanks for reading, feel free to leave a comment, and I'll see you in the next one! Stay awesome :)


Monday, April 13, 2015

Cause&Effect

Cause&Effect is a Short HTML5 game I am working on to further my knowledge of JavaScript and HTML5. The whole point of the game is to own your Own Country, and interact with other players in controlling the world. So far its just a button that says "Click Me" and increases how much cash you have, but I promise Progress lol.