Register for your free account! | Forgot your password?

You last visited: Today at 12:38

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Korvacs DMapLoader

Discussion on Korvacs DMapLoader within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2011
Posts: 168
Received Thanks: 33
Korvacs DMapLoader

Fixed - The reason it wasn't working is because when I debugged for the first time, I didn't wait for it to convert to the smaps. I thank Gregory for that.
zTek is offline  
Old 06/28/2011, 09:11   #2
 
elite*gold: 80
Join Date: Sep 2007
Posts: 642
Received Thanks: 168
Are you callin Dmaps.Load before or after DmapHandler.Load?
Santa is offline  
Old 06/28/2011, 09:28   #3


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
Im confused about what your trying to do, The DMapLoader is an all inclusive loader it does all of the work for you, why are you also trying to load the Dmaps separately?
Korvacs is offline  
Old 06/28/2011, 11:09   #4
 
elite*gold: 0
Join Date: May 2011
Posts: 168
Received Thanks: 33
Honestly, I don't know what the hell I'm doing. I seen in the thread, you said something about 'replacing the current dmaps' (not 100% sure though). Not really sure how to do this. I've tried adding them seperately, and it says the GameMap.dat is being used by another process.
zTek is offline  
Old 06/28/2011, 11:21   #5


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
Yeah because both the existing system you have and the DMapLoader uses the GameMap.dat file to determine which dmaps it should be loading.

If you cant figure it out then it would be best for you not to attempt it untill you know what your doing, since a partial removal of the dmap system could cause alot of problems.
Korvacs is offline  
Old 06/29/2011, 00:29   #6
 
elite*gold: 0
Join Date: May 2011
Posts: 168
Received Thanks: 33
Fixed - The reason it wasn't working is because when I debugged for the first time, I didn't wait for it to convert to the smaps. I thank Gregory for that.

*Bump/Update*

I noticed this the first time I debugged, which was around 2-3 days ago, however I was to lazy to post it here. I'm not 100% sure, but I think this is because of the Dynamic Maps (you be the judge).

So here is my problem:



It loads most of the maps, and is unable to find a few of them.

Thank you
zTek is offline  
Old 06/30/2011, 10:25   #7


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
Its likely that these maps were not converted by the loader originally because of the lack of a valid width/height, there are a couple of maps which have this problem, and obviously because theres no valid width or height then no valid array can be created to store the data, and we dont know how much data there is so cant actually accurately read from the file.

Theres not much of a way around this, i've never bothered attempting to write a solution for them.
Korvacs is offline  
Old 06/30/2011, 10:41   #8
 
elite*gold: 0
Join Date: May 2011
Posts: 168
Received Thanks: 33
Would you recommend using Kinshi's, or sticking with yours? The only
problem with Kinshi's is his is set on framework 4.0. So I wouldn't even
try to convert it to 3.5. Anyways, thanks for the help.
zTek is offline  
Old 06/30/2011, 11:21   #9


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
They both do the same job, i havent looked in depth at Kinshi's loader, you could compare them for loading time and look up time, but im pretty sure they will be near identical.

Kinshi's however is compatible with the latest dmaps which are compressed, mine requires you to extract the maps and rename them to continue working with the latest maps.
Korvacs is offline  
Old 07/08/2011, 01:42   #10
 
elite*gold: 0
Join Date: May 2011
Posts: 168
Received Thanks: 33
Sorry for the big bump.

The image I showed you above:



I was wondering how I can get rid of where it says "Unable to find the specified file.".
I'm assuming that is in your source code.

Thanks
zTek is offline  
Old 07/08/2011, 01:46   #11


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
You cant get rid of it from the .dll, you could modify the gamemap.dat to remove the entries for the invalid maps perhaps, depends how important they are, you might not be able to use them in the client anyway.

The other option is to download the fusion origins source which has a slightly older version of the loader i believe and then customise the loader to work how you want, or use Kinshi's loader, i believe its as efficient and possible doesnt have these console outputs.
Korvacs is offline  
Thanks
1 User
Old 07/08/2011, 02:03   #12
 
elite*gold: 0
Join Date: May 2011
Posts: 168
Received Thanks: 33
Quote:
Originally Posted by Korvacs View Post
You cant get rid of it from the .dll, you could modify the gamemap.dat to remove the entries for the invalid maps perhaps, depends how important they are, you might not be able to use them in the client anyway.

The other option is to download the fusion origins source which has a slightly older version of the loader i believe and then customise the loader to work how you want, or use Kinshi's loader, i believe its as efficient and possible doesnt have these console outputs.
Thanks, I may try that. However, Kinshi's is set to work with 4.0 framework, I use 3.5 (C# 2008).
zTek is offline  
Reply


Similar Threads Similar Threads
[Release]DmapLoader.dll
08/10/2014 - CO2 PServer Guides & Releases - 162 Replies
Ok the way this .dll has been written makes it so that it should work with any version of conquer, and any application or source you wish to implement it in. The .dll loads the entire dmap file, and scene files, so you dont need to worry about bridges being marked as invalid and things like that. The .dll also supports the proper Height values of dmap files, and the Surface values aswell, so you can perform proper checks on if a character can jump from 1 location to anouther (for example...



All times are GMT +1. The time now is 12:40.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.