Re: [Dev]Rune Flyff Webpage
Re: [Dev]Rune Flyff Webpage
Quote:
0x140000000100000000000000000000000000000000000000 FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000
first integer is the itemid. (integer is 8 character when written in hexa)
so the id here is "14000000"
"01000000" is the number of the items
next integer is durability (unused now)
than next is upgrade
than next is elemental upgrade
than the next int is kinda separated:
-first byte is the element
-second byte is the external stats on your item (valid itemstats are 0 to 48 (so cant be >48 or 0x30)
-third and fourth is 0
than the last 5 int are the pierce slots, "00000000" means the slot is empty, "FFFF0000" means the slot wasn't pierced at all, anything else is a card in the slot (itemid of the card)
and theres one extra byte "00" for placeholder at the end so its length is 45 bytes overall
Re: [Dev]Rune Flyff Webpage
Quote:
Originally Posted by
Duotone
first integer is the itemid. (integer is 8 character when written in hexa)
so the id here is "14000000"
"01000000" is the number of the items
next integer is durability (unused now)
than next is upgrade
than next is elemental upgrade
than the next int is kinda separated:
-first byte is the element
-second byte is the external stats on your item (valid itemstats are 0 to 48 (so cant be >48 or 0x30)
-third and fourth is 0
than the last 5 int are the pierce slots, "00000000" means the slot is empty, "FFFF0000" means the slot wasn't pierced at all, anything else is a card in the slot (itemid of the card)
and theres one extra byte "00" for placeholder at the end so its length is 45 bytes overall
adding up for those who didn't understand:
Quote:
0x140000000100000000000000000000000000000000000000 FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000
14000000 Hexadecimal equals itemID 20, like OP said, you're using Practice Wooden Sword. (Even if it's a 8-byte integer here, the 0's don't really matter in bytes. 14 hexa byte equals 20 decimal, which is the itemID of the Practice Wooden Sword)
On second thought, those zero's do matter. Since it won't always send back 2 digits plus zero's..
God, Hexa hurts my head +_+
Re: [Dev]Rune Flyff Webpage
Quote:
Originally Posted by
Sparkly
adding up for those who didn't understand:
Even if it's a 8-byte integer here
Just to prevent confusion, its a 4 byte integer. 1 byte is 2 digits in hexa.
Re: [Dev]Rune Flyff Webpage
Quote:
Originally Posted by
Duotone
first integer is the itemid. (integer is 8 character when written in hexa)
so the id here is "14000000"
"01000000" is the number of the items
next integer is durability (unused now)
than next is upgrade
than next is elemental upgrade
than the next int is kinda separated:
-first byte is the element
-second byte is the external stats on your item (valid itemstats are 0 to 48 (so cant be >48 or 0x30)
-third and fourth is 0
than the last 5 int are the pierce slots, "00000000" means the slot is empty, "FFFF0000" means the slot wasn't pierced at all, anything else is a card in the slot (itemid of the card)
and theres one extra byte "00" for placeholder at the end so its length is 45 bytes overall
I didn't understand one thing LOL.
The site will be pretty nice when it's done, I bet.
Off-Topic
Duo, when is a new version of Rune gonna come out?
Re: [Dev]Rune Flyff Webpage
... i guess i managed to increase confusion than:P
So if you look at it as a string, as Sparkly pointed out the first 8 characters are the itemid:
0x140000000100000000000000000000000000000000000000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000
0x__14000000__01000000__00000000__00000000__00000000__00__00__0000__FFFF0000__FFFF0000__FFFF0000__FFFF0000__FFFF0000
so in order
0x__
14000000__ itemid
01000000__ item number
00000000__ durability
00000000__ upgrade
00000000__ element upgrade
00__ element (fire, water etc)
00__ itemstat
0000__ unused
FFFF0000__ 1st pierce
FFFF0000__ 2nd pierce
FFFF0000__ 3rd pierce
FFFF0000__ 4th pierce
FFFF0000 5th pierce --5th pierce is unused in v6, just write 0xFFFF0000 here allways
to get out the number of this string, lets say you have 0x11223344
value = 0x11*1 + 0x22*256 +0x33*65536 + 0x44 * (256*256*256);
(its reverse ordered, 0x14 is usually written as 0x00000014, not 0x14000000, so if you just use some builtin function most likely youll get a damhigh meaningless number)
Re: [Dev]Rune Flyff Webpage
Quote:
Originally Posted by
Duotone
... i guess i managed to increase confusion than:P
So if you look at it as a string, as Sparkly pointed out the first 8 characters are the itemid:
0x140000000100000000000000000000000000000000000000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000
0x__14000000__01000000__00000000__00000000__00000000__00__00__0000__FFFF0000__FFFF0000__FFFF0000__FFFF0000__FFFF0000
so in order
0x__
14000000__ itemid
01000000__ item number
00000000__ durability
00000000__ upgrade
00000000__ element upgrade
00__ element (fire, water etc)
00__ itemstat
0000__ unused
FFFF0000__ 1st pierce
FFFF0000__ 2nd pierce
FFFF0000__ 3rd pierce
FFFF0000__ 4th pierce
FFFF0000 5th pierce --5th pierce is unused in v6, just write 0xFFFF0000 here allways
to get out the number of this string, lets say you have 0x11223344
value = 0x11*1 + 0x22*256 +0x33*65536 + 0x44 * (256*256*256);
(its reverse ordered, 0x14 is usually written as 0x00000014, not 0x14000000, so if you just use some builtin function most likely youll get a damhigh meaningless number)
Shoot , 4-byte. Good call.
I'ma post a tutorial on Release section regarding binary/hexa/decimals .. It lightned me up when I was trying to understand it, people might use it.
Re: [Dev]Rune Flyff Webpage
Re: [Dev]Rune Flyff Webpage
Re: [Dev]Rune Flyff Webpage
Re: [Dev]Rune Flyff Webpage
Hope it's not gonna be one of those all around look alike webpage's like everyone else >:
If not than all the more power to you! :D
Re: [Dev]Rune Flyff Webpage
Re: [Dev]Rune Flyff Webpage
i have headache about item code
when i'm put 0x140000000100000000000000000000000000000000000000 FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000
and it get me another code
T_T
Re: [Dev]Rune Flyff Webpage
Quote:
Originally Posted by
DeViLbAT
i have headache about item code
when i'm put 0x140000000100000000000000000000000000000000000000 FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000
and it get me another code
T_T
Realease it like that D:
we need webpage plox ;-;