[Collecting] RDB Struct

03/17/2013 11:24 M>M#1
hi every one ,


I have seen a lot of rdb struct

but in different topics so i started this topic to collect all of them
to help ppl that want to make a rdb tool or anything else

and for all of the ppl how have rdb struct in there pc please share it with us :D

struct posted by sadkingbilly

SummonResource (db_creature.rdb)


StatResource (db_basicstat.rdb)

ItemResource (db_item.rdb)


WorldLocation ( db_worldlocation(ascii).rdb)

struct posted by Skamorzo

StringResource (db_string(ascii).rdb)

struct by me :P ( never posted it)

SkillTreeDisplay (db_skilltreedisplay.rdb)


DecomposeResource (db_decompose.rdb)


MixResource (db_combineres.rdb)


BattleArena (db_battlearena.rdb)


CreatureEnhanche (db_creatureenhanche.rdb)


i will be giving some thanks for my Friend KTS for his help

and for every one who have found some thing wrong with my struct or any other struct posted please post here or pm me

and yes i know it's a useless topic for some but it's usefull for the others


Greats ,

HawasMan
03/17/2013 12:02 MrStubborn#2
Nice @@" Thank you
03/17/2013 15:47 M>M#3
Quote:
Originally Posted by MrStubborn View Post
Nice @@" Thank you
any time bro :D
03/17/2013 16:08 LeoMessi1899#4
Thanks You Hawas ;)

Greetz
03/17/2013 17:07 M>M#5
Quote:
Originally Posted by LeoMessi1899 View Post
Thanks You Hawas ;)

Greetz
i think there is a thanks button some where in this forum right ;)

but any time mate

Greets,
HawasMan
03/17/2013 17:30 Strange2010#6
How can I help you with your list of structures ?
03/17/2013 18:22 M>M#7
Quote:
Originally Posted by Strange2010 View Post
How can I help you with your list of structures ?
if you have a struct and want to share them give me a pm and i will but them in this list ;)
05/10/2013 11:36 Strange2010#8
You should correct the db_string.rdb structure
look here :

Quote:
Originally Posted by c1ph3r View Post
I'm using a full 8.2 RDB Editor written on my own ;) And yes there are full 8.2/fixed 8.1 RDB Editors but no release till now.

There isn't a big problem with the stringresource as i told you. As far as i know raskims rdb manager only messes up the "function" strings. But hey open your eyes there is another tool to read the string resource ;) If you are unable to write/develop your own tool simply use the good old tool pyrok wrote ;) it's working till today.

If you want to write your own rdb editor for the string resource it isn't very hard. the structure is exactly like the db structure + two count fields. I don't know exactly where the count fields are located but as far as i know they are at the beginning.

Example:
Header:
128 Byte Header Data,
Int32/4 Bytes Rowcount
Data:
Int32/4 Bytes : CNT_NAME
Int32/4 Bytes : CNT_VALUE
CNT_NAME Bytes : name
Int32/4 Bytes : Group_id
Int32/4 Bytes : Code
CNT_VALUE Bytes: Value

I don't know if the position of the counts are correct cause i'm on my mobile at the moment. But this should show the basic structure of the db_string.rdb. I think everyone should understand that.

And on this way every rdb file is build. Header is everytime the same and after that you should look into the db and compare the values till you will get the structure. That's the way everyone wrote his rdb editor.