BoDu Posted April 30, 2011 Author Share Posted April 30, 2011 Its easy and it will be done in a few seconds. Remember that you will need a new gui after you change it.**Legend:****x** its any resolution you want on horizontal and it should be divided by 32 **(800, 1024, 1280, 1344)****Y** its any resolution you want on vertical and it should be like the x one divided by 32 **(608, 704, 768)**Now that we know the resolution we want lets edit the source:**Client side:**On **frmMain**, search for **Private Sub Form_Load()** and add this:```picScreen.width = XpicScreen.height = Y```Now go on **modConstants** , search for **' Map constants** and replace Max_MapX and Map_MapY with this:```Public Const MAX_MAPX As Byte = (X / 32 - 1)Public Const MAX_MAPY As Byte = (Y / 32 - 1)```**Server side:**Go on **modConstants** , search for **' Map constants** and replace Max_MapX and Map_MapY with this:```Public Const MAX_MAPX As Byte = ( X / 32 - 1)Public Const MAX_MAPY As Byte = (Y / 32 - 1)``` Don't forget that X and Y are the numbers you want for the resolution and it wont work if you let them as X and Y. If you get anykind of errors just delete your maps and it will work fine after that. Link to comment Share on other sites More sharing options...
Guest Posted May 5, 2011 Share Posted May 5, 2011 so i tried this and everywere you have a x and y i put my res, i start up the server fine, start the client, connect fine, and then it all goes black with the music playing, no error tho.i also deleted my map in the client folder, but i dont see why everything would go black, i would imagine a missaligned ui but would still see something. aslo the size of the screen didnt seem to change any. i went with 1280x1024 so its still a window for me at 1600x1200.any ideas what i did wrong there? im new so i dont know much about how this works just yet. Link to comment Share on other sites More sharing options...
Guest Posted May 5, 2011 Share Posted May 5, 2011 nvrmind i got it working, ty for this. Link to comment Share on other sites More sharing options...
HARMON8ER Posted May 6, 2011 Share Posted May 6, 2011 New to this, and same problem here… How'd you fix it? Link to comment Share on other sites More sharing options...
HARMON8ER Posted May 6, 2011 Share Posted May 6, 2011 Ok, kinda working… I resized my form and my picScreen (btw, I am also using 1280 X 1024) but now the map scrolling is pretty twisted up. Link to comment Share on other sites More sharing options...
Guest Posted May 7, 2011 Share Posted May 7, 2011 well the maps have to be deleted for it to work, so delete your client and server maps, all of them.the other thing for me was the in the frmmain on the pic screen make sure the size values are correct.to get it to stop scrolling in a up/down or left/right when walking on bigger maps you have to set your viewable area slightly larger than your screen res. so it might end up in you taking it down to say, 1152x864… its what i ended up going down to so i could have a good ui with it.hope that helped you out, im new so i dont know alot yet. Link to comment Share on other sites More sharing options...
HARMON8ER Posted May 7, 2011 Share Posted May 7, 2011 That helped out a ton. Thanks :cheesy: Link to comment Share on other sites More sharing options...
Annahstas Posted March 1, 2012 Share Posted March 1, 2012 Were do I place:picScreen.width = XpicScreen.height = YUnder which?Private Sub Form_Load()  ' If debug mode, handle error then exit out  If Options.Debug = 1 Then On Error GoTo errorhandler  ' move GUI  picAdmin.Left = 544  picCurrency.Left = txtChat.Left  picCurrency.Top = txtChat.Top  picDialogue.Top = txtChat.Top  picDialogue.Left = txtChat.Left  picCover.Top = picScreen.Top - 1  picCover.Left = picScreen.Left - 1  picCover.Height = picScreen.Height + 2  picCover.Width = picScreen.Width + 2 Link to comment Share on other sites More sharing options...
Jimmy93 Posted March 1, 2012 Share Posted March 1, 2012   ' move GUI  picAdmin.Left = 544  picCurrency.Left = txtChat.Left  picCurrency.top = txtChat.top  picDialogue.top = txtChat.top  picDialogue.Left = txtChat.Left  picScreen.width = X  picScreen.height = Y  picCover.top = picScreen.top - 1  picCover.Left = picScreen.Left - 1  picCover.height = picScreen.height + 2  picCover.width = picScreen.width + 2or just click on the picScreen (picturebox) and find the height: / Width: in the properties of it. Link to comment Share on other sites More sharing options...
Annahstas Posted March 1, 2012 Share Posted March 1, 2012 Thank you! ^^ Link to comment Share on other sites More sharing options...
chopsaw Posted February 4, 2013 Share Posted February 4, 2013 i cant seem to get this to workive opened eclipse with vb6 and delete/copy/pasted everything u said and saved project and saved with ctrl5when i open my server and client up and run them its as if nothing happendi even deleted my maps first Link to comment Share on other sites More sharing options...
Sunku Posted February 4, 2013 Share Posted February 4, 2013 > i cant seem to get this to work> > ive opened eclipse with vb6 and delete/copy/pasted everything u said and saved project and saved with ctrl5> > when i open my server and client up and run them its as if nothing happend> > i even deleted my maps firstDid you change the X and Y to your desired resolutions? Link to comment Share on other sites More sharing options...
chopsaw Posted February 4, 2013 Share Posted February 4, 2013 i putPublic Const MAX_MAPX As Byte = (1280 / 32 - 1) Public Const MAX_MAPY As Byte = (1024 / 32 - 1) in server and client right whereMax_MapX and Map_MapY was located in **modConstantsand i added**picScreen.width = 1280picScreen.height = 1024into' move GUIpicAdmin.Left = 544picCurrency.Left = txtChat.LeftpicCurrency.top = txtChat.toppicDialogue.top = txtChat.toppicDialogue.Left = txtChat.LeftpicScreen.width = 1280picScreen.height = 1024picCover.top = picScreen.top - 1picCover.Left = picScreen.Left - 1picCover.height = picScreen.height + 2picCover.width = picScreen.width + 2**in Private Sub Form_Load()**where did i mess up should i post the code from vb6 to let u look at it ? Link to comment Share on other sites More sharing options...
chopsaw Posted February 4, 2013 Share Posted February 4, 2013 didnt mean to post this twice Public Const MAX_MAPX As Byte = (1280 / 32 - 1) Link to comment Share on other sites More sharing options...
Sunku Posted February 4, 2013 Share Posted February 4, 2013 > i cant seem to get this to work> > ive opened eclipse with vb6 and delete/copy/pasted everything u said and saved project and saved with ctrl5> > when i open my server and client up and run them its as if nothing happend> > i even deleted my maps firstClient!frmMain```Private Sub Form_Load() ' If debug mode, handle error then exit out If Options.Debug = 1 Then On Error GoTo errorhandler ' move GUI picAdmin.Left = 544 picCurrency.Left = txtChat.Left picCurrency.top = txtChat.top picDialogue.top = txtChat.top picDialogue.Left = txtChat.Left picScreen.width = 800 picScreen.height = 600 picCover.top = picScreen.top - 1 picCover.Left = picScreen.Left - 1 picCover.height = picScreen.height + 2 picCover.width = picScreen.width + 2 ' Error handler Exit Suberrorhandler: HandleError "Form_Load", "frmMain", Err.Number, Err.Description, Err.Source, Err.HelpContext Err.Clear Exit SubEnd Sub```modConstants```' Map constantsPublic Const MAX_MAPS As Long = 100Public Const MAX_MAPX As Byte = (800 / 32 - 1)Public Const MAX_MAPY As Byte = (600 / 32 - 1)Public Const MAP_MORAL_NONE As Byte = 0Public Const MAP_MORAL_SAFE As Byte = 1```Server!modConstants```' Map constantsPublic Const MAX_MAPS As Long = 100Public Const MAX_MAPX As Byte = (800 / 32 - 1)Public Const MAX_MAPY As Byte = (600 / 32 - 1)Public Const MAP_MORAL_NONE As Byte = 0Public Const MAP_MORAL_SAFE As Byte = 1```This works for me completely once I delete the map files in the client and server side (not the folders) and the accounts (once more, not the folder) Link to comment Share on other sites More sharing options...
chopsaw Posted February 4, 2013 Share Posted February 4, 2013 it still didnt work maybe im doing sumthing rong when saving ithow do you save it in vb6 i used ctrl5 that time should i click save project insted ?>i deleted all accounts and maps from folders then copy and pasted you code in and when i start it up its still normal like nothing ever happenddo you know if this works for eclipse event eystem ? cuz thats what i have downloaded at this time Link to comment Share on other sites More sharing options...
chopsaw Posted February 4, 2013 Share Posted February 4, 2013 maybe im trying to do the rong thing here… im trying to change my game to fullscreen is this the right tutorial?im sorry im such a noob i dont know if resalution is screen size loli think it is tho right lol Link to comment Share on other sites More sharing options...
Sunku Posted February 4, 2013 Share Posted February 4, 2013 Well when you're finished with both you go to file then click:For Client:make Eclipse Origins.exeFor Server:make Server.exe Link to comment Share on other sites More sharing options...
chopsaw Posted February 4, 2013 Share Posted February 4, 2013 now i get compile erroronly comments can be posted after end sub, end function or end propertyand errorhandler is hilighted in vb i put a line under the highted one on this postPrivate Sub Form_Load()' If debug mode, handle error then exit outIf Options.Debug = 1 Then On Error GoTo errorhandler' move GUIpicAdmin.Left = 544picCurrency.Left = txtChat.LeftpicCurrency.top = txtChat.toppicDialogue.top = txtChat.toppicDialogue.Left = txtChat.LeftpicScreen.width = 800picScreen.height = 600picCover.top = picScreen.top - 1picCover.Left = picScreen.Left - 1picCover.height = picScreen.height + 2picCover.width = picScreen.width + 2' Error handlerExit Suberrorhandler:HandleError "Form_Load", "frmMain", Err.Number, Err.Description, Err.Source, Err.HelpContextErr.ClearExit SubEnd Suberrorhandler:HandleError "Form_Load", "frmMain", Err.Number, Err.Description, Err.Source, Err.HelpContextErr.ClearExit SubEnd Sub Link to comment Share on other sites More sharing options...
Sunku Posted February 4, 2013 Share Posted February 4, 2013 > now i get compile error> > only comments can be posted after end sub, end function or end property> > and errorhandler is hilighted in vb i put a line under the highted one on this post> > Private Sub Form_Load()> > ' If debug mode, handle error then exit out> > If Options.Debug = 1 Then On Error GoTo errorhandler> > ' move GUI> > picAdmin.Left = 544> > picCurrency.Left = txtChat.Left> > picCurrency.top = txtChat.top> > picDialogue.top = txtChat.top> > picDialogue.Left = txtChat.Left> > picScreen.width = 800> > picScreen.height = 600> > picCover.top = picScreen.top - 1> > picCover.Left = picScreen.Left - 1> > picCover.height = picScreen.height + 2> > picCover.width = picScreen.width + 2> > ' Error handler> > Exit Sub> > errorhandler:> > HandleError "Form_Load", "frmMain", Err.Number, Err.Description, Err.Source, Err.HelpContext> > Err.Clear> > Exit Sub> > End Sub> > errorhandler:> > HandleError "Form_Load", "frmMain", Err.Number, Err.Description, Err.Source, Err.HelpContext> > Err.Clear> > Exit Sub> > End SubIt's because you can only have one error handler.```Private Sub Form_Load() ' If debug mode, handle error then exit out If Options.Debug = 1 Then On Error GoTo errorhandler ' move GUI picAdmin.Left = 544 picCurrency.Left = txtChat.Left picCurrency.top = txtChat.top picDialogue.top = txtChat.top picDialogue.Left = txtChat.Left picScreen.width = 800 picScreen.height = 600 picCover.top = picScreen.top - 1 picCover.Left = picScreen.Left - 1 picCover.height = picScreen.height + 2 picCover.width = picScreen.width + 2 ' Error handler Exit Suberrorhandler: HandleError "Form_Load", "frmMain", Err.Number, Err.Description, Err.Source, Err.HelpContext Err.Clear Exit SubEnd Sub```like that Link to comment Share on other sites More sharing options...
chopsaw Posted February 5, 2013 Share Posted February 5, 2013 hay thanks alot i finaly got it to work i think i was realy tired when i was editing last night lolthanks again (= Link to comment Share on other sites More sharing options...
Sunku Posted February 5, 2013 Share Posted February 5, 2013 > hay thanks alot i finaly got it to work i think i was realy tired when i was editing last night lol> > thanks again (=Weariness can do that to someone. Anyway, you're welcome. Link to comment Share on other sites More sharing options...
chopsaw Posted February 5, 2013 Share Posted February 5, 2013 i got it to go to 800 by 600 but its like im only veiwing the north west 1/4th of the actual screen or sumthing and my gui is messed up it only shows the chat box no inventory or anythinggot any other advice for a newb ? (= Link to comment Share on other sites More sharing options...
Sunku Posted February 5, 2013 Share Posted February 5, 2013 You have to make a new gui, you also have to delete all map data and account data. Link to comment Share on other sites More sharing options...
lolipopit Posted February 5, 2013 Share Posted February 5, 2013 Is there any way for this to work in EA? 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