Olvand is a little multiplayer sandbox RPG, where the players live in self-built towns and can go on all kinds of adventures together. Imagine living with your friends in a small town in the mountains, or creating a new group of friends in a pub in the metropole you all live in. There will be several mini-games the inhabitants of a server can play together, among which will be combat based games like King of the Hill or Capture the Flag. You will be able to play against other people in your city, or as a city against another city, or as a whole server against another server. The combat works with self-built guns, in which all kinds of powers can be combined to create unique effects.

Post news Report RSS A new update and a bug's life

In this update, I talk about this update (and one bug in particular) and the next one.

Posted by on

Hi all, the new update is out! If you want to know what new features it has, I've described in it a lot of detail [here], [here], and [here]. I currently spend most of my free time hunting bugs and seeing if all works as intended. Most of the hardcore playtesters don't seem to be online a lot these days, so I'm mostly doing it by myself for now.

About finding and fixing bugs: the update before this one had a 'Reset account' button as a new feature. As it name suggests, it resets your progress on the server you are playing on and lets you start over. Player JoeyXtreme (from the [starter guide]) noticed that this button didn't always work. I tested it a bit on his account, and it indeed discovered it didn't work, but only on some servers and only on some accounts... weird. Discovering what caused the problem was an interesting journy. These are the steps that led to the killing of the bug:

  • I noticed that it only happened on servers where a lot of people had played previously, so I decided to explore that. I made one server look a like a lot of players had played before, and another look as if had been started up for the first time... and yes! The reset button didn't work on the first server, but did work on the second.
  • While playing around with all this, I discovered that on these servers, it only happened for the players that came latest. So if a server kept track of 100 players, player 8 had no problems, but player 88 had. I tried to find the boundary (so how many players exactly need to have come before you before the reset button stops working), and after some trial and error I discovered this boundary was between 9 and 10.
  • Some hard thinking followed, but then it hit me: it had something to with 2-digit player numbers. This makes sense, because the 'reset account' code indeed uses the player numbers. What Olvand does when you hit the reset button is sending a message to the server, which the server decodes as 'reset the account for player x'. The x stands for your player number. I had a look at the server code, and there it was: the server only used the first digit it received, not the whole number. So that's why there were no problems for early players (0 - 9). Another bug killed! Hurray!

Besides playtesting the current update, I've also already started working on the next. One thing I'm working on is an exciting secret which I'll reveal later, the other thing is the beginning of real towns in Olvand! It's a bit boring programming-wise, but the results will hopefully be worth it. I mean, come on... TOWNS!


If you want more development, see [twitter] or [facebook]. If you want to be a tester, you can subscribe on [olvand.com].

Post comment Comments
Guest
Guest - - 689,097 comments

you are telling me that player 10 to 19 would reset player 1's account any time they wanted?

Reply Good karma Bad karma0 votes
Martanz
Martanz - - 479 comments

Basically, but it's fixed now.

Keep up the awesome work! Got my computer fixed now and will set up the server as soon as I get the thumb out of my *** :P

Reply Good karma Bad karma+4 votes
Woseseltops Author
Woseseltops - - 250 comments

Haha, interesting proverb ;). And great!

Reply Good karma+4 votes
Woseseltops Author
Woseseltops - - 250 comments

Not sure, actually, I haven't had any complaints ;). I think when 2-digit players tried to reset their accounts, the server got confused and did nothing. Anyway, like MartanZ said, it's fixed now.

Reply Good karma+3 votes
FahriAuditore
FahriAuditore - - 138 comments

I want to ask where i can get the starting guide?

Reply Good karma Bad karma+2 votes
Woseseltops Author
Woseseltops - - 250 comments

Here: Indiedb.com . Sorry, my link pointed to the wrong place, I've fixed it now.

Reply Good karma+1 vote
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: