Register for your free account! | Forgot your password?

You last visited: Today at 22:22

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

Advertisement



TinyMap Scene Coordinates Fix

Discussion on TinyMap Scene Coordinates Fix within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old   #1
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,191
TinyMap Scene Coordinates Fix

Thread just to document a fix, result of a private conversation.

Code:
private void CombineScene(Scene s, UInt16 locX, UInt16 locY)
{
    foreach (ScenePart part in s.Parts)
    {
        for (int y = 0; y < part.Size.Height; y++)
        {
            for (int x = 0; x < part.Size.Width; x++)
            {
                Int32 X = locX + part.Start.X - x;
                Int32 Y = locY + part.Start.Y - y;
                SetValid(X, Y, part.Valid[x, y]);
            }
        }
    }
}
Spirited is offline  
Thanks
4 Users
Reply


Similar Threads Similar Threads
[04.09.13] GigaByte v2.6 [FIX, FIX, FIX, FIX AND FIX]
09/11/2013 - WarRock Hacks, Bots, Cheats & Exploits - 79 Replies
http://www.elitepvpers.com/forum/warrock-hacks-bot s-cheats-exploits/2843300-11-09-gigabyte-public-v2 -7-a.html
[Release] TinyMap (DMap converter & loader)
12/04/2011 - CO2 PServer Guides & Releases - 27 Replies
TinyMap v1.7 + Source :Updates: Fixed bug with multiple Map Id's using the same DMap :What?: TinyMap is a DMap loader and converter for private servers (or any Conquer application) coded in C# (.Net 4.0) It unzips the DMaps, loads them, combines them with Scene files, and converts into TinyMap format.
Getting valid coordinates on dmaps using scene and puzzle files?
01/16/2011 - CO2 Private Server - 0 Replies
So I've successfully gotten the dmap file to fit a specific format, although the number of invalid coordinates is too great. Apparently I need to add in the object accessibility. Any information at all on objects and their structures would be appreciated.



All times are GMT +1. The time now is 22:24.


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.