Item.dat ? -> How it works ?

04/05/2015 22:07 *-OMG-*#1
[Only registered and activated users can see links. Click Here To Register...]

Hello people, here is OMG speaking to you (no, i'm still not dead despite numerous requests by the most of you -- è.é !! )

Returning to the theme with the discussion, i wanted to open it here in order to know if anyone knows anything more about the file Item.dat..


I wrote a pretty tool that picks the items data from .NOS archives..
It works fine but there is a small problem, i don't know where to find the type's identifier (Equipe, Main, Etc..)..
Do you know where to find it ?
The same question applies to the class since it is a little bit weird (bulabulabula!!).

I analyzed the arguments of TYPE line for a few minutes but i didn't understand anything except which who made it was a drug addict.

0 1 = Adventurer
0 2 = Swordsman
1 4 = Archer
2 8 = Mage

I noticed that this rule doesn't apply to every item but vary item to item. Any toughts on that ?
Good heavens, it burned me a neuron \:

Warning: Not recommended reading without a medical certificate ! -- lol
04/06/2015 01:21 Bejine#2
Quote:
Originally Posted by *-OMG-* View Post
0 1 = Adventurer
0 2 = Swordsman
1 4 = Archer
2 8 = Mage
0 - melee, 1 - range, 2 - magic
1, 2, 4, 8 - classes :D

<eq slot> : [Only registered and activated users can see links. Click Here To Register...]

INDEX <inventory type>
so, INDEX 0 is Equip, 1 is Main, and 2 is ETC. :D
There's no 6 (SP) and 7 (costumes) , cuz it can be stored in 0 inventory.

For specialist cards:
INDEX 0 4 1 12 2655 24
INDEX <inv. type> 4 1 <eq slot> <idk lol> <c_mode ID>
<c_mode ID> is from "c_mode 1 <char id> <c_mode ID>" XD

For fairies:
INDEX 0 3 3 10 425 9 - Azuris
INDEX 0 3 3 10 804 4 - Solaris
INDEX <inv. type> 3 3 <eq slot> <idk lol> <pairy ID>
<pairy ID> is last argument in 'pairy' packet

INDEX 0 0 6 0 32 0 - bow
INDEX 0 1 2 1 280 3 - armor archer
INDEX <inv> <type of item> <class/more type>
0 is weapon, 1 is armor in <type of item>
<class/more type> for weapons:
1 - sword
3 - knife (idk, archer secondary)
5 - crossbow
6 - bow
8 - magic gun (idk, mage secondary)
9 - staff
04/07/2015 23:35 *-OMG-*#3
Rapid & detailed as always. I thank you for the contribution :)

[Only registered and activated users can see links. Click Here To Register...]
05/25/2015 20:39 iArtrix#4
Generate in PHP ^^
[Only registered and activated users can see links. Click Here To Register...]
05/25/2015 22:12 ernilos#5
Quote:
Originally Posted by iArtrix View Post
Generate in PHP ^^
[Only registered and activated users can see links. Click Here To Register...]
Some table use would be nice
05/25/2015 22:14 iArtrix#6
I know, this code is one big bullshit xd

In table ^^

[Only registered and activated users can see links. Click Here To Register...]

i have rewrite php code :/
05/27/2015 22:12 SlayZ85#7
could you share your php code please :3 ?
would be very nice
05/28/2015 13:55 *-OMG-*#8
Quote:
Originally Posted by iArtrix View Post
I know, this code is one big bullshit xd

In table ^^

[Only registered and activated users can see links. Click Here To Register...]

i have rewrite php code :/
Nice job, i thought to do the same but i'd prefer to make it as executable for matter of performance..

Quote:
Originally Posted by SlayZ85 View Post
could you share your php code please :3 ?
would be very nice
I have no words to express my tremendous amount of sadness to you.
05/28/2015 14:39 iArtrix#9
My friend made the whole new code and added information into mysql for better performance.
05/28/2015 16:17 ctyjason2#10
any source code?
05/28/2015 22:21 Bejine#11
Quote:
Originally Posted by ctyjason2 View Post
any source code?
Nope.
05/29/2015 19:50 *-OMG-*#12
Quote:
Originally Posted by iArtrix View Post
My friend made the whole new code and added information into mysql for better performance.
Yeah but what when them update the archive, you have to reset database and reload it with new data.. It is not hard to do as it is not low to load from archive directly but i found .exe better than php for reasons that i told you in previous post :rolleyes:
05/30/2015 02:50 Elzeph#13
[Only registered and activated users can see links. Click Here To Register...]

It's code for exporting data from NosTale meta items files. Written in Python 3 ([Only registered and activated users can see links. Click Here To Register...]) and uses mysql.connector ([Only registered and activated users can see links. Click Here To Register...]).

WARNING: script imports data properly only for weapons, but it won't crash if you import all items, it will just show strange things, like armor's attack etc.

Item.txt -- should contain all data about items except their names and descriptions
desc.txt -- should contain items names and descriptions

Of course you need MySQL database for it to work :). It can be obtained with XAMP package on Windows.


As you may have already noticed, plain data stored in MySQL DB is kinda useless without proper front-end. I highly recommend you to write your own in PHP or Python with Tkinter.
05/31/2015 21:23 FI0w#14
Quote:
Originally Posted by Elzeph View Post
[Only registered and activated users can see links. Click Here To Register...]

It's code for exporting data from NosTale meta items files. Written in Python 3 ([Only registered and activated users can see links. Click Here To Register...]) and uses mysql.connector ([Only registered and activated users can see links. Click Here To Register...]).

WARNING: script imports data properly only for weapons, but it won't crash if you import all items, it will just show strange things, like armor's attack etc.

Item.txt -- should contain all data about items except their names and descriptions
desc.txt -- should contain items names and descriptions

Of course you need MySQL database for it to work :). It can be obtained with XAMP package on Windows.


As you may have already noticed, plain data stored in MySQL DB is kinda useless without proper front-end. I highly recommend you to write your own in PHP or Python with Tkinter.
easy to do in C++,VB, AutoIt ~