multigame Posted September 26, 2010 Author Share Posted September 26, 2010 Gush, I followed this guide: http://www.touchofdeathforums.com/smf/index.php/topic,63604.0.html.The problem is this:![](http://img163.imageshack.us/img163/600/bugfail.png)This is my form_load in frmMainGame:```Private Sub Form_Load() picScreen.width = 800 ' Width in tiles * 32 picScreen.height = 608 ' Height in tiles * 32 picAdmin.Left = 10 picCurrency.Left = txtMyChat.Left picCurrency.Top = txtMyChat.TopEnd Sub```I also changed it in properties width=800 and height=608.In modConstants:```Public Const MAX_MAPX As Byte = 24Public Const MAX_MAPY As Byte = 18```But it still dosen't work, please help! Link to comment Share on other sites More sharing options...
Robin Posted September 26, 2010 Share Posted September 26, 2010 Delete all your maps both clientside and serverside. Link to comment Share on other sites More sharing options...
multigame Posted September 26, 2010 Author Share Posted September 26, 2010 @Robin:> Delete all your maps both clientside and serverside.Didn't work, there is still like a "wall". Link to comment Share on other sites More sharing options...
Robin Posted September 26, 2010 Share Posted September 26, 2010 Sucks to be you, then. xD Link to comment Share on other sites More sharing options...
multigame Posted September 26, 2010 Author Share Posted September 26, 2010 @Robin:> Sucks to be you, then. xDLol? Really nothing to do? Link to comment Share on other sites More sharing options...
Robin Posted September 26, 2010 Share Posted September 26, 2010 I've never come across this problem before.If you screw up that tutorial, you'll just get a stretched screen.The camera system should stop you from being able to scroll past the edge of the map.The only reason I can see this happening is if you've managed to screw up the UpdateCamera procedure. Link to comment Share on other sites More sharing options...
multigame Posted September 26, 2010 Author Share Posted September 26, 2010 @Robin:> I've never come across this problem before.> > If you screw up that tutorial, you'll just get a stretched screen.> > The camera system should stop you from being able to scroll past the edge of the map.> > The only reason I can see this happening is if you've managed to screw up the UpdateCamera procedure.Naa, I don't think I've touched it:```Public Sub UpdateCamera() Dim offsetX As Long Dim offsetY As Long Dim StartX As Long Dim StartY As Long Dim EndX As Long Dim EndY As Long offsetX = Player(MyIndex).XOffset + PIC_X offsetY = Player(MyIndex).YOffset + PIC_Y StartX = GetPlayerX(MyIndex) - ((MAX_MAPX + 1) \ 2) - 1 StartY = GetPlayerY(MyIndex) - ((MAX_MAPY + 1) \ 2) - 1 If StartX < 0 Then offsetX = 0 If StartX = -1 Then If Player(MyIndex).XOffset > 0 Then offsetX = Player(MyIndex).XOffset End If End If StartX = 0 End If If StartY < 0 Then offsetY = 0 If StartY = -1 Then If Player(MyIndex).YOffset > 0 Then offsetY = Player(MyIndex).YOffset End If End If StartY = 0 End If EndX = StartX + (MAX_MAPX + 1) + 1 EndY = StartY + (MAX_MAPY + 1) + 1 If EndX > Map.MaxX Then offsetX = 32 If EndX = Map.MaxX + 1 Then If Player(MyIndex).XOffset < 0 Then offsetX = Player(MyIndex).XOffset + PIC_X End If End If EndX = Map.MaxX StartX = EndX - MAX_MAPX - 1 End If If EndY > Map.MaxY Then offsetY = 32 If EndY = Map.MaxY + 1 Then If Player(MyIndex).YOffset < 0 Then offsetY = Player(MyIndex).YOffset + PIC_Y End If End If EndY = Map.MaxY StartY = EndY - MAX_MAPY - 1 End If With TileView .Top = StartY .Bottom = EndY .Left = StartX .Right = EndX End With With Camera .Top = offsetY .Bottom = .Top + ScreenY .Left = offsetX .Right = .Left + ScreenX End With UpdateDrawMapNameEnd Sub``` Link to comment Share on other sites More sharing options...
Robin Posted September 26, 2010 Share Posted September 26, 2010 Download a fresh copy of EO and add in the tutorial. See what happens. Link to comment Share on other sites More sharing options...
multigame Posted September 26, 2010 Author Share Posted September 26, 2010 @Robin:> Download a fresh copy of EO and add in the tutorial. See what happens.Hmm strange it dosen't work on a new one. Link to comment Share on other sites More sharing options...
Robin Posted September 26, 2010 Share Posted September 26, 2010 Make sure you read the entire thread. There are some problems with the original tutorial that we fix. Link to comment Share on other sites More sharing options...
VitinhooxD Posted September 26, 2010 Share Posted September 26, 2010 Go to the map editor in the proprieties tab.Then you can see the Max_X and Max_Y.Change them to the values you have put in Max_MapY And Max_MapX Link to comment Share on other sites More sharing options...
Robin Posted September 26, 2010 Share Posted September 26, 2010 @[Cake:> Vitin â„¢ link=topic=64934.msg695680#msg695680 date=1285516469]> Go to the map editor in the proprieties tab.Then you can see the Max_X and Max_Y.Change them to the values you have put in Max_MapY And Max_MapX… Link to comment Share on other sites More sharing options...
multigame Posted September 26, 2010 Author Share Posted September 26, 2010 @[Cake:> Vitin â„¢ link=topic=64934.msg695680#msg695680 date=1285516469]> Go to the map editor in the proprieties tab.Then you can see the Max_X and Max_Y.Change them to the values you have put in Max_MapY And Max_MapXWorked, thank you! Link to comment Share on other sites More sharing options...
VitinhooxD Posted September 26, 2010 Share Posted September 26, 2010 @Fixed:> @[Cake:> > > Vitin â„¢ link=topic=64934.msg695680#msg695680 date=1285516469]> > Go to the map editor in the proprieties tab.Then you can see the Max_X and Max_Y.Change them to the values you have put in Max_MapY And Max_MapX> > Worked, thank you!;D Link to comment Share on other sites More sharing options...
Robin Posted September 26, 2010 Share Posted September 26, 2010 @Fixed:> Worked, thank you!Of course it bloody worked. You just turned off the scrolling engine.That's like you complaining about your city being flooded and me telling you to close your curtains. Just because you can't see it doesn't mean it isn't there. Stop hiding from your problems and face them. Link to comment Share on other sites More sharing options...
multigame Posted September 26, 2010 Author Share Posted September 26, 2010 @Robin:> @Fixed:> > > Worked, thank you!> > Of course it bloody worked. You just turned off the scrolling engine.> > That's like you complaining about your city being flooded and me telling you to close your curtains. Just because you can't see it doesn't mean it isn't there. Stop hiding from your problems and face them.I don't want to face problems I don't know how to fix. Link to comment Share on other sites More sharing options...
Robin Posted September 26, 2010 Share Posted September 26, 2010 @Fixed:> I don't want to face problems I don't know how to fix.Then you should delete your game, throw your computer out of the window then go top yourself. Link to comment Share on other sites More sharing options...
multigame Posted September 26, 2010 Author Share Posted September 26, 2010 Done.BTW I'm writing from my laptop now. Link to comment Share on other sites More sharing options...
GammaÃâžÂ Posted September 26, 2010 Share Posted September 26, 2010 @Fixed:> Done.> BTW I'm writing from my laptop now.lolwhut? ._. Link to comment Share on other sites More sharing options...
Mitus Posted September 26, 2010 Share Posted September 26, 2010 simple solution delete all maps server and client and change in serverin modConstants change```Public Const MAX_MAPX As Byte = 14Public Const MAX_MAPY As Byte = 11```to```Public Const MAX_MAPX As Byte = 24Public Const MAX_MAPY As Byte = 18``` Link to comment Share on other sites More sharing options...
Sauvus Posted September 27, 2010 Share Posted September 27, 2010 @Robin:> @Fixed:> > > I don't want to face problems I don't know how to fix.> > Then you should delete your game, throw your computer out of the window then go top yourself.LOL ROBIN Link to comment Share on other sites More sharing options...
VitinhooxD Posted September 27, 2010 Share Posted September 27, 2010 @Robin:> @Fixed:> > > Worked, thank you!> > Of course it bloody worked. You just turned off the scrolling engine.> > That's like you complaining about your city being flooded and me telling you to close your curtains. Just because you can't see it doesn't mean it isn't there. Stop hiding from your problems and face them.Of course not.Just change the variables t the map editor to IE ; x 40 y 40 and everything including the scrolling engine will work. Link to comment Share on other sites More sharing options...
Kinjiru Posted October 18, 2010 Share Posted October 18, 2010 Ive had this before, the problem is your map is too small to fill the screen, increase the map size in the map editor 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