willunited Posted August 20, 2012 Author Share Posted August 20, 2012 When warp to other map my client crash.Eclipse Origins stop working…What i do now?When 2 players change map in same time,server get subscript out of range 13.(I deleted save and load map system (Client Side)) Link to comment Share on other sites More sharing options...
erkro1 Posted August 20, 2012 Share Posted August 20, 2012 ![](http://www.touchofdeathforums.com/community/ccs_files/file_host/741bd6b49d0faabe5827b0b20f5dc4be.JPG) Link to comment Share on other sites More sharing options...
Joyce Posted August 20, 2012 Share Posted August 20, 2012 What version of EO are you using to trigger this issue? And what did you modify? Link to comment Share on other sites More sharing options...
willunited Posted August 20, 2012 Author Share Posted August 20, 2012 This error starts when i changed max_map_npc to 100 from 50 Link to comment Share on other sites More sharing options...
Joyce Posted August 20, 2012 Share Posted August 20, 2012 Well, whatever you edited you did something horribly wrong.. Are the values the same client and server side?And curious, why did you remove map caching? .__. Link to comment Share on other sites More sharing options...
Ruins of Hell Posted August 20, 2012 Share Posted August 20, 2012 > This error starts when i changed max_map_npc to 100 from 50Depending on what version of Eclipse you are using and what mods you have installed, you might have to delete all maps when you change the MAX_MAP_NPCs. But in order to pinpoint the issue, you should probably follow Erwin's advice:> ![](http://www.touchofdeathforums.com/community/ccs_files/file_host/741bd6b49d0faabe5827b0b20f5dc4be.JPG) Link to comment Share on other sites More sharing options...
willunited Posted August 20, 2012 Author Share Posted August 20, 2012 > Well, whatever you edited you did something horribly wrong.. Are the values the same client and server side?> > And curious, why did you remove map caching? .__.Idk e,elol> Depending on what version of Eclipse you are using and what mods you have installed, you might have to delete all maps when you change the MAX_MAP_NPCs. But in order to pinpoint the issue, you should probably follow Erwin's advice:IDE? Link to comment Share on other sites More sharing options...
Ruins of Hell Posted August 20, 2012 Share Posted August 20, 2012 > IDE?IDE = Integrated Development Environment. In Eclipse's case, VB6. Link to comment Share on other sites More sharing options...
willunited Posted August 20, 2012 Author Share Posted August 20, 2012 Ok,thx ill post the error here.Edit:Second error fixed:A little line.First error:Running in IDEEdit:First error:Shows this line> If isDirBlocked(Map.Tile(GetPlayerX(MyIndex), GetPlayerY(MyIndex)).DirBlock, Direction + 1) Then Link to comment Share on other sites More sharing options...
Ruins of Hell Posted August 20, 2012 Share Posted August 20, 2012 Can you post your MapRec (Private Type MapRec) for both the client and server here? Link to comment Share on other sites More sharing options...
willunited Posted August 20, 2012 Author Share Posted August 20, 2012 > Private Type MapRec> > Name As String * NAME_LENGTH> > Music As String * NAME_LENGTH> > Revision As Long> > Moral As Byte> > Up As Long> > Down As Long> > Left As Long> > Right As Long> > BootMap As Long> > BootX As Byte> > BootY As Byte> > MaxX As Byte> > MaxY As Byte> > Tile() As TileRec> > NPC(1 To MAX_MAP_NPCS) As Long> > End TypeNormalEdit:Above it:> ' check directional blocking> > If isDirBlocked(Map.Tile(GetPlayerX(MyIndex), GetPlayerY(MyIndex)).DirBlock, Direction + 1) Then> > CheckDirection = True> > Exit Function> > End Ifi add it:> If Map.Tile(x, y).Type = TILE_TYPE_WARP Then> > CheckDirection = False> > Exit Function> > End IfRight?Edit:Now only a map is buged,ill convert him.Edit:Converter bugged,lol.Edit:Map bugged remade.Wroking now.Thx for patience and help. 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