Dmaps/DynMaps

06/19/2011 08:37 { Angelius }#1
really is there any freaking good working Dmap loader that doesent go off when you check a walk on a bridges coords/or step near a swamp/at least allows you to add a stupid dynamic map to its maps collection.
or i should waste tons of time to learn and create my own ?


06/19/2011 09:30 Spirited42#2
Hmm... i'm not sure. I simply created my own. You could check out TinyMaps from the release section... but I've never looked at that. Scenes are tricky. You could try making picture maps like the system Tommy and I had in Elite CoEmu, but the problem with the public one is that it doesn't load scenes. You have to record the points that don't work and add them in using Microsoft Paint. I don't think there are any good ones out there atm. =\
06/19/2011 09:39 { Angelius }#3
i did that TinyMap one and i did korvacs one both doesent work at the dis city/twin city map bridges (well the TinyMap did a little bit better at TC bridge LOL) turns/corners never works
06/19/2011 10:28 Spirited42#4
Quote:
Originally Posted by { Angelius } View Post
i did that TinyMap one and i did korvacs one both doesent work at the dis city/twin city map bridges (well the TinyMap did a little bit better at TC bridge LOL) turns/corners never works
Hahahahahahaha
I just looked at TinyMap ....
They're loading the scenes... Upside-down.
Yikes. Well, scenes are tricky as I said... and for people that are lazy programmers - that's right, lazy - they have the bugs and never get much closer to refining their work. There's something with cognitive skill where incentives don't mean anything. Mechanical skills = Performance. Cognitive skills aren't that straight forward. Aka. the best coders on here are the noobs being perfectionists. Try debugging it and using the map loader's source. Go to Birth Village and you'll notice that *heyooo* the scene files on the rocks are upside down.. (that's how I noticed it when I copied the code from Impulse's source). Copying + pasting files into your source isn't always the best choice! Always make sure that it runs properly. Debug every aspect of it and rewrite it.
06/19/2011 12:16 Korvacs#5
Mine works completely, it was fully tested with the bridges.

Edit:

Heres some pictures of a tool using the DmapLoader.dll to load the data:

[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
06/19/2011 13:16 _DreadNought_#6
I would assume sparkie's one works too?
06/19/2011 13:26 Korvacs#7
Quote:
Originally Posted by _DreadNought_ View Post
I would assume sparkie's one works too?
I wouldnt assume that anything of sparkies actually works 100% to be honest, and im pretty sure he never wrote a dmap loader .dll of any sort.
06/19/2011 14:53 pro4never#8
Quote:
Originally Posted by { Angelius } View Post
i did that TinyMap one and i did korvacs one both doesent work at the dis city/twin city map bridges (well the TinyMap did a little bit better at TC bridge LOL) turns/corners never works
You're thinking of this backwards...

There's no need to add dynamic maps to a dmap collection because the data is already loaded in.

Dynamic maps are COPIES of existing maps. What you need to be doing is write your MAP (not dmap) system so that it has a basemap id which it uses for all its validity checks.

I've never had any issues with korvs dmap system when it comes to bridges but I do remember some people saying there were some issues with fine corners as well as the whole birth village thing.

Basically.. find a DMAP system that works and then write your MAP system in such a way that it accepts map id and basemap id.


Personally my map system essentially is just this...


Collection of ILocatableObjects which lets us query based on rectangular space to pull screen items, search based on uid (regardless of object type), insert, remove and then run validity checks for point and translation type movements (IE: point is valid... as well as a distance/height check for an actual from>to translation). We then have a dynamic id and base id which is setup when you create an instance of a map.

For dynamic maps in this case I just set for example.... owner uid as the map id and there's no issue with dmap checking cause it's still using the base map (arena map for example)
06/19/2011 17:12 _DreadNought_#9
Hybrids map system ftw.
06/19/2011 18:06 .Kinshi#10
Quote:
Originally Posted by Spirited View Post
Hahahahahahaha
I just looked at TinyMap ....
They're loading the scenes... Upside-down.
Yikes. Well, scenes are tricky as I said... and for people that are lazy programmers - that's right, lazy - they have the bugs and never get much closer to refining their work. There's something with cognitive skill where incentives don't mean anything. Mechanical skills = Performance. Cognitive skills aren't that straight forward. Aka. the best coders on here are the noobs being perfectionists. Try debugging it and using the map loader's source. Go to Birth Village and you'll notice that *heyooo* the scene files on the rocks are upside down.. (that's how I noticed it when I copied the code from Impulse's source). Copying + pasting files into your source isn't always the best choice! Always make sure that it runs properly. Debug every aspect of it and rewrite it.
Thanks for the constructive criticism, but they do not load the scenes upside down.
Then again, I use a newer version of my TinyMaps.
06/19/2011 18:46 Korvacs#11
Quote:
Originally Posted by .Kinshi View Post
Thanks for the constructive criticism, but they do not load the scenes upside down.
Then again, I use a newer version of my TinyMaps.
Seems to me that the original poster doesnt know how to setup the loaders correctly, most likely not including the scene files along side the dmaps? :rolleyes:

Thats the only explanation i can think of...
06/19/2011 20:28 Spirited42#12
Quote:
Originally Posted by .Kinshi View Post
Thanks for the constructive criticism, but they do not load the scenes upside down.
Then again, I use a newer version of my TinyMaps.
Hm. I didn't set it up in my source, but if you'd like to check (since I had this problem and it took me 2 hours to figure out the problem existed), go to Birth Village and walk along the rocks. If they're loading upside-down, then you won't be able to run across all four squares on each rock.
06/20/2011 00:20 .Kinshi#13
Well, they're not loaded upside-down, maybe it could just be improved.
I'm probably missing stuff in the DMap loading process :P

(Birth Villiage, scenes in yellow)
[Only registered and activated users can see links. Click Here To Register...]
06/20/2011 01:13 Korvacs#14
Thats exactly how mine loads aswell and i load everything for the dmap loading process that includes cordinates, its probably just an oversight on TQs part, considering that every other map loads perfectly.
06/20/2011 01:18 Spirited42#15
Quote:
Originally Posted by .Kinshi View Post
Well, they're not loaded upside-down, maybe it could just be improved.
I'm probably missing stuff in the DMap loading process :P

(Birth Villiage, scenes in yellow)
[Only registered and activated users can see links. Click Here To Register...]
Well, if they were loading upside down (like the ones I copied from Impulse were), then each group of tiles would be loaded upside-down (possibly inverted too). The only way to really check is to walk across them. Did you walk on the 4 tiles that make up each rock? It probably works fine if it does- but just by how it sounds from the op- it might be a problem.