Putting the 'role' back in role-playing games since 2002.
Donate to Codex
Good Old Games
  • Welcome to rpgcodex.net, a site dedicated to discussing computer based role-playing games in a free and open fashion. We're less strict than other forums, but please refer to the rules.

    "This message is awaiting moderator approval": All new users must pass through our moderation queue before they will be able to post normally. Until your account has "passed" your posts will only be visible to yourself (and moderators) until they are approved. Give us a week to get around to approving / deleting / ignoring your mundane opinion on crap before hassling us about it. Once you have passed the moderation period (think of it as a test), you will be able to post normally, just like all the other retards.

Teemu

Krice

Arcane
Developer
Joined
May 29, 2010
Messages
1,630
Encryption has now a 2x2 scramble matrix, but it's kind of too small, because if you mix words in sets of 4 letters it's still almost possible to read the text, because how brain works. And actually even if there is a clever matrix scramble you can only have a small permutation set for four letters anyway. This is maybe way too much work for such a small feature in the game, but it could be interesting to try a larger matrix with different kind of scrambling, like scrolling the matrix in different directions for each row and column. I think 5x5 could be enough, that's 25 letters mixed at a time. The problem with this approach is that the input file should be at least 25 bytes and in worst case scenario there is a 24 byte tail that can't be scrambled.
 

Krice

Arcane
Developer
Joined
May 29, 2010
Messages
1,630
I tried to read wikipedia about encryption and learned that scrambling alone can be cracked easily. Oh well. And also, the way encryption works is that they use a pseudo-random number based on the password. I guess the secureness comes from the period of the key, because pseudo-random numbers could be generated as well. But for this purpose I wonder do I really need super charged encryption, most likely not.
 

Krice

Arcane
Developer
Joined
May 29, 2010
Messages
1,630
Trying to get the wardrobe command to work, it's auto-selecting all items you need to wear a specific outfit. I don't know if it works just like that, the routine that wears an outfit looks really funny. Things like this are really tedious to code, but you have to get into your bored face mode and go through it.
 

Krice

Arcane
Developer
Joined
May 29, 2010
Messages
1,630
Wardrobe works in theory. Now working on scores, this is another boring one, trying to figure out where and how much the player gets score. Also, noticed that one of the save files crashes which is annoying, because the save/load should not have bugs, but it does... Then again if I change any of data structures I should also delete save games and start testing with new save files, maybe I should try it.
 

Krice

Arcane
Developer
Joined
May 29, 2010
Messages
1,630
I made a test to fix messages and it worked! Testing in this project is more about testing the feature itself rather than code quality problem. Some features get so complex that you kind of have to create some kind of test to them. And I think fixing RPG system problems could be easier with test routines, even though creating them can take some time.
 

Krice

Arcane
Developer
Joined
May 29, 2010
Messages
1,630
I think the compression of level data doesn't work, sometimes it crashes. Mostly checking out stuff, it's funny how many bugs you find even you thought everything was working. And finally after years of development I figured out it's very useful to have a debug toggle which freezes monsters so they don't bother you when trying to test something. Previously I used a routine which destroys them, but then you can't check out monster specific stuff in that level.
 

As an Amazon Associate, rpgcodex.net earns from qualifying purchases.
Back
Top Bottom