New Map Issue

12/24/2013 22:13 .Light#16
Quote:
Originally Posted by Spirited Fang View Post
The reason why you teleport back is because the movement handlers for walk and jump are both checking map coordinates that should be loaded by the dmap or whatever map on the server. If you don't have the server loading that map, then that's a problem. I know you're using Alex's base source which has been abused by foreign boards. The server converts maps to another map type, so you need to make a new folder (if one doesn't already exist) for dmaps (in the same directory the maps folder is in), and place the maps you wish to convert. Reading the source would greatly help you understand what's going on and why.
Can you be more specific? Where in the source is the code that it uses to convert it into a different map type? What directory are you talking about, the client or the server? Add me on skype: kaae03.

As for the issue, let me put a video that might clear stuff up.

[Only registered and activated users can see links. Click Here To Register...]

This is what happens when the GameMap.dat that the new map is added in is used.
12/24/2013 22:38 Spirited#17
Quote:
Originally Posted by .Light View Post
Can you be more specific? Where in the source is the code that it uses to convert it into a different map type? What directory are you talking about, the client or the server? Add me on skype: kaae03.

As for the issue, let me put a video that might clear stuff up.

[Only registered and activated users can see links. Click Here To Register...]

This is what happens when the GameMap.dat that the new map is added in is used.
Yes, I'm familiar with the issue. As I stated, the map isn't being loaded on the server side. I told you how to fix this without knowing any programming (how to make the server convert it automatically). If you want to know where it converts it, I believe it's the Map.cs file (I can't remember).
12/24/2013 23:29 abdoumatrix#18
Quote:
Originally Posted by .Light View Post
Noticed this in GameClient.cs

Code:
        public Game.Map Map
        {
            get
            {
                if (map == null)
                {
                    if (Entity == null) return null;
                    Kernel.Maps.TryGetValue(Entity.MapID, out map);
                    if (Entity.MapID >= 11000 && map == null)
                        Entity.MapID = 1005;
                    if (map == null)
                        return (map = new Game.Map(Entity.MapID, Database.MapsTable.MapInformations[Entity.MapID].BaseID, Database.DMaps.MapPaths[Database.MapsTable.MapInformations[Entity.MapID].BaseID]));
                }
                else
                {
                    if (map.ID != Entity.MapID)
                    {
                        Kernel.Maps.TryGetValue(Entity.MapID, out map);
                        if (Entity.MapID >= 11000 && map == null)
                            Entity.MapID = 1005;
                        if (map == null)
                            return (map = new Game.Map(Entity.MapID, Database.MapsTable.MapInformations[Entity.MapID].BaseID, Database.DMaps.MapPaths[Database.MapsTable.MapInformations[Entity.MapID].BaseID]));
                    }
                }
                return map;
            }
        }

no no sry that was wrong it solves another dmaps Problem

the problem here in the map heigh equal 0

to solve it

Database//maps

search for
700.map
and make another one for the new id
for my case i use 702
so 702.map
12/25/2013 06:04 .Light#19
Quote:
Originally Posted by Spirited Fang View Post
Yes, I'm familiar with the issue. As I stated, the map isn't being loaded on the server side. I told you how to fix this without knowing any programming (how to make the server convert it automatically). If you want to know where it converts it, I believe it's the Map.cs file (I can't remember).
Yeah, you didn't really help me. Thanks for the attempt though.

Quote:
Originally Posted by abdoumatrix View Post

no no sry that was wrong it solves another dmaps Problem

the problem here in the map heigh equal 0

to solve it

Database//maps

search for
700.map
and make another one for the new id
for my case i use 702
so 702.map
This helped..I was able to jump/ walk after doing this. Two questions though, if I were to add new maps is it always going to be 700.map that I change? and [Only registered and activated users can see links. Click Here To Register...] is what happens. The areas that it just jumps in place you are supposed to be able to jump there, any clue why it wouldn't let you?
12/25/2013 14:04 abdoumatrix#20
Quote:
Originally Posted by .Light View Post
Yeah, you didn't really help me. Thanks for the attempt though.



This helped..I was able to jump/ walk after doing this. Two questions though, if I were to add new maps is it always going to be 700.map that I change? and [Only registered and activated users can see links. Click Here To Register...] is what happens. The areas that it just jumps in place you are supposed to be able to jump there, any clue why it wouldn't let you?
cuz my solution isn't the perfect solution.

cuz if u do like i said the moving arena bounds will be like map 700

cuz if u put the .dmap and change it to .map it the map folder

it will read the heigh = 0

so i don't know why it do that may be the reading the bounds is wrong in our source or its reading is diffrent than co's ones.