Quote:
Originally Posted by tehpwnerer69
Exactly one of the reasons why "Go to Definition" is included in Visual Studio...
|
If you would of looked at my previous posts or the reason why I'm asking, you wouldn't have to look like such a prick. Clearly I'm a beginner and I'm learning. If you think I haven't checked, here it is.
Code:
using Redux.Enum;
namespace Redux.Database.Domain
{
public class DbPassage
{
public virtual uint UID { get; set; }
public virtual ushort EnterMap { get; set; }
public virtual uint EnterID { get; set; }
public virtual ushort ExitMap { get; set; }
public virtual uint ExitID { get; set; }
}
}
Code:
using Redux.Enum;
namespace Redux.Database.Domain
{
public class DbPortal
{
public virtual uint UID { get; set; }
public virtual ushort MapID { get; set; }
public virtual uint PortalID { get; set; }
public virtual ushort PortalX { get; set; }
public virtual ushort PortalY { get; set; }
}
}
When I hop on the Portal and Passage references this is all I get "GetPortalByMapAndID" and "GetPortalByPassage" which doesn't really help me understand.
Quote:
Originally Posted by swildwest
In your Passage.sql - could it be that both your enterID and exitID are both 0000?
Never toyed with it, but maybe that is the issue.
|
No sorry, the 0000 is actually the ID of it xD that was an example, which works completely fine.
Quote:
Originally Posted by Spirited
When you look at a map from a dmap file in the client, the dmap file lists portals by an index, X coordinate, and Y coordinate. The index is not an identifier alone, but it looks like Redux uses the Map ID and portal index as a unique identifier when the "DataAction.UsePortal" case is handled. It looks up this identifier in a collection and returns the new map, X coordinate, and Y coordinate for the portal destination. The portal's X and Y source seems to only be used for distance checks. Additionally, that logic is very poorly written. It can be improved quite a bit.
Please don't answer questions like this.
If someone put in the effort to ask, then please put in the effort to answer, if you choose to.
|
I currently know that the map I'm looking for is "idland-map.DMap" but I'm not sure how to open it. I tried Ultimation's DMap viewer post, but it seems that has been removed. I also tried 2 other threads, 2 which were DMap -> TinyMap converters, which I don't seem to know how to get it to work exactly, nor if it will get me what I want.