Slayer Blade Posted August 12, 2012 Author Share Posted August 12, 2012 Been forever since I posted anything here. The new event system kinda got me back into working with the engine. Anyway, How do I go about having over 100 maps? Given that I would put that much work into the engine to need over 100 maps. I know the Software comes will the data for 100 maps, but trying to figure out how I would go about more maps and keep the game going and not worry about having to make massive maps and make any dungeons one or two layered and rather large. Link to comment Share on other sites More sharing options...
Matt Posted August 12, 2012 Share Posted August 12, 2012 It should be in ModConstants.```' Map constantsPublic Const MAX_MAPS As Long = 100Public Const MAX_MAPX As Byte = 14Public Const MAX_MAPY As Byte = 11Public Const MAP_MORAL_NONE As Byte = 0Public Const MAP_MORAL_SAFE As Byte = 1```Make sure its the same both server side, and client side. Link to comment Share on other sites More sharing options...
Slayer Blade Posted August 12, 2012 Author Share Posted August 12, 2012 @Sigridunset:> It should be in ModConstants.> > ```> ' Map constants> Public Const MAX_MAPS As Long = 100> Public Const MAX_MAPX As Byte = 14> Public Const MAX_MAPY As Byte = 11> Public Const MAP_MORAL_NONE As Byte = 0> Public Const MAP_MORAL_SAFE As Byte = 1> ```> Make sure its the same both server side, and client side.ok, looks simple enough. would this also add the maps automatically, or would I need to add more maps by coping and paste and renaming them 101,102,103? Link to comment Share on other sites More sharing options...
Zopto Posted August 12, 2012 Share Posted August 12, 2012 Just put that on server and client and chage number 100 in 300 or any other number then job is done.. Link to comment Share on other sites More sharing options...
Slayer Blade Posted August 13, 2012 Author Share Posted August 13, 2012 @Zopto:> Just put that on server and client and chage number 100 in 300 or any other number then job is done..I have changed the number to 300\. But it does not let me warp to any maps over 100 still. so what else must be done? Link to comment Share on other sites More sharing options...
Matt Posted August 13, 2012 Share Posted August 13, 2012 A few stupid questions. Number one, are you editing the code with specifically VB6? If so, have you made sure that the MAX_MAPS is the same number on the client side and server side? If so, have you compiled it?If not, and you are using VB6, then hit Alt in Vb6 with the code open. It should take you to the File tab. Hit "Make EO.exe" or "Server.exe".And as for your question about the copying and pasting, all thats done when you start the server. Link to comment Share on other sites More sharing options...
Guest Posted August 13, 2012 Share Posted August 13, 2012 The next time you run the sever it adds any non existing maps that should be there. Link to comment Share on other sites More sharing options...
Slayer Blade Posted August 14, 2012 Author Share Posted August 14, 2012 I have changed the modconstants on both the server and client to 300\. I still do not have over 100 maps. what am I still not doing? Link to comment Share on other sites More sharing options...
Growlith1223 Posted August 14, 2012 Share Posted August 14, 2012 did you compile it? Link to comment Share on other sites More sharing options...
Slayer Blade Posted August 17, 2012 Author Share Posted August 17, 2012 bumpin back to front page Link to comment Share on other sites More sharing options...
Joyce Posted August 17, 2012 Share Posted August 17, 2012 Erm, did you compile it? As asked before. Editing the files does nothing whatsoever.(Also note that the maximum value of a Byte is 255, make it a long if you need more than 255 maps ;]) Link to comment Share on other sites More sharing options...
Ruins of Hell Posted August 17, 2012 Share Posted August 17, 2012 @Joyce:> (Also note that the maximum value of a Byte is 255, make it a long if you need more than 255 maps ;])MAX_MAPS (and most other maximums) are declared as a long by default, all he has to do is change the number and compile. Link to comment Share on other sites More sharing options...
Joyce Posted August 17, 2012 Share Posted August 17, 2012 It is? My source must be old then. Most of them are Bytes for me, since they never went over 255 anyway. Oh well. :] Link to comment Share on other sites More sharing options...
Slayer Blade Posted August 18, 2012 Author Share Posted August 18, 2012 Compile? and max at 255? some new information there but yeah. How would i go about compiling it? Everyone said as long as I changed the numbers it be good. Link to comment Share on other sites More sharing options...
Matt Posted August 18, 2012 Share Posted August 18, 2012 @Slayer:> Compile? and max at 255? some new information there but yeah. How would i go about compiling it? Everyone said as long as I changed the numbers it be good.Saving the code in VB6 is like changing the words in a notepad document. Compiling the code is like printing that text onto paper and making a book. To compile, open your project in VB6 and hit File, Make "Name here".exe Link to comment Share on other sites More sharing options...
Domino_ Posted August 18, 2012 Share Posted August 18, 2012 Server and Client side in constants change Max_Maps. ( server will generate/creane new maps if there will be need for them) To save changes save your project and run though vb6 with full compile or make *.exe of your project.Answered on your question, close this thread, nothing more to say. Link to comment Share on other sites More sharing options...
Slayer Blade Posted August 18, 2012 Author Share Posted August 18, 2012 VB6? Just confused me even more now. Link to comment Share on other sites More sharing options...
Matt Posted August 18, 2012 Share Posted August 18, 2012 Are you using VB6? (Visual Basic 6) Link to comment Share on other sites More sharing options...
Murdoc Posted August 18, 2012 Share Posted August 18, 2012 You need Visual Basic 6 to edit the source code, and hence make any changes to the engine. Link to comment Share on other sites More sharing options...
Domino_ Posted August 18, 2012 Share Posted August 18, 2012 @Slayer:> VB6? Just confused me even more now.Dow do you think game begin developed, with notepad? :DYou need to download Visual Basic 6 ( Search yourself somewhere, i dont suggest u to download portable version. ) Link to comment Share on other sites More sharing options...
Slayer Blade Posted August 18, 2012 Author Share Posted August 18, 2012 Oh, that! I didn't recognize the abbreviation of it. 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