✅I have added all of the factory and trading related election rating counters into the game, so the game is already logging everything that will be affecting planet elections.(except influencing actions that I'll be adding later when we have planet leaders already). So you will be able to win election through being a reputable factory owner with a lot of happy employees or through trading a lot. Here is a list of everything that is affecting election ratings at the moment(green is already implemented and others will be implemented after elections (and the best wage in the galaxy will be implemented when I add another solar system with colonizable planets into the game)
All of these election rating counters were added in the form of factory logs, so there are now new factory logs you will have in your factories. Here are most of them on these screenshots:
✅Your factories workers now get extra 30 happiness if the factory has the highest wage on/in the planet and/or system. They also get -30 happiness if the factory has the lowest wage on/in the planet and/or system. All of the factories that have lowest/highest wage get this reward/penalty not just one of them.
When your workers are starving on a certain cycle (when they can't buy any food/drink that round and their starve index is decreased by 2) they now get -50 unhappiness on that cycle which decreases production capacity by 5%.
Do you think the penalty should be bigger? Though I think since I am now logging how much happiness workers have every cycle I could switch to a system where workers happiness is an average of certain number of previous cycle happinesses and then also add in rioting and stealing of factory inventory when workers are unhappy for longer periods of time.
☑️Added instant jump button "J" to the coordinate box as well:
☑️Styled the right Side Hud UI a little bit. Made buttons all the same length.
✅Added homeworld mechanic! It will be used in the upcoming elections update as you'll only be able to run for president on the planet you have your homeworld set to.
You can see your homeworld on your Captain Profile as well as homeworlds of other captains on their captain profile page. You can change your homeworld by going to Planet Info of the planet you want to change to where you'll find a button "Initiate homeworld change". Temporarily the homeworld change is instant and you have a couple of days to change it to the planet of your liking but after 10th April it will take 15 days (elections will also happen every 15 days) to change your homeworld. New players will get randomly assigned homeworld at the moment.
☑️The recently added Trade From option(that enables you to trade from your factories) in the planet market now remembers whatever you set it to. So you don't have to keep setting it to a certain factory after each click on the sell or buy button. It only remembers what you set it to *when* clicking Buy or Sell though.
✅Added log out button
✅Added the ability to trade on the planet market with your factory! On top of the market page I added a dropdown box (by default set to Ship) to select if you want to trade from your ship or from one of your factories. If you select one of your factories then buying will use factory's money fund and store the bought resources directly into factory inventory and when selling it will sell the resources from the factory inventory and money will go directly into factory's money fund.
I restricted the amount you can sell at once to 500 resources at a time and you can only buy 1000 at a time with the factory. This is so that selling to big factory workers requests from the factory won't have too big of an advantage than if you'd have sell from the ship (or rather so that people can more fairly compete to sell to nice workers requests in the future as they'll have to do multiple clicks, allowing other players to get a chance at selling as well)
✅Asteroid orbiting is now in the game as a solution to the problem where there aren't any asteroids near the planets anymore because players are only mining close to the planets right now since there's no starbases yet.
Every cycle (10 minutes) the game will move 271 random asteroids (the database actually selects the ones with lowest id) that weren't yet moved in the last two days! Which means each of the 8130 asteroids in the game will get moved once exactly every 5 hours, except the asteroids that just spawned and aren't more than 5 hours old yet. (at first I wanted all the asteroids to move every two days but I realized at that rate it would take more than 5 real years for them to do one orbit around the sun. By my probably not very accurate calculations even with them moving every 5 hours for a grid it will take one year and 9 months for them to do a full orbit around the sun for the roids orbiting at the distance where the current roid belt between Ayraat and Evora is)
They are orbiting clockwise at a speed where they will mostly only move by 1 grid except some asteroids that are very far away from their orbit centres that might move by more than just 1 grid but probably not more than 2. Asteroids are forced to always move at least 1 grid away else some asteroids would be stuck forever due to rounding errors. Orbiting code also does radius distance corrections else the asteroids would probably disperse out radially, again due to rounding errors.
If there is another object where asteroid wants to move it won't collide but the code will try to move the asteroid further ahead (could be exploited by factions to move asteroids faster)
✅Made the Invite and Message buttons on Captain Profile pages work.
✅Description editing on your captain profile is now enabled through a Description Edit button on your profile. I also removed Invite and Message button on your own captain profile as well as added a link to your profile on the right side panel:
✅Added a new setting Hide Text Grid on Width. Default is 32. This settings determines at which grid width the coordinate text inside the object grids will stop displaying. To never see the coordinate text set it to something like over 200(I doubt you'll ever zoom in so much)
✅Added Faction logs and all the possible faction actions into them. Some logs will only display to users who have correct permission for it and correct position or group in some cases. So for example logs of someone posting a new reply on group 5 only faction boards category will only be visible for the people in that group as well. And if you don't have permission to invite people to your faction you won't be able to see invite related logs.
✅Added permission for editing faction titles (so now there's a "title" permission which is used for assigning existing titles and "title edit" permission which is only for editing the custom titles. Also fixed 2 minor interface bugs on the permission page.
✅Captains now get a notification when they receive a faction invite.
☑️Fixed a bug where kicking a faction member deleted your faction own permissions instead of theirs.
✅Faction Search now works.
✅Added captain search to message writing form. Click on the blue name suggestions to get it into the Captain text field.
✅Added links to Captain Profiles on the faction profile and my faction pages.
✅ Added top 10 largest factions to Search Page and to reactorblock.com homepage
✅Added a search page where you can search captains and factions and you see New players, top 10 richest and Newest factions (And there will also be top 10 biggest factions displayed on that page). Clicking on the captains or factions will open up the respective profile page. Faction Search doesn't work yet, but all the 4 factions that exists in the game are displayed under Newest Factions anyways.
✅Added Captain Profile Pages!
✅Added Faction Profile Pages!
✅Added Factory inventory dumping! You also get a confirmation popup. (along with slight visual tweak of the Factory Inventory form and there's also a new factory log for this action #92 ). You can only dump while at the factory's planet.
✅You can now see in which faction the players you click on are and their title in that faction.
✅You can now disband factions (only position 1 captains) which will delete all faction boards posts, permissions,titles, invites and kick it's members out. Main faction data will remain and you will be able to get back into this faction by founding a new faction with the same name (to be implemented next)
There's no confirmation for this action atm so be careful not to click the red button by accident :stuck_out_tongue:
✅You now can't leave the faction as the only remaining Position 1 captain anymore. You must first give position 1 to someone else or disband the faction.
✅Fixed bug #14. I have now added a "Game Loading" message div which will go away when all the planet pictures get loaded. Since planet pictures stay saved in your browser cache you will only see this message the first time you log into the game as the game loads pretty much instantly afterwards.
✅Faction Boards implemented! You can create new categories that have position and group permissions (leave them at 0 for everyone to be able to access that board). Until I put in special faction boards editing permission, position 1 captains can create boards and position 1 and 2 captains can edit the boards (that includes deleting boards, posts and individual replies).
With this update I consider the factions update complete 🏁 (though I will also put in Faction Disband option along wtih some other minor tweaks before moving on to implement features next in line on the short term plan)
✅Faction Message All implemented yesterday.
✅You can now assign titles to faction members and add/edit custom titles in the Faction Member page. Titles also have an importance setting which is basically positions for titles and serves the purpose that someone with title permission can't assign/edit titles of higher importance than his own title to other people (Just a security measure independent of positions ).
You can't delete the titles yet as I first need to add default title setting that player's who join the faction will get.
✅Last week I already added changing of faction information and description, member position and group editing and invite canceling and leaving the factory button (and group separation displaying on the faction members list).
And today I sorted out member permission editing and the permissions also work where applicable now. Also added member kicking.
The other two remaining faction features I'll be trying to implement tomorrow are custom title adding/editing and faction boards.
✅Newly registered players now get a "born" date logged which will be later displayed on your Captain profile as the time of when you started playing the game. All the currently registered players got assigned the date of 1st February 2019 except for two players that I know joined a few days after that. Maybe I'll go assign more accurate born dates for some of the captains that I know around what actual date they registered later. (You can't actually see these yet as there's no captain search and captain profile pages yet but those will be added in march somewhen )
✅Started working on factions! Added faction creation, invite creation and invite accepting (joining a faction). You can access these features through the new My Faction button on the right panel. Other faction features are incoming in the next few days.
✅Added planet boards! These are like local forums you can access only when you visit each individual planet. You can use it to post trade deals, asteroid locations and any other ingame related stuff :). It's been coded in a way that will also function as faction boards later when I add factions (of course those will be accessed from faction pages).
I still have to add paging to it, but I think I'll do that later after I implement factions.
✅Added paging to the Received and Sent messages. It is also smart enough that when you open up a message on for example page 3 and then go back and click Received/Sent, it will go back to page 3 and not 1 :wink: Currently it displays 20 messages per page but I'll probably make that variable settable in the settings, thoughts?
✅Added ingame message system! There's a new button in the right panel to get to the messages page named "Messages". Inside You have 3 sections: Write, Received and Sent, with the form for writting new messages opening up by default. Received and Sent pages display a list of messages you received and sent and clicking their title will open up each individual message. Messages you haven't opened up yet are marked with NEW! and message you sent which haven't been opened yet are marked with unread. You get logs for sent and received messages and you also get a notification for received messages. The only remaining feature I plan to add in shortly is the paging of the messages.
✅Added Cargo Dumping Confirmation popup
✅Added Factory Disband Confirmation popup! Also to differentiate the two different disband options (and make them clearer) I changed the disband button text into "Stop production - fire all workers" when you have employed workers (you will get no confirmation for this action) but when you already have zero workers the button text will be "Disband" like before this update and clicking on that one will open up the confirmation popup.
I added a new Settings page to which you get throught the new "Settings" button in the right side panel and on that new page you have two settings for now but many more personalization settings will come in the future.
For now you can turn grid net on or off and you can set at what grid width the grid net will dissapear when zooming out, currently set default to 17 (example: if you set it to 1 pixel your grid net will be displayed even when you zoom out so far to see the whole solar system)
Zooming in/out is now properly done -> it's zooming where your mouse points and not at the center of the screen. Fixed some other issues as well like game crashing if you zoomed out very far out and then tried to drag the map.
✅Reworked asteroid generation system! I deleted all the old asteroids and spawned in 8130 new asteroids with the new distribution. Asteroids are now divided into 6 specific groups. I added in an asteroid belt going around the sun and between the planets of Ayraat and Evora. You can see what group the scanned asteroid belongs to:
Additional notes: Roids in the two system groups come in all sizes just like before, while the Outer Rim, Evora and Ayraat groups contain roids of max 500 m3 size. And the Inner Rim AE roids contain only asteroids to max size 99 m3.
You can see how the new asteroid distribution looks like and the number, names and radiuses of the new asteroid groups on this infographic:
✅I worked some more on the map engine and you can now zoom out indefinitely and then zoom back in without anything getting messed up. Planet pictures are now centered on their center coordinates and due to new zooming recode they won't get offset from their true coordinates anymore no matter how much you zoom out/in. I'll be able to display all the solar systems on this same map later when there's more planets and solar systems added and probably also a zoom slider will get added onto the hud (or at least a button with a system level zoom for quick rezooming).
✅Today I implemented a solution that allows lagg free map dragging even when you zoom out really far! (and lagg free zooming out/in as well!) Big thanks to @xhawk87 for providing the code for the css grid pattern. You can now zoom out all the way to see all 3 planets and the sun! When you zoom out under grid width of 20px, the grid net and coordinates dissapear so it's not too clutered. I also fixed a bug which caused the planet background picture to shift away from the planet outpost and other objects parked around the planet (there might still be some tiny discrepancy but not anywhere as much as before). Zooming in/out also stays a little bit more centered now.
Fixed a bug that caused factory logs to not get written to database on cycles where any factory used two different items from their own inventory to do production. (But everything else still worked normally, you just didn't get any factory logs on those cycles.)
It's possible that you had an unread Notification button pop up but upon clicking it the notification page was empty -> Just click Mark all as read to fix that.
☑️Fixed bug #13 where you'd have resources with 0 amounts left in factory inventory after production cycle
✅Notifications added! These are basically only urgent factory events for now (as there isn't a catastrophic player event yet(like someone attacking you)). They are basically logs and display the same as logs. https://cdn.discordapp.com/attachments/449863647464914955/543497863020281894/unknown.png
✅notification button will only appear if there is a pending notification that you haven't dismissed yet. And it will flash in red: https://cdn.discordapp.com/attachments/449870950595428354/543543136530464768/unknown.png
✅Fixed bug #13 where you'd have resources with 0 amounts left in factory inventory after production cycle
✅Notifications added! These are basically only urgent factory events for now (as there isn't a catastrophic player event yet(like someone attacking you)). They are basically logs and display the same as logs. https://cdn.discordapp.com/attachments/449863647464914955/543497863020281894/unknown.png
✅Player logs now have advanced search features in it. You can display specific types of logs, select amount of up to 500 and go back to earlier logs with pages. There will probably be some more work done on this.
✅Factory logs now also have advanced search features in them!
✅ Game is now logging all of your actions. I will prepare a cheat/wiki sheet of all the existing types of logs and add it onto tutorial page. Let me know if you think of something else I could be logging.
Trying to transfer stuff from factory to your ship in bigger amount than your free cargo hold space now won't throw you an error anymore... But will instead transfer an amount that will fill your ship cargo hold and only display a warning: https://cdn.discordapp.com/attachments/449863647464914955/540819511645962241/unknown.png
Adjusted the money population newborns get from 20$ to the original 100$, because of the current economy where there's a lot less population and therefore a lot less fresh money printed into the game.
Added mining logs! You can see them in player Logs (Logs button on the right hud panel) https://cdn.discordapp.com/attachments/449870950595428354/539730129740496906/unknown.png
Pricelists added. You can now view market information of both planets from anywhere by clicking on the new Pricelists button on the right side panel.
It's very basic atm and not interactive, it will be changed when I redesign the planet market page with sorting and search and other interactive functions.
Canceling sales now takes into account the amount you want to cancel. So instead of canceling everything like before, you can cancel the exact amount you wish to cancel now. Picture bellow will only return 2x Water back to factory storage. https://cdn.discordapp.com/attachments/449870950595428354/539450056533868566/unknown.png
When Putting up a factory request on planet market, you will now get confirmation about it in the top left window instead of closing the factory page and displaying it on the middle window. When Putting up a factory request on planet market, you will now get confirmation about it in the top left window instead of closing the factory page and displaying it on the middle window.
Fixed a bug which allowed you to create a negatively priced factory request.
Canceling requests now takes into account the amount you want to cancel instead of cancelling the whole request! On the picture bellow only 20x Ice will be removed from request: https://cdn.discordapp.com/attachments/449870950595428354/539481698669297677/unknown.png
Moving around with your ship now get's logged and is accessible on the player Logs(Logs button on the right hud panel). (Ship ids are identical to your captain id atm (since we can't have more than one ship yet)) https://cdn.discordapp.com/attachments/449870950595428354/539499199817973772/unknown.png
Fixed bug #11! Total Cycle Output field on My Factory page now takes into account planetary efficiencies. But it doesn't take into account last happiness levels of your workers so actual output might still be up to 4% higher. https://cdn.discordapp.com/attachments/449870950595428354/537967476999192576/unknown.png
Fixed bug #4! There's a code in place now that checks if there's anything on the random coordinates newbies spawn at (-20 to 20 x and y ) and move the ship into new empty coordinates.
Fixed bug #9! The map is now updated after you click mine on an asteroid, so the asteroid now disapears when you fully mine it.
Fixed bug #10! Clicking Disband now cancels all requests of the factory as well as the requests of the workers and returns the money to workers(which are then fired ) and to factory money fund.
Fixed a bug where clicking Disband in my factory page (while you still had workers working in the factory) would "return" the Factory's money to your captains fund WITHOUT deleting the factory's money, thus creating money out of thin air. Money now automatically gets returned to captains fund from factory only when you click disband while having 0 workers (thus deleting your factory for good).
Fixed a bug where worker's money was being returned into the wrong place in the database and thus the unemployment population had less money than they should which probably helped a lot more people die xD
Fixed a bug where you were able to put things for sale and buy them with a negative price
Fixed a bug where you couldn't cancel,edit or buy market offers that had a price higher than quadrillion (Maximum supported price is now therefore 9,223,372,036,854,775,807 )
Sorted out money and worker number statistics that I'm logging and maybe i'll display some on the planet infos soon (like a population number graph)
Since factories now also have their own money accounts which made it harder to track how much money you actually have together: I added 3 new money "statistics" on your right side HUD displaying how much money you have in your factories, your factories requests and total money. https://cdn.discordapp.com/attachments/449863647464914955/537276117183365121/unknown.png
I have removed cargo hold button and added the ability to dump the ship's cargo in the Factory Storage page. And the button was renamed into Inventory. Ship's cargo also now shows on top of that page, for easier transferring into factories and because atm normally factory inventory is much longer than your ship's cargo.
Added happiness of your worker's in My Factory page. (The happiness during the last cycle )
Fixed a bug where newborns weren't getting added to unemployed population group, causing the big population decline in last two days (along with big starvations)
Fixed the interface issue on planet market requests where interface would allow you to cancel or change price of requests from your factory's workers (You couldn't actually since it would throw an error if you tried). Now the cancel buttons doesn't show anymore and requests of your factory's workers are in a different black blue background colours with some transparency so that those who wish to sell stuff to their workers requests can find them more easy. See screenshot: https://cdn.discordapp.com/attachments/449870950595428354/535772908820365313/unknown.png
Fixed highlight background colour which was grey-black-ish and transparent so it looked like you were not selecting anything...
When hiring/firing workers in my factory, factory is now automatically resized if you're hiring more workers that the currentsize of factory supports or when firing them the new number is lower than the minimum requirement per size. So there's no need to play around with having to adjust size manually while firing/hiring anymore, but the option is still there incase someone wants to reserve factory slots for future growth of their factory (or simply wants to block others from using them xD )
Big economic update is here!
This is a long full changes post:
Each cycle items consumed by the planet populations are categorized into common items and rare items (levels 1-4) on each of the planets separately.
First the most abundant and cheapest item for every consumption category (foods, drinks) is found and then other items are compared to determine which is rare.
An item is given one level of rarity for each of these conditions:
-if sum amount of the item for sale on this planet's market is less than consumption amount( of the particular consumption category item belongs to (foods or drinks..)) for all of the planet's population together
-if sum amount of the item for sale on this planet's market is less than 10% of the sum amount of cheapest abundant item ( of the particular consumption category item belongs to (foods or drinks..)) (but if the sum amount of the cheapest abundant item of the category is more than the particular category's total consumption need of the entire planet's population than the total consumption is compared )
-if item's average market price is 5 times more expensive than average price of the cheapest most abundant common item on this planet (average price calculation only includes cheapest for sale items that sum up to at least half of the entire planet's consumption need of the particular category)
-finally if there's none of an item that otherwise exists in the game on this planet's market, the item is giving top rarity level 4 (other conditions don't apply in this case - are non calculatable)
Planetary populations now have one more consumption need to fill for them to survive and this category is drinks! (aside from existing foods).
Currently only water is in that category but I will be adding aloe vera juice factories and vodka factories soon.
If both drinks and foods consumption needs are met then population is given +2 on the starve index, if only one: 0, and if none: -2.
Planetary populations now also request items on the planet market!
Here's how requesting works (first item rarity is determined):
-Populations will first request an amount that is 60% of the total consumption of the category on one cheapest abundant item they can find on the market (usually a common item and not a rare one))
-then if they still have enough money they will request an amount that is 25% of the total category consumption need on one non-rare item
-then they will request other rare items ( in amount of 20% of the category's consumption needed) until they still have enough money (they can request more than what their consumption need is if they have enough money)
-if their consumption is not filled yet (from either not having enough money to request rare items or due to there not being enough rare items available in the game for that category) they will request more of the cheapest common items (if they don't have any money left they will request it at the lowest price they can still afford to pay or at 0$)
-all the prices of requests are determined by what each item's cheapest prices on the market are and then they are undercut randomly from 2-15%
-if an item doesn't exist on the planet then other planet's markets are checked to determine what price of an item is and if there's none of the item for sale anywhere in the galaxy (but it can be produced) then they will try to set the price to be 30% of their wage per amount they're trying to buy (so as you can see potatoes are currently extremely pricely requested because of this)
Overhaul of population buys
So at the end of each cycle populations put out requests to be filled and if their food and drink consumption isn't filled by captains selling to those they then buy remaining from the planet's market at the start of each cycle.
Before this update they would all simply buy the cheapest foods from the cheapest market offer that was available from the market but now everything is different.
-factories and market offers are randomly shuffled before this code starts so that factories with lower ID aren't always buying first and that factories/captains with lower IDs don't have advantage of all the populations buying from them first (like if two factories have an item for sale at the same price)
-first requests put out by populations at the end of previous cycle are counted to see how much more they have to buy to fill the consumptions
-then they check if they have enough money to buy the cheapest things from the market (same way they were buying before update). If they don't have enough money for one category then they won't buy anything from that category and they will have more money available for other categories that get checked next. Consumption Categories are prioritized (First drinks are checked and then foods)
-if they still got money left over they will start planning their buy and will first try to reserve common items (non-rare) in an amount that is half of the remaining amount to fill the consumption need. They are also diversifying their buy and buy in an amount of 0.1 of the remaining amount to fill the consumption need, but only in the market offers that are not more than 15% more expensive than the cheapest one.(so normally they'd buy 5 times from the 5 cheapest market offers )
-if they still have leftover money they will next try to reserve rare only items. This time they try to reserve in an amount of 0.34 of 0.1 of the total category's consumption need (so normally they try to buy each of the rare items available (untill they fill the consumption need) from 3 different cheapest for sale offers )
-if consumption is still left unfilled they do a third reserving where they attempt to get the very cheapest item of that consumption need
-if what they reserved so far still has them enough money they then actually buy everything, else they replace the most expensive rare buys with cheapest buys
Added Logs button on the right side panel where you can currently only see logs of sales planet populations bought from you atm but you will be able to see all of the captain related logs there in the future.
All of the population buys will give factories and captains a log in their factory/player logs.
Fixed how planetary specific efficiencies work on production. So if an ice refinery has 130% production efficiency on Ayraat, that means that not only will factory output be 130% more but also factory input! So you won't be creating water out of nothing but instead factory efficiency means you can make more resources per each worker!
Added Happiness index to planet populations
Each factory has a happiness index now (I still need to display this inside the factory).
Happiness adds bonus efficiency to your factory production.
The happiness index is recalculated every cycle after populations buying code and is affected by how much of their consumption needs got filled and how many and of what level rare items they bought in an amount of at least 0.1 of the total category's consumption.
More details on how happiness gets calculated:
- they get 10 base happiness for every fulfilled consumption
- 1 happiness for every different item they bought
- 1-4 happiness for every rare item depending on their rarity level
- if any of the required consumptions wasn't filled then only base happiness gets counted and rarity and different item bonuses don't count
- Happiness effects factory production by increasing efficiency by (happiness / 10) percent added on top of natural planetary efficiency bonuses
(an example: When you check your production logs and it says 119% efficiency in an Ice Refinery on Evora, you got 115% from planetary bonuses(check My factory creation page to see planet specific efficiencies) and the other 4% increase came from Your worker's Happiness index being over 40 last cycle.)
Factory money account system added
Before the update all of your factories were using your personal captain money account to run their business: pay worker wages, fund market requests and factory sales money went back to your captain's money account.
Now factories have their own money fund. You can view it within My factory page by clicking on factory's name. I also added ability to send money between your factory and your personal captain money account: https://i.gyazo.com/cc62f7f3fa7039fbd1dcd7d2a5ce267b.png.
So from now own wages will be paid from factory's money account and requests funded from it and any money from sales factory makes will go back to that fund. If factory doesn't have enough money to pay it's wages to workers, they will leave the factory.
The reason for this change is that running a factory will be more similar to running a business in real life and also because later I will be adding taxes in the game, so factories need to have their own money fund and money in/out flow to determine their profit and tax them.
Factory creation form now has a capital field, where you put in how much money you want to put into the factory fund (from your captain's money ) when you create it.
I also removed the size field because factory size is now automatically assigned according to how many workers you're wanting to employ.
Minimum workers required per factory size are now enforced!
This change means that if some of your factory workers starve and you now have less workers than the minimum needed per factory size: The factory will automatically be resized and thus opening planetary factory slots for other players who wish to create factories.
Furthermore if your workers number drops bellow minimum requirement for size 1, the rest of your workers will leave the factory and factory will be resized to 0.
-I added a fix yesterday that when both your factory workers and size are at 0, you write in how many workers you want to hire and factory will be resized to 1. And then you can continue hiring/resizing just like you could before this change.
Changed Planet Info to show averaged stats of the whole planet's population, employed and unemployed.
Added These Factories: Potato farm, Aloe Vera Juice Factory and Vodka distillery
And these produce 3 new resources: potatoes, aloe vera juice and vodka
Changed Planetary Slots on Factory creation page from taken/total to Available / total https://cdn.discordapp.com/attachments/449870950595428354/535108582522355715/unknown.png
You can now see Factory's money displayed on the My Factory page. This is will be needed after the big incoming update and just shows $0 at the moment on the production server since factories don't have their own separate money yet but will after the update so we can treat each factory as it's own business.
Wormholes are now randomly respawning for a random amount of time (10 minute to 6 hours). They only dissapear/spawn every 10 minute because the code is running within the each cycle code for now. I've tweaked it so that one end of the wormhole is randomly spawned somewhere between -500 to 500 x and y and the other end of the wormhole between -1000, 1000 and there are 5 wormholes at any given time now (instead of originally planned 3), to make it more likely for a wormhole to benear one of the planets and therefore useful at the moment.
(basically how it works in the code is that there are 5 wormholes with creation and expiration times and when they expire, that wormhole closes, new coordinates are randomly selected and new expiration time and the wormhole is reopened with those new settings)
There's no way to know where the wormhole leads to or how long it'll stay open. Probably I will eventually make wormholes scannable to figure out how stable the wormhole is to figure out if it's close to being closed.
Wormholes connect two fixed points in space and you can travel back and forth between these two points for only 10 turns.
For now there will be 4 unstable wormholes spawning between two random points between -1000 and 1000 on both x and y coordinates. The amount of time they will be opened will also be random between 10 minutes up to 6 hours. When one is closed another random one will be spawned immediately (so there will always be 3 wormholes currently). They will be opened/closed during cycle executions for now.
When you get to the wormhole an option to jump through it will pop up from the bottom. If there are two wormholes next to each other you will get to select through which one you'll be jumping (as demonstrated on the video bellow). If the wormhole is blocked by 8 ships on the other end of it then you won't be able to jump through (this will be changed at a later point).
There is no way to know where the wormhole connects to until you actually jump through to find out.
There are currently two wormholes opened for testing before I implement randomly generated ones: First one between 260,120 and 60,78 and second one between 51,30 and 262,120
In Factory Storage transfer dropdown menus only the factories of the same planet (or if transferring from ship cargo hold - factories on the planet you're parked at) will now be displayed, instead of all the factories you own. Thank you XHawk87 for pointing this out.
New mining turns info added to the asteroid mining screen. Under the Mine button you now have displayed how many turns you will be using when clicking the Mine button. It calculates how many free cargo space you have compared to the roid size and gives you the turn usage for that.
Ohh btw the navigation point names are restricted to 14 characters for the sake of fitting them into the navigation box. Might be changed later with interface changes. Also fixed a small bug they had today.
Added custom navigation points! Clicking on the new button "Save" on the coordinate box will open a dialog box where you write in the name of your nav point and then it will create a new Navigation Point under the pre-existing planet navigation points. Clicking the X next to the custom nav point will remove it. It gets saved into the database so they will be there after you relog into the game next time. If you save a coordinate you already have, it will overwrite a new name onto it.
Fixed the bug #6! So setting your offer or requests to the same price of your other request/offer from the same factory will now merge them together!
Fixed Bug #12 as well. (When you create new factory your workers get starve index 0 instead of the starve index of the unemployed workers.)
You can now change request prices(of your factory requests) on the planet market.
Fixed a small bug that displayed input resources on factory creation wrongly. (Discovered on development server and, by coincidentally matching data, didn't actually displayed anything wrong in the actual game, but would in the future)
You can now see how many turns you need to get to the grid you left click on. https://i.gyazo.com/55183b8f172587899279903bbcdc54ff.png
For some reason I had turns per grid set to 4 in the back end while info box was telling us we spent 5 turns per grid. I set that back to 5 turns per grid, so you will be spending a little more turns moving around now, but having correctly displayed how many turns you spend.
When you left click on a grid a big arrow will display pointing from the direction of your ship location to the clicked location. Also when You use the navigation buttons or coordinate box, it will also display the arrow pointing to the grid you want to go to. https://cdn.discordapp.com/attachments/449870950595428354/502113976121819155/unknown.png
Using for example Planet Evora button points to the main planet outpost: https://cdn.discordapp.com/attachments/449870950595428354/502114353965826048/unknown.png
Updated factory creation page. Remaining planetary slots are now displayed instead of just total slots of the planet. I also removed the default factory names and made it blank for you to fill. You will get an alert if you forget to write it in and then it will focus on the name field. Refresh the game for alert and focus functionality.
The location display box now saves your location into database. So next time you login it will be the same as when you logged out :D https://cdn.discordapp.com/attachments/449870950595428354/500664988575465482/unknown.png
A little cosmetic update: Made some fields in My factory management "dynamic". What I mean is that if there's an error while setting new factory size for example, the size you wanted to set will turn back into the actual factory size. Changed it for workers and size boxes because other fields will only give you error only if you write invalid number like negatives in.
I also removed the unneeded buttons in the error messages that were left behind from before I changed the error messages to be displayed in their own containers.
Planet's trade market buy amounts on For Sale list are now automatically filled with whatever free cargo space you have left instead of the 200! https://cdn.discordapp.com/attachments/449870950595428354/497774078472486912/unknown.png Convenient! :)
Fixed a rounding error bug in starve indexes that were preventing planetary unemployed populations from going under -1 starve index and set starve indexes of unemployed to -150. This means that the 1 million unemployed population on Evora will pretty quickly die off and then start to settle in at about 100k and maybe frow back a little.
Fixed the factory resizing not checking the planetary slots limit for that type of factories. You will now get this message if this check activates: https://i.gyazo.com/9a3c808fb2af18dd907f892a8dbc896c.png (in this case I tried to resize the factory for more than 3 sizes but there were only 3 slots left to be filled) Planet leaders will have the ability to govern the amount of slots each player can take. Maybe as a means to prevent monopolies or people taking up all the slots while employing only a couple workers. Or maybe even have the people pay to reserve a certain amount of slots. we'll see. but there should be plenty of options for the planet leader. Just so he can have some more power.
Updated the Tutorial with up to date info. Added an asteroid section. Probably made something even more confusing xD
Now when people are born and added to the unemployment population their starving index is 50 and that then get's averaged with the unemployed people's current starving index. Before the new people were added to the unemployed pool without affecting the starving index of the unemployed
I added a Set button to the Coordinate display box. This button will save your current location into the coordinate box. So now when you find an asteroid and you're planning to come back to it you can just click Set instead of manually writing in the coordinates :D
The set coordinates do not get saved into the database, so next time you login or if you click Your location (which refreshes the webpage) the set coords are gone.
Small balancing update: Wheat farms water input has been lowered from 2 to 1.5 per worker per cycle
Fixed Select Factory field (on Factory Storage screen) being stretched too much if you have a long factory name, forcing the Select field into a new line.
Continuing with minor interface updates to make playability better: I added transfer to factory Option onto the Planet market's ship's cargo hold interface.
Your filled cargo space of your ship and maximum amount of cargo space is now shown everywhere where your Ship's Cargo Hold is displayed. It also show how much of your remaining cargo space is empty. Example: ( 10.200 / 200 ) ( Empty: 189.8 )
Added Unemployed population number to the Factory Creation Area so you don't have to go to planet info to check, how many people there are actually available for hire. Also expanded the financial warning about building factories, painted it ORANGE RED and made the text smaller.
I added two more statistic information about planet population on planet info screen. Total wealth of unemployed and unemployed starving index. https://i.gyazo.com/bb0448f455785e0b47b162e06db7dbf2.png
Planet Market, My Factory and Planet Info buttons now remain somewhere on these three screens, so that you can quickly switch between things while you're on a planet, without the need to click X and then select one of the other buttons: https://i.gyazo.com/148a83c23f0f342f527d3459fb67d23e.png
Sharing Slider now fully works https://i.gyazo.com/af222648bbc6a971c4e0bb54acb6a94b.png
added interface for adding permissions for other factories to be allowed to output production into your factory. It is located inside factory information (click on your factory name) under factory logs: https://i.gyazo.com/cdd18aae32a94d689ce3b0fa31a2a080.png
Deleting a permission also works now.
The game now runs on the newest code of factory production that I was working on for the last week. This results in much faster and efficient code execution, much less impact on the database and these new features:
-new improved factory logs system
-factories can now produce stuff at lower than maximum capacity. What I mean is even if you don't have all the required resources to produce it will still produce as much as possible given the resources that are available. Check the Production Capacity information in your new factory logs to see what capacity factory produced at.
-option to output produced resources into other factories (You must have permission granted by the factory you want to output to, else your production will simply be output to your own storage)
-option to specify whether your factory will allow other of your factories to take resources from it's storage for their production (Called Sharing)
interface change to allow outputing to other factories and sharing on/of slider:
Fixed Bug #3 Clicking on your factory name will open up the factory details like before but click it again and it will now close! (or clicking on any other factory name will also close it)
From today on I will resume working on this game and will also work on it full time, minimum 7 hours per day if not more.
I will put in a lot of effort to finish the game by the end of 2018.
I also added a paypal donation button on the home page for those who want to help fund this game so it gets fully released. However I will not be giving any ingame $ rewards for your donations yet, because there is a big chance I might reset the current game state in order to bring in large new stabilized updates.
When disbanding factory for the first time(only firing the workers) the size of the factory will be reset to 1. This is to fix situations where if you disbanded a big factory like size 50 you couldn't resize it back to 1 because you have 0 workers employed and you also couldn't employ 500 workers because the planet doesn't have that many unemployed anymore.
You can now zoom out and in with your scroll wheel! I don't recommend zooming out too much :wink: as you'll get more lagg and numbers all over your screen xD
While coding zooming in out I fixed a bug #8 and similar bugs.
Changed required mining turns from 10 per 1 m3 of ore to 2. So right now mining full cargo hold of ore (200) will require 400 turns instead of 2000 which was way too much turns btw!
Also lowered moving turns from 5 per grid distance to 4. Also considering faster turns regeneration rate but i'll see how these changes will balance gameplay first.
Asteroids are now respawning. Every time an asteroid is mined a new one is spawned somewhere between x and y -1000 and 1000
Currently asteroids don't despawn and they need to be mined in order for new ones to spawn.
For those interested in what kind asteroid sizes can spawn and chances of that here's the code: http://prntscr.com/h9sydz Later i'll be adding asteroids spawning in asteroid belts and when there are more ores, different areas of the galaxy will have different ore rarity.
You can now mine asteroids!
Get next to an asteroid and then a popup with scan button will show up. You then click mine which will fill your cargo hold with the asteroid's ore.
There are only ice asteroids at the moment and I spawned 5000 of them within an area of x and y of -1000 and 1000 so they are quite common to find. Asteroids sizes are ranging from tiny that have 1 ice to mega roids that can have up to 40k ice but majority of roids will have between 50-600 ice on them.
Created a new factory type called Ice Refinery that turns ice which you can mine on asteroids into water.
Changed wheat and bread farm to now require water for production! So to keep things going people will need to mine ice on asteroids, put it to Ice refinery to get water and then the water can be used for production of wheat and bread which is consumed by planet populations.
You can now see starve index of your workers and total money they have in factory managment (clicking on factory name)
Changed factory creation form info to show required input resources per worker per cylce on the My factory page
Added 10 biggest factories list to frontpage
Updated the front page a little to make it look a bit more fancy and started work on asteroid mining.
Fixed a bug when hiring new workers where money from population pool wasn't getting correctly transferred to the factory workers money pool
Fixed known bug #7 where factories would output 0 amount of resources for sale or into factory storage when there are 0 workers employed.
improved a few User Interface things to make user experience more pleasant:
-When you press X inside planet market, my factory or planet info, the welcome to the planets trading outpost popup will appear at the bottom again so you won't have to move away and back to the planet to get back into one of those 3 interfaces anymore.
-My Factory managment is now much less annoying since changing anything will now show Success or Fail warnings on top left window instead of opening a new blank window with Return link. Also removed those pesky browser alert warnings when there aren't any errors.
fixed a bug where you could duplicate items with a crafty use of for sale's Cancel button
If you own a factory you can now create a planet market requests with your factory. You can also cancel them and captains can also sell to these requests!
Refined the new quick navigation transition to have a really nice smooth animated bluring in and out. Looks fancy now :D
Newly registered players now get 35000 turns instead of 5660 so they have full turns to play around with when they start the game.
New moving transition: Clicking on one of the planets or display x,y in the quick navigation will now blur out / in and instantly load that location instead of the automated draggable transition animation that was in place before. This should make things less annoying and quicker to move between the planets.
Added a warning on register page if user writes in their email with any of the letters upercase. This is so that people don't accidentally register with an uppercase letter in their email and then try to log in with lower case letters which will fail because I implemented emails as case sensitive! (according to email standard emails can in fact be case sensitive, but services like gmail default to lower case)
So people can still register with their valid email that contains uppercase letters, but they will be warned in case they just made a writting mistake. Thanks to @Zed Steele for bringing this up.
Planetary populations are now decreasing/increasing depending on their food consumption.
Each group of population has their own starve index. Every factory has it's own population group(since they have different money income: player set wages) and then there are the planet's unemployed.
Every cylce people get +1 starve_index if they successfully bought and ate any food or
they get -1 starve_index if there wasn’t enough food on the market or they didn’t have enough money to buy it.
Minimum starve index is -220 and maximum is 440.
While starve index is negative people are starving and therefore dying. Bigger the negative starve index higher the rate
at which people will die every cylce. The rate is calculated in percents of the total population that dies: starve_index /60.
So for the minimum of -220 starve index population will decrease for 3.66 % (-220/60) every cycle.(edited)
While starve_index is between 0 to 50. No people will die and no people will be born. This is like a recovery phase - babies
can’t be born instantaneously. After starve index increases over 50, new people will start getting born at the rate of
starve_index/60 but after index is 100, the born rate stays at constant 1.7% population increase.
When people are born they get 200$ each. This is the only money influx into the game right now though later the second money influx into the game will be player donations. When people die no money is deducted from the respective population group money pool (like ). Of course when new people are born to factory workers population group they get added to the unemployed pool and not the factory population group.(edited)
Factory owners are therefore encouraged to set high enough wages /low enough food prices so that their workers can buy food from the market each cycle abd don't die from starvation. The problem at the moment is unemployed population that doesn't have enough money to buy food and will starve which also means captains can't create new factories because there isn't any work force to employ! Later planet leaders will be able to give food or money support to these unemployed. Though there will still be new people born out of the population that is employed in player's factories and isn't starving(think: inheritage).
game now runs on the https://reactorblock.com/ domain! (but you can still access it with the same IP adress) I now also have a certified https secure connection so your data is safely being sent across the internet :smile:
You will now get an error message top left if you don't have enough turns to move to the wanted grid
Implemented turns! Every cycle(10 minutes) you will get 220 turns to a maximum of 35 000 turns(31680 turns per day). Your starter ship currently consumes 5 turns per distance of 1 grid.
This will allow you to fly back and forth between Ayraat and Evora almost 10 times per day. Reason I have a lot bigger range of turns than in Chosen Space is because I wanted more granularity and I didn't want to introduce decimal numbers for turns. Like in Chosen space all the ships needed one turn to move 1 grid. In this game the fastest ship will only need 2 and the slowest like 8. The distances are calculated with a classic Euclidean distance formulea within Cartesian coordinate system.
Added some planet info on a new planet info button on the planet interface. Added Top 10 richest captains list to the front page.
You can now transfer items from your ship cargo to your factories! You can do that on the factory storage page where your ship cargo now shows at the bottom.
With this update setting up Bread factories on planet Ayraat is now actually viable! You will need to buy wheat at planet Evora(or load it from your factory storage to your ship - that feature is coming up next!), fly it to Ayraat and put it into storage of your factories there so that your bread factories can use it and produce Bread.
You can now transfer items from your factory storage directly to your ship! You can do that on the factory storage page. There is now a Ship option in the transfer to: dropdown list:
You can now select text normally (so you can copy stuff out :smile: ) except on the galaxy map where it's disabled so it doesn't interfere with dragging the view around.
Added stop animation and stop queue to the Screen that pops up from the bottom when you visit a planet outpost. Which means moving to and from the outpost very quickly(faster than animation finishing) will now stop from that screen going up and down for seconds after you've already stop moving but will now response nicely to your movement.
Fixed a bug that prevented putting factory storage cargo for sale.
You can now put factory storage items for sale on the planet market. You can do that on the factory storage page by setting wanted amount and price and then clicking Sell (top right button).
Started recording some statistics about how much total money there is in the game and which groups of entities hold it and how many employed and unemployed planetary npcs there are.
If you don't have enough money to pay wages to your factory workers, all of your workers will leave the factory. Your money balance won't go into negative anymore. I reset money of all the captains who had negative balance to one million :D enjoy!
You can now delete your factories!
Go to My Factory -> click factory's name -> disband button.
First click on the disband button will fire all of the workers and remove for sale goods from planet market back to factory storage but won't delete your factory or the goods in factory storage yet.
At this point you can simply click on workers number(0) and employ new workers if you happened to accidentally hit disband and factory will continue running normally or you can leave the factory in this dormant state with 0 workers (however you can still use it's factory storage). Or you can use factory to factory cargo transfer feature to move all of the remaining cargo in factory storage out before completely deleting it.
Hitting Disband button for the second time (while having 0 Workers employed) will delete the factory completely along with any cargo you had left in the factory storage.
Added touch support so the game is now "playable" on phones and other touch devices!
The only difference with the desktop version is that since there is no left and right click while touching, you can't get info about other ships/asteroids/outposts like you can on a computer. Touching any grid will move you to that grid while on computer left click will give info and right click will move you.
Make sure you have it zoomed out in order to see the planet outpost poping up from the bottom when you visit planets.
You can now transfer resources between the storage of your factories. :ok_hand: You do it on the Factory Storage screen. Of course you can only transfer between factoreis that are on the same planet.
You can now recover your password if you forget it. After writting in your email or nick of the account you forgot the password to, you will receive an email with a link to where you can set a new password. Expect to find the email in your Spam inbox though! Because it appears as i'm sending email from email@example.com while in reality it gets sent from the http://18.104.22.168/ adress of the current game server which doesn't have a domain atm.
Tidied up login and register page a little bit. If you get logged out while still in the game and trying to do any action, this will now give you a big message on a blank page saying to login again. Also added more security checks to various code.
You can now cancel the sale of your for sale items!
You do it by clicking on a cancel button located on the planet's Trade market next to your offers.
Both those that your factories put up for sale and those you put for sale yourself from your ship cargo. If canceling your factory's for sale item it will return to factory storage. If canceling an item put up for sale from your ship cargo then it will return to your ship cargo (only if your cargo hold has enough empty storage in it).
Created an ingame "Tutorial" accessible through a button top right. It's a very ugly wall of text right now and not all the features are explained but it goes into enough depth about how planet factories work.
Your turns and money are now updated from the database with pretty much any action you do in the game so you always have the latest info available. Added your captain's nick above the turns as well. Also tidied up a few alerts I had to test while developing.
You can now change prices of things you and your factories have for sale! You do it directly on the Trade market where you will see that your offers(and of your factories) have different background and ability to change price value.
Added "Factory Storage" button next to Cargo hold in the top right window. It opens a screen that displays all of the cargo in internal storage of all your factories in one place.
You can now buy from planet market!
You can now sell things from your ship cargo hold to planet market!
Cargo Hold button now displays your ship's cargo properly.(even though there aren't any ways for you to load anything into your cargo hold yet)
You can now dump stuff into space from your Ship's Cargo hold.
Added buy interface onto Planet market for sale offers and created databases for ship's cargo. (Clicking the buy button doesn't do anything yet)
Added Cargo Hold button on the top right window through which you'll be able to access your ship's cargo hold. Backend code is not done yet so it doesn't show you any cargo
Registration form now allows you to have a nickname from multiple words (You can have spaces between the words which comprise your nick). Example: before you had to do "SuperPirate" or "Super_pirate". Now you can have "Super Pirate"
Starter ships with 200 cargo holds given to all the existing players and are now of course also automatically given to newly registered players.
Newly registered players now also spawn at random x,y coordinates between -20,20 (but there is still no bug fix for these random coords not to spawn you on someone else's ship/asteroid/space station)
Planet populations now buy food from the market to eat it! This one was a pain to code and there is still so much work to be done on this to make it into a realistic simulation. But works good enough so that there is a money circulation in the game now and you can try build some wheat and bread factories and make a profit.
Here are some helpful facts about this update:
-Factories don't have a special money balance at the moment. So if a planet population buys Bread that one of your factories outputted for sale on the market, then you will directly receive the money to your Captain's account ( You can see your captain's money balance on top right window)
-At the moment every person has to eat 0.05 amount of any type of food available(Bread and Potatoes exist atm, but you can only make bread through bread factory atm). This translates to roughly 5000 bread on planet Evora (population around 100 000 atm)
-Right now if there isn't enough food for all of the population on the planet available(employed and unemployed) nobody buys ANY food.
-Population will buy the cheapest food first at any price that happens to be the cheapest on the market.
-Each population group(population is divided by unemployed and employed in each of the factory(those have a wage income that the player sets in their factory managment) has a certain amount of money. And if there isn't enough money for that group to buy food then they don't buy any!
-There is a special variable "Starvation" each population group has. And if there was enough food and money available to buy and eat it then the Starvation goes up by +1 and if they couldn't buy any food then starvation goes down by -1. This will later serve as part of the determining happines of the population and as means to determine how bad starvation is: how many wil die by starving out.
Factories now pay wages to their workers!
- Money get's transfered from Factory Owner's balance to their factory workers. So if you own a factory, money for wages will be taken directly from your Captain's Balance you see on top right window.
- There are no mechanics coded yet that determines what happens when you don't have enough money to pay your workers. So right now your money balance will go into NEGATIVE! So be careful doing business not to go too much into debt :wink:
Factory Managment Progress: You can now set the price of the resources you wish to directly output to planetary market (if you have the Output to Market toggled on)
Factory Managment Progress: You can now see factory production logs (by clicking on the name of your factory in My Factory option). At the moment you can only see the last 20 logs but this will be changed at a later time. With this update factory managment is completed(although there are a few little things to improve on later) and I will be focusing on getting the trading system fully work in the next few updates
Factory Managment Progress: You can now see storage of your factories by clicking on the name of your factory in My factory option.
fixed a bug which failed to transfer money from worker's to unemployment pool when changing the amount of workers on factory managment
changing factory output now displays message on the top left info box
fixed a bug in factory production logging where logs didn't get inserted into database because of a goddamn ' in the text. RIP almost one hour
Factory Managment Progress: You can now change factory's size! Upping the factory size allows you to employ more workers in the same factory instead of creating a new factory of the same type (and thus creating managment nightmare for yourself)
Factory Managment Progress: CHANGING worker's WAGE amount now works
Factory Managment Progress: added factory production output to market toggle on/off. if toggled off it outputs produced resources to internal factory storage instead.
polished some code for changing amount of workers on factory managment
optimized one part of the database that wasn't needed and crushed a bug in factory creation process
Factory Managment Progress: CHANGING WORKERS amount now works properly with all the population and money transfers between the factory and planet's unemployment pool being done correctly You change the amount of workers in the My Factory option by clicking on the amount of workers listed:
Factory production now fully works. Example: Wheat is being produced on your wheat farms and stored in it's internal factory storage and Bread factories then take wheat from Wheat factory's storage of the wheat factories you own and produce Bread and output it to planetary market. All new factories are set default to output to factory's internal storage so you won't be able to see Bread of the newly created factories on the planetary market (Trade button on planet) untill I create faction managment screen. (of course you also can't see internal storage of your factories just yet). Hopefully I code these little details this evening so you can play around and test these.
Factories now produce resources that don't need any other resources to be produced and output them to planet market. At the moment this is Wheat only and the price is set to 2700$ untill I add more resources and make prices settable in factory managment screen.
"The Creation Cycle" is set to 10 minutes (Factories produce stuff every 10 minutes)
Added a couple asteroids! Although you can't mine them yet or do anything with them except getting their name.
Instead of creating 5 factories that produce Bread for example, you can now create one Bread factory with a size 5. This will allow for easier managment.
Recoded the way ships and stations are handled to be future proof for more easily adding other objects like asteroids in the future.
Factory creation is now complete along with all the processes around it and is working in the game where you can create two factories atm by getting next to a planet outpost and selecting my factory button.(they don't actually produce resources yet though)
Done some backend php work for creation of player owned factories on the planets.
Changed the planet screen to be ready for trading and factory manager data.
Prepared the database tables for the economy system.
Added some ship graphics.
Added an animated slide up outpost information interface whenever you're one grid away from planet's trading post which slides back down when you move away from it.
Shifted development path from the planned Ship designing and combat first, economy later to: Economy System first, Ship designing and combat later!
Fixed a few tiny bugs.
Prepared server backend to run some scripts every few minutes (like planet producing goods every hour in Chosen space)
Added onto the draggable map: planet's trading posts over the planets. They currently display in light blue square and work correctly with collision detection.
Left clicking on grid to get info now not only just tells you if there is any ship in that grid but actually updates the whole map around you with fresh info about your surrounding ships.
Bug fix: You can't get info of ships further than 9 grids away from you in any direction anymore.
Styled the Registration page.
Moved this update page to this server and updated it from my paper written coding logs. You will now be seeing all the updates here daily.
Bug fix: you now don't move one block up when you try to move to the same location you're already at. Nothing happens. You also don't move at all if there's no available grids on the 10 grids from your ship on the flight line.
Crushed all the bugs of One ship per grid rule.
Distance of the jump is now also displayed.
Implemented One ship per grid rule. If there's a ship on the grid you're trying to move to you will be moved behind that grid in the grid which matches approximate line of flight. Look picture:
After some vacations returning to coding!
Made the index login page look a little more styled.
Added a new box where you can write in exact location of the coordinates you want the map to display(the maps self-drags to the desired location).
Bug fix of "Nothing at this grid" not displaying.
Bug fix of the self dragging animation requiring double click instead of just one.
The planet positions are now fixed onto their correct coordinates.
Added one new planet: Evora which looks like a desert planet.
Added self dragging animated transition to desired location. Siiick!
Added quick navigation buttons to the two planets which animate the map to the location of the planets.
Added a volcanic looking planet (picture) named Ayraat. Not dynamic yet.
Multiplayer movement finished. Smushed all the bugs.
Other player's ships now show on the map 10 blocks around you in every direction(20x20 area). Only on page loadup though.
Added support for showing more ships/objects on the map. Not yet database connected.
Your own ship location is now loaded from the database and properly synced.
Fixed a bug regarding coordinate conversion from location coordinate into grid's ID.
On loadup map can be built from any starter point now not only from 0,0 (can be loaded from Database).
May, June 2017
Recoded the "draggable galaxy screen" to be smooth in all browsers, integrated it into login system and added single ship with which you can move around the galaxy (This is not multiplayer yet).
Late Spring 2017
After a few different life changes I decided to resume development of this game by building login/register system from scratch.
You can zoom in/out using your mouse scroll wheel! Yay!
After a long break and some photoshop learning, back to shipbuilder work!
Recoded to php and also improved :) connection check algorithm.
Polished zooming in and out a bit. Smaller steps on views where you see the whole field.
Grouped weapons now get saved into the database and displayed on the showDesign.php page.
Grouped weapons are now displayed as one big weapon block instead of numbers written over the same group blocks.
New look! Replaced the background white with spacious black! :D
Latest update page was created! welcome here :P
Saving into the database and retrieving from database completed. You can save your design via the Submit Save&Share button. Once the ship is saved, you're taken to a page that gives you the link where you can view the created design! You can use to share with others! :D
Work on saving and retrieving designs from/to database has begun. Getting array of blocks from JS to PHP and back finished.
Odd Symmetries Added.
Bigger Pen options added. You can now specify pen height/width up to 7 blocks for easier drawing of large ships.
Changed connections check to work properly with batteries.
Fixed a bug in the drives check.
Added Control calculations and now show on stats. Each block needs certain amount of control and need to be connected to Control Room that provides the control. Each control room provides 170 Control.
Added OFT and OFP stats. They display maximum grid distance one can jump. OFT: On Full Turns and OFP: On Full Power.
Added number of Sub Light Engine blocks (SLE#) to stats and HJ#: Number of Hyper Jump Blocks.
First ideas and a two move-around-the-limited-galaxy prototype versions of this game date back to 2011 I think.
Then in summer 2013 I first started coding the draggable grid map of the galaxy that is in the current (2017) game and then started work on the ship Designer and from 16.10.2013 all the updates done on the game are written on this page.