Growlith1223 Posted February 13, 2012 Author Share Posted February 13, 2012 Hey is there a way to make it so the MAX_MAPS is a dynamic number which means if that map doesnt exist, the server creates it and changes the number to for example 101.It's just a little question(hopefully not a lot of coding XD) Link to comment Share on other sites More sharing options...
Stach Posted February 13, 2012 Share Posted February 13, 2012 Yes it's doable. And no, it's not a lot of coding. Link to comment Share on other sites More sharing options...
evilbunnie Posted February 15, 2012 Share Posted February 15, 2012 Basically, every-time a new map was created, you'd resize the map array and add one map and save the map to a .DAT file and then load it./thread Link to comment Share on other sites More sharing options...
Robin Posted February 15, 2012 Share Posted February 15, 2012 Go with what I was originally going to do before I got really lazy.Have an array change button on the editors which sets the variable MAX values.I'll get around to doing it for Crystalshire… eventually. Link to comment Share on other sites More sharing options...
Growlith1223 Posted February 16, 2012 Author Share Posted February 16, 2012 so like what you mean is:Make a enumeration that is sent to the server and has the data of the new amount and it creates new maps? Link to comment Share on other sites More sharing options...
Robin Posted February 16, 2012 Share Posted February 16, 2012 lolno. Link to comment Share on other sites More sharing options...
erkro1 Posted February 16, 2012 Share Posted February 16, 2012 Just put it in the save part of the Map Editor I guess, don't make a new packet only for that. Link to comment Share on other sites More sharing options...
Robin Posted February 16, 2012 Share Posted February 16, 2012 @Erwin:> Just put it in the save part of the Map Editor I guess, don't make a new packet only for that.Of course you should make a new packet for it.You just don't need an enumeration of… well, anything. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now