State of Fortune

Someone else found the same (I guess) bug and it’s only on the client, the server understands that you’re trying to cheat :stuck_out_tongue:

I’ll upload a new version tonight or tomorrow that will fix for that one, some 5-10 other issues that people found and add a minimap where you can see the landscape as well as plots for sale, plots bought and plots that you own.

Mike

Thanks for the testing. I’ve just updated the game with the following changes:

  • The crosshair is now easier to see
  • You can click the “Home” button to toggle always run instead of walk
  • You can click the “End” button to toggle moving forward
  • You can click either E or I to open the inventory
  • You can now always see how much money you have
  • Grain now has a 4 times as big profit but takes 4 times as long to grow
  • There is a minimap which also shows the landscape and plots for sale (Toggle hide plots/on/off with M)
  • Fixed 5 usability issues, most related to making it a lot easier to plant grain
  • Fixed 5 bugs

You can safe yourself a whole lot of trouble by completely discarding the clientside money calculations in this game (presumably it’s still early enough for such changes). It led to a whole lot of bugs and confusion in SoP, so why not get rid of it entirely? Ultimately it’s less work, less bugs, less head scratching, less hair loss.

Right, so let the server update the client always? That sounds like a nice idea and it’s indeed very easy to implement seeing as the server already can overrule the client when it notices that you’re doing something that you can’t. Just let the server overrule the client when it does something that’s possible as well and remove the pay/add money functions on the client :slight_smile:

I’ll put it into the next update.

Mike

Thanks for the testing. I’ve just updated the game with the following changes:

  • The crosshair is now easier to see
  • You can click the “Home” button to toggle always run instead of walk
  • You can click the “End” button to toggle moving forward
  • You can click either E or I to open the inventory
  • You can now always see how much money you have
  • Grain now has a 4 times as big profit but takes 4 times as long to grow
  • There is a minimap which also shows the landscape and plots for sale (Toggle hide plots/on/off with M)
  • Fixed 5 usability issues, most related to making it a lot easier to plant grain
  • Fixed 5 bugs

You can safe yourself a whole lot of trouble by completely discarding the clientside money calculations in this game (presumably it’s still early enough for such changes). It led to a whole lot of bugs and confusion in SoP, so why not get rid of it entirely? Ultimately it’s less work, less bugs, less head scratching, less hair loss.

And don’t let the client be pro-active. Only change the (clientside) model and visuals once the server confirmed the validity of the request.

Right, so let the server update the client always? That sounds like a nice idea and it’s indeed very easy to implement seeing as the server already can overrule the client when it notices that you’re doing something that you can’t. Just let the server overrule the client when it does something that’s possible as well and remove the pay/add money functions on the client :slight_smile:

I’ll put it into the next update.

Mike

That will take a lot longer to change I think and if you don’t have a good connection or are far away from the Netherlands it will impact the game quite a lot.

Screenshot of the game as it is now:

http://stateoffortune.com/pictures/screenshots/minimap.png

Mike

And don’t let the client be pro-active. Only change the (clientside) model and visuals once the server confirmed the validity of the request.

The new version as some problems… its crashing… I’m playing and then Java crashes…

Thanks!

It was due to an issue with the chat, I just fixed it. :slight_smile:

EDIT: Apparently not :stuck_out_tongue: I’ll look into what is causing it.

Mike

That will take a lot longer to change I think and if you don’t have a good connection or are far away from the Netherlands it will impact the game quite a lot.

Screenshot of the game as it is now:

http://stateoffortune.com/pictures/screenshots/minimap.png

Mike

The new version as some problems… its crashing… I’m playing and then Java crashes…

Thanks!

It was due to an issue with the chat, I just fixed it. :slight_smile:

EDIT: Apparently not :stuck_out_tongue: I’ll look into what is causing it.

Mike

Hi all! :slight_smile:

Here is a quick update as to what changed during the last week:

  • It’s now easier to see which plots are yours on the minimap
  • The server is now the only one that keeps track of spending and getting money
  • Improved the detailed grass transition and visibility of height differences
  • F12 toggles the overlay on/off
  • The minimap show/hide is saved when logging out
  • If you finish a stack of seeds and have more in the inventory the seeds are automatically refilled
  • Improved the prices to be less extreme in the center and in the huge plots in the outskirts
  • You can now buy bread in the shop. If you eat bread you can plant seeds/harvest grain for 5 minutes, or until logging out, while holding in the button instead of clicking constantly
  • Fixed several bugs

The next things to be implemented, except for performance and bug fixes, is a mill to seperate the wheat from the chaff, a mill to grind the wheat into flour, a well to get water and an oven to bake your own bread. Once you can bake bread yourself it will be removed from the store.

Mike

Hi all! :slight_smile:

Here is a quick update as to what changed during the last week:

  • It’s now easier to see which plots are yours on the minimap
  • The server is now the only one that keeps track of spending and getting money
  • Improved the detailed grass transition and visibility of height differences
  • F12 toggles the overlay on/off
  • The minimap show/hide is saved when logging out
  • If you finish a stack of seeds and have more in the inventory the seeds are automatically refilled
  • Improved the prices to be less extreme in the center and in the huge plots in the outskirts
  • You can now buy bread in the shop. If you eat bread you can plant seeds/harvest grain for 5 minutes, or until logging out, while holding in the button instead of clicking constantly
  • Fixed several bugs

The next things to be implemented, except for performance and bug fixes, is a mill to seperate the wheat from the chaff, a mill to grind the wheat into flour, a well to get water and an oven to bake your own bread. Once you can bake bread yourself it will be removed from the store.

Mike

First of all, a list of changes since my last post:
The compass window shows you the distance to your destination
The compass window shows you your current position
You can enter a custom destination into the compass window
Increased the performance (from 40 to 100 fps on my laptop with high settings for example)
Decreased the stuttering when building
Improved the floor/wall logic so you don’t have to build floors that stick out through the walls on buildings (caused some graphical glitches, fixed soon)
Added grain threshers so you can turn wheat into wheat seeds and hay (hay will later be used for feeding animals)
Added flour mills so you can turn wheat seeds into flour
Added wells so you can get water
Added ovens so you can turn water, logs and flour into bread
Added a shopkeeper you can buy where you can place, and price, items to sell to other people
Fixed bugs

Secondly, and maybe more interesting for the border searching junkies we are. I’m currently working on dynamic shadows. It was a lot more work than I thought it would be (took me like two weeks of almost every evening) but I’ll probably be able to upload an almost complete version in the weekend.

Here are some screenshots:

http://stateoffortune.com/pictures/screenshots/shadow1.png


http://stateoffortune.com/pictures/screenshots/shadow2.png

If any of you are looking into implementing shadows in your own game just ask any question and I’ll answer to the best of my knowledge. :slight_smile:

Mike

First of all, a list of changes since my last post:
The compass window shows you the distance to your destination
The compass window shows you your current position
You can enter a custom destination into the compass window
Increased the performance (from 40 to 100 fps on my laptop with high settings for example)
Decreased the stuttering when building
Improved the floor/wall logic so you don’t have to build floors that stick out through the walls on buildings (caused some graphical glitches, fixed soon)
Added grain threshers so you can turn wheat into wheat seeds and hay (hay will later be used for feeding animals)
Added flour mills so you can turn wheat seeds into flour
Added wells so you can get water
Added ovens so you can turn water, logs and flour into bread
Added a shopkeeper you can buy where you can place, and price, items to sell to other people
Fixed bugs

Secondly, and maybe more interesting for the border searching junkies we are. I’m currently working on dynamic shadows. It was a lot more work than I thought it would be (took me like two weeks of almost every evening) but I’ll probably be able to upload an almost complete version in the weekend.

Here are some screenshots:

http://stateoffortune.com/pictures/screenshots/shadow1.png


http://stateoffortune.com/pictures/screenshots/shadow2.png

If any of you are looking into implementing shadows in your own game just ask any question and I’ll answer to the best of my knowledge. :slight_smile:

Mike

Hi Mike, the shadow in your last screenshots looks really detailed. Can I ask if you are using shadow mapping or shadow volume? If it is shadow mapping, what resolution do you use for the shadow buffer?