Farming Game - Networked

Hey Guys. Im working on an online farming game, I want it to be similar to animal crossing where players alter the world… and so on. So that means, player owned houses, furniture… and all that fun stuff! :P.

Heres a quick preview of a week of work… Pretty much an hour here and an hour there!

Update JULY 25th:

http://dl.dropbox.com/u/6629353/FarmingGame/index.html
username: Guest
passwrod: Guest

The login database works, But will freeze if you try to create an account or login when my PC is off :P.

Good job so far! The networking seems pretty solid and smooth - unfortunately I can’t say the same about your login/authentication system :P. To make it at least somewhat difficult to break into, make sure that your server script returns something other than just “Success” (i.e. a hash of your key + attempted username) to be validated with the game.

I was playing with you! :smile:

Cheers
Khelton

LOL! Carbon!

Yeah. I needa work on the login system more. I started getting tired so took some shortcuts when making the php files :P. Thanks for the advice! ^_^.

What the server replies is generally not the important part of authentication mechanism unless some session specific shared token is to be used.

In a RESTful solution you will typically want to send your (encrypted/signed) shared secret with every request; in this case an authentication method is really just checking that you’ve got it right before attaching it to other requests.

Looking great so far! I love Farm Simulators… did you roll your own network backend?

Right now its done with Unitys networking. I figure that should be enough for now. Going to go with small servers on a master server, and all stats will drag over between servers. So it should work out good!

Hey Everyone! Been awhile since I updated this: I’ve been working on it for a couple hrs a week so not much time… But! I like how its turning out! ;). Things Ive Added:

Picking up and dropping items - E
Movement changed.
Can now Jump.
Chat looks nicer.
Can dig ONLY on farm land. (South of start house).

WEBPLAYER ~3MB
http://dl.dropbox.com/u/6629353/FarmingGame/index.html

USE Guest AS USERNAME AND PASSWORD.
Login works, But only when my PC is on (The database). If its off, It will freeze :P.

Try it out and let me know what you guys think! I love feedback! :).