Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Elements.data structure or how to make rules for sEledit for downgrade

Joined
Jul 17, 2007
Messages
665
Reaction score
104
I have elements.data v29 (client) & v27 (server)

It's work well if I add a new item to both but if I export v29 to 27 then give error in log with a hair fashion item what normally work.

I checked the rules v29=>v27 but not work, if i tryed edit the rules and removed few thing then was unable to open with sEledit (or in server).

Structure like this:
Ex. for v29:
131 category, each category got X amount of item
Each item got X row where item datastored.

If I added a item what server gs can't handle then not work the item but server itself running and not crashing so I guess items don't make gs crash or data reading problem but row amount at each item/or category maybe yes, correct me if wrong.

In most of case row are same for items in major category (fashion, weapons, armors, acc., dice stuffs, flyer, mounts etc) except maybe few like npc string stuff.

If I can make a rule what make same categories/item rows than working v27 server elements.data than that enough or need change something else too?

Also have any guide for sEledit rules? adding new row to x category items and remove few row from other category items etc or advice how to solve this?



Category id | last item id (last row id)
category id if example 002 then in sEledit look like: 1 - 002 -
last item id count the items so if its 5 then have there item with id: 0, 1, 2, 3, 4, 5 => 6 item
last row id same like items in category, if example 4 then have row: 0, 1, 2, 3, 4 => 5 row for each id in that category

here where have difference in rows and cats:
Code:
060    187(10)    187(9) => v27 -1 row
064    188(8)      188(7) => v27 -1 row
124    5(11)        2(12)  => v29  -1 row
127    0(153)      0(145) => v27 -8 row
130    0(101)      -         => v27 no cat
131    32(11)      -         => v27 no cat


whole data comparasion
Code:
category|clientside|serverside
001     2047(5)    2045(5)
002    8(1)        same
003     29(11)        same
004    2019(213)    same
005    6(1)        same
006    16(2)        same
007    1650(195)    1648(195)
008    2(1)        same
009    7(2)        same
010    730(182)    same
011    4(1)        same
012    15(1)        same
013     131(16)    same
014    16(1)        same
015     85(1)        same
016    883(14)    881(14)
017    2(1)        same
018    37(13)        same
019    1(1)        same
020    15(16)        same
021     15(1)        13(1)
022    758(9)        648(9)
023    362(22)    361(22)
024    0(13)        same
025    1(9)        same
026    -        -
027    25(10)        same
028    10(9)        same
029    1435(5)    1427(5)
 30     7(20)        same
031    27(1)        same
032    36(21)        same
033    2(1)        same
034    26(7)        same
035    6(1)        same
036    129(17)    same
037    8(5)        same
038    160(33)    157(33)
039    4231(259)    4207(259)
040    46(2)        same
041    106(266)    105(266)
042    0(2)        same
043    0(2)        same
044    0(34)        same
045    0(34)        same
046    1692(257)    1678(257)
047    2051(257)    2040(257)
048    20(145)    same
049    39(130)    35(130)
050    0(2)        same
051    56(99)        same
052    0(2)        same
053    0(2)        same
054    0(1)        same
055    160(267)    same
056    3(2)        same
057    2(1)        same
058    2852(39)    2837(39)
059    3340(15)    same
060    187(10)    187(9)
061    77(9)        same
062    -        -
063    21(6)        same
064    188(8)        188(7)
065    15(7)        same
066    19(5)        same
067    179(4)        same
068    25(1)        same
069    129(1)        same
070    4419(88)    4393(88)
071    0(33)        same
02    7(24)        same
073    0(137)        same
074    681(17)    673(17)
075    1151(23)    1109(23)
076    1933(8)    1882(8)
077    1(7)        same
078    1(151)        same
079    15(1)        same
080    673(66)    667(66)
081    0(2)        same
082    4(1)        same
083    4(2)        same
084    1069(18)    same
085    0(1)        same
086    0(1)        same
087    3(13)        same
088    0(1)        same
089    0(1)        same
090     6(29)        same
091    13(26)        same
092    1(1)        same
093    5(8)        same
094    2(1)        same
095    517(42)    same
096    528(79)    525(79)
097    15(12)        same
098    0(8)        same
099    235(11)    same
100    0(8)        same
101    1(22)        same    *last row is empty
102    0(257)        same
103    1(76)        same
104    0(3)        same
105    0(130)        same
106    0(3)        same
107    133(11)    same
108    28(24)        same
109    0(8)        same
110    0(3)        same
111    0(3)        same
112    0(3)        same
113    111(20)    same
114    22(9)        same
115    22(11)        same
116    24(11)        same
117    3(9)        same
118    2(8)        same
119    76(14)        same
120    6(44)        same
121    2(1)        same
122    349(20)    same
123    27(10)        same
124    5(11)        2(12)   *server side got a new row [2], name is "id_showmodel" and default value is 1, row is between Name and file_matter rows
125    9(18)        same
126    1(8)        same
127    0(153)        0(145)     *client side 145-153 rows got 120, int32 value
128    0(513)        same
129    0(257)        same   *rows same but server side got more default 0 value
130    0(101)        -
131    32(11)        -
 
Back
Top