[Dev]Rune Flyff Webpage

Status
Not open for further replies.
Newbie Spellweaver
Joined
Aug 12, 2009
Messages
11
Reaction score
7
Web Site
- Ranking 100%
- Download Page 100%
- ItemMall 80%
- Register 100%
- User CP 60%
- Online User 100%
- gmcp 80%

User CP
- Change Password
- Look item in bank and in inventory

Itemmall
- Point User system

Gm CP
- Edit user
- Edit Character
- Add ItemShop
- Edit ItemShop
- Add Spawn NPC
- Add Spawn Monster
- Banned User

What need fix
- ItemMall system ( I don'nt know how to make item code )

so here is (Practice)Wooden Sword item code when send mail
0x140000000100000000000000000000000000000000000000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000

I'm don't know how to translate itemcode normal to that code :(:

Need help with this function
 
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
 
Last edited:
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:

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 +_+
 
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?
 
... 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)
 
... 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.
 
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
 
i have headache about item code

when i'm put 0x140000000100000000000000000000000000000000000000 FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000


and it get me another code

T_T
 
i have headache about item code

when i'm put 0x140000000100000000000000000000000000000000000000 FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000


and it get me another code

T_T

Try this ;

0x000000140100000000000000000000000000000000000000 FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000

PS: Working on a PHP script to Crypt & Decrypt the itemcode.

Almost done..
Though if someone could send me the data of 1 item, it would be great..
Since im too lazy to set up a server and check for myself.

Progress:
Code:
ItemID: 20
Number: 1
Durability: 0
Upgrade: 0
ElementUpgrade: 0
Element: 0
ItemStat: 0
Unused: 0
FirstPierce: Open Slot
SecondPierce: No Slot
String: 000000140100000000000000000000000000000000000000 00000000FFFF0000FFFF0000FFFF0000FFFF0000

Kinda got question marks at the Pierce things.. But np, just need a code of 1 item..
 
Last edited:
Status
Not open for further replies.
Back