java.lang.NullPointerException
at com.stateofprofit.client.j.f.dR(Unknown Source)
at com.stateofprofit.client.j.f.loop(Unknown Source)
at com.stateofprofit.client.j.f.execute(Unknown Source)
at com.stateofprofit.client.b.run(Unknown Source)
java.lang.NullPointerException
at com.stateofprofit.client.j.f.dR(Unknown Source)
at com.stateofprofit.client.j.f.loop(Unknown Source)
at com.stateofprofit.client.j.f.execute(Unknown Source)
at com.stateofprofit.client.b.run(Unknown Source)
java.lang.NullPointerException
at com.stateofprofit.client.o.d.aq(Unknown Source)
at com.stateofprofit.client.o.d.ap(Unknown Source)
at com.stateofprofit.client.a.a.a(Unknown Source)
at com.stateofprofit.client.a.a.a(Unknown Source)
at com.stateofprofit.client.a.ae.ap(Unknown Source)
at com.stateofprofit.client.k.i.a(Unknown Source)
at com.stateofprofit.client.a.b.a(Unknown Source)
at com.stateofprofit.client.a.q.a(Unknown Source)
at com.stateofprofit.client.b.c.a(Unknown Source)
at com.stateofprofit.client.b.c.run(Unknown Source)
First one is the same as yesterday and will be part of the update tonight. The second one is fixed, thanks
While I’m writing anyway I’ll put down what changed since my last update post (1 month ago) including the updates for tonight. The latest changes can always be found on the game forum.
New:
You can now paste in the chat using ctrl-v
The menu is now easily visible and accessible
There is a new button on the menu to close all open windows
You can now drag a big area to flatten using the land adjust tool, be aware that it can be quite expensive to remove a mountain
Cities grow in height, bigger cities get bigger houses and the more central the bigger houses
If you send a message to someone who is offline they will get it the next time they are online, even if the server restarts inbetween
There is a new chat command: /me, it needs to be followed by a text, for example “/me is hungry” (without quotes)
You can now send private messages using the chat! To send a message type /t or /tell or /w or /whisper and then the person’s name and then the message, for example “/t Mike hello!” (without quotes). If you don’t have anything written in the chat box you can click on a message someone wrote or their name on their station window to auto fill the chat box. You cannot send offline messages or close tabs yet and the offline message still needs work
On the vehicle list window there are now tabs to display all vehicles, only buses or only trucks
On the city list window there are now tabs to display all cities or only the ones where you have a reputation
The server admin can set a server message that will be visible in the chat window when logging in
Chat! You can now chat with people online, you can find chat under the menu or by clicking enter when the game is focused
A new farm research is available that will allow you to increase the number of fields on your farm
Farms now cost maintenance
Farm and truck research! Truck researches are capacity (max size) and speed. The following farm researches has been added:
Fertilize and irrigation (+20% food production)
Breeding (+4% added to city warehouse stock)
Plant protection (+4% income)
Crop rotation (+4% income and +4% added to city warehouse stock)
Modified:
Your own chat messages show up in white
Rankings now also count farms and research into networth and it is calculated once every hour in game time
Removed the option to play with a small window due to size restrictions with the new menu
If the chat window is in the bottom of the screen (default position) when switching to fullscreen the window stays in the bottom
Changed some colors around for the windows to make the game less green
When setting the destination of a vehicle, only the labels which you can select will be displayed (thanks for the great suggestion Wodido ;))
When pulling a straight road to a city the houses don’t follow it without making intersections
The increase in food income research got lowered from 5% to 4%
The increase in food filling research got increased from 5% to 6%
If you have a chat window open with someone that logs in/out it is also visible on that window and not only under “Global”
You can now close chat tabs
On the chat window there are now up to 5 tabs visible instead of 3
The active tab is now less bright to not stand out as much
When you change tab the text field will stay active so you can keep on typing
You can change tab by typing /global or /t [user] if you don’t want to click on the tab
Typing a command that doesn’t exist gives a response message
When typing to a person that is offline the text returned is improved
When the game doesn’t have focus the cursor in the input box isn’t blinking anymore
Vehicles now drive half as quick when going down hill and a quarter as quick (instead of half) when going up
The city list window stays open when on the map, clicking on a city centers the map on that city
Changed the text to add more fields to a farm to not cause any doubt on what it does
Changing destination when a vehicle is stopped starts it again
The time necessary to display, update and sort lists (cities, stations, vehicles and chat) is now more than 100 times quicker
All new players start with 5 research points. The existing users has received 5 extra points
Bus stations now has a base capacity of 150 more to help out for new players who doesn’t spread out the buses evenly
There is a new formula for station maintenance that will increase the speed for new players who like expanding in the beginning
The chat window is now visible when viewing the map
The chat window is now open when you start the game
Changed the formulas for food prices, food eaten by the cities and how it influences growth
When zoomed in on the map you can see the names of the cities
With every server restart the vehicles going inbetween two stations now spread out evenly along the road instead of all starting at the start station. One vehicle will appear at the start station, one at the end station, half of the rest will be spread out on the way to the start station and the other half on the way to the end station
Farm land is now visible on the map instead of only the farm warehouse
City warehouses now show up on the map in purple
The texts in the window for warehouses and farms now correctly states warehouse or farm instead of station
Tweaked the bus income formula to give less income and cost less maintenance
Lowered the initial maintenance cost on farms to give new players a better income
Other people’s stations and farms are visible on the map
Changed the position that the hand icon clicks with, it no longer clicks with the finger tips but the center of the hand (less clicking on the wrong place)
Increased the importance of food in regards to city growth
When building a farm the square where the warehouse will come is now highlighted
Changed the bus income/maintenance formula to scale better with research
Lowered the font size on texts in the browser part
Combined the statistic for buying/selling vehicles and infrastructure/trees
The farm researches that gave 4% bonuses now give 5%
Upgrades to food profit is now visible in the price on the city screen
Shortened the names of bus stations/farms to only contain the city name and direction
Increased the area of where a station is called “central” by one square in each direction
The name of the “other” station is now displayed in the vehicle list on the station window
On the research screen you can now see how far you are on researching your next point (updated when logged in and every 5%)
Lowered maintenance increase from vehicle upgrades with 25% to make upgrades more worth it
When building roads the map updates right away to display your road
Trucks are now yellow to be able to see the difference between trucks and buses without having to zoom in
Vehicles that cannot find a path can now be stopped and either sold or change the “other” station
Bugs:
Fixed a locking of the server that happened when two people crashed at the same time
Fixed a bug in the chat when backspace wouldn’t remove the text and the client might crash
Fixed the houses shimmering when zoomed out and moving the viewport around
Fixed a bug where it wouldn’t be possible to change a vehicle’s destination
Fixed a bug where it wasn’t possible to go to full screen
You can now move the chat window while on the map
When a research costs 0 money you can still upgrade it if you are negative on money
Both *s around /me chat messages came on one line, even when the message was over several lines
Open windows now get updated even if the mouse is outside the game area
Mac Lion got a white screen when starting the game
Fixed a bug where you couldn’t remove your own road when you were negative in money
You can now scroll in the chat window when you’re on the map
Fixed a bug where cities would grow quicker and quicker the longer the server had gone without a restart
If you had been in full screen and switch over to windowed mode some windows you had open could end up outside of what you could see
Fixed a bug where the chat window would scroll when busy reading through old messages
Fixed a bug where the chat window would jump to the top or bottom when getting a message at the same time as posting one
Fixed a bug that could make it impossible to get the email registration for the forum
Fixed a bug where extra farm fields doesn’t make food
Fixed a bug where the chat window wouldn’t display new messages after the chat reached 500 lines
Fixed a bug where the chat would jump to the top of the chat window when sending a message
Fixed a bug where vehicles would appear at the middle of the roads instead of at intersections
Fixed a bug where cities would remove player roads even if they don’t have to
Fixed a bug where vehicles would not drive all the way into stations but get stuck half inside
Fixed a bug where vehicles would not be able to drive on because they’re waiting for an invisible vehicle that’s standing still
Fixed a bug where you could loose your invested research and the points used when you invested close before the server restarted
Fixed a bug where two stations could get the same name, the server now decides the station name so it might take a few seconds between station popping up and name appearing
Fixed a bug where you accidentally would send the vehicle to the wrong station by clicking on a station window when there is a station label underneath
You can zoom in/out even if the mouse is over a station or city label
Fixed a bug where the game time would run out of sync if the game was open for a long time
Fixed a bug where the money would be displayed twice on top of each other when getting money at the same time as paying
When logged in during a day-change the research update to station size showed twice as high
Fixed a bug where you sometimes couldn’t adjust land anymore after it failed once
The server clock was running a bit slower than the client showed, the server clock is now correct
Vehicles that couldn’t find a path showed up on the wrong station when logging out and logging in again
Fixed a bug where a city could build a house on its own road
Fixed a bug where a city would remove a player’s unused road even though they have room to grow otherways
Server sometimes overruled the client when adjusting land, could also cause issues with auto leveling land when building roads/bridges/tunnels
Adjusting land height could sometimes cause “spikes” in the land
We changed some things yesterday and are currently testing them, it might be a bit annoying that we change things in the middle of the rounds but we quickly get lots of info by doing that.
There will be some more adjustments coming tonight to make sure it is easier to start up a new account later in the round, thanks for your input!
I’ve been pushing it off for really long because it looked so complicated but yesterday I started to read about shaders, and it didn’t turn out as bad as i had thought! I’d recommend it to anyone who wants to add some nice effects to their game. For now I only added some waves on the water and multi texturing with nice borders.
The game will reset Friday evening CET so if you want to try the game out when all cities are small and it’s difficult to loose money then please tune in somewhere after that. I will make a post when I’ve reset the game where I’ll put the changes made since my last update post.
It’s difficult to see the waves on the picture as they aren’t really obvious (yet?) but the snow and sand is alot easier
Humm… that brown line is the roof of a building and the other one looks like a a stretched out piece of land, I have no idea what the other thing is. I have no idea what could cause it though (I’m not applying any shaders to the buildings so that shouldn’t be it). I’ll go through the code around the buildings and have a look at what I changed but seeing as you’re the first one to see it I don’t think it’s something obvious.
If you go to options and change it to low quality (turning off shaders), does it still produce the artifacts?
When was the last time you played?
What kind of gfx card do you have?
I just took those screenshots right before I posted the message. I had a 3rd image but the print screen didn’t work right.
And I have an Nvidia GTX 570 ;D
I still have difficulties with my two station ;D
So I have only two station, >20 buses between the two :
I lose money
I can’t empty the two station (I don’t want to imagine if I had put them in the biggest cities)
One of my station has a majestic reputation and the other one … hated ;D
There is may be something to do about reputation… well no one likes me so it is not important :’(
For the shader, can you give us the shaders to see why it goes all blue on Intel/Ati cards ? Or may be it is when you bind the texture, I had a problem like that.
I have a 560 and don’t get that issue… what version of the drivers do you use? Let’s see if I can reproduce it.
You missed one question Does it go away if you change it to low quality?
With last time you played I meant the time before the issue, if I know when it used to work I can have a look at what changed.
Blame Riven He made your cities really big by delivering lots of food but no one placed bus station in there before you, so you get all the passengers. Having placed the stations in a bigger city with other players in it or in a smaller city without Riven’s food would have made you make money. Thanks for testing it though as it definately is an issue. The game will reset on Friday so it’ll be fixed then and once there are more players it shouldn’t happen again.
It should have be fixed as of yesterday evening, I had it confirmed from someone else that the issue went away, can you check it again?
I built 600 or so farms to get more Networth than Riven, but I didn’t transport anything from them so they just cost maintenance
I have the beta drivers (because of Battlefield 3).
I don’t see the weird lines anymore but how do I switch to low quality?
Last time I played was a couple months ago so I don’t think you would want to roll back to that far
EDIT: You have improved the game so much since I last saw it! I wish I had time to play it but I’m afraid I’ll get sucked into it too much (my grades are already plummeting in school T____T)
If you don’t see the lines then switching won’t make a difference In the top menu (next to the economy overview and rankings) you can click on “Options” to change to low quality.
I will come up with a way to rotate and replace the farms but that’ll come somewhere after the reset. Thanks for the excitement
I blame the tutorial of LWJGL on shaders for that. it says that if a message is returned from the shader it should be treated as an error, apparently your intel driver returns a message even though there are no errors… I’ll change the code around so I only output the message instead of breaking on it. Let me know how it looks like after the reset as a big update is coming with it. Thanks for testing!
Alpha version 1.3 is finished and live! The world is reset so everyone has the same potential to become the biggest company.
Today’s update: New:
The transition between grass and sand is now smooth
The transition between grass and snow is now smooth, with on lower parts a thin layer of snow and higher up a thick layer
Day/night cycle - The sun is going up between 06.00 and 07.00, it goes down between 21.00 and 22.00
Management research - When starting the company you can build a max of 10 buildings (farms or bus stations). Each level you research will allow you to build 10 more buildings up to a max of 100 buildings. The first upgrade is 1 point and the second one 2 points, seeing as you start with 5 points you can still expand aggressively if that’s your style. It is not yet possible to see how many buildings you have built as I’ve no idea where to put it
Added a vehicle profit text to the station/farm/warehouse windows so you can see how much the vehicles using the station is making
Modified:
A city can not get more than 10 warehouses. In the future the warehouses can be upgraded to support bigger cities
Cities now needs to be have more people in them to get several of the bigger houses
Reputation takes longer to build up and is easier to loose
Lowered small station maintenance cost
Halved maintenance increase for upgrading vehicles
Halved maintenance increase per field when upgrading farms
Removed the penalty for having upgraded buses drive short distances
Lowered the city growth from food somewhat to balance out that you can have several farms
There is now a minimum price a city pays for food (it could go negative before in some extreme situations)
The max price a city pays for food (except for research) is now 9 instead of 10
The price when the city is well fed drops quicker
Farms are now 55 squares big instead of 54 to prepare for rotating the farm
The extra fields research now goes to lvl 16 instead of 11
Food filling research now increases filling with 10% instead of 8%
Bugs:
Fixed several bugs regarding shaders on ATI/Intel graphics cards
Fixed an issue where the shaders weren’t applied on Intel cards
The cost for altering land did not always cost the same on the client and server
Fixed a bug where water wasn’t displayed correctly on some graphics cards
Fixed a bug where city (ware)houses could be placed without a road
Sorting on cost in the station list gave the wrong order if you had some upgraded stations and some not upgraded
The other updates since last time I posted a list: New:
Bigger city buildings now have a ground layer instead of grass
Roads in cities now have pavements (under creation, will still be tweaked to stand out less)
You can now buy additional farms in the farm window
Added a new research for displaying the reputation of everyone in a city (before starting to build in a city it is nice to make sure there aren’t 5 people with godlike in it), the cost per market analysis is 1000
Added a new research for displaying the information about city growth (why isn’t the city growing quicker, what should be improved), the cost per analysis is 2500, the analysis isn’t working yet, the last part will be implemented with the next update
Growth analysis is now implemented, see from what your city is growing and compare it with the maximum possible
Two new researches, small and large marketing campaigns. The small campaign gives you a small amount of reputation with a max rating of good, the big campaign gives a big amount of reputation with a max rating of very good
You can now select text in the chat text input box by using home/end/left/right/up/down while holding down shift
You can now select text in the chat text input box clicking and dragging with the mouse or by clicking while holding down shift
Selected text can now be copied and cut using ctrl-c and ctrl-x
It’s now possible to see on the farm list window how many fields each farm has
Ctrl+a now works in the chat input box to select all text
You can now select and copy text written in the chat window
You can now research bus main stations and once researched you can upgrade your stations. Upgraded stations have a higher max capacity, loads vehicles quicker, cost less maintenance in busy stations (but more in small stations, the break point is somewhere around 4.500 maintenance cost), and if you compete with several stations in one city then main stations count as two stations. It is not yet possible to see in the station list whether or not a station is a main station
On the rankings page there is now a new column displaying the hourly income of everyone. Net worth is still the main drive of the page but with profit you can now see who soon might start climbing the rankings
I learnt shaders today and added the first version of some features that were planned for 1.4 (if your graphics card supports shaders):
The water now has waves on it (still lacking a bit in the shadows)
There is now sand next to and under water instead of grass (there is not yet a nice transition)
There is now snow (ground and trees) on high areas of the map (there is not yet a nice transition)
Modified:
Made the pavement darker so it it’s less obvious when zoomed out
Added some flowers and a bench at one of the turns (feedback appreciated, more of it or looking horrible and need to wait until we have an artist?)
When dragging an area to be flattened and starting on an uneven square, the game does a better job in guessing if you want to raise or lower the land
The mouse cursors when looking at/scrolling the map is now the same as the rest of the game
Rewrote all server code in regards to research, please keep an eye open for bugs
Lowered the cost of buying new farms with 100.000
To more accurately fix the bugs that generate stack traces (the output from the java console) the line that created the error is now placed with the error
Rewrote all research code on the client side, keep an eye open for bugs
City analyzes now appear under “Marketing/Analyzes” on the economy overview page
Truck size upgrades no longer increases the loading time as much
Food prices are lowered
Base farm maintenance cost increased
Farm maintenance cost from upgrades increased
Increased the cost for new fields/farms after upgrading
Increase food filling research increases the filling by 8% instead of 6%
Increase food income increases how much cities pay by 3% instead of 4%
Increase food production increases production by 10% instead of 20%
Each warehouse in a city increases the max goods waiting by 20.000 instead of 15.000
The growth analysis now shows normal growth instead of max growth
Higher reputation generates more passengers in the city
The passenger bonus from reputation is halved
The bus station maintenance cost has been altered somewhat to not reach insane amounts when serving a lot of passengers
Removing trees doesn’t cost any money
Bugs:
Fixed a bug where the hidden labels still were clickable
Fixed a bug where warehouses could be placed in the wrong direction and without a road
Fixed a bug where a bridge over a city road would get a graphical bug
Fixed a bug where, when the server reverted your changes because the client did something it shouldn’t, the trees were moving around and changing shape
Fixed a bug where, when leveling a lot of land at once, there could sometimes be artifacts in the land
Fixed a bug where other players vehicles, and your own vehicles leaving a city warehouse, didn’t start inside the station and instead started at the first intersection
Fixed a bug that could cause the landscape to disappear
Fixed a bug where you couldn’t click on the station to open the station window anymore
Fixed a bug when scrolling on the map and moving over a window (chat or city list) you instead started dragging the window
Fixed two bugs around building farms
When the server restarted in the middle of a day the transported passengers got reset, making the cities grow less and the growth analysis incorrect
The max growth from passengers on the growth analysis screen was 50% too high
To research the two analyzes did cost money even though it didn’t say it would, they are now free like intended
Fixed a bug where a message being sent to the server at the same time as a message was sent to the player could lock the server
All city buildings are now visible on the map
Fixed a bug where it was possible to place a farm when negative in money but the server removed the farm fields