This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Daem0n

Pages: [1]
1
Texturing and 2D Art / Re: WorldMapOverlay for custom map
« on: November 19, 2013, 04:56:48 am »
No, overlays is not draw on exploration and on .cheat explore

2
Texturing and 2D Art / Re: WorldMapOverlay for custom map
« on: November 16, 2013, 06:01:48 pm »
On server all areas are may explore, XP are given.
.gps command show map: 654 Zone:4714 and areas from AreaTable
Names are valid, i try replace with Zul'Drak - its work.


WorldMapArea
545,654,4714,"Gilneas",3439.583252,293.750000,-533.333313,-2631.250000,-1,0,0

WorldMapOverlay
2776,545,4807,0,0,0,0,0,"CrowleyOrchard",210,166,261,427,478,355,515,396
2777,545,4786,0,0,0,0,0,"Duskhaven",286,178,272,333,407,324,471,407
2778,545,4732,0,0,0,0,0,"EmberstoneMine",281,351,639,43,163,737,220,813
and etc.

3
Texturing and 2D Art / Re: WorldMapOverlay for custom map
« on: November 16, 2013, 03:40:53 pm »
AreaPOI reqiured for WorldMapOverlay?

4
Texturing and 2D Art / Re: WorldMapOverlay for custom map
« on: November 16, 2013, 03:36:06 pm »
All are different

5
Texturing and 2D Art / WorldMapOverlay for custom map
« on: November 16, 2013, 08:49:41 am »
I try to add map for custom map. I add map to Map.dbc and WorldMapArea,dbc, all areas to AreaTable.dbc and WorldMapOverlay.dbc.
Problems with WorldMapOverlay's open when expl. location.  Map stay closed.
I think troubles with some other DBC's.
Please help me.

Paths:
blps:  patch-XX-4.MPQ/Interface/WorldMap/MAPNAME
dbcs: patch-XX-4.MPQ/DBFilesClient

PS: May be problem with AreaPOI.dbc?

6
Miscellaneous / Re: [DBC] CharBaseInfo.dbc 4.0.6
« on: January 09, 2012, 07:41:56 pm »
Quote from: "Eluo"
Did you also use the newest version?
viewtopic.php?f=59&t=1095

yes.

7
Miscellaneous / Re: [DBC] CharBaseInfo.dbc 4.0.6
« on: January 09, 2012, 04:14:20 pm »
Quote from: "Eluo"
I just tried out taliis and it works fine as far as i can tell...

taliis open only 3 row

8
Miscellaneous / Re: [DBC] CharBaseInfo.dbc 4.0.6
« on: January 09, 2012, 04:09:56 pm »
heh....new file format ...
raceID classID unk0 unk1 classcombinationGUID unk2 unk3 unk4

unk0-4 = 0

maybe it will help someone =)
sorry for my bad english and bad code =)
i write so fast ;)


take near CharBaseInfo.dbc and get CharBaseInfoNew.dbc


Code: [Select]
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <fstream>
using namespace std;
#define RACESCOUNT 14




typedef long int INT32;


int _tmain(int argc, _TCHAR* argv[])
{
    char Signature[4];
    INT32 Records = 0;
    INT32 Fields = 0;
    INT32 RecordSize = 0;
    long long StringBlockSize = 0;
    int tmp;

    FILE *fin = fopen("CharBaseInfo.dbc", "rb");
    if(!fin)
    {
        cout << "Error" << endl;
        cin.get();
        return 0;  
    }

    memset(Signature, 0, 4);


    fread(Signature,       4, 1, fin);
    fread(&Records,         4, 1, fin);
    fread(&Fields,          4, 1, fin);
    fread(&RecordSize,      4, 1, fin);
    fread(&StringBlockSize, 8, 1, fin);


    printf("%c%c%c%cn", Signature[0], Signature[1], Signature[2], Signature[3]);

    cout << Records << endl;
    cout << Fields << endl;
    cout << RecordSize << endl;
    //cout << StringBlockSize << endl;


    for(int i=0; i<Records; i++)
    {
        for(int j=0; j<8; j++)
        {
            tmp = 0;
            fread(&tmp, 1, 1, fin);
            cout << tmp << "t" ;
        }
        cout << endl;
    }

    fclose(fin);


    Records = 10*RACESCOUNT;

    FILE *fout = fopen("CharBaseInfoNew.dbc", "wb");
    if(!fin)
    {
        cout << "Error" << endl;
        cin.get();
        return 0;  
    }

    fwrite(&Signature,       4, 1, fout);
    fwrite(&Records,         4, 1, fout);
    fwrite(&Fields,          4, 1, fout);
    fwrite(&RecordSize,      4, 1, fout);
    fwrite(&StringBlockSize, 8, 1, fout);
    tmp = 0;
    int k = 1;
    for(int i=1; i<=RACESCOUNT; i++)
    {
        for(int j=1; j<=10; j++)
        {
            if(j != 10)
            {
                tmp = i;
                fwrite(&tmp, 1, 1, fout);
                tmp = j;
                fwrite(&tmp, 1, 1, fout);
                tmp = 0;
                fwrite(&tmp, 1, 2, fout);
                tmp = k;
                fwrite(&tmp, 1, 1, fout);
                tmp = 0;
                fwrite(&tmp, 1, 3, fout);
            }
            else
            {
                tmp = i;
                fwrite(&tmp, 1, 1, fout);
                tmp = 11;
                fwrite(&tmp, 1, 1, fout);
                tmp = 0;
                fwrite(&tmp, 1, 2, fout);
                tmp = k;
                fwrite(&tmp, 1, 1, fout);
                tmp = 0;
                fwrite(&tmp, 1, 3, fout);
            }
            k++;
        }
    }

    tmp = 0;
    fwrite(&tmp, 1, 1, fout);

    fclose(fout);


    cout << "OK" << endl;
    cin.get();

    return 0;
}

9
Miscellaneous / [DBC] CharBaseInfo.dbc 4.0.6
« on: January 09, 2012, 11:58:05 am »
Hello. Help plz. How to open/edit CharBaseInfo (cata 4.0.6 client)?

Pages: [1]