Jump to content
  • 0

[Help] Explaining means input value item_db


Amellia sizilia sembiring

Question


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  108
  • Reputation:   4
  • Joined:  01/04/12
  • Last Seen:  

Hello

Anyone know what the exactly means the declaration of

'Job','Upper','Gender','Loc','wLV','eLV');

I Stack on input value of above declaration

thx

Link to comment
Share on other sites

7 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  1315
  • Reputation:   372
  • Joined:  12/10/11
  • Last Seen:  

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  108
  • Reputation:   4
  • Joined:  01/04/12
  • Last Seen:  

Hello,

I have read it before. but the confusing value i see on new item_db is

ex.

(1190,'Claymore_C','Claymore',4,20,NULL,0,220,NULL,1,0,0x00004080,7,2,34,3,1,0,3,'bonus2 bAddSize,0,40; bonus2 bAddSize,1,40; bonus2 bAddSize,2,40;',NULL,NULL); and

(1189,'Krasnaya','Krasnaya',4,20,NULL,3800,200,NULL,1,3,0x00004082,2,2,34,2,50,1,3,'if(readparam(bStr)>=95) { bonus bAtk,20; }',NULL,NULL);

which value ('Job','Upper','Loc',) doesn't explain it on the guide.

let's say upper value 7 is for two-handed axe. the equestion why on item_db krasnaya the value 2. but not get error and can equip it as two-handed sword? that's mean is not effect. just fashion.

then, on loc 34 /* what value 34 is means?

and on job 0x00004080 is combination knight and crusader. how to combine knight and priest?

thx

Edited by siensz
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  1315
  • Reputation:   372
  • Joined:  12/10/11
  • Last Seen:  

Upper:

7 just means all the jobs tiers can equip it. Normal jobs, upper jobs, and babies can use the item

Location:

2^1 002 = Weapon
2^5 032 = Shield

It says 34 because Claymore is two handed therefore occupying two item slots.

The two slots happen to be the weapon and shield slot following that logic 2 + 32 = 34.

Job:

As for job, it is the same idea as location

Knight: 0x00000080

Crusader: 0x00004000

So in combination 4080

Now, lets see if you can figure out what the combination for the knight and priest is. Good luck!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  108
  • Reputation:   4
  • Joined:  01/04/12
  • Last Seen:  

Hello,

I think combination knight and priest is just calculated the binary. should look like 0x00000180, is right?

Can u explain what is 0x00000000? is a 8 octa binary?

and how to calculate it? do the calculated 2^2 is 2x2? if so 2^5= 2x2x2x2x2 why the value is 20 for merchant?

and how to defining the job binary. what the file on server have to edit?

ex. combination novice (Super novice), swordman, merchant, thief, knight, blacksmith,assasin, crusader,rogue, alchemist on item_db is

0x000454A3

What is exactly 4A3?

thx

Edited by siensz
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

erm...try check the Wiki..

the Wiki have stated all these stuff :)

perhap it can guide you from there ^^

http://rathena.org/wiki/Custom_Items#Structure

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  108
  • Reputation:   4
  • Joined:  01/04/12
  • Last Seen:  

Hi, I think u have to see first the wiki.

i don't know if this's error typing or what. try to check binary merchant 2^5 = 0x00000020. if we calculated 2^5 the value is should be 32 not 20.

and combination novice (Super novice), swordman, merchant, thief, knight, blacksmith,assasin, crusader,rogue, alchemist

A on 0x000454A3. what means? when on binary there's no letter binary.

thx

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   2
  • Joined:  12/02/11
  • Last Seen:  

When you add numbers, its not only 0-9 its 0-F like that:

0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F

so if you have 2 + 8 = A

or 2 + 9 = B etc...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...