Amellia sizilia sembiring Posted January 20, 2012 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 108 Reputation: 4 Joined: 01/04/12 Last Seen: August 30, 2016 Share Posted January 20, 2012 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 Quote Link to comment Share on other sites More sharing options...
Arcenciel Posted January 20, 2012 Group: Members Topic Count: 69 Topics Per Day: 0.01 Content Count: 1315 Reputation: 372 Joined: 12/10/11 Last Seen: August 31, 2013 Share Posted January 20, 2012 Hopefully this helps: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/doc/item_db.txt Quote Link to comment Share on other sites More sharing options...
Amellia sizilia sembiring Posted January 20, 2012 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 108 Reputation: 4 Joined: 01/04/12 Last Seen: August 30, 2016 Author Share Posted January 20, 2012 (edited) 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 January 20, 2012 by siensz Quote Link to comment Share on other sites More sharing options...
Arcenciel Posted January 20, 2012 Group: Members Topic Count: 69 Topics Per Day: 0.01 Content Count: 1315 Reputation: 372 Joined: 12/10/11 Last Seen: August 31, 2013 Share Posted January 20, 2012 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! Quote Link to comment Share on other sites More sharing options...
Amellia sizilia sembiring Posted January 21, 2012 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 108 Reputation: 4 Joined: 01/04/12 Last Seen: August 30, 2016 Author Share Posted January 21, 2012 (edited) 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 January 21, 2012 by siensz Quote Link to comment Share on other sites More sharing options...
Emistry Posted January 21, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 21 hours ago Share Posted January 21, 2012 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 Quote Link to comment Share on other sites More sharing options...
Amellia sizilia sembiring Posted January 21, 2012 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 108 Reputation: 4 Joined: 01/04/12 Last Seen: August 30, 2016 Author Share Posted January 21, 2012 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 Quote Link to comment Share on other sites More sharing options...
Sup3rHulk0r Posted February 3, 2012 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 9 Reputation: 2 Joined: 12/02/11 Last Seen: February 26, 2012 Share Posted February 3, 2012 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... Quote Link to comment Share on other sites More sharing options...
Question
Amellia sizilia sembiring
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.