Done some more work on it.
Can now change the size of the array, what we call MAX_CLASSES in Mirage ;D
Started work on the sprites. Using the 'add' button, you can add new sprites to the array. There's 2 arrays, male and female. These can store any number of sprites, so each class can give the user a selection of sprites on character creation, depending on chosen sex. This is stored in the binary as a string. It'd appear something like this;
Code:
0,1,54,34,21,56
After loading the string, I then split it into an array of strings, then loop through to the UBound of the array and convert to long, storing it in the class rec.
Matt wrote:
Robin wrote:
Matt wrote:
An offline editor? Either way, that looks awesome. Pretty good idea to include everything in at once.
Yeah. I'll be releasing new features in patch files, so I don't need the fast-download that Mirage has on it's data.
Also, the way I'm going to be handling the server-client relationship will allow me to store all the data in the client, and then just use the server for double-checking, sending the data to everyone else, and leading the client in some of the features, but apart from that a lot of stuff is going to be client side.
Kal Online handles it exactly like that. Easiest game to hack in the world. Lol.
It doesn't handle it like that ;D Kal's silly enough to handle everything client-side
without having the server double-check. What I mean when I say everything is done client-side, I mean similar to how CanMove is handled in Mirage. The client handles it all on it's own, but sends a double-check packet to the server. If you hack the client to move over blocked tiles, the server will know and boot appropriatly. Most of my features will be similar to that.
It's only for aesthetic reasons that I do it. If I handle everything client-side and have the server only stepping in to send information or correct the client if it's wrong, it means that the game will appear a lot smoother, especially at higher latencies.
_________________
Quote:
Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?