|
Post by Iyouboushi on Aug 21, 2006 13:56:47 GMT -6
Well, the good news is.. I think I've figured out how to do rooms in XML. The bad news is, I don't know how C# works with XML yet. And also, kind of bad, I'd have to develop a "build a room" program because XML is a pain in the neck to do by hand.
The only thing I haven't quite figured out is how to do the quest flags. For example, there was going to be one area that you couldn't cross until you had rope. Once you had rope you could cross the chasam (or repair a bridge, or whatever it was I had planned). In an INI file it'd be a lot easier to set it up so that you couldn't do it until you had rope. I'm still trying to figure out the best way to do it in XML.
Anyway, I might start working on it again soon.
|
|
|
Post by RaymundPhule on Nov 22, 2006 8:55:05 GMT -6
Any update bro... oh I am really thinking of changing my major to a more computer savy one. Seen as how I am going to a business school, even the computer degrees have managment courses heh.
|
|
|
Post by Iyouboushi on Nov 22, 2006 12:27:18 GMT -6
Seems like my computer degree I'm working on now is more business oriented. More than half the classes I've had to have are all business related. :/ It's boring. I don't like business that much, but I do love the computer aspect of it. No updates yet. Been kind of busy lately (school is killing me this semester). When I get back to it I might scrap this and start over. I REALLY need to figure this kind of stuff out BEFORE I start. I'm still not sure how to actually use XML and I get the feeling that if I did it that way people could "cheat" by looking in the XML file to see what all the rooms have in them (I know I would, but I'm just curious like that). I'm gonna spend a lot of free time this break (well, the two weeks I get off from school) reading over a bunch of C# and C++ and gaming boards. I know the last time I checked the gaming board out they had a beginner's version of PONG on there in C++, so maybe I'll learn something interesting that I could use towards something else (maybe another version of this). Really I just need to focus, sit down and actually do it.
|
|
|
Post by Iyouboushi on Apr 2, 2007 20:52:12 GMT -6
If I ever get around to working on this again, the best thing I can think of (to handle quest flags and items and such) is to basically scrap the way I'm doing characters and do those in XML as well. This game, however, is more or less dead.
I'll keep the topic around, though, just in case I get the urge to work on it again.
|
|
|
Post by Iyouboushi on Jan 11, 2008 4:03:05 GMT -6
Believe it or not, there's an actual update on this. Version 0.0.6 is now up in the programs folder ( iyou.cyberbotx.com/programs/C-sharp/KingdomOfCrim ). You're probably going to download it, look at it and go "uhh James, nothing's new." Well, that's not entirely true. First off, I have to make a note that you have to erase your old character file(s) before trying to log into this version. Otherwise, it'll probably crash. The reason for this is because the character file is now stored as XML! That's the biggest change this version. Unfortunately for the players, the XML file is encrypted so you can't see the beauty of the new structure. I will, however, explain it here. In the previous versions the character information was all sorted one thing on a line with no descriptions or labels. For example, consider: 1 5 7 2 1 false false I came back a few months short of two years of working on this and looking at these files going "okay, so what's this number supposed to represent?" Who knows? This was the biggest reason I wanted to switch to XML. Now when I open the decrypted player file, it shows me something like this: <Stats> <HP>100</HP> <maxHP>100</maxHP> <strength>5</strength> </Stats> (obviously shortened).. but the point being now when I open that file I can see IMMEDIATELY what things are. And to me that's important. But like I said, for the players it won't make any difference since the files are encrypted anyway to prevent people from cheating. The next major change came with basically having to rewrite a ton of code to complement the XML format. A ton of stuff was taken out, a lot of new stuff was added. I think I have actually improved code in a lot of places. Should I ever take this game any further it should be pretty efficient. The last major update to this version is the fact that NW is no longer on the project team for graphics. To be honest, NW has basically disowned everyone here (myself included) and dropped off the face of the Earth. So I changed the ABOUT dialog to reflect that. I'm the only one on there now. There's also a spiffy graphic on there, which mirrors my other projects. And that... was the longest five hours of programming of my life. I have no idea if/when I'll update this project again.
|
|
|
Post by Iyouboushi on Jan 11, 2008 22:40:24 GMT -6
And another update! Version 0.0.7 is now up in the programs folder ( iyou.cyberbotx.com/programs/C-sharp/KingdomOfCrim ). For this version I changed a few things. First off, on the login screen I added a button to bring up the about. Here's a sample small image of it: The next major change is I decided to add an update checker. I basically took the latest version of my Kaiou Update Checker and modified it to check for updates to this program. That means once you get this version you can keep checking with the program itself instead of having to come to the board to see if I've updated. It should also download the latest version with the updater or at the very least send you to the page to download it yourself if it fails. The other changes are internal. I put in place a way to have the program check to see if you have a world file (crim.world). If you don't, in the future it will download it for you. The only other thing I did for this version was try to clean up the code and reorder some of it a bit and separate it into regions. This is just for me, when I'm trying to find things quicker and so I can hide some code so it's not overwhelming when I'm working on it. I'm shocked I've made two updates to this program in two days.
|
|